/* KittoTV site. One stylesheet, no scripts, no web fonts: the system font is SF Pro on Apple devices.
   The Content-Security-Policy (site/_headers) allows nothing else, so every effect here is CSS. */

:root {
  color-scheme: dark;
  --bg: #07080f;
  --bg-raised: #0d0f1c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5fa;
  --muted: #a6abc0;
  --accent: #8e9cff;
  --accent-strong: #6f7fff;
  --violet: #b48cff;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #c3caff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 15, 0.92);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav {
    background: rgba(7, 8, 15, 0.62);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
  }
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 650;
  font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }

/* ---------- Buttons and badges ---------- */
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, #4a5af2, #8052ea);  /* white text on it is 4.9:1 or better at both ends */
  box-shadow: 0 10px 40px -10px rgba(110, 120, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: default;
}
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.9; }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 550; font-size: 16px;
}
.ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; text-align: center; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 96px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% 0; z-index: -1;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(92, 104, 255, 0.42), transparent 72%),
    radial-gradient(38% 36% at 88% 18%, rgba(170, 102, 255, 0.26), transparent 72%),
    radial-gradient(36% 34% at 8% 28%, rgba(40, 126, 255, 0.22), transparent 72%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05);
  color: #cdd2ff; font-size: 14px; font-weight: 550; letter-spacing: 0.01em;
}
h1.display {
  margin: 22px auto 0; max-width: 15ch; font-weight: 720; letter-spacing: -0.04em; line-height: 1.02;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  background: linear-gradient(180deg, #ffffff 35%, #aab3ff 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 22px auto 0; max-width: 40rem; color: var(--muted); font-size: clamp(1.1rem, 2.1vw, 1.32rem); line-height: 1.5; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.platforms { margin-top: 18px; color: var(--muted); font-size: 14px; }

.stage { position: relative; width: min(1040px, 100%); margin: clamp(44px, 7vw, 80px) auto 0; }
.stage::before {
  content: ""; position: absolute; inset: 12% 8% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(104, 116, 255, 0.5), transparent);
  filter: blur(30px);
}
.stage .mac { position: absolute; right: -20px; bottom: -13%; width: 44%; }
.caption { margin: 22px auto 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.hero .caption { margin-top: clamp(28px, 6vw, 80px); }

/* ---------- Device frames (CSS only) ---------- */
.tv { position: relative; padding: clamp(5px, 0.9vw, 11px); border-radius: clamp(14px, 2.2vw, 26px);
  background: linear-gradient(155deg, #34384e, #0a0b14 52%, #151827);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 50px 120px -34px rgba(86, 98, 255, 0.55), 0 30px 60px -30px #000; }
.tv img { display: block; width: 100%; height: auto; border-radius: clamp(8px, 1.3vw, 16px); background: #111; }
.mac img { display: block; width: 100%; height: auto; border-radius: 14px; background: #1f1f1f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 44px 90px -24px rgba(0, 0, 0, 0.95), 0 20px 60px -20px rgba(86, 98, 255, 0.4); }

/* ---------- Assurance strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.strip ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 24px; margin: 0; padding: 22px 0;
  list-style: none; }
.strip li { display: flex; align-items: center; justify-content: center; gap: 10px; color: #d6d9e8; font-weight: 550; font-size: 15.5px; }
.strip svg { flex: none; width: 20px; height: 20px; color: var(--accent); }

/* ---------- Sections ---------- */
section { position: relative; }
.kicker { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
h2 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-lede { margin: 16px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 40rem; }
.center { text-align: center; }
.center .section-lede, .privacy-band .section-lede, .closing .section-lede { margin-inline: auto; }
h1.display, h2, .lede, .section-lede { text-wrap: balance; }

.feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 92px); align-items: center;
  padding: clamp(64px, 9vw, 130px) 0; }
.feature.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); }
.feature.flip .copy { order: 2; }
.feature + .feature { border-top: 1px solid var(--line); }
.copy p { margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #d6d9e8; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c3caff, #6f7fff); box-shadow: 0 0 12px rgba(111, 127, 255, 0.7); }

.duo { position: relative; }
.duo .mac { position: absolute; width: 58%; right: -16px; bottom: -14%; }

/* Phone setup illustration */
.phone-art { display: grid; place-items: center; padding: 8px 0; }
.phone-art svg { width: min(100%, 520px); height: auto; }

/* ---------- Cards ---------- */
.band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 60%); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 48px; }
.tile { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition: border-color 0.25s, transform 0.25s; }
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(145deg, #5767ff, #9a6bff); box-shadow: 0 10px 28px -10px rgba(110, 120, 255, 0.9); }
.tile .icon svg { width: 22px; height: 22px; }
.tile h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 52px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; text-align: center; }

/* ---------- Privacy statement ---------- */
.privacy-band { overflow-x: clip; padding: clamp(72px, 10vw, 140px) 0; text-align: center; position: relative; isolation: isolate; border-top: 1px solid var(--line); }
.privacy-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 100%, rgba(92, 104, 255, 0.28), transparent 72%); }
.big-words { margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center;
  font-size: clamp(1.9rem, 5.4vw, 3.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.big-words span { background: linear-gradient(180deg, #fff, #9aa4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin: 48px auto 0; max-width: 860px; text-align: left; }
.plan { padding: 34px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.plan.best { border-color: transparent;
  background: linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
    linear-gradient(145deg, #7d8cff, #b48cff 55%, #4f9bff) border-box;
  box-shadow: 0 30px 80px -30px rgba(100, 112, 255, 0.55); }
.plan h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.015em; }
.plan .tag { color: var(--accent); font-size: 14px; font-weight: 600; margin: 4px 0 0; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 28px; color: #d6d9e8; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 6px; height: 11px; border: solid var(--accent);
  border-width: 0 2.4px 2.4px 0; transform: rotate(40deg); }
.fine { color: var(--muted); font-size: 14.5px; margin: 26px auto 0; max-width: 40rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 44px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 18px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--accent); font-size: 20px; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 42rem; }

/* ---------- Closing call and footer ---------- */
.closing { overflow-x: clip; text-align: center; padding: clamp(72px, 10vw, 130px) 0; position: relative; isolation: isolate; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(48% 70% at 50% 100%, rgba(120, 100, 255, 0.34), transparent 72%); }
.closing .icon-big { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 28px; display: block;
  box-shadow: 0 24px 70px -18px rgba(100, 112, 255, 0.9); }
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 28px 64px; justify-content: space-between; align-items: flex-start; }
.footer a { color: var(--muted); display: inline-block; padding: 2px 0; }
.footer a:hover { color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.footer .brand { margin-bottom: 10px; }
.footer .legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; max-width: 60rem; }

/* ---------- Support and privacy pages ---------- */
.doc { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.doc .wrap { width: min(760px, 100% - 40px); }
.doc h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 5.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.06; }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); letter-spacing: -0.02em; margin: 52px 0 12px; }
.doc h3 { font-size: 1.1rem; margin: 26px 0 6px; }
.doc p, .doc li { color: #d3d6e6; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .lede { margin-left: 0; color: var(--muted); }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc code { padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); font-size: 0.92em; }
.doc .card { margin: 26px 0; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); }
.doc .card p:last-child { margin-bottom: 0; }
.doc details { border-top: 1px solid var(--line); padding: 14px 0; }
.doc details:last-of-type { border-bottom: 1px solid var(--line); }
.doc summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 6px 0; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--accent); font-size: 18px; line-height: 1; transition: transform 0.25s; }
.doc details[open] summary::after { transform: rotate(45deg); }
.doc details p { margin: 10px 0 0; }
.doc .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Motion: only for people who have not asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero .eyebrow, .hero h1, .hero .lede, .hero .cta, .hero .platforms { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 { animation-delay: 0.08s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero .cta { animation-delay: 0.24s; }
  .hero .platforms { animation-delay: 0.3s; }
  .stage { animation: rise 1.1s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .stage .mac { animation: float 7s ease-in-out infinite; }
  .stage::before { animation: breathe 8s ease-in-out infinite; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

  /* Scroll reveal, where the browser supports scroll-driven animation; elsewhere everything is simply visible. */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 4% entry 38%; }
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature .copy, .feature.flip .copy { order: 1; }  /* words first, then the picture, in every section */
  .feature .media { order: 2; }
  .stage .mac { display: none; }
  .duo .mac { display: none; }
}
@media (max-width: 640px) {
  .nav-links a:not(.keep) { display: none; }  /* room for all four links down to a large phone */
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .nav .wrap { height: 58px; }
  .cta { flex-direction: column; align-items: stretch; }
  .soon, .ghost { justify-content: center; }
  .strip li { justify-content: flex-start; }
  .plan { padding: 26px; }
}
