/* Gdigital site layer, AIS-style theme.
   Base: near-black + white. Gdigital mint (#47FF8C) is an accent only.
   scrollcraft.css is the reveal mechanism underneath; nothing here restyles [data-sc-*] internals. */

@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-display: swap; font-weight: 100 700;
  src: url("/assets/fonts/roboto-mono-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/roboto-mono-latin-wght-normal.woff2") format("woff2"); }

:root {
  /* palette */
  --bg: #050506;
  --bg-2: #0b0c0e;
  --bg-3: #121316;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --fg: #f4f5f7;
  --fg-2: rgba(244,245,247,.66);
  --fg-3: rgba(244,245,247,.42);
  --fg-4: rgba(244,245,247,.26);
  --accent: #47FF8C;
  --accent-2: #2ACF68;
  --accent-deep: #13734a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1080px;
  --wide-c: 1265px;
  --header-h: 60px;
  --r: 22px;          /* cards */
  --r-lg: 28px;       /* panels */
  --r-sm: 12px;
  --ring: 0 0 0 6px rgba(255,255,255,.02);

  /* map onto the engine's tokens so every older class follows the theme */
  --sc-canvas: var(--bg);
  --sc-surface: var(--bg-2);
  --sc-ink: var(--fg);
  --sc-ink-soft: var(--fg-2);
  --sc-accent: var(--accent);
  --sc-accent-ink: #04130b;
  --g-green: var(--accent-2);
  --g-deep: var(--bg-2);
  --g-raise: var(--bg-3);
  --sc-font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono: "Roboto Mono", ui-monospace, monospace;
  --sc-hairline: var(--line);
  --sc-hairline-strong: var(--line-2);
  --sc-shadow-color: 240 10% 2%;
  --sc-maxw: var(--container);
  --sc-gutter: 24px;
  --wide: 100;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--sc-font-text); font-size: 15px; line-height: 1.55; font-weight: 400; letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-200%); z-index: 200; background: #fff; color: #0a0a0b; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { transform: none; }
.sc-grain { display: none; }
::selection { background: var(--accent); color: #04130b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container, .sc-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--wide { max-width: var(--wide-c); }

/* ------------------------------------------------------------- type --- */
.sc-display, .h-display, h1, h2, h3, h4 { font-family: var(--sc-font-display); font-variation-settings: normal; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; text-wrap: balance; color: var(--fg); }
.t-xl  { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem); letter-spacing: -0.04em; font-weight: 400; line-height: 1.18; }
.t-lg  { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.3; }
.t-md  { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.32; }
.t-sm  { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.625rem); letter-spacing: -0.03em; line-height: 1.25; }
.lede  { font-size: 16px; line-height: 24px; color: var(--fg-2); max-width: 46ch; text-wrap: pretty; margin: 0; }
.body  { color: var(--fg-2); max-width: 62ch; text-wrap: pretty; margin: 0; line-height: 1.6; }
.body strong { color: var(--fg); font-weight: 500; }
.kicker { font-size: 13px; color: var(--fg-2); margin: 0 0 14px; }
.muted { color: var(--fg-2); }
p { margin: 0; }
a { color: inherit; }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .25em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--accent); }
.mono-label { font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }

/* Chip: small pill with a lit dot, used as the section marker */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); font-size: 12px; color: var(--fg-2); letter-spacing: .01em; width: fit-content; }
.chip--solid { background: rgba(255,255,255,.1); color: var(--fg); border-color: transparent; }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(71,255,140,.7); flex: none; }

/* Two-tone section heading */
.h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.5rem); line-height: 1.35; letter-spacing: -.04em; font-weight: 500; color: var(--fg); margin-top: 18px; }
.h2__a, .h2__b { display: block; }
.h2__b { color: var(--fg-3); }
.section-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 40px; max-width: none; }
.section-head h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.5rem); }
.section-head__p, .section-head > .body { font-size: 16px; line-height: 24px; color: var(--fg-2); padding-bottom: 4px; }
.section-head--single { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

/* Typed headlines: characters blur in (site.js splits them) */
[data-type] .w { display: inline-block; white-space: nowrap; }
[data-type] .ch { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(4px); transition: opacity .32s var(--ease), filter .5s var(--ease), transform .5s var(--ease); }
[data-type].is-typed .ch { opacity: 1; filter: blur(0); transform: none; }
@media (max-width: 900px) { [data-type] .ch { filter: none; } }

/* ----------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; min-height: 48px; padding: 0 30px; border-radius: 999px;
  font: 500 14px/1 var(--sc-font-text); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; color: var(--fg); background: transparent;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, color .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary, .btn--light { background: rgba(255,255,255,.9); color: #0a0a0b; }
.btn--primary:hover, .btn--light:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -10px rgba(71,255,140,.55); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { height: 40px; min-height: 40px; padding: 0 22px; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------ header --- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: linear-gradient(180deg, rgba(5,5,6,.75), rgba(5,5,6,0));
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.site-header.is-solid { background: rgba(5,5,6,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.site-header.is-open { background: rgba(5,5,6,.96); }
.site-header__in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 clamp(20px, 6vw, 180px); max-width: none; }
.brand { display: inline-flex; align-items: center; justify-self: start; border-radius: 8px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 6px; justify-self: center; margin: 0; }
.nav a { font-size: 14px; color: var(--fg-2); padding: 8px 14px; border-radius: 999px; text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--fg); background: rgba(255,255,255,.06); box-shadow: none; border-radius: 999px; }
.header-right { display: flex; align-items: center; gap: 16px; justify-self: end; }
.header-mail { font-size: 14px; color: var(--fg-2); text-decoration: none; }
.header-mail:hover { color: var(--fg); }
.header-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--fg); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .25s; white-space: nowrap; }
.header-cta:hover { background: rgba(255,255,255,.2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.08); border: 0; color: var(--fg); align-items: center; justify-content: center; cursor: pointer; justify-self: end; }
.menu-btn span { display: inline-flex; }
.menu-btn .menu-btn__close { display: none; }
.site-header.is-open .menu-btn .menu-btn__open { display: none; }
.site-header.is-open .menu-btn .menu-btn__close { display: inline-flex; }
.mobile-menu { position: fixed; top: var(--header-h); left: 12px; right: 12px; padding: 12px; border-radius: 20px; background: #0c0d0f; border: 1px solid var(--line-2); display: grid; gap: 8px; max-height: calc(100svh - var(--header-h) - 24px); overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a { padding: 12px 14px; font-size: 16px; color: var(--fg-2); border-radius: 12px; text-decoration: none; }
.mobile-menu nav a:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.mobile-menu nav a[aria-current="page"] { color: var(--fg); background: rgba(255,255,255,.06); }
.mobile-menu .btn { width: 100%; border-radius: 12px; }
.mobile-menu__meta { color: var(--fg-2); font-size: 14px; padding: 4px 14px; line-height: 1.2; }
.mobile-menu__meta a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 1000px) {
  .site-header__in { grid-template-columns: auto 1fr auto; padding: 0 20px; }
  .nav, .header-right { display: none; }
  .menu-btn { display: inline-flex; grid-column: 3; }
}

/* scroll progress: a 2px lit line along the top edge with a bright head */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none; }
.progress__bar { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(71,255,140,.75), #47FF8C 60%, #dcffe9); box-shadow: 0 0 12px rgba(71,255,140,.6); }
.progress__head { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(71,255,140,.8); opacity: 0; transition: opacity .3s var(--ease); }
.progress.is-on .progress__head { opacity: 1; }

/* ------------------------------------------------------------ footer --- */
.site-footer { position: relative; z-index: 2; background: var(--bg); padding: 70px 0 40px; border-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand img { height: 30px; width: auto; }
.site-footer__brand p { margin-top: 20px; font-size: 14px; color: var(--fg-2); max-width: 30ch; line-height: 1.55; }
.site-footer__col { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.site-footer__col h2 { font: 500 15px/1.4 var(--sc-font-text); color: var(--fg); margin-bottom: 8px; letter-spacing: 0; }
.site-footer__col a { color: var(--fg-2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; width: fit-content; }
.site-footer__col a:hover { color: var(--fg); }
.site-footer__base { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--fg-2); }
.site-footer__base nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__base a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.site-footer__base a:hover { color: var(--fg); }
@media (max-width: 900px) {
  .site-footer { padding-bottom: 96px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* WhatsApp quick link */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 55;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #052e16; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(12px) scale(.95); pointer-events: none; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.wa-float.is-quiet { opacity: 0; pointer-events: none; visibility: hidden; }
.wa-float:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* ------------------------------------------------------- the world --- */
/* Layered ridges at night: far, mid, front. Sky lifts to a deep green horizon. */
.world { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(200% 83% at 50% 0px, #0c0e11 0%, #141a1a 42%, #1e5a4a 100%); }
.world::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(71,255,140,.13), rgba(71,255,140,0) 70%); pointer-events: none; }
.world__plane { position: absolute; left: 50%; bottom: 0; width: max(1440px, 100%); max-width: none; height: auto; translate: -50% 0; pointer-events: none; will-change: transform; z-index: 1; }
.world__plane--far   { bottom: 150px; width: max(1680px, 117%); }
.world__plane--mid   { bottom: 40px; z-index: 2; }
.world__plane--front { bottom: -110px; z-index: 4; }
.world__mist, .world__stars { display: none; }
.world__floor { position: absolute; z-index: 5; inset: auto 0 0 0; height: 280px; background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.6) 45%, var(--bg) 88%); pointer-events: none; }

/* --------------------------------------------------- inner page hero --- */
.page-hero { position: relative; min-height: 560px; display: grid; align-items: start; padding: calc(var(--header-h) + 110px) 0 160px; isolation: isolate; overflow: clip; text-align: center; }
.page-hero .world { z-index: -1; }
.page-hero .world__plane--far { bottom: 70px; }
.page-hero .world__plane--mid { bottom: -30px; }
.page-hero .world__plane--front { bottom: -190px; }
.page-hero__copy { position: relative; z-index: 8; display: grid; gap: 18px; justify-items: center; }
.page-hero__copy h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 400; line-height: 1.22; letter-spacing: -.04em; max-width: 20ch; }
.page-hero__copy .lede { max-width: 52ch; color: rgba(255,255,255,.8); font-size: 15px; line-height: 23px; }
.page-hero__copy .btn-row { justify-content: center; }
@media (max-width: 900px) {
  .page-hero { min-height: 560px; padding-top: calc(var(--header-h) + 64px); }
  .world__plane { width: 1100px; }
  .world__plane--far { width: 1320px; bottom: 140px; }
  .page-hero .world__plane--far { bottom: 90px; }
  .page-hero .world__plane--mid { bottom: 0; }
  .page-hero .world__plane--front { bottom: -120px; }
}

/* ------------------------------------------------------- sections --- */
.section { padding-block: 110px; position: relative; background: transparent; }
.section--tight { padding-block: 72px; }
.section--raised { background: transparent; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
@media (max-width: 900px) { .section { padding-block: 80px; } }

/* Panel: the AIS framed surface (rounded, hairline, faint outer ring) */
.panel { border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line); box-shadow: var(--ring), 0 50px 100px -50px rgba(0,0,0,.9); }
.card { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--ring); }

/* Ledger: rows inside a panel */
.ledger { border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line); box-shadow: var(--ring); padding: 6px 28px; }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ledger__row:last-child { border-bottom: 0; }
.ledger__row h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 500; }
.ledger__row p { color: var(--fg-2); max-width: 52ch; }
.ledger__go { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg-2); transition: transform .3s var(--ease), color .2s, background .2s; }
.ledger__go .icon { width: 18px; height: 18px; }
.ledger__incl { display: block; margin-top: 8px; font-size: 13px; color: var(--fg-3); }
@media (hover: hover) and (pointer: fine) {
  a.ledger__row:hover .ledger__go { transform: translateX(4px); color: var(--fg); background: rgba(255,255,255,.1); }
}
@media (max-width: 760px) {
  .ledger { padding: 4px 20px; }
  .ledger__row { grid-template-columns: 1fr auto; gap: 10px; }
  .ledger__row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

.label-schema { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: 14px; margin: 0; }
.label-schema dt { color: var(--fg-3); }
.label-schema dd { margin: 0; color: var(--fg-2); }

.fig { margin: 0; border-radius: var(--r); overflow: hidden; background: #0f1012; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); position: relative; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { font-size: 13px; color: var(--fg-2); padding: 12px 16px; background: #0f1012; }

/* Quotes as cards */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line); box-shadow: var(--ring); }
.quote { margin: 0; padding: 30px; border-radius: 20px; background: #0f1012; display: grid; gap: 16px; align-content: space-between; }
.quote p { font-size: 18px; line-height: 1.5; letter-spacing: -.015em; color: var(--fg); text-wrap: pretty; }
.quote cite { font-style: normal; color: var(--fg-2); font-size: 14px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote { padding: 24px; } }

/* Forms */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--fg); }
.field .hint { font-size: 12px; color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: #0f1012; color: var(--fg); border: 1px solid rgba(255,255,255,.34); font: 400 15px/1.4 var(--sc-font-text);
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field select option { background: #0f1012; color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,245,247,.45); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.55); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; border-radius: 14px; }
.field [aria-invalid="true"] { border-color: #FF8A7A; }
.field .error { color: #FFB3A8; font-size: 12px; min-height: 1em; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.is-error { color: #FFB3A8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Plans: AIS pricing grid with a raised middle plan */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-lg); background: #0a0b0d; border: 1px solid var(--line); box-shadow: var(--ring); }
.plan { padding: 44px 36px 28px; display: flex; flex-direction: column; gap: 0; position: relative; border: 0; }
.plan--pop { margin: -16px -1px; padding-top: 60px; background: #121316; border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(71,255,140,.35); z-index: 1; }
.plan__tag { position: static; translate: none; margin-bottom: 14px; }
.plan h3 { font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); font-weight: 400; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__for { margin-top: 18px; color: var(--fg-2); font-size: 15px; line-height: 21px; }
.plan__price { margin-top: 26px; font: 400 clamp(30px, 2.6vw, 38px)/1 var(--sc-font-display); white-space: nowrap; letter-spacing: -.04em; color: var(--fg); font-variant-numeric: tabular-nums; }
.plan__price small { font: 400 18px/1 var(--sc-font-text); color: var(--fg-2); letter-spacing: 0; margin-left: .25em; }
.plan__alt { margin-top: 10px; font-size: 13px; color: var(--fg-3); min-height: 1.4em; }
.plan .btn { align-self: flex-start; margin-top: 22px; height: 40px; min-height: 40px; padding: 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 30px 0 0; display: block; font-size: 14px; }
.plan li { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.plan li:last-child { border-bottom: 0; }
.plan li .icon { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--fg); margin: 0; }
.plan--pop li .icon { background: rgba(71,255,140,.18); color: var(--accent); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan--pop { margin: 0; }
}
.pill { display: inline-flex; align-items: center; gap: .4em; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(71,255,140,.14); color: var(--accent); white-space: nowrap; width: fit-content; }

/* Segmented control (AIS tab bar) */
.seg { display: inline-flex; padding: 6px; border-radius: 999px; background: #0b0c0e; border: 1px solid var(--line); box-shadow: var(--ring); gap: 4px; }
.seg button { height: 44px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font: 400 15px var(--sc-font-text); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: #1a1b1e; color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.seg button:hover { color: var(--fg); }

/* FAQ cards (details) used across pages */
details.qa, .faq-list details { border-radius: var(--r); background: #0b0c0e; border: 1px solid var(--line); box-shadow: var(--ring); margin: 0 0 10px; }
details.qa summary, .faq-list details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; font-size: 17px; cursor: pointer; color: var(--fg); }
details.qa summary::-webkit-details-marker, .faq-list details summary::-webkit-details-marker { display: none; }
details.qa summary::after, .faq-list details summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23b9babd' stroke-width='1.5'/%3E%3C/svg%3E") center/12px no-repeat; border: 1px solid var(--line); transition: transform .3s var(--ease); }
details.qa[open] summary::after, .faq-list details[open] summary::after { transform: rotate(180deg); }
details.qa > :not(summary), .faq-list details > :not(summary) { padding: 0 30px 26px; font-size: 15px; line-height: 23px; color: var(--fg-2); max-width: 64ch; }
@media (max-width: 900px) { details.qa summary, .faq-list details summary { padding: 22px; font-size: 15px; } details.qa > :not(summary), .faq-list details > :not(summary) { padding: 0 22px 22px; } }

/* Prose (legal pages) */
.prose { max-width: 68ch; color: var(--fg-2); line-height: 1.75; font-size: 15px; }
.prose h2 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin: 56px 0 14px; color: var(--fg); }
.prose h3 { font-size: 19px; margin: 32px 0 10px; color: var(--fg); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { color: var(--fg); text-underline-offset: .22em; text-decoration-color: var(--accent); }

/* Shared AIS-style close band with ridges (used by inner pages via .pa-close / .wk-close etc. if present) */
.cta-band { position: relative; padding: 180px 0 240px; background: linear-gradient(180deg, var(--bg) 0%, #101615 100%); overflow: clip; text-align: center; isolation: isolate; }

/* Reveal timing in the AIS manner: longer, softer */
[data-sc-in], [data-sc-stagger] > * { transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: opacity .2s linear; transform: none; }
  [data-type] .ch { opacity: 1 !important; filter: none !important; transform: none !important; }
}

/* Without JavaScript nothing may stay hidden */
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > *, html:not(.js) [data-sc-cue], html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
html:not(.js) .menu-btn { display: none; }
@media (max-width: 1000px) { html:not(.js) .nav { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-self: end; max-width: 70vw; } }

/* Keyboard focus must never land on content that has not faded in yet. */
[data-sc-in]:focus-within, [data-sc-stagger] > :focus-within, [data-sc-cue]:focus-within, .reveal:focus-within { opacity: 1 !important; transform: none !important; }

/* Reveal (Framer-style appear) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 1280px) { .header-mail { display: none; } }

/* ---------------------------------------------------------------- reels --- */
/* Horizontal row of vertical videos (partials/reels.html, used on home and work). Silent previews autoplay; site.js swaps in the full reel with sound. */
.reels { position: relative; min-width: 0; max-width: 100%; }
.reels__track { list-style: none; margin: 0; padding: 4px 2px 18px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reels__track::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 clamp(220px, 24vw, 300px); scroll-snap-align: start; display: grid; gap: 12px; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px rgba(0,0,0,.9); isolation: isolate; }
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__frame::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(to top, rgba(5,5,6,.7), transparent); pointer-events: none; }
.reel__sound { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 999px; background: rgba(5,5,6,.6); color: #fff; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; box-shadow: 0 0 0 1px rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, transform .3s var(--ease); }
.reel__sound .icon { width: 17px; height: 17px; }
.reel__sound:hover { background: rgba(5,5,6,.8); transform: translateY(-1px); }
.reel__sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.reel.is-full .reel__sound, .reel.is-full .reel__frame::after, html:not(.js) .reel__sound { display: none; }
.reel__cap { display: flex; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.35; color: var(--fg); }
.reel__cap .mono-label { color: var(--accent); }
.reels__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.reels__btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2, rgba(255,255,255,.14)); background: rgba(255,255,255,.04); color: var(--fg); cursor: pointer; transition: background .3s, opacity .3s; }
.reels__btn .icon { width: 18px; height: 18px; }
.reels__btn:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.reels__btn:disabled { opacity: .35; cursor: default; }
.reels__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) {
  .reel { flex-basis: 62vw; }
  .reels__nav { justify-content: flex-start; }   /* keep the arrows clear of the WhatsApp button */
  .reels__track { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .reel__sound, .reels__btn { transition: none; } .reel__sound:hover { transform: none; } }

/* People row (partials/people.html, home + about): portrait cards in the shared .reels__track scroller */
.person { flex: 0 0 clamp(170px, 17vw, 220px); scroll-snap-align: start; display: grid; gap: 4px; }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; margin-bottom: 10px; background: #0f1012; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.person__name { font-size: 15px; font-weight: 500; color: var(--fg); }
.person__role { font-size: 13px; color: var(--fg-3); }
@media (max-width: 640px) { .person { flex-basis: 42vw; } }

/* TikTok Shop dashboard (partials/tiktok-dash.html): work case study; also screenshotted to /assets/work/tiktok-shop-dashboard.webp */
.tt-dash { --tt-cyan: #25f4ee; --tt-red: #fe2c55; display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: radial-gradient(70% 60% at 0% 0%, rgba(37,244,238,.12), transparent 60%), radial-gradient(60% 60% at 100% 0%, rgba(254,44,85,.12), transparent 60%), #0b0c0e; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 50px 100px -50px rgba(0,0,0,.9); font-family: var(--sc-font-text), "Segoe UI", sans-serif; }
.tt-dash__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tt-dash__logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12); color: #fff; }
.tt-dash__logo .icon { width: 18px; height: 18px; filter: drop-shadow(-1.5px -1px 0 var(--tt-cyan)) drop-shadow(1.5px 1px 0 var(--tt-red)); }
.tt-dash__top strong { font-size: 16px; font-weight: 600; color: var(--fg); }
.tt-dash__sub { font-size: 13px; color: var(--fg-3); }
.tt-dash__range { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12px; color: var(--fg-2); }
.tt-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tt-dash__kpis div { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: #121316; border: 1px solid rgba(255,255,255,.05); min-width: 0; }
.tt-dash__kpis .is-main { background: linear-gradient(160deg, rgba(37,244,238,.14), #121316 70%); border-color: rgba(37,244,238,.25); }
.tt-dash__kpis small { font-size: 12px; color: var(--fg-3); }
.tt-dash__kpis b { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt-dash__chart { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto 210px auto; gap: 8px 10px; padding: 16px 18px 12px; border-radius: 14px; background: #121316; border: 1px solid rgba(255,255,255,.05); }
.tt-dash__legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-2); }
.tt-dash__legend span { width: 14px; height: 3px; border-radius: 2px; background: var(--tt-cyan); }
.tt-dash__chart svg { grid-column: 2; grid-row: 2; width: 100%; height: 100%; overflow: visible; }
.tt-dash__grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tt-dash__area { fill: url(#tt-fill); }
.tt-dash__line { fill: none; stroke: var(--tt-cyan); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(37,244,238,.55)); }
html.js .tt-dash__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
html.js .tt-dash__area { opacity: 0; transition: opacity 1.2s var(--ease) 1.2s; }
html.js .is-in .tt-dash__line, html.js .tt-dash.is-drawn .tt-dash__line { stroke-dashoffset: 0; }
html.js .is-in .tt-dash__area, html.js .tt-dash.is-drawn .tt-dash__area { opacity: 1; }
.tt-dash__y { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; margin: -7px 0; font-size: 11px; line-height: 14px; color: var(--fg-3); text-align: right; }
.tt-dash__x { grid-column: 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-3); }
@media (max-width: 640px) {
  .tt-dash { padding: 14px; }
  .tt-dash__range { margin-left: 0; }
  .tt-dash__kpis { grid-template-columns: 1fr 1fr; }
  .tt-dash__kpis .is-main { grid-column: 1 / -1; }
  .tt-dash__chart { grid-template-rows: auto 150px auto; padding: 12px; }
  .tt-dash__x span:nth-child(even) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html.js .tt-dash__line { stroke-dasharray: none; transition: none; } html.js .tt-dash__area { opacity: 1; transition: none; } }

/* drifting people row: no snapping while it glides */
.is-drifting .reels__track { scroll-snap-type: none; }
.is-drifting .reels__track > * { transform: translate3d(var(--sub, 0px), 0, 0); will-change: transform; }

/* Cursor dot (site.js): mint "online" dot that replaces the system cursor; typing fields keep the text cursor */
html.has-cursor-dot, html.has-cursor-dot * { cursor: none !important; }
html.has-cursor-dot :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), textarea, [contenteditable]) { cursor: text !important; }
html.has-cursor-dot select { cursor: default !important; }
.cursor-dot.is-text { opacity: 0; }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor-dot::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(71,255,140,.75); transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.cursor-dot::after { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(71,255,140,.6); opacity: 0; }
.cursor-dot.is-on { opacity: 1; }
.cursor-dot.is-hot::before { transform: scale(4.5); background: rgba(71,255,140,.12); box-shadow: inset 0 0 0 .3px rgba(71,255,140,.9), 0 0 18px rgba(71,255,140,.25); }
.cursor-dot.is-down::before { transform: scale(.7); }
.cursor-dot.is-hot.is-down::before { transform: scale(3.6); }
.cursor-dot.is-idle:not(.is-hot)::after { animation: cursor-ping 2.4s var(--ease) infinite; }
@keyframes cursor-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-dot { display: none; } }
