/* ============================================================
   CONSIRA — MARKETING SITE
   Built on the product design system (purple-forward, light).
   Tokens ported from dashboard.css, scaled up for a public page.
   ============================================================ */

:root {
  /* Surfaces — faint cool lavender-whites */
  --cream:        #FAF8FE;   /* page base */
  --sidebar:      #F5F1FB;   /* alt band (slightly deeper lavender) */
  --surface:      #FFFFFF;   /* crisp cards */
  --surface-sunk: #F1EEF9;   /* nested wells */

  /* Ink */
  --ink:          #1A1614;
  --ink-2:        #5E5768;
  --ink-3:        #948FA1;

  /* Lines */
  --line:         #E9E5F2;
  --line-strong:  #D9D2E8;

  /* Accent — deep royal purple */
  --accent:       #4A2A6E;
  --accent-deep:  #3A1F58;
  --accent-bright:#6A3FA0;
  --accent-tint:  color-mix(in oklab, var(--accent) 12%, var(--surface));
  --accent-wash:  color-mix(in oklab, var(--accent) 6%, var(--cream));

  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 22px;

  --shadow-card: 0 4px 18px -8px rgba(40,33,70,.14), 0 1px 3px rgba(40,33,70,.06);
  --shadow-soft: 0 18px 50px -24px rgba(40,33,70,.30), 0 2px 8px rgba(40,33,70,.05);
  --shadow-float:0 40px 90px -36px rgba(40,33,70,.45), 0 8px 30px -16px rgba(40,33,70,.22);
  --shadow-pop:  0 26px 70px -24px rgba(40,33,70,.42);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.4,.14,.2,1);

  --maxw: 1180px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--cream); }
body {
  margin: 0;
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ============ INTERACTIVE MESH BACKGROUND ============ */
/* fixed ambient layer behind all content; blobs drift on their own and
   parallax toward the pointer (JS sets transform; CSS animates translate/scale
   independently so the two compose without fighting). */
.mesh-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.mesh-bg .blob {
  position: absolute; border-radius: 50%;
  filter: blur(78px); will-change: transform;
  transition: transform .9s cubic-bezier(.18,.7,.2,1);
}
.mesh-bg .b1 { top: -14%; left: -8%;  width: 52vw; height: 52vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, #6A3FA0 62%, transparent), transparent 68%);
  opacity: .40; animation: meshA 26s ease-in-out infinite; }
.mesh-bg .b2 { top: -10%; right: -12%; width: 46vw; height: 46vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, #9275CF 60%, transparent), transparent 68%);
  opacity: .38; animation: meshB 31s ease-in-out infinite; }
.mesh-bg .b3 { top: 30%; left: 28%;  width: 42vw; height: 42vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, #4A2A6E 50%, transparent), transparent 66%);
  opacity: .30; animation: meshC 34s ease-in-out infinite; }
.mesh-bg .b4 { bottom: -16%; right: 4%; width: 50vw; height: 50vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, #7E5CB8 58%, transparent), transparent 68%);
  opacity: .34; animation: meshD 29s ease-in-out infinite; }
.mesh-bg .b5 { bottom: -20%; left: 6%; width: 44vw; height: 44vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklab, #A98FDB 56%, transparent), transparent 68%);
  opacity: .30; animation: meshE 37s ease-in-out infinite; }
@keyframes meshA { 0%,100% { translate: 0 0;       scale: 1; }   50% { translate: 6% 5%;   scale: 1.12; } }
@keyframes meshB { 0%,100% { translate: 0 0;       scale: 1.05; }50% { translate: -5% 7%;  scale: .94; } }
@keyframes meshC { 0%,100% { translate: 0 0;       scale: .96; } 50% { translate: 7% -6%;  scale: 1.1; } }
@keyframes meshD { 0%,100% { translate: 0 0;       scale: 1.08; }50% { translate: -6% -5%; scale: .96; } }
@keyframes meshE { 0%,100% { translate: 0 0;       scale: 1; }   50% { translate: 5% -7%;  scale: 1.1; } }

/* keep all real content above the mesh */
.nav, main, .final, .footer { position: relative; z-index: 1; }

::selection { background: color-mix(in oklab, var(--accent) 22%, transparent); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

/* ============ LAYOUT PRIMITIVES ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: 112px 0; position: relative; }
.section.tight { padding: 84px 0; }
.band-alt { background: color-mix(in oklab, var(--sidebar) 80%, transparent); }
.band-line { border-top: 1px solid var(--line); }

/* ============ TYPE UTILITIES ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .5;
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.display {
  font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(42px, 5.6vw, 74px);
  color: var(--ink);
}
.h2 {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.06;
  font-size: clamp(33px, 4vw, 50px);
  color: var(--ink);
  text-wrap: balance;
}
.h3 {
  font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink);
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2);
  font-weight: 450;
  text-wrap: pretty;
}
.muted { color: var(--ink-2); }
.accent-text { color: var(--accent-deep); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: 15px; letter-spacing: -.005em;
  padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent-deep);
  box-shadow: 0 8px 22px -10px rgba(74,42,110,.6);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(74,42,110,.7); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--ink-2); padding: 10px 14px; }
.btn-quiet:hover { color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 13px; }
.btn-on-dark {
  background: #fff; color: var(--accent-deep); border-color: transparent;
}
.btn-on-dark:hover { background: var(--cream); transform: translateY(-1px); }
.btn-line-light {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28);
}
.btn-line-light:hover { background: rgba(255,255,255,.16); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--cream) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 19px; line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(74,42,110,.5);
}
.brand .name { font-weight: 800; font-size: 20px; letter-spacing: -.025em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 550; color: var(--ink-2);
  padding: 9px 14px; border-radius: 9px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: color-mix(in oklab, var(--accent) 7%, transparent); }
.nav-links a.current { color: var(--accent-deep); font-weight: 700; }

/* nav dropdown (Support) */
.nav-dd { position: relative; display: inline-flex; }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: default; user-select: none; }
.nav-dd.current > .nav-trigger { color: var(--accent-deep); font-weight: 700; }
.nav-trigger .caret { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-dd:hover .nav-trigger, .nav-dd:focus-within .nav-trigger { color: var(--ink); background: color-mix(in oklab, var(--accent) 7%, transparent); }
.nav-dd:hover .caret, .nav-dd:focus-within .caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 282px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-pop); padding: 9px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 120;
}
.nav-dd-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dd-item { display: flex; gap: 13px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background .15s var(--ease); }
.nav-dd-item:hover { background: color-mix(in oklab, var(--accent) 7%, transparent); }
.nav-dd-item .dd-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 14%, var(--line)); }
.nav-dd-item .dd-ic svg { width: 19px; height: 19px; }
.nav-dd-item .dd-tx b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.nav-dd-item .dd-tx span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .signin { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.nav-actions .signin:hover { background: color-mix(in oklab, var(--accent) 8%, transparent); }
.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero { position: relative; padding-top: 168px; padding-bottom: 0; overflow: hidden; }
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: min(1500px, 150%); height: 920px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(48% 52% at 50% 30%, color-mix(in oklab, var(--accent) 11%, transparent) 0%, transparent 66%),
    radial-gradient(40% 44% at 22% 16%, color-mix(in oklab, #C9A6E8 9%, transparent) 0%, transparent 70%),
    radial-gradient(40% 44% at 80% 14%, color-mix(in oklab, #E8C9D6 7%, transparent) 0%, transparent 70%);
  filter: blur(24px);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 16px 6px 6px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 28px;
  animation: pillGlow 3.4s ease-in-out infinite;
}
@keyframes pillGlow {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 0 0 color-mix(in oklab, var(--accent) 26%, transparent); }
  50%      { box-shadow: var(--shadow-card), 0 0 24px 3px color-mix(in oklab, var(--accent) 28%, transparent); }
}
.hero .pill b { color: var(--accent-deep); font-weight: 700; }
.hero .pill .tagx {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 4px 9px; border-radius: 99px;
}

/* mesh click ripple — a soft colour pulse from the pointer */
.mesh-ripple {
  position: fixed; width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle,
    color-mix(in oklab, var(--accent-bright) 42%, transparent) 0%,
    color-mix(in oklab, var(--accent-bright) 16%, transparent) 42%, transparent 70%);
  animation: meshRipple 1s ease-out forwards;
}
@keyframes meshRipple {
  0%   { width: 12px;  height: 12px;  opacity: .5; }
  100% { width: 470px; height: 470px; opacity: 0; }
}
.hero h1 { margin-bottom: 24px; }
.grad {
  background: linear-gradient(100deg, var(--accent-deep), var(--accent-bright) 70%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede { max-width: 600px; margin: 0 auto 36px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }

/* hero product visual */
.hero-stage { position: relative; z-index: 1; margin-top: 64px; padding-bottom: 112px; }
.hero-stage .frame { max-width: 1060px; margin: 0 auto; }
.hero-stage .float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%,100% { transform: perspective(2200px) rotateX(2.5deg) translateY(0); }
  50%     { transform: perspective(2200px) rotateX(2.5deg) translateY(-12px); }
}

/* floating window — layered soft shadows (neutral + faint purple halo) and a
   light-glass chrome on the frame only; the dashboard content stays crisp */
.hero-frame {
  position: relative; isolation: isolate;
  border: 1px solid color-mix(in oklab, var(--line-strong) 65%, #fff);
  transform: perspective(2200px) rotateX(2.5deg);
  box-shadow:
    0 56px 116px -44px rgba(40, 33, 70, .34),
    0 28px 64px -34px color-mix(in oklab, var(--accent) 44%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .85);
}
/* faint top-edge glass highlight (kept off the content so it stays legible) */
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 6%);
  mix-blend-mode: soft-light;
}
/* light-glass chrome on the window's toolbar only */
.hero-frame .frame-bar {
  background: color-mix(in oklab, var(--sidebar) 52%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ============ BROWSER / APP FRAME ============ */
.frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px;
  background: color-mix(in oklab, var(--sidebar) 70%, var(--surface));
  border-bottom: 1px solid var(--line);
}
.frame-dots { display: flex; gap: 7px; flex: none; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }
.frame-url {
  flex: 1; max-width: 340px; margin: 0 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: 550; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 14px;
}
.frame-url svg { width: 12px; height: 12px; }
.frame-spacer { flex: none; width: 46px; }
.frame-shot { display: block; width: 100%; height: auto; }
.frame-shot.crop { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ============ FEATURE GRID ============ */
.grid-head { max-width: 660px; margin-bottom: 56px; }
.grid-head .h2 { margin: 18px 0 16px; }
/* divider-line grid: hairline gaps reveal the container colour as separators */
#features { background: var(--sidebar); }
.fgrid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.fcard {
  background: var(--sidebar);
  padding: 34px 30px 42px;
  transition: background .22s var(--ease);
}
.fcard:hover { background: color-mix(in oklab, var(--accent) 6%, var(--sidebar)); }
.fcard .ic {
  width: 30px; height: 30px; margin-bottom: 22px;
  color: var(--accent); display: block;
}
.fcard .ic svg { width: 29px; height: 29px; }
.fcard h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; color: var(--ink); }
.fcard p { font-size: 14px; line-height: 1.56; color: var(--ink-2); max-width: 28ch; }

/* ============ ALTERNATING FEATURE SECTIONS ============ */
.feat {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: center;
}
.feat.flip .feat-copy { order: 2; }
.feat.flip .feat-visual { order: 1; }
.feat + .feat { margin-top: 128px; }
.feat-copy .eyebrow { margin-bottom: 20px; }
.feat-copy .h2 { margin-bottom: 18px; }
.feat-copy .lede { margin-bottom: 26px; max-width: 46ch; }
.feat-points { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.feat-point { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.feat-point .chk {
  width: 21px; height: 21px; border-radius: 50%; flex: none; margin-top: 1px;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center;
}
.feat-point .chk svg { width: 12px; height: 12px; }
.feat-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 650; color: var(--accent-deep);
}
.feat-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.feat-link:hover svg { transform: translateX(3px); }
.feat-visual { position: relative; }
.feat-visual .frame { box-shadow: var(--shadow-float); }
.feat-visual .halo {
  position: absolute; inset: -8% -6% -10% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 72%);
  filter: blur(10px);
}

/* ============ HOW IT WORKS ============ */
.how-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.how-head .eyebrow { margin-bottom: 18px; }
.how-head .h2 { margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 24px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.step .num {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 16px -7px rgba(74,42,110,.6);
}
.step h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.56; color: var(--ink-2); }
.step .arrow {
  position: absolute; top: 46px; right: -13px; z-index: 2; color: var(--line-strong);
}
.step .arrow svg { width: 22px; height: 22px; }
.step:last-child .arrow { display: none; }

/* ============ COMPARISON ============ */
.cmp-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.cmp-head .eyebrow { margin-bottom: 18px; }
.cmp-head .h2 { margin-bottom: 16px; }
.cmp { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 16px; align-items: stretch; }
.cmp-col {
  border-radius: var(--radius-lg); padding: 32px 30px 34px;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column;
}
.cmp-col.side { background: var(--surface-sunk); }
.cmp-col.mid {
  background: var(--surface); border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
  box-shadow: var(--shadow-soft); position: relative;
  transform: translateY(-12px);
}
.cmp-col .label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.cmp-col.mid .label { color: var(--accent-deep); }
.cmp-col .price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.cmp-col .price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.cmp-col .sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-bottom: 24px; min-height: 40px; }
.cmp-list { display: flex; flex-direction: column; gap: 13px; margin-top: auto; }
.cmp-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink); }
.cmp-item .ic { width: 19px; height: 19px; flex: none; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; }
.cmp-item .ic svg { width: 12px; height: 12px; }
.cmp-item.no { color: var(--ink-2); }
.cmp-item.no .ic { background: color-mix(in oklab, #B23A4A 12%, var(--surface)); color: #B23A4A; }
.cmp-item.yes .ic { background: var(--accent-tint); color: var(--accent-deep); }
.cmp-col .crown {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: .03em; padding: 8px 20px; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(74,42,110,.6);
}

/* ============ PRICING ============ */
.price-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.price-head .eyebrow { margin-bottom: 18px; }
.price-head .h2 { margin-bottom: 16px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan {
  position: relative; border-radius: var(--radius-lg); padding: 38px 36px 36px;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.plan.feature {
  background: var(--surface);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow-soft);
}
.plan .ptag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 14px;
}
.plan .pname { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.plan .amt { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan .amt .big { font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .amt .per { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.plan .pnote { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 26px; min-height: 42px; }
.plan .pnote b { color: var(--accent-deep); font-weight: 700; }
.plan .btn { width: 100%; margin-bottom: 28px; }
.plan-list { display: flex; flex-direction: column; gap: 12px; }
.plan-list .pi { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.plan-list .pi .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-deep); }
.plan-list .pi .ic svg { width: 12px; height: 12px; }
.plan .ribbon {
  position: absolute; top: -17px; right: 24px; white-space: nowrap;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700;
  letter-spacing: .03em; padding: 9px 19px; border-radius: 99px;
  box-shadow: 0 10px 24px -8px rgba(74,42,110,.6);
}
.alacarte {
  max-width: 880px; margin: 22px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: var(--radius);
  background: var(--surface-sunk); border: 1px solid var(--line);
}
.alacarte .ac-l { display: flex; flex-direction: column; gap: 4px; }
.alacarte .ac-l b { font-size: 15.5px; font-weight: 700; }
.alacarte .ac-l span { font-size: 13.5px; color: var(--ink-2); }
.alacarte .ac-price { font-size: 15px; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 52px; }
.faq-head .eyebrow { margin-bottom: 18px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-size: 18px; font-weight: 650; letter-spacing: -.015em; color: var(--ink);
}
.faq-q .pm {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  display: grid; place-items: center; transition: transform .3s var(--ease), color .2s, border-color .2s;
}
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-q:hover .pm { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent-deep); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 4px 28px; font-size: 16px; line-height: 1.68; color: var(--ink-2); max-width: 64ch; }

/* ============ FINAL CTA ============ */
.final { padding: 0 var(--gutter) 110px; }
.final-band {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto;
  border-radius: 30px; padding: 90px 60px;
  text-align: center;
  background: linear-gradient(125deg, var(--accent-deep) 0%, var(--accent) 64%, color-mix(in oklab, var(--accent) 74%, #fff) 100%);
  box-shadow: 0 40px 90px -34px rgba(40,33,70,.6);
}
.final-band::before {
  content: ""; position: absolute; inset: -45%; z-index: -1;
  background:
    radial-gradient(38% 38% at 24% 26%, color-mix(in oklab, var(--accent) 50%, #9a6cff) 0%, transparent 62%),
    radial-gradient(42% 42% at 80% 22%, color-mix(in oklab, var(--accent) 30%, #5a2fb5) 0%, transparent 60%),
    radial-gradient(46% 46% at 30% 84%, var(--accent-deep) 0%, transparent 60%),
    radial-gradient(44% 44% at 84% 82%, color-mix(in oklab, var(--accent) 58%, #3320a0) 0%, transparent 60%);
  filter: blur(10px); opacity: .9;
  animation: meshSwirl 22s linear infinite;
}
@keyframes meshSwirl {
  0%   { transform: rotate(0deg)   scale(1.1); }
  50%  { transform: rotate(180deg) scale(1.22); }
  100% { transform: rotate(360deg) scale(1.1); }
}
.final-band .eyebrow { color: rgba(255,255,255,.85); justify-content: center; }
.final-band .eyebrow::before { background: rgba(255,255,255,.6); }
.final-band h2 { color: #fff; margin: 18px auto 18px; max-width: 16ch; }
.final-band p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.6; max-width: 52ch; margin: 0 auto 36px; }
.final-band .hero-cta { justify-content: center; }
.final-band .note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 48px; background: transparent; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer .brand { margin-bottom: 16px; }
.footer-blurb { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 32ch; }
.footer-col h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; font-weight: 550; color: var(--ink-2); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bot .copy { font-size: 13.5px; color: var(--ink-3); }
.footer-bot .legal { display: flex; gap: 22px; }
.footer-bot .legal a { font-size: 13.5px; color: var(--ink-3); }
.footer-bot .legal a:hover { color: var(--ink-2); }

/* ============ SCROLL REVEAL ============ */
/* base = visible (safe in any environment); JS hides only below-the-fold,
   then reveals on scroll. A hard fallback forces visibility regardless. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pre { opacity: 0; transform: translateY(26px); }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* ============ STANDALONE PAGE HEADER ============ */
.page-hero { position: relative; z-index: 1; padding: 164px 0 56px; text-align: center; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lede { max-width: 620px; margin: 0 auto; }
.page-hero .hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ============ CONTACT ============ */
.contact { position: relative; z-index: 1; padding: 16px 0 104px; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; max-width: 1020px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 11px;
  background: var(--surface); font-family: inherit; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23948FA1' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; padding-right: 40px; }
.form-field textarea { min-height: 152px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-3); }
.contact-form .btn-lg { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; padding-top: 2px; }
.contact-method { display: flex; gap: 15px; align-items: flex-start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.contact-method .cm-ic { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 16%, var(--line)); }
.contact-method .cm-ic svg { width: 20px; height: 20px; }
.contact-method h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; color: var(--ink); }
.contact-method p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.contact-method a { color: var(--accent-deep); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 26px 10px; }
.contact-form.sent .form-fields { display: none; }
.contact-form.sent .form-success { display: block; }
.form-success .fs-ic { width: 64px; height: 64px; border-radius: 50%; background: #2F8556; color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 12px 30px -12px color-mix(in oklab, #2F8556 60%, transparent); }
.form-success .fs-ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; color: var(--ink); }
.form-success p { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 38ch; margin: 0 auto; }

/* ============ GLOBAL REACH (spinning globe) ============ */
.reach-wrap { text-align: center; }
.reach-copy { max-width: 660px; margin: 0 auto; }
.reach-copy .eyebrow { margin-bottom: 18px; }
.reach-copy .h2 { margin-bottom: 16px; }

.globe-stage { position: relative; width: 460px; height: 400px; margin: 54px auto 0; perspective: 900px; }
.globe-stage > .globe,
.globe-stage > .whirl-glow,
.globe-stage > .orbit-ring { position: absolute; inset: 0; margin: auto; }

.whirl-glow {
  width: 380px; height: 380px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg,
    transparent 0%, color-mix(in oklab, var(--accent) 18%, transparent) 18%,
    transparent 42%, color-mix(in oklab, var(--accent-bright) 15%, transparent) 66%, transparent 92%);
  filter: blur(28px); opacity: .75;
  animation: whirlSpin 18s linear infinite;
}
@keyframes whirlSpin { to { transform: rotate(360deg); } }

.orbit-ring { border-radius: 50%; z-index: 1; }
.orbit-ring.r1 { width: 300px; height: 300px; border: 1.5px solid color-mix(in oklab, var(--accent) 26%, transparent); animation: ringA 16s linear infinite; }
.orbit-ring.r2 { width: 366px; height: 366px; border: 1px solid color-mix(in oklab, var(--accent-bright) 22%, transparent); animation: ringB 26s linear infinite; }
@keyframes ringA { from { transform: rotateX(73deg) rotateZ(0); } to { transform: rotateX(73deg) rotateZ(360deg); } }
@keyframes ringB { from { transform: rotateX(66deg) rotateY(18deg) rotateZ(360deg); } to { transform: rotateX(66deg) rotateY(18deg) rotateZ(0); } }

#globeCanvas {
  width: 960px; height: 960px; max-width: 100%;
  display: block; margin: 0 auto;
}
.globe-wrap {
  width: 100%; max-width: 1060px; height: 440px; margin: 48px auto -40px;
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 88%);
          mask: linear-gradient(180deg, #000 30%, transparent 88%);
}

.sch-orbit {
  position: absolute; width: 52px; height: 52px; border-radius: 15px; z-index: 3;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  animation: schBob 4.5s ease-in-out infinite;
}
.sch-orbit img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.sch-orbit.s1 { top: 5%;  left: 50%; animation-delay: 0s; }
.sch-orbit.s2 { top: 33%; left: 90%; animation-delay: .6s; }
.sch-orbit.s3 { top: 82%; left: 78%; animation-delay: 1.2s; }
.sch-orbit.s4 { top: 82%; left: 22%; animation-delay: 1.8s; }
.sch-orbit.s5 { top: 33%; left: 10%; animation-delay: 2.4s; }
@keyframes schBob { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-9px); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .step .arrow { display: none; }
  .cmp { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cmp-col.mid { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 36px; }
  .feat.flip .feat-copy { order: 1; }
  .feat.flip .feat-visual { order: 2; }
  .feat + .feat { margin-top: 84px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .hero { padding-top: 132px; }
  .final-band { padding: 64px 28px; border-radius: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; max-width: 520px; }
  .contact-card { padding: 30px 24px; }
  .page-hero { padding-top: 128px; }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-actions .signin { display: none; }
  .hero .pill { font-size: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .globe-stage { transform: scale(.72); height: 320px; margin-top: 24px; }
  .globe-wrap { transform: scale(.72); margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal.is-pre { opacity: 1; transform: none; transition: none; }
  .hero-stage .float { animation: none; }
}

/* ============ A11Y / SEO UTILITIES ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 700; font-size: 14px; transition: top .2s var(--ease); }
.skip-link:focus { top: 14px; }
.faq-hq { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }

/* ============ WAITLIST (pre-launch) ============ */
.wlm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.wlm[hidden] { display: none; }
.wlm-overlay { position: absolute; inset: 0; cursor: pointer; background: rgba(250,248,254,.9); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wlm-overlay {
    background: rgba(250,248,254,.55);
    -webkit-backdrop-filter: blur(22px) saturate(1.05);
    backdrop-filter: blur(22px) saturate(1.05);
  }
}
.wlm-card {
  position: relative; width: 100%; max-width: 720px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 40px 100px -32px rgba(58,31,88,.35), 0 10px 32px -18px rgba(58,31,88,.16);
  padding: 40px 48px 34px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  animation: wlmIn .24s var(--ease);
}
@keyframes wlmIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.wlm-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 11px;
  background: transparent; color: var(--ink-3); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.wlm-close:hover { background: color-mix(in oklab, var(--accent) 8%, transparent); color: var(--ink); }
.wlm-close svg { width: 16px; height: 16px; }
.wlm-tag {
  display: block; font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px;
}
.wlm-card h2 { font-size: clamp(25px, 3.4vw, 33px); font-weight: 800; letter-spacing: -.022em; line-height: 1.18; color: var(--ink); margin-bottom: 10px; padding-right: 40px; }
.wlm-sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 30px; max-width: 56ch; }
.wlm .form-field { margin-bottom: 20px; }
.wlm .form-field label { font-size: 14px; color: var(--ink); }
.wlm .form-field label .opt { font-weight: 500; color: var(--ink-3); }
.wlm .form-field input { padding: 14px 16px; border-radius: 12px; font-size: 15.5px; }
.wlm .form-field input::placeholder { font-style: italic; }
.wlm .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wlm-consent {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2);
}
.wlm-consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--accent); cursor: pointer; }
.wl-botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { display: none; margin-top: 16px; font-size: 14px; font-weight: 600; }
.wl-msg.err { display: block; color: #B23A4A; }
.wlm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.wlm-skip {
  background: none; border: 0; padding: 10px 6px; cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  transition: color .15s var(--ease);
}
.wlm-skip:hover { color: var(--ink); }
.wlm-foot .btn-lg { width: auto; }
.wlm .form-success { padding: 26px 6px 16px; }
.wlm.sent #waitlistForm { display: none; }
.wlm.sent .form-success { display: block; }
@media (max-width: 640px) {
  .wlm { padding: 14px; }
  .wlm-card { padding: 28px 22px 22px; }
  .wlm .form-row { grid-template-columns: 1fr; gap: 0; }
  .wlm-foot { flex-direction: column-reverse; align-items: stretch; }
  .wlm-foot .btn-lg { width: 100%; }
  .wlm-skip { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wlm-card { animation: none; }
}
