/* =====================================================================
   Texture borrowed from the app (src/depth.css): leather-pebble grain, chalk try-line, film grain,
   turf stripes, glass cards and the soft multi-colour glow. Everything is CSS (no images).
   ===================================================================== */
:root{
  --noise:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --pebble-hi:rgba(255,255,255,.07);
  --pebble-lo:rgba(0,0,0,.35);
  --blue:hsl(210 79% 46%);
  --purple:hsl(265 70% 62%);
}

/* ---- ambient glow behind the whole page (the app's multi-colour mesh) ---- */
body::before{content:"";position:fixed;inset:0;z-index:-5;pointer-events:none;
  background:
    radial-gradient(60% 38% at 12% 2%, rgba(39,206,131,.16), transparent 70%),
    radial-gradient(55% 34% at 100% 30%, hsl(210 79% 46% / .12), transparent 72%),
    radial-gradient(60% 40% at 0% 78%, rgba(39,206,131,.10), transparent 72%),
    radial-gradient(50% 30% at 95% 100%, hsl(265 70% 62% / .10), transparent 72%)}

/* ---- the "hero card" surface: pebble grain + green glow + chalk try-line + film grain ---- */
.tex,.portal-card,.plan.pop{position:relative;isolation:isolate}
.portal-card,.plan.pop,.tex{
  background:
    radial-gradient(90% 90% at 18% 20%, rgba(39,206,131,.20), transparent 60%),
    radial-gradient(circle at 25% 30%, var(--pebble-hi) 0 1.2px, transparent 1.6px) 0 0 / 11px 11px,
    radial-gradient(circle at 70% 65%, var(--pebble-lo) 0 1.4px, transparent 1.9px) 0 0 / 11px 11px,
    #0f1512;
  border-color:rgba(39,206,131,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 14px 26px -10px rgba(39,206,131,.28),0 2px 0 rgba(0,0,0,.12)}
.portal-card::after,.plan.pop::after,.tex::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--noise);opacity:.06;mix-blend-mode:overlay;pointer-events:none}
.plan.pop::before{content:"";position:absolute;left:24px;right:24px;bottom:10px;border-top:2px dashed rgba(255,255,255,.16);pointer-events:none}
.portal-card::before{right:auto;top:auto;left:clamp(24px,3.6vw,52px);bottom:14px;width:auto;height:0;aspect-ratio:auto;background:none;border-top:2px dashed rgba(255,255,255,.14);right:clamp(24px,3.6vw,52px)}
.pc-tiles{margin-bottom:12px}

/* ---- glass cards (blurred, lit top edge, faint rim) ---- */
.f-card,.checks li,.plan:not(.pop),.faq details,.p-btn.is-on,.pc-tiles span,.chip,.bill,.float{
  background:linear-gradient(155deg,rgba(255,255,255,.10),rgba(255,255,255,.02) 55%),rgba(18,24,21,.5);
  border-color:rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.02),0 12px 30px -14px rgba(0,0,0,.65)}
.chip.is-on,.bill-btn.is-on{background:var(--acc);box-shadow:0 8px 24px -10px rgba(39,206,131,.7)}
.faq details[open]{border-color:rgba(39,206,131,.4)}
.f-card::before{content:"";position:absolute;inset:0;background:var(--noise);opacity:.045;mix-blend-mode:overlay;pointer-events:none}

/* ---- turf stripes: final call-to-action, the scroll beat and the footer edge ---- */
.final{
  background:
    radial-gradient(800px circle at 50% 100%,rgba(39,206,131,.26),transparent 65%),
    linear-gradient(rgba(0,0,0,.42),rgba(0,0,0,.42)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.055) 0 64px,rgba(0,0,0,.16) 64px 128px),
    linear-gradient(135deg,rgba(26,165,102,.55),rgba(26,165,102,.14) 70%,#070a09);
  position:relative;overflow:hidden}
.final::before{content:"";position:absolute;inset:0;background:var(--noise);opacity:.10;pointer-events:none}
.final::after{content:"";position:absolute;left:0;right:0;bottom:46px;border-top:2px solid rgba(255,255,255,.28)}   /* the try-line */
.final .wrap{position:relative;z-index:1}
.beat{position:relative}
.beat::before{content:"";position:absolute;inset:0;background:var(--noise);opacity:.03;pointer-events:none}
.statement{position:relative}

/* ---- hero: pebble floor under the phone + film grain across the whole screen ---- */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;z-index:-1;pointer-events:none;
  background:
    linear-gradient(180deg,transparent,rgba(7,10,9,.0) 20%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0 60px,rgba(0,0,0,.14) 60px 120px);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 70%);mask-image:linear-gradient(180deg,transparent,#000 70%)}

/* ---- pitch-stripe divider used between sections ---- */
.sec+.sec::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(39,206,131,.35),transparent)}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .f-card,.checks li,.plan:not(.pop),.faq details,.pc-tiles span,.chip,.bill,.float{background:#121815}
}
@media (prefers-reduced-transparency:reduce){
  .f-card,.checks li,.plan:not(.pop),.faq details,.pc-tiles span,.chip,.bill,.float{-webkit-backdrop-filter:none;backdrop-filter:none;background:#121815}
}

/* ---- hero phone: real dashboard screenshots ---- */
.phone-in .notch{z-index:5}
.phone-in .sbar{position:absolute;inset:0 0 auto 0;height:34px;z-index:4;display:flex;justify-content:space-between;align-items:center;padding:3px 24px 0;font:600 12px Inter,sans-serif;color:#d9e5de;background:#0b0f0d}
.phone-in .sb-i{display:inline-flex;gap:4px;align-items:center}
.phone-in .sb-i i{display:block;width:12px;height:7px;border-radius:2px;background:#d9e5de;opacity:.85}
.phone-in .sb-i i:nth-child(1){width:4px;height:7px;opacity:.55}.phone-in .sb-i i:nth-child(2){width:8px}.phone-in .sb-i i:nth-child(3){width:16px;border-radius:3px}
.phone-in .shots{position:absolute;inset:34px 0 0 0;overflow:hidden;background:#0b0f0d}
.shots img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;transition:opacity .55s var(--ease);transform:scale(1.01)}
.shots img.on{opacity:1}

/* ---- hero role picker: a flat tab strip on one line, clearly not a button ---- */
.picker{max-width:none;display:flex;flex-wrap:nowrap;gap:clamp(14px,2.2vw,30px);overflow-x:auto;scrollbar-width:none;border-bottom:1px solid rgba(255,255,255,.14);padding:0;margin-top:clamp(18px,3vh,30px)}
.picker::-webkit-scrollbar{display:none}
.picker .chip{flex:none;background:none;border:0;border-radius:0;box-shadow:none;padding:12px 2px 13px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#8b9a92;position:relative;transition:color .25s}
.picker .chip:hover{color:#e9f0ec;transform:none;border-color:transparent}
.picker .chip::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--acc);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.picker .chip.is-on{background:none;box-shadow:none;color:var(--acc)}
.picker .chip.is-on::after{transform:scaleX(1)}
.hero-copy{min-width:0}
.picker{max-width:100%}
@media (max-width:620px){.picker{gap:0;justify-content:space-between}.picker .chip{letter-spacing:.02em;font-size:11px}}
