/* ============================================================
   OwnSwing — premium marketing site
   Depth, motion, light. Brand: teal #0E9A90 / #4ECDC4 glow on course-night.
   ============================================================ */

:root {
  --teal: #0E9A90;
  --teal-bright: #4ECDC4;
  --teal-dark: #0B7C74;
  --ink: #04100F;
  --canvas: #061513;
  --canvas-2: #08201D;
  --card: rgba(255,255,255,.04);
  --card-brd: rgba(255,255,255,.08);
  --text: #EAF2F0;
  --text-soft: #A3B8B4;
  /* #647874 scored only 4.13:1 on the footer's --ink — under WCAG AA (4.5:1)
     for normal text, and this token is used at 10-13px in several places.
     #78908B keeps the muted tone and clears AA on ink/canvas/card. */
  --text-dim: #78908B;
  --maxw: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); color: var(--text); background: var(--canvas);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--teal-bright); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }
img, svg { display: block; max-width: 100%; }
.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; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---------- Ambient aurora background (whole page) ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  background: radial-gradient(circle, rgba(78,205,196,.5), transparent 65%);
  animation: drift 26s ease-in-out infinite;
}
.aurora i:nth-child(1) { width: 620px; height: 620px; top: -12%; left: -8%; }
.aurora i:nth-child(2) { width: 520px; height: 520px; top: 38%; right: -10%; background: radial-gradient(circle, rgba(14,154,144,.45), transparent 65%); animation-duration: 34s; animation-direction: reverse; }
.aurora i:nth-child(3) { width: 460px; height: 460px; bottom: -8%; left: 30%; background: radial-gradient(circle, rgba(30,136,229,.26), transparent 65%); animation-duration: 40s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(70px,-50px) scale(1.12); }
  66%     { transform: translate(-50px,60px) scale(.94); }
}

/* grain overlay for filmic depth */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-bright); padding: 8px 16px; border-radius: 999px;
  background: rgba(78,205,196,.08); border: 1px solid rgba(78,205,196,.2);
  backdrop-filter: blur(10px);
}
.eyebrow svg { width: 14px; height: 14px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; padding: 15px 28px; border-radius: 999px;
  border: none; cursor: pointer; color: #04211d; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--teal-bright), var(--teal));
  box-shadow: 0 10px 34px rgba(14,154,144,.42), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(180px circle at var(--bx,50%) var(--by,50%), rgba(255,255,255,.55), transparent 55%);
  transition: opacity .25s;
}
.btn:hover { color: #04211d; box-shadow: 0 18px 48px rgba(14,154,144,.6); }
.btn:hover::before { opacity: 1; }
.btn svg { width: 18px; height: 18px; }
.btn.ghost {
  background: rgba(255,255,255,.05); color: var(--text);
  border: 1px solid rgba(255,255,255,.14); box-shadow: none; backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.btn.small { padding: 11px 22px; font-size: 14px; }

/* ---------- Header ---------- */
header.site { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
/* Before scroll the header is transparent and sits on the hero photo, whose
   bright sky drops nav text to ~1.7:1. This scrim keeps it legible over any
   image; it fades out once .scrolled paints its own background. */
header.site::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(4,16,15,.86), rgba(4,16,15,.5) 62%, transparent); transition: opacity .35s; }
header.site.scrolled::before { opacity: 0; }
header.site.scrolled { background: rgba(6,21,19,.7); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(255,255,255,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: #fff; }
.brand:hover { color: #fff; }
.brand .logomark { width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.brand .logomark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 18px rgba(14,154,144,.45)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.brand:hover .logomark img { transform: scale(1.07) rotate(-3deg); }
.nav-links { display: flex; align-items: center; gap: 30px; }
/* Near-white rather than --text-soft: the unscrolled nav sits on the hero
   photo, where the muted tone fell to ~2.4:1. With the scrim above, white
   holds 4.9:1 even over the brightest sky. */
.nav-links a { color: #fff; font-weight: 600; font-size: 15px; position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--teal-bright); border-radius: 2px; transition: width .25s cubic-bezier(.2,.8,.2,1); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8%; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,16,15,.96) 0%, rgba(4,16,15,.82) 40%, rgba(4,16,15,.3) 72%, rgba(4,16,15,.6) 100%),
    linear-gradient(0deg, var(--canvas) 1%, transparent 34%);
}
.hero .container { z-index: 3; }
.hero-inner { max-width: 660px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 88px); line-height: .95; letter-spacing: -.04em; font-weight: 800; margin: 28px 0 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: riseIn .95s cubic-bezier(.16,1,.3,1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hero h1 .grad { background: linear-gradient(115deg, var(--teal-bright) 10%, var(--teal) 60%, #7FE7DF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--text-soft); margin: 28px 0 38px; max-width: 540px; opacity: 0; animation: fadeUp .8s .42s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s .54s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-note { margin-top: 24px; font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 9px; opacity: 0; animation: fadeUp .8s .66s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(78,205,196,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(78,205,196,.55);} 70% { box-shadow: 0 0 0 9px rgba(78,205,196,0);} 100% { box-shadow: 0 0 0 0 rgba(78,205,196,0);} }

/* live swing-trace card floating in hero */
.trace-card {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 330px; z-index: 3; border-radius: 22px; padding: 20px;
  background: rgba(8,26,24,.55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  opacity: 0; animation: fadeUp 1s .8s cubic-bezier(.2,.8,.2,1) forwards;
}
.trace-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.trace-head .t { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); font-weight: 700; }
.trace-live { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--teal-bright); font-weight: 700; }
.trace-svg { width: 100%; height: 118px; }
.trace-path { fill: none; stroke: url(#tg); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 3.2s 1.1s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 520; } 45%,100% { stroke-dashoffset: 0; } }
.trace-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.trace-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 9px 10px; }
.trace-stats .k { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.trace-stats .v { font-size: 17px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--text-dim); animation: bob 2.2s ease-in-out infinite; }
.scroll-cue svg { width: 24px; height: 24px; }
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,9px)} }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .09s; } .d2 { transition-delay: .18s; } .d3 { transition-delay: .27s; } .d4 { transition-delay: .36s; } .d5 { transition-delay: .45s; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; z-index: 2; }
.section-head { max-width: 740px; margin: 0 auto 66px; text-align: center; }
.section-head h2 { font-size: clamp(31px, 4.5vw, 50px); letter-spacing: -.03em; font-weight: 800; line-height: 1.04; }
.section-head p { color: var(--text-soft); font-size: 19px; margin-top: 18px; }

/* ---------- Counter strip ---------- */
.strip { border-block: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); backdrop-filter: blur(10px); padding: 30px 0; position: relative; z-index: 2; }
.strip .row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.strip .m { text-align: center; position: relative; }
.strip .m + .m::before { content: ''; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.14), transparent); }
.strip .v { font-size: clamp(26px,3.2vw,34px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg,#fff,var(--teal-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip .l { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-top: 4px; }

/* ---------- Feature grid (3D tilt glass) ---------- */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; perspective: 1400px; }
.feature {
  position: relative; border-radius: 22px; padding: 34px 30px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--card-brd); backdrop-filter: blur(14px);
  transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s;
  will-change: transform;
}
.feature::before {
  content:''; position:absolute; inset:0; opacity:0; transition:opacity .3s; pointer-events:none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(78,205,196,.16), transparent 55%);
}
.feature::after {
  content:''; position:absolute; inset:-1px; border-radius:22px; padding:1px; pointer-events:none; opacity:0; transition:opacity .3s;
  background: linear-gradient(140deg, rgba(78,205,196,.7), transparent 40%, transparent 60%, rgba(78,205,196,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.feature:hover { box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.feature:hover::before, .feature:hover::after { opacity: 1; }
.feature .ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(78,205,196,.2), rgba(14,154,144,.08));
  border: 1px solid rgba(78,205,196,.24); color: var(--teal-bright);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature:hover .ic { transform: translateZ(28px) scale(1.06); box-shadow: 0 14px 34px rgba(14,154,144,.4); }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 9px; }
.feature p { color: var(--text-soft); font-size: 15px; }

/* ---------- Sticky scroll showcase ---------- */
.showcase-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.sc-steps { display: grid; gap: 26px; }
.sc-step {
  border-left: 2px solid rgba(255,255,255,.09); padding: 26px 0 26px 28px; cursor: pointer;
  transition: border-color .4s, opacity .4s; opacity: .42;
}
.sc-step.active { opacity: 1; border-left-color: var(--teal-bright); }
.sc-step .n { font-family: var(--mono); font-size: 12px; color: var(--teal-bright); letter-spacing: .14em; font-weight: 700; }
.sc-step h3 { font-size: clamp(22px,2.6vw,30px); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 10px; line-height: 1.12; }
.sc-step p { color: var(--text-soft); font-size: 16px; }
.sc-step ul { margin-top: 14px; display: grid; gap: 9px; }
.sc-step li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.sc-step li svg { width: 17px; height: 17px; color: var(--teal-bright); flex: none; margin-top: 3px; }
.sc-visual { position: sticky; top: 118px; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.2; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.09); }
.sc-visual figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.sc-visual figure.on { opacity: 1; transform: scale(1); }
.sc-visual img { width: 100%; height: 100%; object-fit: cover; }
.sc-visual figure::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(4,16,15,.75)); }
.sc-tags { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.sc-tags span { display:inline-flex; align-items:center; gap:7px; background: rgba(6,21,19,.62); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.sc-tags svg { width: 14px; height: 14px; color: var(--teal-bright); }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; }
.steps::before { content:''; position:absolute; top: 46px; left: 12%; right: 12%; height:1px; background: linear-gradient(90deg, transparent, rgba(78,205,196,.35), rgba(78,205,196,.35), transparent); }
.step { background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--card-brd); border-radius: 22px; padding: 34px 30px; backdrop-filter: blur(14px); position: relative; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(78,205,196,.3); }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--teal-bright),var(--teal-dark)); color: #04211d; font-weight: 900; font-size: 18px; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 26px rgba(14,154,144,.45); position: relative; z-index: 2; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 9px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 150px 0; }
.cta-bg { position: absolute; inset: -6%; z-index: 0; will-change: transform; }
.cta-bg img { width:100%; height:100%; object-fit: cover; }
.cta-scrim { position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(4,16,15,.9), rgba(4,16,15,.78)), radial-gradient(760px 420px at 50% 34%, rgba(78,205,196,.2), transparent 62%); }
.cta h2 { font-size: clamp(33px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.01; }
.cta p { font-size: 20px; color: var(--text-soft); margin: 22px auto 36px; max-width: 560px; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); border-top: 1px solid rgba(255,255,255,.07); padding: 70px 0 36px; position: relative; z-index: 2; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 46px; }
.foot-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 14px; }
.foot-brand .logomark { width: 34px; height: 34px; flex: none; display:grid; place-items:center; }
.foot-brand .logomark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.foot-tagline { color: var(--text-dim); font-size: 15px; max-width: 330px; }
.foot-col h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.foot-col a { display: block; margin-bottom: 11px; font-size: 15px; color: var(--text-soft); }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 14px; }
/* Registered business address — Apple verifies this against the D-U-N-S record
   during Organization enrollment, so it has to be present and match exactly.
   HIDDEN until we have the real address: the markup currently holds a
   [STREET ADDRESS] placeholder, and shipping bracketed placeholder text on a
   public page reads as unfinished. Flip this back to inline-block in the same
   commit that fills in the real address across all four pages. */
.foot-addr { display: none; margin-top: 6px; font-size: 13px; }

/* ---------- Content pages ---------- */
.page { padding: 140px 0 96px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.035em; font-weight: 800; margin-bottom: 8px; }
.page .updated { color: var(--text-dim); font-size: 15px; margin-bottom: 44px; }
.page h2 { font-size: 25px; font-weight: 700; margin: 46px 0 14px; letter-spacing: -.015em; }
.page h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; color: #fff; }
.page p, .page li { color: var(--text-soft); font-size: 16.5px; }
.page p { margin-bottom: 16px; }
.page ul, .page ol { margin: 0 0 16px 22px; }
.page li { margin-bottom: 9px; }
.page strong { color: var(--text); }
.page .callout { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--card-brd); border-left: 3px solid var(--teal-bright); border-radius: 16px; padding: 22px 24px; margin: 28px 0; backdrop-filter: blur(12px); }
.page a { font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); font-weight: 600; font-size: 15px; margin-bottom: 28px; }
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--teal-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) { .trace-card { display: none; } }
@media (max-width: 900px) {
  section { padding: 88px 0; }
  /* Two-up rather than a single column: six full-width feature cards stacked
     vertically turned this into a long scroll. Padding/icon/type shrink to
     match so the tiles stay compact instead of just getting narrower. */
  .features { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature { padding: 22px 18px; border-radius: 18px; }
  .feature::after { border-radius: 18px; }
  .feature .ic { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 14px; }
  .feature .ic svg { width: 21px; height: 21px; }
  .feature h3 { font-size: 16.5px; margin-bottom: 6px; }
  .feature p { font-size: 13.5px; line-height: 1.55; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .showcase-wrap { grid-template-columns: 1fr; gap: 34px; }
  .sc-visual { position: relative; top: 0; order: -1; }
  .sc-step { opacity: 1; }
  .strip .row { grid-template-columns: 1fr 1fr; gap: 26px; }
  .strip .m:nth-child(3)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(6,21,19,.97); backdrop-filter: blur(18px); flex-direction: column; padding: 22px 24px; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 70px; }
  /* Stay two-up on small phones, but pull in further — at ~140px per card
     the default padding leaves almost no room for the copy. */
  .features { gap: 10px; }
  .feature { padding: 17px 13px; }
  .feature .ic { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 11px; }
  .feature .ic svg { width: 18px; height: 18px; }
  .feature h3 { font-size: 14.5px; letter-spacing: -.01em; }
  .feature p { font-size: 12.5px; line-height: 1.5; }
}
/* ============================================================
   WAITLIST + ENTERPRISE SECTIONS
   ============================================================ */

/* ---------- Trust bar ---------- */
.trust { padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; z-index: 2; }
.trust .lab { text-align: center; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; margin-bottom: 26px; }
.trust-row { display: flex; justify-content: center; align-items: center; gap: 46px; flex-wrap: wrap; }
.trust-row .t { display: inline-flex; align-items: center; gap: 10px; color: var(--text-soft); font-weight: 700; font-size: 14.5px; opacity: .85; transition: opacity .3s, color .3s; }
.trust-row .t:hover { opacity: 1; color: #fff; }
.trust-row .t svg { width: 19px; height: 19px; color: var(--teal-bright); }

/* ---------- Section kicker ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 16px; }
.kicker::before { content: ''; width: 22px; height: 1.5px; background: var(--teal-bright); border-radius: 2px; }

/* ---------- Live metrics dashboard ---------- */
.dash {
  border-radius: 26px; overflow: hidden; position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--card-brd); backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.dash-top { display: flex; align-items: center; gap: 9px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.dash-top i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); display: block; }
.dash-top i:nth-child(1) { background: #FF5F57; } .dash-top i:nth-child(2) { background: #FEBC2E; } .dash-top i:nth-child(3) { background: #28C840; }
.dash-title { margin-left: 10px; font-size: 12.5px; color: var(--text-dim); font-weight: 700; font-family: var(--mono); letter-spacing: .04em; }
.dash-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; }
.dash-chart { padding: 26px; border-right: 1px solid rgba(255,255,255,.07); }
.dash-chart h4 { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 4px; }
.dash-big { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.dash-delta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #4ADE80; margin-bottom: 18px; }
.dash-delta svg { width: 15px; height: 15px; }
.spark { width: 100%; height: 122px; overflow: visible; }
.spark-line { fill: none; stroke: url(#tg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.in .spark-line, .dash.in .spark-line { animation: draw2 2s .25s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
.spark-fill { fill: url(#sg); opacity: 0; }
.in .spark-fill { animation: fadeIn2 1s 1.2s forwards; }
@keyframes fadeIn2 { to { opacity: 1; } }
.spark-dot { fill: #4ECDC4; opacity: 0; }
.in .spark-dot { animation: fadeIn2 .5s 2s forwards; }
.dash-side { padding: 26px; display: grid; gap: 14px; align-content: start; }
.dbar-row .dbar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.dbar-row .nm { font-size: 13.5px; color: var(--text-soft); font-weight: 600; }
.dbar-row .vl { font-size: 13.5px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.dbar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.dbar span { display: block; height: 100%; border-radius: 99px; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width 1.3s cubic-bezier(.2,.8,.2,1); }
.dash-note { margin-top: 6px; font-size: 12.5px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.dash-note svg { width: 14px; height: 14px; color: var(--teal-bright); flex: none; }

/* split layout used by the dashboard section */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; font-weight: 800; line-height: 1.06; }
.split p.sub { color: var(--text-soft); font-size: 17.5px; margin-top: 18px; }
.split ul { margin-top: 26px; display: grid; gap: 15px; }
.split li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-soft); }
.split li svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; margin-top: 2px; }
.split li strong { color: #fff; font-weight: 700; }

/* ---------- Comparison table ---------- */
.cmp { border-radius: 22px; overflow: hidden; border: 1px solid var(--card-brd); background: rgba(255,255,255,.022); backdrop-filter: blur(14px); }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 17px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); font-weight: 800; background: rgba(255,255,255,.03); }
.cmp thead th.us { color: var(--teal-bright); }
.cmp td:first-child { color: var(--text-soft); font-weight: 600; }
.cmp td.us { background: linear-gradient(90deg, rgba(78,205,196,.09), rgba(78,205,196,.04)); color: #fff; font-weight: 700; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background .25s; }
.cmp tbody tr:hover td { background: rgba(255,255,255,.035); }
.cmp tbody tr:hover td.us { background: rgba(78,205,196,.14); }
.cmp .yes, .cmp .no { display: inline-flex; align-items: center; gap: 8px; }
.cmp .yes svg { width: 17px; height: 17px; color: var(--teal-bright); flex: none; }
.cmp .no  svg { width: 17px; height: 17px; color: #5A6B68; flex: none; }
.cmp .no { color: var(--text-dim); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quote { position: relative; border-radius: 20px; padding: 30px 28px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--card-brd); backdrop-filter: blur(14px); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.quote:hover { transform: translateY(-6px); border-color: rgba(78,205,196,.3); }
.quote .mark { font-size: 46px; line-height: 1; color: var(--teal-bright); opacity: .3; font-weight: 800; }
.quote p { color: var(--text-soft); font-size: 15.5px; margin: 6px 0 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #04211d; background: linear-gradient(135deg, var(--teal-bright), var(--teal-dark)); flex: none; }
.quote .nm { font-weight: 700; font-size: 14.5px; color: #fff; }
.quote .rl { font-size: 12.5px; color: var(--text-dim); }
/* Capability cards reuse .quote's surface; these override the pull-quote bits. */
.quote .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(78,205,196,.2), rgba(14,154,144,.08));
  border: 1px solid rgba(78,205,196,.24); color: var(--teal-bright);
}
.quote .ic svg { width: 24px; height: 24px; }
.quote h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.quote .ic + h3 + p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.fitem { border: 1px solid var(--card-brd); border-radius: 16px; background: rgba(255,255,255,.028); overflow: hidden; transition: border-color .3s, background .3s; }
.fitem[open] { border-color: rgba(78,205,196,.3); background: rgba(78,205,196,.045); }
.fitem summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16.5px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fitem summary::-webkit-details-marker { display: none; }
.fitem summary svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.fitem[open] summary svg { transform: rotate(45deg); }
.fitem .fa { padding: 0 24px 22px; color: var(--text-soft); font-size: 15.5px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 38px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-chart { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .quotes { grid-template-columns: 1fr; }
  .trust-row { gap: 26px; }
  .cmp { overflow-x: auto; }
  .cmp table { min-width: 560px; }
}
@media (max-width: 520px) {
  .trust-row { gap: 18px 24px; }
  .trust-row .t { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero p.lead, .hero-cta, .hero-note, .trace-card { opacity: 1; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-fill, .spark-dot { opacity: 1; }
}

/* Shared beta entry points; the application itself lives in application.css. */
.beta-cta { display:inline-flex; flex-direction:column; align-items:center; gap:8px; }
.patent-note { color:var(--text-soft); font-size:12px; line-height:1.4; letter-spacing:.09em; text-transform:uppercase; }
.hero-cta { align-items:flex-start; }
:focus-visible { outline:2px solid var(--teal-bright); outline-offset:4px; }
.foot-col .beta-cta { align-items:flex-start; }
.foot-col .beta-cta a { margin-bottom:0; }
@media(max-width:520px) { .hero-cta { align-items:stretch; }.hero-cta .beta-cta .btn { width:100%; } }
