@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');
/* ============================================================
   SKYLIO · website design system
   Adapted from the Sprinkle design language, softened for a
   school audience: warmer accent, rounder corners, friendlier
   labels. Light only. Geist + Geist Mono.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-muted: #f6f7fb;
  --bg-tint: #fafbfd;
  --surface: #ffffff;
  --border: #ececf2;
  --border-strong: #d7d8e2;
  --text: #1a1a24;
  --text-2: #5c5d6e;
  --text-3: #797a8a;

  /* Skylio brand accent — pulled from logo.svg (#5755EC) */
  --accent: #5755ec;
  --accent-strong: #4543d4;
  --accent-soft: #eeeefe;

  /* Sprinkle-style status palette — used sparingly */
  --s-red: #ff5a5a;
  --s-amber: #ffb547;
  --s-green: #1fc16b;
  --s-blue: #3b82f6;
  --s-violet: #a855f7;
  --s-pink: #ec4899;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-1: 0 1px 0 rgba(26,26,36,0.04), 0 1px 2px rgba(26,26,36,0.04);
  --shadow-2: 0 6px 22px -10px rgba(26,26,36,0.12), 0 1px 0 rgba(26,26,36,0.04);

  --container: 1200px;
  --pad: 28px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 96px 0; border-top: 1px solid var(--border); position: relative; }
.section.flush { border-top: 0; }
h1, h2, h3, h4 { letter-spacing: -0.028em; line-height: 1.08; margin: 0; font-weight: 600; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
p { margin: 0; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg-muted); }
.btn--link { padding: 0; height: auto; background: transparent; color: var(--accent); font-weight: 500; }
.btn--link::after { content: " →"; transition: transform .2s var(--ease); display: inline-block; }
.btn--link:hover::after { transform: translateX(3px); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--invert { background: #fff; color: var(--text); }
.btn--invert:hover { background: #f0f0f4; }
.btn--invert-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.btn--invert-ghost:hover { background: rgba(255,255,255,0.08); }

/* App store badges */
.store-badges { display: inline-flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 16px;
  border-radius: 12px;
  background: var(--text); color: #fff;
  border: 1px solid var(--text);
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .sb-small { font-size: 9.5px; opacity: .75; font-family: 'Geist Mono', monospace; letter-spacing: .02em; }
.store-badge .sb-big { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.store-badges.on-dark .store-badge { background: #fff; color: var(--text); border-color: #fff; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 5px; color: var(--text); text-decoration: none; }
.brand img, .brand svg { height: 26px; width: auto; }

.nav-links {
  display: flex; gap: 4px; align-items: center;
  margin: 0; padding: 0; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s var(--ease), background .15s var(--ease);
  cursor: pointer;
}
.nav-links > li > a:hover { color: var(--text); background: var(--bg-muted); }
.nav-links .caret { width: 10px; height: 10px; opacity: .5; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  width: 600px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px -24px rgba(26,26,36,0.22), var(--shadow-1);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  z-index: 70;
}
.nav-links > li:hover > .nav-dropdown,
.nav-links > li:focus-within > .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-dropdown .item {
  display: flex; gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background .15s var(--ease);
  color: inherit;
}
.nav-dropdown .item:hover { background: var(--bg-tint); }
.nav-dropdown .icn {
  flex: 0 0 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}
.nav-dropdown .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); border-color: oklch(0.93 0.06 290); }
.nav-dropdown .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); border-color: oklch(0.93 0.06 250); }
.nav-dropdown .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); border-color: oklch(0.93 0.06 145); }
.nav-dropdown .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); border-color: oklch(0.93 0.07 80); }
.nav-dropdown .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); border-color: oklch(0.93 0.06 350); }
.nav-dropdown .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); border-color: oklch(0.93 0.06 25); }
.nav-dropdown .icn.indigo { background: var(--accent-soft); color: var(--accent); border-color: oklch(0.92 0.05 285); }
.nav-dropdown .icn.gray { background: var(--bg-muted); color: var(--text-2); }
.nav-dropdown .ttl { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.nav-dropdown .desc { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.nav-dropdown .item.full { grid-column: 1 / -1; justify-content: center; }
.nav-dropdown .item.full .ttl { color: var(--accent); margin: 0; }

.nav-dropdown.compact { width: 260px; padding: 8px; }
.nav-dropdown.compact .nav-dropdown-grid { grid-template-columns: 1fr; gap: 2px; }
.nav-dropdown.compact .item { padding: 10px 12px; gap: 10px; align-items: center; }
.nav-dropdown.compact .icn { flex: 0 0 26px; height: 26px; font-size: 11px; border-radius: 7px; }
.nav-dropdown.compact .ttl { font-size: 13.5px; margin-bottom: 0; }
.nav-dropdown.compact .desc { display: none; }

.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-actions .login { font-size: 14px; color: var(--text-2); padding: 8px 10px; }
.nav-actions .login:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--text);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 55;
  padding: 24px 0 48px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .m-section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.nav-mobile .m-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.nav-mobile .m-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px; color: var(--text); min-height: 48px;
}
.nav-mobile .m-item .icn {
  width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.nav-mobile .m-item .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); }
.nav-mobile .m-item .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); }
.nav-mobile .m-item .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); }
.nav-mobile .m-item .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); }
.nav-mobile .m-item .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); }
.nav-mobile .m-item .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); }
.nav-mobile .m-item .icn.indigo { background: var(--accent-soft); color: var(--accent); }
.nav-mobile .m-item .icn.gray { background: var(--bg-muted); color: var(--text-2); }
.nav-mobile .m-sub-label {
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 14px 0 4px; padding: 0 4px;
}
.nav-mobile .m-links { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 12px; }
.nav-mobile .m-links a {
  padding: 14px 0; font-size: 16px; color: var(--text);
  border-bottom: 1px solid var(--border); min-height: 48px; display: flex; align-items: center;
}
.nav-mobile .m-links .m-sub { padding-left: 18px; color: var(--text-2); font-size: 15px; }
.nav-mobile .m-links a:last-child { border-bottom: 0; font-weight: 500; color: var(--accent); }

/* ============ HERO ============ */
.product-hero { padding: 84px 0 64px; }
.product-hero .product-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-2);
  background: var(--bg-muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 12px; margin-bottom: 28px;
}
.product-eyebrow .sw { width: 8px; height: 8px; border-radius: 50%; }
.product-hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
  margin-bottom: 22px; max-width: 18ch; text-wrap: balance;
}
.product-hero h1 .accent { color: var(--text); position: relative; display: inline-block; }
.product-hero h1 .accent::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 14px;
  border-radius: 999px; z-index: -1; opacity: .22;
}
.product-hero h1 .accent.violet::after { background: var(--s-violet); }
.product-hero h1 .accent.blue::after { background: var(--s-blue); }
.product-hero h1 .accent.green::after { background: var(--s-green); }
.product-hero h1 .accent.amber::after { background: var(--s-amber); }
.product-hero h1 .accent.pink::after { background: var(--s-pink); }
.product-hero h1 .accent.red::after { background: var(--s-red); }
.product-hero h1 .accent.indigo::after { background: var(--accent); }
.product-hero h1 .quiet { color: var(--text-3); font-weight: 500; }
.product-hero .sub {
  font-size: 19px; color: var(--text-2); max-width: 54ch;
  line-height: 1.5; margin-bottom: 30px; text-wrap: pretty;
}
.product-hero .ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-visual {
  position: relative; aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff 0%, #fcfcfe 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-2);
  padding: 18px; overflow: hidden;
}
.product-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.product-visual.tint-violet::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 290) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 320) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-blue::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 250) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 220) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-green::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 145) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 170) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-amber::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 80) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 60) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-pink::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 350) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 20) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-red::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.95 0.08 25) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.06 60) 0%, transparent 60%); opacity: .55; }
.product-visual.tint-indigo::before { background: radial-gradient(60% 50% at 80% 0%, oklch(0.94 0.07 285) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, oklch(0.96 0.05 300) 0%, transparent 60%); opacity: .6; }

.mock-frame {
  position: relative; z-index: 1; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-tint); }
.mock-bar .lights { display: flex; gap: 5px; }
.mock-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #e6e6ec; display: inline-block; }
.mock-bar .url {
  margin-left: 6px; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-3);
  background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 4px 8px;
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-body { padding: 16px; overflow: hidden; }

/* Generic mock primitives reused across pages */
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mock-row .grow { flex: 1; }
.mock-row .pill { font-family: 'Geist Mono', monospace; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--bg-muted); color: var(--text-2); }
.mock-row .pill.ok { background: oklch(0.96 0.05 145); color: var(--s-green); }
.mock-row .pill.due { background: oklch(0.96 0.05 25); color: var(--s-red); }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 8px; }
.mock-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--accent-soft); display: block; }
.mock-bars i.hi { background: var(--accent); }
.mock-grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mock-grid7 i { aspect-ratio: 1; border-radius: 5px; background: var(--bg-muted); display: block; }
.mock-grid7 i.p { background: oklch(0.92 0.08 145); }
.mock-grid7 i.a { background: oklch(0.92 0.08 25); }

/* Phone mock for the mobile-app pages */
.phone-mock {
  position: relative; z-index: 1; margin: 0 auto; height: 100%;
  max-width: 240px; aspect-ratio: 9/19;
  background: #fff; border: 8px solid var(--text); border-radius: 34px;
  box-shadow: var(--shadow-2); overflow: hidden; display: grid; grid-template-rows: auto 1fr;
}
.phone-mock .p-top { height: 26px; background: var(--accent); position: relative; }
.phone-mock .p-top::after { content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 56px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.4); }
.phone-mock .p-body { padding: 14px; display: grid; gap: 10px; align-content: start; }
.phone-mock .p-card { border: 1px solid var(--border); border-radius: 12px; padding: 11px; }
.phone-mock .p-label { font-family: 'Geist Mono', monospace; font-size: 9.5px; color: var(--text-3); margin-bottom: 6px; }
.phone-mock .p-line { height: 8px; border-radius: 999px; background: var(--bg-muted); margin: 5px 0; }
.phone-mock .p-line.w70 { width: 70%; } .phone-mock .p-line.w50 { width: 50%; }
.phone-mock .p-line.accent { background: var(--accent-soft); }

/* ============ Feature sections ============ */
.feature-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.feature-head h2 { text-wrap: balance; max-width: 16ch; }
.feature-head p { color: var(--text-2); font-size: 18px; max-width: 44ch; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: 24px; position: relative; overflow: hidden;
  min-height: 240px; display: flex; flex-direction: column;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.tile .label {
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-3);
  margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 2;
}
.tile .label .num { color: var(--accent); font-weight: 500; }
.tile h3 { position: relative; z-index: 2; }
.tile p { color: var(--text-2); font-size: 14px; margin-top: 8px; max-width: 34ch; position: relative; z-index: 2; }

.bigfeature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.bigfeature.flip { direction: rtl; }
.bigfeature.flip > * { direction: ltr; }
.bigfeature h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 16px; }
.bigfeature p { color: var(--text-2); font-size: 17px; max-width: 50ch; }
.bigfeature .eyebrow { margin-bottom: 18px; }
.bigfeature ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.bigfeature ul li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.bigfeature ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.bigfeature .actions { margin-top: 28px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bigfeature .vis {
  aspect-ratio: 4/3; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-tint); padding: 18px; overflow: hidden; position: relative;
}
.bigfeature .vis.center { display: grid; place-items: center; }

/* ============ STATS strip ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-cell { padding: 28px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.stat-cell:last-child { border-right: 0; }
.stat-cell .v { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-cell .v .suffix { color: var(--text-3); font-weight: 500; }
.stat-cell .k { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--text-3); }

/* ============ Related strip ============ */
.related { padding: 80px 0; border-top: 1px solid var(--border); background: var(--bg-tint); }
.related h2 { font-size: 32px; margin-bottom: 32px; max-width: 24ch; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a.card {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.related a.card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.related a.card .icn {
  width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border);
  display: grid; place-items: center; font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500; margin-bottom: 18px;
}
.related a.card .icn.violet { background: oklch(0.97 0.04 290); color: var(--s-violet); border-color: oklch(0.93 0.06 290); }
.related a.card .icn.blue { background: oklch(0.97 0.04 250); color: var(--s-blue); border-color: oklch(0.93 0.06 250); }
.related a.card .icn.green { background: oklch(0.97 0.04 145); color: var(--s-green); border-color: oklch(0.93 0.06 145); }
.related a.card .icn.amber { background: oklch(0.97 0.05 80); color: oklch(0.55 0.15 60); border-color: oklch(0.93 0.07 80); }
.related a.card .icn.pink { background: oklch(0.97 0.04 350); color: var(--s-pink); border-color: oklch(0.93 0.06 350); }
.related a.card .icn.red { background: oklch(0.97 0.04 25); color: var(--s-red); border-color: oklch(0.93 0.06 25); }
.related a.card .icn.indigo { background: var(--accent-soft); color: var(--accent); border-color: oklch(0.92 0.05 285); }
.related a.card .ttl { font-weight: 500; margin-bottom: 4px; }
.related a.card .desc { color: var(--text-2); font-size: 13.5px; }

/* ============ CTA ============ */
.cta { background: var(--text); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 70% 20%, oklch(0.45 0.20 285 / 0.55) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 100%, oklch(0.45 0.18 320 / 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta h2 { font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -0.03em; font-weight: 600; max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.cta p { color: rgba(255,255,255,0.72); font-size: 17px; margin: 16px auto 28px; max-width: 50ch; }
.cta .actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============ FOOTER ============ */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px; }
.foot-grid h5 { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 16px; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid ul a { font-size: 14px; color: var(--text-2); display: inline-block; padding: 6px 0; }
.foot-grid ul a:hover { color: var(--text); }
.foot-brand p { color: var(--text-2); font-size: 14px; margin: 14px 0 18px; max-width: 32ch; }
.foot-brand .store-badge { height: 44px; }
.foot-brand .store-badge .sb-big { font-size: 13px; }
.foot-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }
.foot-bottom .legal { display: flex; gap: 24px; }

/* ============ Demo form (book-demo page) ============ */
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.demo-intro h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance; }
.demo-intro .sub { color: var(--text-2); font-size: 18px; max-width: 42ch; margin-top: 16px; }
.demo-intro ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.demo-intro ul li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text); }
.demo-intro ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); }
.demo-card .form { display: flex; flex-direction: column; gap: 4px; }
.field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-form { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field-form.full-field-width { grid-column: 1 / -1; }
.field-label { font-size: 12px; color: var(--text-3); font-family: 'Geist Mono', monospace; }
.text-field, .select-field, .textarea {
  height: 44px; border: 1px solid var(--border-strong); background: #fff; border-radius: 10px;
  padding: 0 14px; font: inherit; font-size: 14.5px; color: var(--text); outline: none; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.text-field:focus, .select-field:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.turnstile-widget { min-height: 65px; margin: 6px 0; }
.submit-button { margin-top: 8px; align-self: stretch; justify-content: center; height: 46px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; font-size: 15px; cursor: pointer; transition: background .2s var(--ease); }
.submit-button:hover { background: var(--accent-strong); }
.submit-button:disabled { opacity: .6; cursor: default; }
.success-message, .error-message { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.success-message { background: oklch(0.97 0.04 145); color: var(--s-green); border: 1px solid oklch(0.93 0.06 145); }
.error-message { background: oklch(0.97 0.04 25); color: var(--s-red); border: 1px solid oklch(0.93 0.06 25); }

/* ============ Misc page helpers ============ */
.lead { font-size: 19px; color: var(--text-2); max-width: 60ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose a { color: var(--accent); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card .tag { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--accent); margin-bottom: 12px; }
.price-card .price { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0; }
.price-card .price .per { font-size: 14px; color: var(--text-3); font-weight: 400; }
.price-card .pdesc { color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.price-card ul li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); }
.faq summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--text-3); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text-2); font-size: 14.5px; margin-top: 12px; line-height: 1.6; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-visual { aspect-ratio: 5/4; min-height: 320px; }
  .bigfeature .vis { aspect-ratio: 4/3; min-height: 280px; }
  .feature-head { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .bigfeature { grid-template-columns: 1fr; gap: 32px; }
  .bigfeature.flip { direction: ltr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--border); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .demo-wrap { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-dropdown { width: 90vw; left: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding: 72px 0; }
  .tiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .field-wrapper { grid-template-columns: 1fr; }
  .nav-actions .login { display: none; }
}
