/* The Night Manager · marketing site. Deep space, a teal nebula, cyan light. */
:root {
  --bg: #050508;
  --bg-2: #0a0e1a;
  --ink: #e8eef6;
  --ink-2: #94a3b8;
  --ink-3: #64748b;
  --cyan: #22d3ee;
  --cyan-2: #00b7d7;
  --teal: #14b8a6;
  --violet: #8b5cf6;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --line: rgba(34, 211, 238, 0.14);
  --line-2: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #67e8f9; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.small { font-size: 14px; }
.muted { color: var(--ink-3); }

/* ---------------------------------------------------------------- the sky */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.nebula {
  position: absolute; inset: -8%;
  background: url("/assets/nebula.webp") center 30% / cover no-repeat;
  opacity: 0.55;
  filter: saturate(1.15);
  animation: drift 90s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
  to   { transform: scale(1.12) translate3d(1.5%, 1.2%, 0); }
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(5, 5, 8, 0.25) 55%, rgba(5, 5, 8, 0.85) 100%),
    linear-gradient(to bottom, transparent 40%, rgba(5, 5, 8, 0.7));
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(5, 5, 8, 0.55);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-2);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--line);
}
.brand-mark img { width: 20px; height: 20px; filter: invert(80%) sepia(60%) saturate(800%) hue-rotate(150deg) brightness(105%); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  color: #001018;
  background: linear-gradient(135deg, #67e8f9, var(--cyan) 45%, var(--cyan-2));
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { color: #001018; box-shadow: 0 10px 44px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: var(--glass-2); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.1); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* ---------------------------------------------------------------- layout */
main > section { padding: 110px max(20px, calc((100vw - 1180px) / 2)); position: relative; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 78px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 750; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 650; }
.glow {
  background: linear-gradient(100deg, #a5f3fc 0%, var(--cyan) 40%, #5eead4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.35));
}
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
}
.lead { font-size: 20px; color: var(--ink-2); max-width: 560px; margin: 24px 0 34px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--ink-2); font-size: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 26px;
  border-radius: 999px; font-size: 14px; font-weight: 600; color: #a5f3fc;
  background: rgba(34, 211, 238, 0.08); border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.tag { display: inline-block; padding: 1px 8px; margin-right: 6px; border-radius: 6px; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.tag.violet { color: #ddd6fe; background: rgba(139, 92, 246, 0.22); border: 1px solid rgba(139, 92, 246, 0.4); }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(34, 211, 238, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2322d3ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}
.ticks.small li { margin: 6px 0; }

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  min-height: calc(100vh - 64px); padding-top: 70px !important; padding-bottom: 60px !important;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 34px; padding: 0; margin: 46px 0 0; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font: 600 30px/1 "JetBrains Mono", monospace; color: var(--ink); }
.hero-facts span { color: var(--ink-3); font-size: 14px; margin-top: 8px; }

.hero-phone { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 1206 / 2622; border-radius: 48px; padding: 10px;
  background: linear-gradient(160deg, #2b313b, #0b0d12 40%, #1b2028);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-glow);
}
.phone::after { /* side button glint */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 70px; border-radius: 2px; background: #2b313b;
}
.screens { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; }
.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 1.1s ease, transform 6s ease; }
.screen.active { opacity: 1; transform: scale(1); }
.phone-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 65%);
  filter: blur(20px); animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }

/* The animated Dynamic Island over the phone */
.island {
  position: absolute; z-index: 3; top: 18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 6px; min-width: 128px;
  background: #000; border-radius: 22px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  animation: island-in 1.2s 0.6s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes island-in { from { min-width: 96px; opacity: 0; } }
.ring { width: 26px; height: 26px; transform: rotate(-90deg); }
.ring text { transform: rotate(90deg); transform-origin: 18px 18px; font: 700 11px Inter, sans-serif; fill: #f87171; }
.ring-track { fill: none; stroke: rgba(248, 113, 113, 0.22); stroke-width: 3.5; }
.ring-fill { fill: none; stroke: #f87171; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 40; transition: stroke-dashoffset 1s linear; }
.island-text { display: flex; gap: 8px; align-items: center; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.island-target { color: #cbd5e1; }

/* ---------------------------------------------------------------- works with */
.works { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 0 !important; padding-bottom: 40px !important; }
.works > span { color: var(--ink-3); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.works ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.works li { padding: 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* ---------------------------------------------------------------- feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-copy p { color: var(--ink-2); font-size: 18px; }
.feature-copy h2 em { font-style: normal; color: var(--cyan); }
.shots { position: relative; display: flex; justify-content: center; gap: 26px; perspective: 1400px; }
.phone.small { width: 250px; border-radius: 40px; padding: 8px; margin: 0; }
.phone.small img { border-radius: 33px; width: 100%; height: 100%; object-fit: cover; }
.tilt-left { transform: rotateY(9deg) rotateZ(-1.5deg) translateY(18px); }
.tilt-right { transform: rotateY(-9deg) rotateZ(1.5deg) translateY(-18px); }
.shots .phone { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.shots:hover .tilt-left { transform: rotateY(3deg) translateY(8px); }
.shots:hover .tilt-right { transform: rotateY(-3deg) translateY(-8px); }

/* ---------------------------------------------------------------- NINA */
.nina-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }
.window {
  margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}
.window::before { /* window chrome */
  content: ""; display: block; height: 30px; background: #1b1d22 radial-gradient(circle at 18px 15px, #ff5f57 5px, transparent 6px), #1b1d22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nina-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.nina-pages figure { margin: 0; }
.nina-pages .window { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.nina-pages .window::before { height: 18px; background: #1b1d22 radial-gradient(circle at 12px 9px, #ff5f57 3.5px, transparent 4.5px), #1b1d22; }
.nina-pages img { display: block; width: 100%; height: auto; }
.nina-pages figcaption { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.nina-pages figcaption b { display: block; color: var(--ink); font-weight: 600; }
.window img { display: block; width: 100%; height: auto; }
.instructions { padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.instructions ul { list-style: none; padding: 0; margin: 16px 0; }
.instructions li { display: flex; flex-direction: column; padding: 11px 0; border-top: 1px solid var(--line-2); }
.instructions li:first-child { border-top: 0; }
.instructions li b { color: var(--ink); font-weight: 600; }
.instructions li span { color: var(--ink-2); font-size: 15px; }
.instructions .small { color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------------- steps */
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; counter-reset: s; position: relative; }
.steps ol::before { /* the line that connects the steps */
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.4;
}
.steps li { position: relative; text-align: center; padding: 0 18px; }
.num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  font: 700 24px "JetBrains Mono", monospace; color: #001018;
  background: radial-gradient(circle at 35% 30%, #a5f3fc, var(--cyan) 60%, var(--cyan-2));
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.08), 0 0 40px rgba(34, 211, 238, 0.45);
}
.steps p { color: var(--ink-2); }

/* ---------------------------------------------------------------- roadmap */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  padding: 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line-2);
  transition: transform .3s, border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); background: var(--glass-2); }
.card-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px;
  font-size: 20px; color: var(--cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid var(--line);
}
.card p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }

/* ---------------------------------------------------------------- everything it does */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fgroup { padding: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line-2); }
.fgroup h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 18px; }
.fgroup h3 .card-icon { margin: 0; width: 36px; height: 36px; font-size: 17px; flex: none; }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li { position: relative; padding-left: 16px; margin: 9px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.fgroup li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: .7; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px;
  border-radius: 26px; background: var(--glass); border: 1px solid var(--line-2);
}
.plan.featured {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.09), rgba(34, 211, 238, 0.02));
  border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 60px rgba(34, 211, 238, 0.18); transform: translateY(-10px);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #001018; background: var(--cyan); box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}
.plan-for { color: var(--ink-2); margin: 8px 0 0; }
.plan .ticks { flex: 1; }
.plan-price { margin-top: 26px; font: 600 22px "JetBrains Mono", monospace; color: var(--ink); }

/* ---------------------------------------------------------------- beta */
.beta-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; padding: 50px; border-radius: 32px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.10), rgba(139, 92, 246, 0.06) 60%, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}
.beta-copy p { color: var(--ink-2); font-size: 18px; }
.beta-form { display: flex; flex-direction: column; gap: 16px; }
.beta-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.beta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.beta-form input, .beta-form select, .beta-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); padding: 13px 15px; border-radius: 12px;
  background: rgba(5, 5, 8, 0.55); border: 1px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s;
}
.beta-form input:focus, .beta-form select:focus, .beta-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.beta-form textarea { resize: vertical; }
.optional { font-weight: 400; color: var(--ink-3); }
.beta-form .hint { font-weight: 400; font-size: 12.5px; color: var(--ink-3, #94a3b8); }
.beta-form fieldset.platform { border: 0; padding: 0; margin: 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.beta-form fieldset.platform legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; width: 100%; }
.beta-form label.choice { flex-direction: row; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; }
.beta-form label.choice input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--cyan); flex: none; }
.beta-form label.consent { align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.beta-form label.consent input { margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 24px; margin: 0; font-weight: 600; }
.form-status.ok { color: #5eead4; }
.form-status.error { color: #fca5a5; }
.beta-form .invalid { outline: 2px solid #f87171; outline-offset: 4px; border-radius: 10px; }
.beta-form .invalid + .form-status { margin-top: -4px; }

/* ---------------------------------------------------------------- faq */
.faq .section-head, .faq details { width: 100%; max-width: 1040px; margin-left: auto; margin-right: auto; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* ---------------------------------------------------------------- footer */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 40px max(20px, calc((100vw - 1180px) / 2)) 60px; border-top: 1px solid var(--line-2);
}
.footer p { max-width: 520px; margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--ink-2); }


/* ---------------------------------------------------------------- mobile menu */
.menu-button { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--glass-2); cursor: pointer; position: relative; }
.menu-button span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-button span:first-child { top: 15px; }
.menu-button span:last-child { top: 23px; }
.menu-button[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 10px 20px 22px;
  background: rgba(5, 5, 8, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-2);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 4px; color: var(--ink); font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.mobile-menu a:last-child { color: var(--cyan); border: 0; }

/* ---------------------------------------------------------------- live demo */
.demo-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: "exposure guiding" "exposure status"; gap: 20px; max-width: 1000px; margin: 0 auto; }
.demo-card { padding: 22px; border-radius: 24px; background: rgba(10, 14, 26, 0.72); border: 1px solid var(--line); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.demo-exposure { grid-area: exposure; display: flex; flex-direction: column; gap: 18px; }
.demo-guiding { grid-area: guiding; }
.demo-status { grid-area: status; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.demo-exposure h3 { font-size: 30px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font: 800 11px Inter, sans-serif; letter-spacing: .08em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px #ef4444; animation: pulse 1.6s infinite; }
.cams { display: flex; flex-direction: column; gap: 14px; }
.cam { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; }
.cam .dial { width: 44px; height: 44px; transform: rotate(-90deg); }
.cam .dial circle { fill: none; stroke-width: 4; }
.cam .label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cam .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.cam .bar i { display: block; height: 100%; border-radius: 3px; transition: width 1s linear; }
.cam .left { font: 600 18px "JetBrains Mono", monospace; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.demo-stats span { display: block; color: var(--ink-3); font-size: 13px; }
.demo-stats b { font: 600 24px "JetBrains Mono", monospace; }
#guide-canvas { width: 100%; height: 170px; display: block; margin: 4px 0 8px; }
.ra { color: rgb(107, 122, 255); }
.dec { color: rgb(255, 82, 82); }
.status-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; margin-top: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.status-row b { display: block; font-size: 15px; font-weight: 600; }
.status-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fb923c; background: rgba(251, 146, 60, 0.12); }
.countdown { color: var(--ink); font-weight: 600; }
.demo-toast {
  position: absolute; top: -24px; right: -10px; display: flex; gap: 12px; align-items: center; width: 330px; padding: 12px 14px;
  border-radius: 20px; background: rgba(30, 34, 44, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(-14px) scale(.96); opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.2, 1.3, .4, 1);
}
.demo-toast.show { opacity: 1; transform: none; }
.demo-toast b { display: block; font-size: 14px; }
.demo-toast span { font-size: 13px; color: var(--ink-2); }
.toast-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid var(--line); }
.toast-icon img { width: 20px; filter: invert(80%) sepia(60%) saturate(800%) hue-rotate(150deg) brightness(105%); }

/* ---------------------------------------------------------------- compare */
.table-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line-2); background: var(--glass); max-width: 1000px; margin: 0 auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 680px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.compare th { color: var(--ink); font-weight: 650; font-size: 14px; }
.compare td:first-child { color: var(--ink); font-weight: 600; }
.compare .us { color: var(--ink); background: rgba(34, 211, 238, 0.06); }
.compare th.us { color: var(--cyan); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- plans: prices, toggle, founders */
.billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 18px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line-2); }
.billing-option { padding: 9px 18px; border-radius: 11px; border: 0; background: none; color: var(--ink-2); font: 600 15px Inter, sans-serif; cursor: pointer; }
.billing-option.active { background: rgba(34, 211, 238, 0.15); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.save { margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: 12px; color: #001018; background: var(--cyan); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.price .amount { font: 700 42px "JetBrains Mono", monospace; letter-spacing: -0.03em; color: var(--ink); }
.price .per { color: var(--ink-3); font-size: 14px; }
.plan-note { margin-top: 22px; padding: 8px 12px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 14px; color: #a5f3fc; background: rgba(34, 211, 238, 0.08); border: 1px solid var(--line); }
.fine { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 28px; }
.founders {
  position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto 40px; padding: 30px 34px; border-radius: 26px; text-align: left;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.founders-glow { position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%); animation: breathe 8s ease-in-out infinite; }
.founders > *:not(.founders-glow) { position: relative; }
.founders-badge { display: inline-block; padding: 4px 12px; margin-bottom: 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ede9fe; background: rgba(139, 92, 246, 0.35); }
.founders h3 { font-size: clamp(22px, 2.6vw, 30px); max-width: 760px; }
.founders p { color: var(--ink-2); max-width: 760px; margin: 12px 0 18px; }

@media (max-width: 1020px) {
  .menu-button { display: block; }
  .nav-cta { display: none !important; }
  .demo-grid { grid-template-columns: 1fr; grid-template-areas: "exposure" "guiding" "status"; }
  .demo-toast { position: relative; top: auto; right: auto; width: auto; order: -1; }
}

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav .menu-button { margin-left: auto; }
  .hero, .feature, .nina-grid, .beta-card { grid-template-columns: 1fr; }
  .nina-pages { grid-template-columns: 1fr; max-width: 560px; }
  .feature.flip .feature-copy { order: 0; }
  .hero { text-align: left; min-height: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan.featured { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  main > section { padding: 76px 18px; }
  .lead { font-size: 18px; }
  .phone { width: 260px; }
  .phone.small { width: 46vw; max-width: 220px; border-radius: 30px; padding: 6px; }
  .phone.small img { border-radius: 25px; }
  .shots { gap: 12px; }
  .cards, .steps ol { grid-template-columns: 1fr; }
  .steps ol::before { display: none; }
  .beta-card { padding: 28px 20px; }
  .beta-form .row { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; }
  .brand span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
