/* Do-Up ERP — public site
   Ink wash: charcoal black, soft ivory and the logo's slate blue-grey as the only accent.
   Sections declare data-theme="light|dark"; the tokens below flip per section. */

:root {
  --charcoal: #1b1b1c;
  --charcoal-2: #212122;
  --charcoal-3: #2a2a2c;
  --ink: #1f1f20;
  --ivory: #f6f5eb;
  --ivory-2: #ecebdf;
  --ivory-3: #fcfcf5;
  --slate: #677c97;
  --slate-hi: #93a6bf;
  --slate-lo: #53677f;

  --bg: var(--charcoal);
  --fg: var(--ivory);
  --fg-2: #bcbfc4;
  --fg-3: #8a8e95;
  --accent: var(--slate-hi);
  --line: rgba(246, 245, 235, 0.12);
  --line-2: rgba(246, 245, 235, 0.24);
  --surface: rgba(246, 245, 235, 0.04);
  --surface-2: rgba(246, 245, 235, 0.08);
  --ring: rgba(147, 166, 191, 0.35);

  --radius: 24px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --section: clamp(112px, 15vw, 208px);
  color-scheme: dark;
}
[data-theme="dark"] {
  --bg: var(--charcoal); --fg: var(--ivory); --fg-2: #bcbfc4; --fg-3: #8a8e95; --accent: var(--slate-hi);
  --line: rgba(246, 245, 235, 0.12); --line-2: rgba(246, 245, 235, 0.24);
  --surface: rgba(246, 245, 235, 0.04); --surface-2: rgba(246, 245, 235, 0.08); --ring: rgba(147, 166, 191, 0.35);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--ivory); --fg: var(--ink); --fg-2: #46494e; --fg-3: #63676d; --accent: var(--slate-lo);
  --line: rgba(31, 31, 32, 0.12); --line-2: rgba(31, 31, 32, 0.24);
  --surface: rgba(31, 31, 32, 0.03); --surface-2: rgba(31, 31, 32, 0.06); --ring: rgba(103, 124, 151, 0.3);
  color-scheme: light;
}
.band { background: var(--bg); color: var(--fg); }
.sheet { position: relative; border-radius: 44px 44px 0 0; margin-top: -44px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--charcoal); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
img, svg, canvas { 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, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--slate); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.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: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--ivory); color: var(--ink); font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 16px; }
.icon { width: 1em; height: 1em; flex: none; }
main { overflow-x: clip; width: 100%; max-width: 100%; }

/* ---------- type ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.12; letter-spacing: -0.02em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; padding-right: 0.06em; color: var(--accent); }
[data-theme="light"] .h2 .serif, [data-theme="light"] h2 .serif { color: var(--slate); }
.split-line-mask { padding: 0 0.1em 0.14em; margin: 0 -0.1em -0.14em; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--fg-2); max-width: 60ch; }
.muted { color: var(--fg-3); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .kicker { margin-bottom: 22px; }
.section-head .h2 { max-width: 16ch; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .h2 { max-width: 18ch; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 8px 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 550; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn__label { position: relative; display: inline-block; }
.btn__icon { display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; background: var(--slate); color: #fff; transition: transform 0.5s var(--ease); }
.btn__icon .icon { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover .btn__icon .icon { transform: rotate(-45deg); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.45); }
.btn--ghost { padding: 0 24px; border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--fg); }
.btn--sm { --h: 42px; font-size: 14px; padding-left: 18px; }
.btn--sm.btn--ghost { padding: 0 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.3s; }
.text-link:hover { border-color: var(--accent); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand__mark { width: 46px; }
.brand__word { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand__erp { color: var(--slate); }
[data-theme="dark"] .brand__erp { color: var(--slate-hi); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 60; display: flex; justify-content: center; pointer-events: none; transition: transform 0.6s var(--ease); }
.nav.is-hidden { transform: translateY(-150%); }
.nav__pill {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(100% - 24px, 1120px); padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(246, 245, 235, 0.86); border: 1px solid rgba(31, 31, 32, 0.1); color: var(--ink);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.45);
}
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color 0.3s, background-color 0.3s; }
.nav__links a:hover { color: var(--fg); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__menu { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.nav__menu .icon { width: 20px; height: 20px; }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--gutter) 40px; background: var(--charcoal); color: var(--ivory);
  visibility: hidden; clip-path: circle(0% at calc(100% - 44px) 36px);
}
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 36px); }
.menu__links a { overflow: hidden; display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.12; letter-spacing: -0.04em; padding: 4px 0; }
.menu__links a span { display: inline-block; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.menu__foot .btn { flex: 1 1 200px; }
.menu__mail { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); }

/* ---------- preloader ---------- */
.preloader { display: none; }
html.is-loading .preloader { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--ivory); color: var(--ink); animation: preloader-failsafe 0s 4s forwards; }
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: clamp(140px, 16vw, 200px); }
.preloader__count { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: #63676d; }
.preloader__bar { width: 180px; height: 2px; background: rgba(31, 31, 32, 0.12); overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; background: var(--slate); transform-origin: left; transform: scaleX(0); }
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- hero (ink on paper) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 150px 0 140px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(56% 44% at 50% 47%, rgba(246, 245, 235, 0.86) 0%, rgba(246, 245, 235, 0.55) 50%, rgba(246, 245, 235, 0) 80%),
    linear-gradient(to bottom, rgba(246, 245, 235, 0) 52%, var(--ivory) 88%);
}
.hero__inner { width: min(100% - 2 * var(--gutter), 1260px); text-align: center; }
.hero .kicker { justify-content: center; flex-wrap: wrap; row-gap: 6px; }
.hero__title { margin-top: 30px; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.3rem, 10.6vw, 10.8rem); line-height: 0.9; letter-spacing: -0.05em; }
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.1em; margin: -0.04em -0.06em -0.1em; }
.hero__title .line__inner { display: inline-block; }
.hero__title .serif { font-size: 1.08em; letter-spacing: -0.035em; line-height: 0.9; color: var(--slate); }
.hero__lede { margin: 34px auto 0; max-width: 640px; color: var(--fg-2); font-size: clamp(1.05rem, 1.35vw, 1.24rem); }
.hero__ctas { margin-top: 42px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.hero__scroll i { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg); animation: scroll-cue 2.2s var(--ease) infinite; }
@keyframes scroll-cue { to { top: 110%; } }
html.js .hero [data-intro] { opacity: 0; }
html.js:not(.motion-ok) .hero [data-intro] { animation: intro-failsafe 0.6s 3s forwards; }
@keyframes intro-failsafe { to { opacity: 1; } }

/* ---------- product stage ---------- */
.stage { position: relative; padding-bottom: clamp(120px, 14vw, 200px); perspective: 1800px; z-index: 2; }
.stage__frame { position: relative; width: min(100% - 2 * var(--gutter), 1240px); margin: -10vh auto 0; }
.stage__tilt { transform-origin: 50% 0%; transform-style: preserve-3d; }
.dash-scaler { position: relative; width: 100%; aspect-ratio: 1240 / 760; }
.stage__caption { margin-top: 26px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-3); }

.dash {
  position: absolute; left: 0; top: 0; width: 1240px; height: 760px; transform-origin: 0 0; transform: scale(var(--s, 1));
  display: grid; grid-template-columns: 216px 1fr; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(246, 245, 235, 0.12);
  background: linear-gradient(180deg, #202021 0%, #161617 100%);
  box-shadow: 0 70px 120px -50px rgba(0, 0, 0, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 13px; line-height: 1.4; color: #bcbfc4; user-select: none;
}
.dash .icon { width: 16px; height: 16px; }
.dash b, .dash strong, .dash h3 { color: var(--ivory); }
.dash__side { padding: 20px 14px; border-right: 1px solid rgba(246, 245, 235, 0.08); background: rgba(0, 0, 0, 0.22); display: flex; flex-direction: column; gap: 22px; }
.dash__brand { display: flex; align-items: center; gap: 9px; padding: 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ivory); letter-spacing: -0.02em; }
.dash__brand img { width: 36px; }
.dash__brand em { font-style: normal; color: var(--slate-hi); }
.dash__nav { display: grid; gap: 2px; }
.dash__nav span { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; }
.dash__nav span.is-active { background: rgba(147, 166, 191, 0.14); color: var(--ivory); box-shadow: inset 2px 0 0 var(--slate-hi); }
.dash__nav em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--slate); color: #fff; }
.dash__side-foot { margin-top: auto; padding: 14px; border-radius: 14px; border: 1px solid rgba(246, 245, 235, 0.1); background: rgba(246, 245, 235, 0.04); }
.dash__side-foot b { display: block; font-weight: 600; }
.dash__main { padding: 18px 24px 22px; display: grid; grid-template-rows: auto auto auto 1fr; gap: 16px; min-width: 0; }
.dash__top { display: flex; align-items: center; gap: 14px; }
.dash__org { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(246, 245, 235, 0.1); color: var(--ivory); font-weight: 500; }
.dash__org .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-hi); }
.dash__search { flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(246, 245, 235, 0.04); border: 1px solid rgba(246, 245, 235, 0.08); color: #8a8e95; }
.dash__search kbd { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid rgba(246, 245, 235, 0.18); }
.dash__icons { display: flex; align-items: center; gap: 12px; }
.dash__avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: #fff; font-weight: 600; font-size: 12px; }
.dash__greet { display: flex; align-items: flex-end; justify-content: space-between; }
.dash__greet small { color: #8a8e95; }
.dash__greet h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -0.03em; }
.dash__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: var(--ivory); color: var(--ink); font-weight: 600; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(246, 245, 235, 0.08); background: rgba(246, 245, 235, 0.03); display: grid; gap: 4px; }
.kpi strong { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: #8a8e95; }
.kpi em.up { color: var(--slate-hi); }
.kpi--accent { background: var(--ivory); border-color: var(--ivory); color: #46494e; }
.kpi--accent strong { color: var(--ink); }
.kpi--accent em { color: var(--slate-lo); }
.dash__grid { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
.panel { position: relative; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(246, 245, 235, 0.08); background: rgba(246, 245, 235, 0.03); min-height: 0; overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel__head b { font-weight: 600; }
.panel__head .muted { color: #8a8e95; }
.panel__legend { display: flex; gap: 12px; font-size: 11px; color: #8a8e95; }
.panel__legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--slate-hi); }
.panel__legend i.dashed { background: repeating-linear-gradient(90deg, #bcbfc4 0 4px, transparent 4px 7px); }
.chart { width: 100%; height: calc(100% - 44px); }
.chart__labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: #8a8e95; margin-top: 2px; }
.panel--ai { background: var(--ivory); border-color: var(--ivory); color: #46494e; display: flex; flex-direction: column; gap: 10px; }
.panel--ai .ai-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-lo); font-weight: 600; }
.panel--ai p { color: var(--ink); font-size: 14px; line-height: 1.5; }
.panel--ai .panel__cta { margin-top: auto; align-self: flex-start; padding: 7px 12px; border-radius: 9px; background: var(--ink); color: var(--ivory); font-weight: 500; }
.inbox { display: grid; gap: 2px; }
.inbox__row { display: grid; grid-template-columns: 1.35fr 1.1fr 0.85fr 0.4fr 1.05fr; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px solid rgba(246, 245, 235, 0.07); white-space: nowrap; }
.inbox__row:first-child { border-top: 0; }
.inbox__row b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.inbox__row .amt { font-variant-numeric: tabular-nums; color: var(--ivory); text-align: right; }
.conf { font-family: var(--font-mono); font-size: 11px; text-align: right; }
.status { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { background: rgba(147, 166, 191, 0.18); color: #c3d0e1; }
.status--warn { border-color: rgba(246, 245, 235, 0.4); color: #e0e1e3; }
.status--warn::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.status--bad { border: 1px dashed rgba(246, 245, 235, 0.35); color: #9a9ea5; }
.status--bad::before { border-radius: 1px; transform: rotate(45deg); }
.tasks { display: grid; gap: 12px; }
.task { display: grid; gap: 6px; }
.task__top { display: flex; justify-content: space-between; gap: 10px; }
.task__top b { font-weight: 500; }
.task__bar { height: 4px; border-radius: 4px; background: rgba(246, 245, 235, 0.08); overflow: hidden; }
.task__bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--slate-hi); transform-origin: left; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(27, 27, 28, 0.92); border: 1px solid rgba(246, 245, 235, 0.12); color: #bcbfc4;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.6); font-size: 13px; line-height: 1.3; white-space: nowrap;
}
.float-chip b { display: block; color: var(--ivory); font-weight: 600; font-size: 14px; }
.float-chip span { color: #8a8e95; }
.float-chip__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--slate); color: #fff; }
.float-chip__icon .icon { width: 18px; height: 18px; }
.float-chip--a { left: -4%; top: 30%; }
.float-chip--b { right: -5%; top: 8%; }
.float-chip--c { left: -6%; bottom: 14%; }
.float-chip--d { right: -3%; bottom: 8%; }

/* ---------- marquee ---------- */
.marquee { position: relative; padding-block: clamp(80px, 11vw, 150px) clamp(56px, 8vw, 110px); overflow: hidden; }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__row + .marquee__row { margin-top: clamp(4px, 1vw, 14px); }
.marquee__group { display: flex; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.32em; padding-right: 0.32em; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 8.4vw, 8rem); line-height: 1.05; letter-spacing: -0.045em; white-space: nowrap; }
.marquee__item svg { width: 0.46em; height: 0.46em; color: var(--accent); }
.marquee__row--outline .marquee__item { color: transparent; -webkit-text-stroke: 1.4px rgba(246, 245, 235, 0.4); }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(56px, 8vw, 120px) var(--section); }
.manifesto__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4.3vw, 4.1rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 1180px; }
.manifesto__text .hl { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
.manifesto__text .w { will-change: opacity; }
.manifesto__meta { margin-top: 48px; display: flex; align-items: center; gap: 16px; color: var(--fg-3); font-size: 15px; }
.manifesto__meta img { width: 54px; }

/* ---------- flow (horizontal) ---------- */
.flow { position: relative; }
.flow__pin { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); padding-block: 96px 60px; overflow: hidden; background: var(--bg); }
.flow__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.flow__head .kicker { margin-bottom: 20px; }
.flow__head .h2 { font-size: clamp(2.2rem, 4.4vw, 4.3rem); max-width: 17ch; }
.flow__head .lede { max-width: 44ch; font-size: 1.05rem; }
.flow__track { display: flex; gap: 22px; width: max-content; padding-inline: var(--gutter); will-change: transform; }
.flow__panel {
  position: relative; flex: 0 0 min(80vw, 1000px); height: clamp(420px, 58vh, 560px);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(90% 90% at 100% 0%, rgba(147, 166, 191, 0.09), transparent 60%), linear-gradient(160deg, #232324 0%, #1a1a1b 100%);
}
.flow__panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: 0.35; mask-image: radial-gradient(70% 70% at 80% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 80% 30%, #000, transparent 75%); pointer-events: none; }
.flow__copy { position: relative; display: flex; flex-direction: column; }
.flow__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 9vw, 8.5rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.4px rgba(147, 166, 191, 0.55); }
.flow__copy h3 { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.02; }
.flow__copy p { margin-top: 16px; color: var(--fg-2); max-width: 40ch; }
.flow__visual { position: relative; display: grid; align-content: center; gap: 12px; }
.flow__progress { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: flex; align-items: center; gap: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.1em; }
.flow__progress-bar { flex: 1; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.flow__progress-bar i { display: block; height: 100%; background: var(--slate-hi); transform-origin: left; transform: scaleX(0); }
/* Stacked by default; home.js adds .is-horizontal only when it pins and scrubs the track. */
.flow:not(.is-horizontal) .flow__pin { min-height: 0; padding-block: var(--section) 40px; }
.flow:not(.is-horizontal) .flow__head { flex-direction: column; align-items: flex-start; gap: 22px; }
.flow:not(.is-horizontal) .flow__track { flex-direction: column; width: auto; padding-inline: 0; margin-inline: var(--gutter); }
.flow:not(.is-horizontal) .flow__panel { flex: none; width: auto; height: auto; }
.flow:not(.is-horizontal) .flow__copy h3 { margin-top: 18px; }
.flow:not(.is-horizontal) .flow__progress { display: none; }

.src { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.src__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); flex: none; }
.src__icon .icon { width: 20px; height: 20px; }
.src b { display: block; font-weight: 600; }
.src span { font-size: 13px; color: var(--fg-3); }
.src__tail { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.funnel { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--ivory); color: var(--ink); font-weight: 600; }
.funnel .icon { width: 20px; height: 20px; color: var(--slate); }
.funnel em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--ivory); }

.scan { display: grid; grid-template-columns: 0.95fr 1fr; gap: 16px; align-items: center; }
.paper { position: relative; aspect-ratio: 0.75; border-radius: 14px; background: var(--ivory-3); color: #2b2b2c; padding: 16px 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transform: rotate(-3deg); font-size: 10px; }
.paper__head { display: flex; justify-content: space-between; gap: 8px; }
.paper__logo { width: 40px; height: 12px; border-radius: 3px; background: #dcdbcf; }
.paper__box { border: 1.5px solid #2b2b2c; font-weight: 700; font-size: 8px; text-align: center; padding: 4px 6px; line-height: 1.3; }
.paper__lines { margin-top: 14px; display: grid; gap: 6px; }
.paper__lines i { display: block; height: 6px; border-radius: 3px; background: #e5e4d8; }
.paper__lines i:nth-child(2n) { width: 70%; }
.paper__lines i:nth-child(3n) { width: 85%; }
.paper__total { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; justify-content: space-between; font-weight: 700; border-top: 1.5px solid #dcdbcf; padding-top: 8px; }
.paper__beam { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(to bottom, rgba(103, 124, 151, 0), rgba(103, 124, 151, 0.28)); border-bottom: 2px solid var(--slate); animation: beam 2.8s var(--ease) infinite alternate; }
@keyframes beam { from { transform: translateY(-100%); } to { transform: translateY(460%); } }
.fields { display: grid; gap: 7px; }
.field-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.field-row span { color: var(--fg-3); }
.field-row b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.field-row--total { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.field-row--total span { color: var(--slate-lo); }

.checks { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.check__tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: #fff; flex: none; }
.check__tick .icon { width: 15px; height: 15px; }
.check b { font-weight: 500; }
.check span { display: block; font-size: 12.5px; color: var(--fg-3); }
.stamp { justify-self: start; margin-top: 4px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px dashed var(--slate-hi); color: var(--slate-hi); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.gauge { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.gauge__dial { position: relative; width: 170px; }
.gauge__dial svg { width: 100%; overflow: visible; }
.gauge__value { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.04em; line-height: 1; }
.gauge__value small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--fg-3); text-transform: uppercase; }
.tiers { display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.tier b { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }
.tier span { color: var(--fg-2); font-size: 14px; }
.tier.is-on { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.tier.is-on b { color: var(--slate-lo); }
.tier.is-on span { color: #46494e; }
.tier--warn b, .tier--bad b { color: var(--fg-3); }

.journal { border-radius: 16px; border: 1px solid var(--line-2); overflow: hidden; background: var(--surface); font-size: 13.5px; }
.journal__head, .journal__row { display: grid; grid-template-columns: 1fr 108px 108px; gap: 10px; padding: 11px 16px; }
.journal__head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); background: var(--surface); }
.journal__row { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.journal__row span:nth-child(n + 2) { text-align: right; }
.journal__row--sum { font-weight: 600; background: var(--ivory); color: var(--ink); border-top-color: var(--ivory); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--line-2); color: var(--fg); }
.tag .icon { width: 14px; height: 14px; color: var(--slate-hi); }

/* ---------- DoupAI (light) ---------- */
.ai { position: relative; overflow: hidden; overflow: clip; }
.ai__top { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ai__copy { position: relative; z-index: 2; }
.ai__copy .kicker { margin-bottom: 22px; }
.ai__copy .lede { margin-top: 28px; }
.ai__points { margin-top: 36px; display: grid; gap: 14px; }
.ai__points li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-2); }
.ai__points .icon { width: 22px; height: 22px; color: var(--slate); margin-top: 2px; }
.ai__points b { color: var(--fg); font-weight: 600; }
.ai__stage { position: relative; }
.enso { position: absolute; max-width: none; width: 150%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.copilot {
  position: relative; z-index: 1; border-radius: 28px; overflow: hidden; color: var(--ivory);
  background: rgba(27, 27, 28, 0.9); border: 1px solid rgba(246, 245, 235, 0.1);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.6), 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}
.copilot__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(246, 245, 235, 0.1); }
.copilot__avatar { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #c9d4e3 26%, #677c97 62%, #2e3a4a 100%); animation: breathe 3.2s ease-in-out infinite; flex: none; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.copilot__head b { display: block; font-weight: 600; }
.copilot__head span { font-size: 12.5px; color: #8a8e95; }
.copilot__demo { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(246, 245, 235, 0.2); color: #8a8e95; }
.copilot__body { height: 360px; overflow-y: auto; padding: 22px 20px 10px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; }
.msg--user { align-self: flex-end; background: var(--slate); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { align-self: flex-start; background: var(--ivory); color: #3b3e43; border-bottom-left-radius: 6px; }
.msg--ai b { font-weight: 650; color: var(--ink); }
.msg__meta { display: flex; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--slate-lo); }
.msg__meta span { padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(83, 103, 127, 0.3); }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: 0.4; } }
.copilot__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 20px; border-top: 1px solid rgba(246, 245, 235, 0.1); }
.chip-btn { padding: 9px 14px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(246, 245, 235, 0.22); color: #bcbfc4; transition: all 0.3s var(--ease); }
.chip-btn:hover { color: var(--ivory); border-color: rgba(246, 245, 235, 0.5); }
.chip-btn[aria-pressed="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.caps { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { position: relative; padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 124, 151, 0.1), transparent 65%); opacity: 0; transition: opacity 0.5s; }
.cap:hover::before { opacity: 1; }
.cap__icon { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--fg); margin-bottom: 26px; transition: background-color 0.5s, color 0.5s, border-color 0.5s; }
.cap:hover .cap__icon { background: var(--slate); border-color: var(--slate); color: #fff; }
.cap__icon .icon { width: 22px; height: 22px; }
.cap h3 { position: relative; }
.cap p { position: relative; margin-top: 10px; color: var(--fg-2); font-size: 15px; }

/* ---------- modules ---------- */
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--fg); transition: transform 0.6s var(--ease), width 0.6s var(--ease); z-index: 0; }
.tab { position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--fg-2); white-space: nowrap; transition: color 0.4s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--bg); }
.modules__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); grid-auto-flow: dense; gap: 16px; }
.bento[hidden] { display: none; }
.card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #232324, #1b1b1c);
  transition: border-color 0.5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(147, 166, 191, 0.1), transparent 55%); opacity: 0; transition: opacity 0.5s; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 214, 230, 0.8), rgba(147, 166, 191, 0.18) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
}
.bento:hover .card::after, .card:hover::before { opacity: 1; }
.card--a { grid-column: span 4; grid-row: span 2; }
.card--b, .card--c { grid-column: span 2; }
.card--d, .card--e { grid-column: span 3; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--slate); color: #fff; margin-bottom: 22px; }
.card__icon .icon { width: 22px; height: 22px; }
.card p { margin-top: 10px; color: var(--fg-2); font-size: 15px; max-width: 52ch; }
.card .pills { margin-top: auto; padding-top: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pills li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--fg-2); }
.card--a .card__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; flex: 1; }
.card--a .card__split > div:first-child { display: flex; flex-direction: column; }
.card--a .h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
.mini { align-self: center; display: grid; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); font-size: 13px; }
.mini__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.mini__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.mini__row b { font-weight: 500; }
.mini__row span { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.mini__row .ok { color: var(--slate-hi); }
.mini__row .warn { color: var(--fg); font-style: italic; }
.dte-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dte { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.dte b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--slate-hi); }
.dte span { font-size: 11.5px; color: var(--fg-2); }
.dte--wide { grid-column: span 2; background: var(--ivory); border-color: var(--ivory); }
.dte--wide b { color: var(--slate); }
.dte--wide span { color: #46494e; }
.bar-row { display: grid; gap: 6px; }
.bar-row__top { display: flex; justify-content: space-between; font-size: 12.5px; }
.bar-row__top b { font-weight: 500; }
.bar-row__top span { color: var(--fg-3); }
.bar-row__bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bar-row__bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--slate-hi); }
.bar-row--low .bar-row__bar i { background: repeating-linear-gradient(135deg, var(--fg) 0 3px, transparent 3px 6px); }
.bar-row--low .bar-row__top span { color: var(--fg); font-style: italic; }
.org { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; }
.org.is-active { border-color: var(--line-2); background: var(--surface-2); }
.org__logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; flex: none; background: var(--charcoal-3); color: var(--ivory); border: 1px solid var(--line-2); }
.org.is-active .org__logo { background: var(--slate); border-color: var(--slate); color: #fff; }
.org b { display: block; font-weight: 500; }
.org span { font-size: 11.5px; color: var(--fg-3); }
.org em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--slate-hi); }
.org em.is-warn { color: var(--fg); }

/* ---------- audience accordion ---------- */
.aud { display: flex; gap: 12px; height: clamp(520px, 64vh, 620px); }
.aud__item {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); cursor: pointer; text-align: left;
  background: linear-gradient(to top, rgba(147, 166, 191, 0.14), rgba(147, 166, 191, 0) 60%), #202021; color: var(--ivory);
  transition: flex-grow 0.9s var(--ease), background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.5s;
}
.aud__item.is-active { flex-grow: 4.4; background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.aud__glyph { position: absolute; right: -6%; top: -4%; width: 62%; max-width: 300px; aspect-ratio: 1; color: rgba(246, 245, 235, 0.06); transition: color 0.8s, transform 1.2s var(--ease); }
.aud__glyph .icon { width: 100%; height: 100%; }
.aud__item.is-active .aud__glyph { color: rgba(103, 124, 151, 0.2); transform: rotate(-8deg) scale(1.05); }
.aud__label { position: absolute; left: 26px; bottom: 26px; color: inherit; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: opacity 0.4s; }
.aud__label:focus-visible { outline: none; }
.aud__item:has(.aud__label:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.aud__item.is-active .aud__label { opacity: 0; }
.aud__content { position: relative; width: min(520px, 100%); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.5s, transform 0.7s var(--ease), visibility 0s 0.5s; pointer-events: none; }
.aud__item.is-active .aud__content { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.25s, transform 0.7s var(--ease) 0.25s, visibility 0s; pointer-events: auto; }
.aud__content h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.02; }
.aud__content p { margin-top: 14px; color: #46494e; }
.aud__content ul { margin-top: 20px; display: grid; gap: 9px; }
.aud__content li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.aud__content li .icon { width: 16px; height: 16px; color: var(--slate); }

/* ---------- chile (light) ---------- */
.chile { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); }
.chile__intro { position: sticky; top: 130px; align-self: start; }
.chile__intro .kicker { margin-bottom: 22px; }
.chile__intro .lede { margin-top: 26px; }
.chile__flag { margin-top: 40px; display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.chile__flag i { width: 42px; height: 28px; border-radius: 4px; overflow: hidden; display: grid; grid-template-rows: 1fr 1fr; position: relative; box-shadow: 0 0 0 1px var(--line-2); }
.chile__flag i::before { content: ""; background: var(--ivory-3); }
.chile__flag i::after { content: ""; background: var(--ink); }
.chile__flag i b { position: absolute; left: 0; top: 0; width: 40%; height: 50%; background: var(--slate); display: grid; place-items: center; }
.chile__flag i b::after { content: ""; width: 7px; height: 7px; background: var(--ivory-3); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.laws { display: grid; gap: 24px; }
.law {
  position: sticky; top: calc(118px + var(--i, 0) * 16px); min-height: 360px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: clamp(28px, 3.2vw, 44px);
  border-radius: var(--radius-lg); transform-origin: 50% 0%; color: var(--ivory);
  background: radial-gradient(80% 100% at 100% 0%, rgba(147, 166, 191, 0.14), transparent 60%), #1e1e1f;
  box-shadow: 0 -20px 50px -24px rgba(0, 0, 0, 0.45);
}
.law:nth-child(even) { background: radial-gradient(80% 100% at 0% 0%, rgba(147, 166, 191, 0.12), transparent 60%), #262628; }
.law::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0d0d0e; opacity: var(--dim, 0); pointer-events: none; }
.law__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-hi); }
.law__top .icon { width: 22px; height: 22px; color: #8a8e95; }
.law__big { align-self: center; justify-self: start; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.6rem, 8vw, 7.4rem); line-height: 0.9; letter-spacing: -0.055em; padding-bottom: 0.06em; }
.law h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; }
.law p { margin-top: 8px; color: #bcbfc4; max-width: 56ch; }

/* ---------- security ---------- */
.secure { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.secure__intro .kicker { margin-bottom: 22px; }
.secure__intro .lede { margin-top: 26px; }
.lockviz { margin-top: 44px; position: relative; width: 190px; aspect-ratio: 1; display: grid; place-items: center; }
.lockviz span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(147, 166, 191, 0.5); animation: ripple 4s linear infinite; }
.lockviz span:nth-child(2) { animation-delay: -1.33s; }
.lockviz span:nth-child(3) { animation-delay: -2.66s; }
@keyframes ripple { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.lockviz b { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--slate); color: #fff; box-shadow: 0 20px 50px -16px rgba(103, 124, 151, 0.8); }
.lockviz b .icon { width: 34px; height: 34px; }
.secure__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.secure__item { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.4s, background-color 0.4s; }
.secure__item:hover { border-color: var(--line-2); background: var(--surface-2); }
.secure__item .icon { width: 24px; height: 24px; color: var(--slate-hi); }
.secure__item h3 { margin-top: 18px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.secure__item p { margin-top: 8px; color: var(--fg-2); font-size: 15px; }

/* ---------- plans + faq (light) ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 26px; background: var(--ivory-3); border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -44px rgba(0, 0, 0, 0.45); }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.035em; }
.plan__who { color: var(--fg-3); font-size: 14.5px; }
.plan__price { margin: 26px 0 22px; padding: 14px 0; border-block: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.plan li .icon { width: 17px; height: 17px; color: var(--slate); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan--hot { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55); }
.plan--hot li .icon { color: var(--slate-hi); }
.plan__badge { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--slate); color: #fff; }
.plans__note { margin-top: 28px; text-align: center; color: var(--fg-3); font-size: 14.5px; }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); }
.faq__intro { position: sticky; top: 130px; align-self: start; }
.faq__intro .kicker { margin-bottom: 22px; }
.faq__intro p { margin-top: 24px; color: var(--fg-2); }
.faq__intro a { color: var(--slate-lo); font-weight: 600; border-bottom: 1px solid rgba(83, 103, 127, 0.35); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.qa__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__plus { background: var(--slate); color: #fff; border-color: var(--slate); transform: rotate(180deg); }
.qa[open] .qa__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding-bottom: 26px; color: var(--fg-2); max-width: 62ch; }

/* ---------- CTA (dark ink) ---------- */
.cta { position: relative; min-height: 94vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding-block: 160px; }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 55% at 50% 50%, rgba(27, 27, 28, 0.6), rgba(27, 27, 28, 0.1) 70%, rgba(27, 27, 28, 0.6) 100%); }
.cta__mark { width: clamp(110px, 12vw, 160px); margin: 0 auto 36px; }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 10vw, 10rem); line-height: 0.9; letter-spacing: -0.05em; }
.cta p { margin: 30px auto 0; max-width: 560px; color: var(--fg-2); font-size: 1.15rem; }
.cta .hero__ctas { margin-top: 44px; }

/* ---------- footer ---------- */
.footer { position: relative; padding: 90px 0 30px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand .brand__mark { width: 58px; }
.footer__brand .brand__word { font-size: 24px; }
.footer__brand p { margin-top: 18px; color: var(--fg-3); max-width: 32ch; font-size: 15px; }
.footer__tagline { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-hi); }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; color: var(--fg-2); transition: color 0.3s; }
.footer__col a:hover { color: var(--fg); }
.footer__word { margin: 60px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 25.5vw, 25rem); line-height: 1; letter-spacing: -0.07em; text-align: center; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(246, 245, 235, 0.92) 0%, rgba(147, 166, 191, 0.45) 55%, rgba(27, 27, 28, 0) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__word .char { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }

/* ---------- click sparks ---------- */
.sparks { position: fixed; inset: 0; z-index: 120; pointer-events: none; mix-blend-mode: difference; }

/* ---------- inner pages (contact, sign-in, 404) ---------- */
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.page-bg canvas { width: 100%; height: 100%; }
.page-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(65% 70% at 32% 42%, rgba(246, 245, 235, 0.9), rgba(246, 245, 235, 0.35) 70%, rgba(246, 245, 235, 0.1)); }
.contact { min-height: 100svh; padding: 150px 0 110px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__intro { position: sticky; top: 130px; }
.contact__intro h1 { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 0.95; letter-spacing: -0.045em; }
.contact__intro .lede { margin-top: 26px; }
.steps { margin-top: 44px; display: grid; border-top: 1px solid var(--line-2); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.steps li span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.steps li b { display: block; font-weight: 600; }
.steps li p { color: var(--fg-2); font-size: 14.5px; margin-top: 2px; }
.contact__direct { margin-top: 34px; display: flex; align-items: center; gap: 14px; }
.contact__direct .src__icon { background: var(--slate); color: #fff; }
.contact__direct small { display: block; color: var(--fg-3); font-size: 13px; }
.contact__direct a { font-weight: 600; font-size: 1.05rem; }
.form-card { position: relative; padding: clamp(26px, 3.4vw, 46px); border-radius: var(--radius-lg); background: var(--bg); color: var(--fg); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.55); }
.form-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; }
.form-card > p { color: var(--fg-3); margin-top: 6px; font-size: 14.5px; }
.form { margin-top: 30px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .field__label { font-size: 14px; font-weight: 500; color: var(--fg-2); }
.field__opt { color: var(--fg-3); font-weight: 400; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s; }
.input::placeholder { color: var(--fg-3); opacity: 0.8; }
.input:hover { border-color: var(--fg-3); }
.input:focus { outline: none; border-color: var(--accent); background: var(--surface-2); box-shadow: 0 0 0 4px var(--ring); }
textarea.input { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a6bf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='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: 18px; }
select.input option { background: var(--charcoal); color: var(--ivory); }
.input[aria-invalid="true"] { border-color: var(--fg); border-style: dashed; box-shadow: 0 0 0 4px var(--ring); }
.field__err { font-size: 13px; color: var(--fg); display: flex; align-items: center; gap: 6px; }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 700; }
.field__err:empty { display: none; }
.checkgrid { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.checkgrid legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--fg-2); cursor: pointer; transition: all 0.3s var(--ease); }
.pick span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--fg-3); transition: all 0.3s var(--ease); }
.pick input:checked + span { color: #fff; background: var(--slate); border-color: var(--slate); }
.pick input:checked + span::before { background: #fff; border-color: #fff; box-shadow: inset 0 0 0 3px var(--slate); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__foot small { color: var(--fg-3); font-size: 13px; max-width: 36ch; }
.success__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--slate); color: #fff; margin-bottom: 24px; }
.success__icon .icon { width: 30px; height: 30px; }
.success h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; outline: none; }
.success p { margin-top: 12px; color: var(--fg-2); }
.success__actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.success__preview { margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-2); white-space: pre-wrap; max-height: 220px; overflow: auto; }

.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.auth__visual { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 36px clamp(28px, 4vw, 60px) 44px; }
.auth__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.auth__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(27, 27, 28, 0.88), rgba(27, 27, 28, 0) 55%), linear-gradient(to bottom, rgba(27, 27, 28, 0.5), rgba(27, 27, 28, 0) 25%); }
.auth__quote { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 4.2rem); line-height: 0.95; letter-spacing: -0.045em; max-width: 12ch; }
.auth__quote + p { margin-top: 22px; color: var(--fg-2); max-width: 42ch; }
.auth__panel { display: grid; place-items: center; padding: 110px var(--gutter) 60px; position: relative; }
.auth__card { width: min(100%, 440px); }
.auth__card .kicker { margin-bottom: 20px; }
.auth__card h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.04em; }
.auth__card > p { margin-top: 12px; color: var(--fg-2); }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw__toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--fg-3); }
.pw__toggle:hover { color: var(--fg); background: var(--surface-2); }
.pw__toggle .icon { width: 19px; height: 19px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.auth__row label { display: inline-flex; align-items: center; gap: 9px; color: var(--fg-2); cursor: pointer; }
.auth__row input[type="checkbox"] { width: 17px; height: 17px; accent-color: #677c97; }
.auth__row button { color: var(--slate-lo); font-size: 14px; border-bottom: 1px solid rgba(83, 103, 127, 0.35); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(246, 245, 235, 0.3); border-top-color: var(--ivory); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { margin-top: 22px; padding: 22px; border-radius: 20px; background: var(--charcoal); color: var(--ivory); border-left: 3px solid var(--slate-hi); }
.notice[hidden] { display: none; }
.notice__head { display: flex; align-items: center; gap: 12px; }
.notice__head .icon { width: 22px; height: 22px; flex: none; color: var(--slate-hi); }
.notice h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; outline: none; }
.notice p { margin-top: 10px; color: #bcbfc4; font-size: 15px; }
.notice p strong { color: var(--ivory); font-weight: 600; overflow-wrap: anywhere; }
.notice__actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.notice .btn--solid { background: var(--ivory); color: var(--ink); }
.notice .btn--ghost { color: var(--ivory); border-color: rgba(246, 245, 235, 0.3); }
.auth__foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--fg-3); }
.auth__foot a { color: var(--fg); border-bottom: 1px solid var(--line-2); }
.auth__stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.auth__stats .float-chip { position: relative; left: auto; right: auto; top: auto; bottom: auto; }

.nf { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
.nf canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.nf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(246, 245, 235, 0.88), rgba(246, 245, 235, 0.2) 80%); }
.nf__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 30vw, 22rem); line-height: 0.8; letter-spacing: -0.07em; }
.nf__code .serif { color: var(--slate); }
.nf h1 { margin-top: 24px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.nf p { margin: 14px auto 0; max-width: 46ch; color: var(--fg-2); }
.nf .hero__ctas { margin-top: 36px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card--a { grid-column: span 4; grid-row: span 2; }
  .card--b, .card--c, .card--d, .card--e { grid-column: span 2; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .float-chip--a, .float-chip--c { left: -1%; }
  .float-chip--b, .float-chip--d { right: -1%; }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .ai__top, .chile, .secure, .faq, .contact__grid { grid-template-columns: 1fr; }
  .chile__intro, .faq__intro, .contact__intro { position: static; }
  .caps { grid-template-columns: 1fr 1fr; }
  .flow__pin { min-height: 0; padding-block: var(--section) 40px; }
  .flow__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .flow__track { flex-direction: column; width: auto; padding-inline: 0; margin-inline: var(--gutter); }
  .flow__panel { flex: none; width: 100%; height: auto; grid-template-columns: 1fr; gap: 28px; }
  .flow__copy h3 { margin-top: 18px; }
  .flow__progress { display: none; }
  .aud { flex-direction: column; height: auto; }
  .aud__item { flex: none; min-height: 92px; padding: 24px; justify-content: flex-start; transition: background-color 0.4s, color 0.4s; }
  .aud__label { position: static; writing-mode: horizontal-tb; transform: none; white-space: normal; width: 100%; }
  .aud__item.is-active .aud__label { opacity: 1; }
  .aud__content { display: none; margin-top: 4px; }
  .aud__content h3 { display: none; }
  .aud__item.is-active .aud__content { display: block; }
  .aud__glyph { width: 140px; right: -20px; top: -20px; }
  .law { position: relative; top: auto; min-height: 0; }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 340px; padding-top: 110px; }
  .auth__panel { padding-top: 56px; }
  .float-chip { display: none; }
  .sheet { border-radius: 30px 30px 0 0; margin-top: -30px; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card--a, .card--b, .card--c, .card--d, .card--e { grid-column: auto; grid-row: auto; }
  .card--a .card__split { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .secure__list, .plans, .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .scan, .gauge { grid-template-columns: 1fr; }
  .paper { width: 70%; margin-inline: auto; }
  .gauge__dial { margin-inline: auto; }
  .tier { grid-template-columns: 1fr; gap: 4px; }
  .journal__head, .journal__row { grid-template-columns: 1fr 86px 86px; padding-inline: 12px; font-size: 12.5px; }
  .hero__ctas .btn { width: 100%; }
  .nav__actions .btn--ghost { display: none; }
  .stage__frame { margin-top: -4vh; }
  .brand__word { font-size: 18px; }
  .brand__mark { width: 40px; }
  .msg { max-width: 94%; }
  .hero .kicker::before { display: none; }
}
@media (max-width: 420px) {
  .nav__actions .btn--solid { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js .hero [data-intro] { opacity: 1; animation: none; }
  .paper__beam { display: none; }
}
