/* ==========================================================================
   GIG FMI — core stylesheet
   Mobile-first. Breakpoint enhancements live in responsive.css.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* brand (sampled from the GIG logo and app UI) */
  --red: #fa0101;
  --red-ink: #d40000;      /* AA-safe red for text & buttons */
  --red-deep: #b30000;
  --amber: #ffa500;
  --amber-soft: #fff3dc;

  /* neutrals */
  --navy: #0f1828;          /* app background */
  --navy-2: #162235;
  --navy-3: #1f2c42;
  --ink: #0b1220;
  --ink-2: #283246;
  --muted: #5a6478;
  --muted-2: #687184;      /* AA on light surfaces */
  --muted-dark: #8a93a5;   /* secondary text on navy */
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --white: #ffffff;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(11, 18, 32, 0.16);
  --line-dark: rgba(255, 255, 255, 0.09);

  /* type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.2vw, 4.6rem);
  --fs-display: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);

  /* space & shape */
  --gutter: 16px;
  --container: 1240px;
  --section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 2px 6px rgba(11, 18, 32, 0.04);
  --shadow: 0 2px 4px rgba(11, 18, 32, 0.04), 0 12px 32px -8px rgba(11, 18, 32, 0.14);
  --shadow-lg: 0 4px 10px rgba(11, 18, 32, 0.05), 0 30px 60px -18px rgba(11, 18, 32, 0.32);
  --shadow-phone: 0 2px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -24px rgba(11, 18, 32, 0.55), 0 18px 36px -18px rgba(11, 18, 32, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 80px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body, main, .site-footer { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--amber); color: var(--ink); }
body.is-locked { overflow: hidden; }

:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section--dark :focus-visible { outline-color: var(--amber); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

.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-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--white); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--dark { background: var(--navy); color: #e8ecf3; }
.section--white { background: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--amber); }
.eyebrow__num { color: var(--muted-2); font-variant-numeric: tabular-nums; }

.h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.032em; line-height: 1.05; }
.h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: #a9b3c4; }
.muted { color: var(--muted); }
.text-red { color: var(--red-ink); }
.text-amber { color: var(--amber); }
.accent-underline { position: relative; white-space: nowrap; }
.accent-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.12em;
  background: var(--amber); border-radius: 2px; z-index: -1; transform-origin: left;
}

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lead { max-width: 620px; }

/* split-text masks (populated by animations.js) */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; will-change: transform; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-word > span { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-hover: var(--red-ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.95rem; font-weight: 650; letter-spacing: -0.005em; white-space: nowrap;
  transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-hover); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn .btn__arrow { position: relative; width: 18px; height: 18px; overflow: hidden; flex: none; }
.btn .btn__arrow svg { position: absolute; inset: 0; width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn .btn__arrow svg + svg { transform: translateX(-140%); }
.btn:hover .btn__arrow svg:first-child, .btn:focus-visible .btn__arrow svg:first-child { transform: translateX(140%); }
.btn:hover .btn__arrow svg + svg, .btn:focus-visible .btn__arrow svg + svg { transform: none; }

.btn--primary { --btn-bg: var(--red-ink); --btn-hover: var(--ink); box-shadow: 0 10px 24px -10px rgba(212, 0, 0, 0.55); }
.btn--dark { --btn-bg: var(--ink); --btn-hover: var(--red-ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { --btn-fg: var(--white); border-color: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: var(--amber); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-hover: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { --btn-fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: var(--r);
  background: var(--ink); color: var(--white); border: 1px solid var(--ink);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-btn .icon { width: 24px; height: 24px; }
.store-btn__text { display: grid; line-height: 1.15; }
.store-btn__text small { font-size: 0.68rem; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; }
.store-btn__text strong { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
.store-btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.store-btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.store-btn--outline:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }

/* Pills / chips */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pill:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.pill__tag { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pill .icon { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.pill:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform 0.45s var(--ease);
}
.site-header__bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 246, 242, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 63px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 0.925rem; font-weight: 550; color: var(--ink-2);
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px;
  background: var(--red-ink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link[aria-expanded="true"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[data-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[data-current]::after { right: 32px; }
.nav__link .icon { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 460px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(0.98); transform-origin: top center;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--drop.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.dropdown__link {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: var(--r);
  transition: background-color 0.25s var(--ease);
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--paper); }
.dropdown__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line); color: var(--red-ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.dropdown__link:hover .dropdown__icon { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dropdown__icon .icon { width: 18px; height: 18px; }
.dropdown__title { display: block; font-size: 0.9rem; font-weight: 650; color: var(--ink); line-height: 1.3; }
.dropdown__desc { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.dropdown__foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 4px; padding: 12px 14px; border-radius: var(--r); background: var(--paper);
  font-size: 0.85rem; color: var(--muted);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; }

/* burger */
.burger {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line);
}
.burger__lines { position: relative; width: 18px; height: 12px; }
.burger__lines span {
  position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px; background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), top 0.45s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 5px; }
.burger__lines span:nth-child(3) { top: 10px; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy); color: var(--white);
  padding: calc(var(--header-h) + 16px) var(--gutter) 24px;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease-in-out), visibility 0s linear 0.6s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.6s var(--ease-in-out), visibility 0s; }
.site-header.menu-open::before { opacity: 0; }
.brand { position: relative; }
.brand .brand__light { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.3s var(--ease); }
.brand .brand__dark { transition: opacity 0.3s var(--ease); }
.site-header.menu-open .brand__light { opacity: 1; }
.site-header.menu-open .brand__dark { opacity: 0; }
.site-header.menu-open .burger { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.site-header.menu-open .burger__lines span { background: var(--white); }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 2px; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); font-weight: 700; letter-spacing: -0.02em;
}
.mobile-menu__link small { font-size: 0.75rem; font-weight: 600; color: var(--muted-dark); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.mobile-menu__link[aria-current="page"] { color: var(--amber); }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-menu__sub a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 0.85rem; color: #c5cdd9; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 16px; }
.mobile-menu__foot p { font-size: 0.85rem; color: var(--muted-dark); }
.mobile-menu__foot a.mail { color: var(--white); font-weight: 600; }

/* ==========================================================================
   Device frame
   ========================================================================== */
.phone {
  --w: 280px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.2;
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(145deg, #2a3242, #0b1018 45%, #1d2431);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone::before { /* side buttons */
  content: ""; position: absolute; right: -2px; top: 26%; width: 3px; height: 12%; border-radius: 2px; background: #2a3242;
}
.phone::after {
  content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 7%; border-radius: 2px; background: #2a3242;
  box-shadow: 0 calc(var(--w) * 0.11) 0 #2a3242;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * 0.13);
  background: var(--navy);
  isolation: isolate;
}
.phone__status {
  position: relative; z-index: 2;
  height: calc(var(--w) * 0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--w) * 0.08);
  color: var(--white); font-size: calc(var(--w) * 0.046); font-weight: 650;
}
.phone__island {
  position: absolute; left: 50%; top: calc(var(--w) * 0.035); transform: translateX(-50%);
  width: 32%; height: calc(var(--w) * 0.085); border-radius: 999px; background: #000;
}
.phone__sig { display: flex; gap: 3px; align-items: flex-end; }
.phone__sig i { display: block; width: calc(var(--w) * 0.012); background: var(--white); border-radius: 1px; }
.phone__sig i:nth-child(1) { height: calc(var(--w) * 0.015); }
.phone__sig i:nth-child(2) { height: calc(var(--w) * 0.022); }
.phone__sig i:nth-child(3) { height: calc(var(--w) * 0.03); }
.phone__sig b { display: block; margin-left: 4px; width: calc(var(--w) * 0.075); height: calc(var(--w) * 0.035); border-radius: 3px; border: 1px solid rgba(255,255,255,.7); position: relative; }
.phone__sig b::after { content: ""; position: absolute; inset: 1.5px; right: 25%; background: var(--white); border-radius: 1px; }
.phone__img { width: 100%; height: auto; }
.phone__fade { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to bottom, rgba(15, 24, 40, 0), var(--navy) 85%); z-index: 1; pointer-events: none; }
.phone__home { position: absolute; z-index: 3; bottom: calc(var(--w) * 0.03); left: 50%; transform: translateX(-50%); width: 36%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); }

/* splash screen (built from the real logo, matches the in-app launch screen) */
.splash { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); }
.splash img { width: 62%; }
.splash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 55%, rgba(255, 165, 0, 0.1), transparent 70%); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem));
  padding-bottom: 0;
  background: var(--paper);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 18, 32, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 18, 32, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -200px; top: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.18), rgba(250, 1, 1, 0.06) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__inner { position: relative; display: grid; gap: 48px; }
.hero__copy { display: grid; justify-items: start; gap: 24px; }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; color: var(--ink); }
.hero__title .accent { color: var(--red-ink); display: block; }
.hero__title .nw { white-space: nowrap; }
.hero__copy { position: relative; z-index: 2; }
.hero__lead { max-width: 540px; font-size: var(--fs-lg); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stores { display: grid; gap: 10px; }
.hero__stores-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.store-btn--sm { min-height: 48px; padding: 6px 16px 6px 12px; gap: 10px; }
.store-btn--sm .icon { width: 22px; height: 22px; }
.store-btn--sm .store-btn__text strong { font-size: 0.95rem; }
.store-btn--line { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.store-btn--line:hover { border-color: var(--ink); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 16px; height: 16px; color: var(--red-ink); }

.hero__visual { position: relative; z-index: 1; height: 470px; margin-inline: calc(var(--gutter) * -1); }
.hero__stage { position: absolute; inset: 0; }
.hero__visual::after { /* phones dissolve into the page instead of being cut */
  content: ""; position: absolute; left: -40px; right: -50vw; bottom: 0; height: 30%; z-index: 6; pointer-events: none;
  background: linear-gradient(to bottom, rgba(247, 246, 242, 0), var(--paper) 88%);
}
.hero__phone { position: absolute; left: 50%; will-change: transform; }
.hero__phone--main { --w: 236px; top: 16px; margin-left: -118px; z-index: 3; }
.hero__phone--left { --w: 196px; top: 70px; margin-left: -252px; z-index: 1; }
.hero__phone--right { --w: 196px; top: 70px; margin-left: 56px; z-index: 2; }
.hero__phone--left .phone, .hero__phone--right .phone { filter: saturate(0.9); }
.hero__phone--left .phone { transform: rotate(-7deg); }
.hero__phone--right .phone { transform: rotate(7deg); }
.hero__phone--left .phone__screen::after, .hero__phone--right .phone__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 4; background: rgba(11, 18, 32, 0.18); pointer-events: none;
}

.float-card {
  position: absolute; z-index: 5; will-change: transform;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  border-radius: 16px; color: var(--ink);
}
.float-card--chip {
  top: 4px; left: 50%; margin-left: -150px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--red-ink); color: var(--white); border-color: transparent;
  font-size: 0.8rem; font-weight: 650; white-space: nowrap;
  box-shadow: 0 16px 30px -12px rgba(212, 0, 0, 0.6);
}
.float-card--chip .chip-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
.float-card--chip .chip-icon .icon { width: 14px; height: 14px; color: var(--amber); }
.float-card--track { left: 12px; top: 250px; width: 210px; padding: 14px; }
.float-card--collab { right: 12px; top: 130px; width: 196px; padding: 14px; }
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fc-title { font-size: 0.85rem; font-weight: 700; letter-spacing: -0.01em; }
.fc-text { font-size: 0.72rem; line-height: 1.5; color: var(--muted); }
.fc-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.fc-icon .icon { width: 15px; height: 15px; }
.fc-progress { margin-top: 10px; display: grid; gap: 6px; }
.fc-progress__row { display: flex; justify-content: space-between; font-size: 0.68rem; font-weight: 600; color: var(--ink-2); }
.fc-progress__bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.fc-progress__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--red-ink), var(--amber)); transform-origin: left; }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 22px; background: var(--red-ink); flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.float-card--collab .fc-text { margin-top: 2px; }

.hero__horizon { position: relative; height: 1px; background: var(--line); }

/* ==========================================================================
   Proof / audience strip
   ========================================================================== */
.proof { padding-block: 40px; border-bottom: 1px solid var(--line); background: var(--paper); }
.proof__inner { display: grid; gap: 22px; align-items: center; }
.proof__label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); max-width: 300px; }
.proof__label strong { color: var(--ink); }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 12px; padding-right: 12px; list-style: none; margin: 0; padding-left: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
}
.marquee__item .icon { width: 18px; height: 18px; color: var(--red-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; gap: 40px; }
.about__title { font-size: var(--fs-h2); }
.about__body { display: grid; gap: 28px; }
.about__body .lead { color: var(--ink-2); font-size: var(--fs-xl); line-height: 1.5; letter-spacing: -0.01em; }
.principles { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principle__num { font-size: var(--fs-sm); font-weight: 700; color: var(--red-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.principle h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.015em; }
.principle p { color: var(--muted); font-size: 0.95rem; }

.about__showcase {
  position: relative; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--navy); color: #e8ecf3;
  display: grid;
}
.about__showcase-bg { position: absolute; inset: 0; background-image: url("../images/about-pattern.svg"); background-size: cover; opacity: 0.9; pointer-events: none; }
.audience { position: relative; padding: 28px 20px; display: grid; gap: 22px; align-content: center; }
.audience__tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); position: relative; width: max-content; max-width: 100%; }
.audience__tab { position: relative; z-index: 1; padding: 9px 14px; border-radius: 9px; font-size: 0.85rem; font-weight: 600; color: #a9b3c4; transition: color 0.3s var(--ease); }
.audience__tab[aria-selected="true"] { color: var(--ink); }
.audience__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: var(--amber); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.audience__panel h3 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem); color: var(--white); letter-spacing: -0.025em; margin-bottom: 12px; }
.audience__panel p { color: #a9b3c4; max-width: 460px; }
.audience__panel[hidden] { display: none; }
.about__screens { position: relative; height: 330px; overflow: hidden; }
.about__screens .phone { position: absolute; }
.about__screens .phone--a { --w: 220px; left: 50%; margin-left: -150px; top: 36px; }
.about__screens .phone--b { --w: 190px; left: 50%; margin-left: 10px; top: 80px; transform: rotate(4deg); }

/* ==========================================================================
   Features (interactive)
   ========================================================================== */
.features { background: var(--white); }
.features__layout { display: grid; gap: 28px; }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-item { border-bottom: 1px solid var(--line); position: relative; }
.feature-item__btn {
  width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; gap: 14px; align-items: center;
  padding: 18px 0; text-align: left;
}
.feature-item__num { font-size: var(--fs-sm); font-weight: 700; color: var(--muted-2); font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease); }
.feature-item__title { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); font-weight: 650; letter-spacing: -0.02em; color: var(--muted); transition: color 0.3s var(--ease); }
.feature-item__icon { width: 20px; height: 20px; color: var(--muted-2); transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
.feature-item__btn:hover .feature-item__title { color: var(--ink); }
.feature-item.is-active .feature-item__num { color: var(--red-ink); }
.feature-item.is-active .feature-item__title { color: var(--ink); }
.feature-item.is-active .feature-item__icon { transform: rotate(90deg); color: var(--ink); }
.feature-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.feature-item.is-active .feature-item__body { grid-template-rows: 1fr; }
.feature-item__body > div { overflow: hidden; }
.feature-item__body p { padding: 0 0 20px 54px; color: var(--muted); max-width: 520px; }
.feature-item__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red-ink); transform: scaleX(0); transform-origin: left; }

.feature-stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden; order: -1;
  background: var(--navy); min-height: 380px;
  isolation: isolate;
}
.feature-stage__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.feature-stage__label { position: absolute; left: 18px; bottom: 14px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5f6b80; font-weight: 600; }
.feature-stage__count { position: absolute; right: 18px; bottom: 12px; font-size: 0.8rem; font-weight: 700; color: #8a93a5; font-variant-numeric: tabular-nums; }
.feature-stage__count b { color: var(--white); }
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px 20px 44px; }
.scene[hidden] { display: grid; visibility: hidden; }
.scene:not(.is-active) { pointer-events: none; }

/* UI widgets used inside feature scenes */
.ui-card {
  width: 100%; max-width: 340px;
  background: var(--white); color: var(--ink); border-radius: 16px; padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.ui-card--dark { background: var(--navy-2); color: #e8ecf3; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line-dark); }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-kicker { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.ui-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; }
.ui-sub { font-size: 0.78rem; color: var(--muted); }
.ui-card--dark .ui-sub { color: #8a93a5; }
.ui-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; background: var(--amber-soft); color: #8a5a00; }
.ui-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.ui-badge--green { background: #e3f6ea; color: #17663a; }
.ui-badge--green i { background: #22a35a; }
.ui-badge--red { background: #ffe5e5; color: var(--red-deep); }
.ui-badge--red i { background: var(--red); }
.ui-bar { height: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; margin: 14px 0 8px; }
.ui-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-ink), var(--amber)); transform-origin: left; }
.ui-meta { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.ui-divider { height: 1px; background: var(--line); margin: 14px 0; }
.ui-timeline { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ui-timeline li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: 0.76rem; color: var(--ink-2); }
.ui-timeline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.ui-timeline li.is-live::before { background: var(--red); box-shadow: 0 0 0 4px rgba(250, 1, 1, 0.15); }
.ui-timeline time { color: var(--muted-2); font-size: 0.7rem; }

.ui-field { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); margin-top: 8px; }
.ui-field span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.ui-field b { font-size: 0.86rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ui-field b .icon { width: 15px; height: 15px; color: var(--muted); }
.ui-field.is-typing b::after { content: ""; width: 1.5px; height: 1em; background: var(--red-ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ui-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.72rem; font-weight: 600; color: var(--ink-2); }
.ui-chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ui-fab { position: absolute; right: -14px; bottom: -14px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-ink); color: var(--white); box-shadow: 0 16px 30px -10px rgba(212, 0, 0, 0.7); }
.ui-fab .icon { width: 22px; height: 22px; }
.ui-btn { margin-top: 14px; display: flex; justify-content: center; padding: 11px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 0.82rem; font-weight: 650; }

.ui-projects { display: grid; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.ui-project { display: grid; grid-template-columns: 4px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.ui-project::before { content: ""; height: 28px; border-radius: 4px; background: var(--c, var(--amber)); }
.ui-project b { display: block; font-size: 0.84rem; font-weight: 650; color: var(--white); }
.ui-project small { font-size: 0.7rem; color: #8a93a5; }
.ui-project em { font-style: normal; font-size: 0.72rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #c5cdd9; }
.ui-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); font-size: 0.7rem; font-weight: 600; }
.ui-seg span { padding: 5px 10px; border-radius: 7px; color: #8a93a5; }
.ui-seg span.is-on { background: var(--amber); color: var(--ink); }

.ui-stack { position: relative; width: 100%; max-width: 340px; display: grid; gap: 10px; }
.ui-toast { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.ui-toast__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.ui-toast__icon .icon { width: 18px; height: 18px; }
.ui-toast__icon--red { background: var(--red-ink); color: var(--white); }
.ui-toast__icon--amber { background: var(--amber); color: var(--ink); }
.ui-toast b { display: block; font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
.ui-toast span { font-size: 0.72rem; color: var(--muted); line-height: 1.35; display: block; }
.ui-toast time { font-size: 0.66rem; color: var(--muted-2); align-self: start; }

.ui-people { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.ui-person { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; }
.ui-person.is-on { background: var(--paper); }
.ui-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: var(--white); background: var(--c, var(--ink)); }
.ui-person b { font-size: 0.82rem; font-weight: 650; display: block; line-height: 1.2; }
.ui-person small { font-size: 0.7rem; color: var(--muted); }
.ui-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.ui-person.is-on .ui-check { background: var(--red-ink); border-color: var(--red-ink); color: var(--white); }
.ui-check .icon { width: 12px; height: 12px; }
.ui-bubble { position: absolute; right: -10px; bottom: -26px; max-width: 220px; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--amber); color: var(--ink); font-size: 0.78rem; font-weight: 600; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); }
.ui-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; margin-top: 16px; }
.ui-bars i { display: block; border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, 0.12); transform-origin: bottom; }
.ui-bars i.is-hi { background: linear-gradient(to top, var(--red-ink), var(--amber)); }
.ui-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 8px; font-size: 0.66rem; color: #8a93a5; text-align: center; font-weight: 600; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ui-stat { padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.ui-stat small { display: block; font-size: 0.64rem; color: #8a93a5; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ui-stat b { font-size: 0.86rem; color: var(--white); }

/* ==========================================================================
   Product showcase (app interface)
   ========================================================================== */
.showcase { overflow: hidden; }
.showcase__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.showcase__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, #000 20%, transparent 75%);
}
.showcase__bg::after {
  content: ""; position: absolute; left: 50%; top: 52%; width: 620px; height: 620px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.14), transparent 65%);
}
.showcase .section-head .h2 { color: var(--white); }
.showcase__layout { position: relative; display: grid; gap: 28px; }
.tabs-v {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); position: relative;
}
.tabs-v::-webkit-scrollbar { display: none; }
.tab-v {
  position: relative; flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03);
  color: #a9b3c4; font-size: 0.9rem; font-weight: 600;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tab-v__num { font-size: 0.72rem; color: #5f6b80; font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease); }
.tab-v:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.18); }
.tab-v[aria-selected="true"] { color: var(--ink); background: var(--white); border-color: var(--white); }
.tab-v[aria-selected="true"] .tab-v__num { color: var(--red-ink); }
.tab-v__bar { display: none; }

.showcase__device { position: relative; display: grid; place-items: center; }
.showcase__device .phone { --w: 260px; aspect-ratio: 9 / 15.5; }
.showcase__device .phone__screen { -webkit-mask-image: none; }
.showcase__device .phone { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.screen-stack { position: absolute; inset: calc(var(--w) * 0.15) 0 0; }
.screen-stack img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.screen-stack img:not(.is-active) { visibility: hidden; }
.showcase__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--white); background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.round-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.round-btn:active { transform: scale(0.94); }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn--light { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.round-btn--light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.showcase__counter { font-size: 0.85rem; font-weight: 700; color: #8a93a5; font-variant-numeric: tabular-nums; min-width: 56px; text-align: center; }
.showcase__counter b { color: var(--white); }

.showcase__copy { position: relative; min-height: 230px; }
.tab-panel { display: grid; gap: 14px; align-content: start; }
.tab-panel[hidden] { display: none; }
.tab-panel__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.tab-panel h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); color: var(--white); letter-spacing: -0.03em; }
.tab-panel p { color: #a9b3c4; }
.tab-panel ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.tab-panel li { display: flex; align-items: flex-start; gap: 10px; color: #c5cdd9; font-size: 0.95rem; }
.tab-panel li .icon { width: 18px; height: 18px; color: var(--amber); margin-top: 3px; }

/* ==========================================================================
   How it works (timeline)
   ========================================================================== */
.how__layout { display: grid; gap: 40px; }
.how__intro { display: grid; gap: 20px; align-content: start; }
.how__counter { display: none; }
.timeline { position: relative; padding: 0 0 0 44px; }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__track { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--red-ink), var(--amber)); border-radius: inherit; transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step__node {
  position: absolute; left: -44px; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line-strong);
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step.is-active .step__node { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 0 0 6px rgba(212, 0, 0, 0.1); }
.step__card {
  padding: 20px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step.is-active .step__card { box-shadow: var(--shadow); border-color: transparent; }
.step__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.step__head h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.step__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--ink); flex: none; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.step.is-active .step__icon { background: var(--red-ink); color: var(--white); }
.step__icon .icon { width: 20px; height: 20px; }
.step p { color: var(--muted); }

/* ==========================================================================
   Why choose (ledger grid)
   ========================================================================== */
.why__top { display: grid; gap: 24px; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.why__statement { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.why__statement .muted-word { color: var(--muted-2); }
.ledger { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger__item {
  position: relative; padding: 28px 4px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; overflow: hidden; align-content: start;
}
.ledger__item::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 165, 0, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.ledger__item:hover::before { opacity: 1; }
.ledger__item > * { position: relative; z-index: 1; }
.ledger__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--red-ink); transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.5s var(--ease); }
.ledger__item:hover .ledger__icon { background: var(--ink); color: var(--amber); transform: rotate(-6deg); }
.ledger__icon svg { width: 24px; height: 24px; }
.ledger__num { font-size: 0.72rem; font-weight: 700; color: var(--muted-2); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.ledger__item h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 4px 0 8px; }
.ledger__item p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--white); }
.testi__layout { display: grid; gap: 36px; }
.testi__aside { display: grid; gap: 20px; align-content: start; }
.testi__controls { display: flex; align-items: center; gap: 12px; }
.testi__stage {
  position: relative; border-radius: var(--r-xl); padding: 28px 22px;
  background: var(--paper); border: 1px solid var(--line);
  min-height: 380px; display: grid; overflow: hidden;
  touch-action: pan-y;
}
.testi__quote-mark { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; color: var(--amber); }
.testi__slide { grid-area: 1 / 1; display: grid; align-content: space-between; gap: 32px; }
.testi__slide[hidden] { display: grid; visibility: hidden; }
.testi__stars { display: flex; gap: 3px; color: var(--amber); }
.testi__stars .icon { width: 16px; height: 16px; }
.testi__text { font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); margin-top: 18px; max-width: 30ch; }
.testi__person { display: flex; align-items: center; gap: 14px; }
.testi__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; font-size: 1rem; flex: none; }
.testi__person b { display: block; font-size: 1rem; }
.testi__person span { font-size: 0.85rem; color: var(--muted); }
.testi__date { margin-left: auto; font-size: 0.8rem; color: var(--muted-2); font-weight: 600; }
.testi__dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.testi__dot { position: relative; padding: 14px 0 0; text-align: left; font-size: 0.78rem; font-weight: 600; color: var(--muted-2); transition: color 0.3s var(--ease); }
.testi__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.testi__dot i { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.testi__dot[aria-current="true"] { color: var(--ink); }
.testi__dot span { display: none; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq__layout { display: grid; gap: 40px; }
.faq__aside { display: grid; gap: 20px; align-content: start; }
.help-card { margin-top: 8px; padding: 22px; border-radius: var(--r-lg); background: var(--navy); color: #e8ecf3; display: grid; gap: 12px; }
.help-card h3 { font-size: 1.15rem; color: var(--white); }
.help-card p { font-size: 0.92rem; color: #a9b3c4; }
.help-card .btn { justify-self: start; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); font-weight: 650; letter-spacing: -0.015em; color: var(--ink);
}
.acc-trigger:hover { color: var(--red-ink); }
.acc-icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.5s var(--ease);
}
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -0.875px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform 0.45s var(--ease), background-color 0.35s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::before, .acc-trigger[aria-expanded="true"] .acc-icon::after { background: var(--white); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }
.acc-panel { overflow: hidden; }
.acc-panel[hidden] { display: block; height: 0; visibility: hidden; }
.acc-panel__inner { padding: 0 52px 24px 0; color: var(--muted); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: var(--navy); color: #e8ecf3;
  padding: 44px 22px 0;
  display: grid; gap: 36px;
}
.cta-panel__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-panel__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.cta-panel__bg::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(250, 1, 1, 0.22), rgba(255, 165, 0, 0.08) 40%, transparent 65%); }
.cta-panel__copy { display: grid; gap: 22px; justify-items: start; }
.cta-panel__title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; color: var(--white); }
.cta-panel__title .text-amber { display: inline; }
.cta-panel .lead { max-width: 480px; }
.cta-panel__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cta-panel__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a9b3c4; }
.cta-panel__visual { position: relative; height: 300px; overflow: hidden; }
.cta-panel__visual .phone { --w: 250px; position: absolute; left: 50%; margin-left: -125px; top: 20px; }
.cta-panel__primary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #a9b3c4; padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); position: relative; overflow: hidden; }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 340px; }
.footer__brand img { width: 170px; height: auto; }
.footer__brand p { font-size: 0.95rem; }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.footer__mail .icon { width: 18px; height: 18px; color: var(--amber); }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: #c5cdd9;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.channel .socials a { border-color: var(--line-strong); color: var(--ink); }
.channel .socials a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.page-hero__meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer__col h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 0.93rem; position: relative; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__apps { display: grid; gap: 10px; }
.footer__apps .store-btn { min-height: 50px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: 0.85rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer__bottom a:hover { color: var(--white); }
.footer__wordmark {
  font-size: clamp(5rem, 2rem + 18vw, 18rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.75;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  text-align: center; user-select: none; margin-bottom: -0.08em; white-space: nowrap;
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero__grid-lines { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 10%, transparent 70%); }
.page-hero__inner { position: relative; display: grid; gap: 22px; max-width: 900px; }
.page-hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.page-hero .lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.875rem; color: var(--muted); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { width: 16px; height: 16px; color: var(--red-ink); }

/* legal / long-form */
.reading-progress { position: fixed; left: 0; top: 0; z-index: 101; height: 2px; width: 100%; background: linear-gradient(90deg, var(--red-ink), var(--amber)); transform: scaleX(0); transform-origin: left; }
.legal { display: grid; gap: 40px; }
.toc { display: none; }
.toc__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.86rem; color: var(--muted); line-height: 1.4; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--red-ink); font-weight: 600; }
.toc__help { margin-top: 24px; padding: 18px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); display: grid; gap: 10px; }
.toc__help a { color: var(--ink); font-weight: 650; }

.prose { max-width: 740px; font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); color: var(--ink); margin-top: 2.4em; padding-top: 0.2em; letter-spacing: -0.025em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin-top: 1.8em; letter-spacing: -0.015em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--red-ink); }
.prose a { color: var(--red-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 3em; }
.prose .note { padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: 0.95rem; }
.prose .doc-divider { display: flex; align-items: center; gap: 16px; margin-block: 3.5em 2em; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.prose .doc-divider::before, .prose .doc-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose .effective { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }

/* cards used on inner pages */
.card-grid { display: grid; gap: 16px; }
.info-card {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  display: grid; gap: 12px; align-content: start;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.info-card:hover, .info-card--hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.info-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--red-ink); }
.info-card__icon .icon { width: 22px; height: 22px; }
.info-card h2, .info-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.info-card p { color: var(--muted); font-size: 0.95rem; }
.info-card .link-arrow { margin-top: 4px; font-size: 0.92rem; }
.info-card--dark { background: var(--navy); border-color: var(--navy); color: #e8ecf3; }
.info-card--dark h2, .info-card--dark h3 { color: var(--white); }
.info-card--dark p { color: #a9b3c4; }
.info-card--dark .info-card__icon { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--amber); }
.info-card--dark .link-arrow { color: var(--white); }

.split { display: grid; gap: 40px; align-items: center; }
.stat-free { display: grid; gap: 6px; }

/* feature detail rows (features page) */
.fdetail { display: grid; gap: 32px; align-items: center; padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--line); }
.fdetail:first-child { border-top: 0; padding-top: 0; }
.fdetail__copy { display: grid; gap: 16px; align-content: start; }
.fdetail__copy .h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.check-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.check-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .check-list li { color: #c5cdd9; }
.fdetail__visual {
  position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy);
  min-height: 360px; display: grid; place-items: center; padding: 32px 20px;
  isolation: isolate;
}
.fdetail__visual .feature-stage__grid { z-index: -1; }
.fdetail__visual .phone { --w: 230px; aspect-ratio: 9 / 13; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); margin-bottom: -60px; }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(247, 246, 242, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top 0.45s var(--ease); }
.site-header.is-hidden ~ main .subnav { top: 0; }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 10px 0; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--muted); transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.subnav__list a:hover { color: var(--ink); }
.subnav__list a.is-active { background: var(--ink); color: var(--white); }

/* contact */
.contact__layout { display: grid; gap: 32px; }
.form { display: grid; gap: 18px; padding: 26px 20px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; font-weight: 650; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 1rem; color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(11, 18, 32, 0.3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(11, 18, 32, 0.08); }
.field.has-error input, .field.has-error textarea { border-color: var(--red-ink); box-shadow: 0 0 0 4px rgba(212, 0, 0, 0.08); }
.field__error { font-size: 0.8rem; color: var(--red-ink); font-weight: 600; min-height: 0; }
.form__note { display: flex; gap: 10px; font-size: 0.82rem; color: var(--muted); padding: 12px 14px; border-radius: var(--r); background: var(--paper); }
.form__note .icon { width: 18px; height: 18px; color: var(--ink); margin-top: 1px; }
.form__status { font-size: 0.9rem; font-weight: 600; color: #17663a; }
.form__status[hidden] { display: none; }

.channel { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.channel h2 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -0.015em; }
.channel p { font-size: 0.92rem; color: var(--muted); }
.channel__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; align-items: center; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 650; color: var(--muted); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); transition: color 0.25s, border-color 0.25s, background-color .25s; }
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.copy-btn.is-copied { color: #17663a; border-color: #b7e4c7; background: #effaf3; }
.copy-btn .icon { width: 14px; height: 14px; }

/* account deletion steps */
.del-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: del; }
.del-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.del-step__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 700; }
.del-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.del-step p { color: var(--muted); font-size: 0.94rem; }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 650; font-size: 0.9rem; color: var(--ink); }

.data-cols { display: grid; gap: 16px; }
.data-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.data-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.data-card h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red-ink); }
.data-card--keep h3 .dot { background: var(--amber); }
.data-card ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 8px; }
.data-card li::marker { color: var(--muted-2); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.notfound__code { font-size: clamp(6rem, 3rem + 16vw, 14rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(135deg, var(--red-ink), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
html.js-anim .hero [data-hero], html.js-anim .page-hero [data-hero] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.js-anim .hero [data-hero], html.js-anim .page-hero [data-hero] { opacity: 1; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
