/* ==========================================================================
   Design language: "the deed" — warm ink, warm paper, one vermilion accent.
   1. Fonts   2. Tokens   3. Base   4. Primitives   5. Nav   6. Hero + mock
   7. Sections   8. Footer   9. Motion + reduced motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so the swap to the web fonts does not move the layout. */
@font-face { font-family: "Serif FB"; src: local("Times New Roman"), local("Times"); size-adjust: 89%; ascent-override: 105%; descent-override: 33%; line-gap-override: 0%; }
@font-face { font-family: "Serif FB Droid"; src: local("Noto Serif"); size-adjust: 76%; ascent-override: 105%; descent-override: 33%; line-gap-override: 0%; }
@font-face { font-family: "Sans FB"; src: local("Arial"), local("Roboto"); size-adjust: 103%; ascent-override: 97%; descent-override: 23%; line-gap-override: 0%; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --f-display: "Instrument Serif", "Serif FB", "Serif FB Droid", Georgia, serif;
  --f-sans: "Geist", "Sans FB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-hero: clamp(2.75rem, min(1.15rem + 6.6vw, 0.5rem + 11vh), 7rem);
  --t-h2: clamp(2.25rem, 1.35rem + 3.5vw, 4.5rem);
  --t-h3: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  --t-lead: clamp(1.0625rem, 0.99rem + 0.36vw, 1.3125rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-micro: 0.75rem;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 13vw, 192px);
  --maxw: 1320px;

  --r-s: 3px;
  --r-m: 8px;
  --r-l: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 68px;
}

/* Light — warm paper. Also used by .invert sections when the page is dark. */
:root,
:root[data-theme="dark"] .invert,
.paper {
  color-scheme: light;
  --bg: #f3efe7;
  --bg-2: #ebe6db;
  --surface: #fbf9f4;
  --surface-2: #f1ede4;
  --text: #16130e;
  --text-2: #585145;
  --text-3: #6c6455;
  --line: rgba(22, 19, 14, 0.12);
  --line-2: rgba(22, 19, 14, 0.24);
  --accent: #e8431f;
  --accent-hi: #f55a35;
  --accent-text: #b53011;
  --accent-ink: #170803;
  --ok: #1a7350;
  --warn: #875600;
  --glow: rgba(232, 67, 31, 0.13);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 40px 80px -40px rgba(54, 36, 14, 0.38), 0 12px 24px -16px rgba(54, 36, 14, 0.2);
}

/* Dark — warm ink. Also used by .invert sections when the page is light. */
:root[data-theme="dark"],
:root:not([data-theme="dark"]) .invert {
  color-scheme: dark;
  --bg: #0e0d0b;
  --bg-2: #141210;
  --surface: #191714;
  --surface-2: #211e1a;
  --text: #f2ede4;
  --text-2: #b6aea1;
  --text-3: #928b7e;
  --line: rgba(242, 237, 228, 0.11);
  --line-2: rgba(242, 237, 228, 0.22);
  --accent: #ff5a36;
  --accent-hi: #ff7654;
  --accent-text: #ff6f4d;
  --accent-ink: #170803;
  --ok: #7ed3a7;
  --warn: #edbe62;
  --glow: rgba(255, 90, 54, 0.16);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 16px 32px -20px rgba(0, 0, 0, 0.6);
}

@property --brand { syntax: "<color>"; inherits: true; initial-value: #127e70; }

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--t-body)/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
h2, .sec-h h1 { font-size: var(--t-h2); line-height: 1.02; }
h3 { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.01em; }
em { font-style: italic; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 4. Primitives ----------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.9em;
  font: 500 var(--t-micro)/1.3 var(--f-mono);
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow .num { color: var(--accent-text); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow .rule { width: 32px; height: 1px; background: var(--line-2); flex: none; }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text-2); max-width: 34em; }

/* Primary button: two cells, label + arrow. The only saturated object on any screen. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: stretch;
  font: 500 1rem/1 var(--f-sans); letter-spacing: -0.005em; white-space: nowrap;
  color: var(--accent-ink); background: var(--accent);
  border-radius: var(--r-s); text-decoration: none;
  transition: transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-hi); transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn__l { padding: 1.2em 1.5em; }
.btn__a { position: relative; display: grid; place-items: center; width: 3.5em; overflow: hidden; border-left: 1px solid rgba(23, 8, 3, 0.2); }
.btn__a svg { grid-area: 1 / 1; transition: transform 0.55s var(--ease); }
.btn__a svg + svg { transform: translateX(-260%); }
.btn:active { transform: scale(0.975); }
.btn:focus-visible { outline-offset: 4px; }
.btn--lg { font-size: 1.0625rem; }
.btn--sm { font-size: 0.875rem; }
.btn--sm .btn__l { padding: 0.95em 1.15em; }
.btn--sm .btn__a { width: 2.9em; }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover .btn__a svg { transform: translateX(260%); }
  .btn:hover .btn__a svg + svg { transform: none; }
}

/* Quiet text link with a drawn underline */
.link {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 500; font-size: var(--t-body); color: var(--text); text-decoration: none;
  padding-block: 0.35em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link svg { transition: transform 0.45s var(--ease); }
@media (hover: hover) {
  .link:hover { background-size: 0% 1px; background-position: 100% 100%; }
  .link:hover svg { transform: translateY(3px); }
}

/* Clearly marked placeholder: anything the owner still has to supply */
.ph {
  display: inline-block; vertical-align: baseline;
  font: 500 0.75rem/1.45 var(--f-mono); letter-spacing: 0.02em;
  color: var(--accent-text);
  border: 1px dashed currentColor; border-radius: var(--r-s);
  padding: 0.3em 0.6em; margin-block: 0.15em;
}
.ph::before { content: "Placeholder · "; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }

/* 5. Nav ------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: var(--bg); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-101%); }
.nav:focus-within { transform: none; }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 1.3125rem/1 var(--f-mono); letter-spacing: -0.045em; color: var(--text); padding-block: 8px; }
.brand__w b, .splash__w .acc { font-weight: inherit; color: var(--accent-text); }
.bot { width: 24px; height: 24px; flex: none; overflow: visible; color: var(--text); }
.bot path { fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bot circle { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
@media (hover: hover) { .brand:hover .bot__l { transform: translateX(-3px); } .brand:hover .bot__r { transform: translateX(3px); } }
.nav__links { display: none; gap: clamp(18px, 2.2vw, 34px); }
.nav__links a {
  position: relative; font-size: var(--t-small); color: var(--text-2); text-decoration: none; padding-block: 10px;
  transition: color 0.25s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__act { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { border-color: var(--line-2); background: var(--surface); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: transform 0.6s var(--ease), opacity 0.3s; }
.theme .i-moon { opacity: 0; transform: rotate(60deg) scale(0.5); }
[data-theme="dark"] .theme .i-sun { opacity: 0; transform: rotate(-60deg) scale(0.5); }
[data-theme="dark"] .theme .i-moon { opacity: 1; transform: none; }

.menu-btn .bars { width: 16px; height: 9px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: absolute; inset: 100% 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 28px; min-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.45s var(--ease), visibility 0s 0.45s;
}
.menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 1.75rem/1.1 var(--f-display); }
.menu a span { font: 500 var(--t-micro)/1 var(--f-mono); color: var(--text-3); letter-spacing: 0.08em; }
.nav .btn .lg { display: none; }
@media (max-width: 519px) { .nav .btn__a { display: none; } .nav__in { gap: 12px; } .nav__act { gap: 6px; } .brand { font-size: 1.1875rem; gap: 8px; } }
@media (max-width: 400px) { .nav .nav__in { gap: 8px; padding-inline: 16px; } .nav .btn--sm .btn__l { padding: 0.95em 0.8em; } .brand { font-size: 1.0625rem; gap: 7px; } .brand .bot { width: 20px; height: 20px; } }
@media (max-width: 349px) { .nav .btn { display: none; } }
@media (min-width: 520px) { .nav .btn .lg { display: inline; } .nav .btn .sm { display: none; } }
@media (min-width: 1000px) { .nav__links { display: flex; } .menu-btn, .menu { display: none; } }

/* 6. Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow-x: clip; padding-top: calc(var(--nav-h) + clamp(28px, min(6vw, 6vh), 80px)); }
.hero__h { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.022em; margin-top: clamp(18px, 2.4vw, 32px); text-wrap: initial; }
.hero__h .l { display: block; text-wrap: balance; }
.hero__h .l--em { font-style: italic; letter-spacing: -0.02em; }
.hero__h .w { display: inline-block; overflow: clip; vertical-align: top; padding: 0.06em 0.07em 0.16em; margin: -0.06em -0.07em -0.16em; }
.hero__h .w > span { display: inline-block; }

/* Flipping second line: "Rent it." / "Own it." share one grid cell, so nothing reflows */
.hero__h .flip { display: grid; justify-content: start; }
.flip__static { grid-area: 1 / 1; }
.flip__item { display: none; grid-area: 1 / 1; white-space: nowrap; perspective: 600px; }
.flip .c { display: inline-block; white-space: pre; }

.hero__row { display: grid; gap: clamp(36px, 5vw, 56px); margin-top: clamp(22px, 3vw, 44px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(22px, 2.6vw, 34px); }
.hero__note { margin-top: 18px; font: 400 var(--t-micro)/1.5 var(--f-mono); letter-spacing: 0.04em; color: var(--text-3); }

.pillars { border-top: 1px solid var(--line-2); }
.pillars li { display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pillars .n { font: 500 var(--t-micro)/1 var(--f-mono); color: var(--accent-text); letter-spacing: 0.08em; }
.pillars b { display: block; font: 400 1.5rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.pillars span { display: block; margin-top: 3px; font-size: var(--t-small); color: var(--text-2); }

@media (min-width: 900px) {
  .hero__row { grid-template-columns: minmax(0, 46rem); }
  .hero__lead .lead { max-width: 31em; }
}

/* The stage: the product, rebranding itself */
.stage { position: relative; margin-top: clamp(48px, 5.5vw, 80px); }
.stage::before { content: ""; position: absolute; inset: -12% -8% 30%; z-index: -1; background: radial-gradient(50% 55% at 50% 45%, var(--glow), transparent 70%); pointer-events: none; }
.stage__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.switch button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  font: 500 0.8125rem/1 var(--f-sans); color: var(--text-2);
  transition: background-color 0.3s, color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.switch button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.switch button:hover { color: var(--text); }
.switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.stage figcaption { margin-top: 16px; font: 400 var(--t-micro)/1.5 var(--f-mono); letter-spacing: 0.03em; color: var(--text-3); }

/* Product mock — pure HTML/CSS, scales with its container like an image */
.mock {
  --brand: #127e70;
  container-type: inline-size;
  border: 1px solid var(--line-2); border-radius: var(--r-l);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
  transition: --brand 0.7s var(--ease-io);
  font-family: var(--f-sans); text-align: left;
}
.mock__in { font-size: clamp(8.5px, 1.085cqw, 14.5px); line-height: 1.35; color: var(--text); }
.mock [data-b] { transition: opacity 0.22s; }
.mock.is-swapping [data-b] { opacity: 0; }
.mock__bar { display: flex; align-items: center; gap: 0.5em; height: 3.1em; padding: 0 1.1em; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__bar > i { width: 0.72em; height: 0.72em; border-radius: 50%; background: var(--line-2); }
.mock__url { display: flex; align-items: center; gap: 0.5em; margin-inline: auto; padding: 0.42em 1.4em; min-width: 40%; justify-content: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.82em; color: var(--text-2); }
.mock__url svg { width: 0.9em; height: 0.9em; color: var(--ok); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mock__logo { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.55em; background: var(--brand); color: #fff; font-weight: 600; font-size: 0.95em; }
.opav { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--oc, #555); color: #fff; font-weight: 600; font-size: 0.8em; }
.st { justify-self: start; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.75em; border-radius: 99px; font-size: 0.78em; font-weight: 500; white-space: nowrap; color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); transition: color 0.3s, background-color 0.3s; }
.st::before { content: ""; width: 0.42em; height: 0.42em; border-radius: 50%; background: currentColor; }
.st.is-pending { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.st.is-info { color: var(--text); background: color-mix(in srgb, var(--brand) 22%, transparent); }
.st.is-off { color: var(--text-3); background: var(--line); }
.card { border: 1px solid var(--line); border-radius: 0.95em; background: var(--bg); padding: 1.15em 1.25em; min-width: 0; }
.card__h { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: 0.9em; }
.card__h b { font-size: 0.95em; font-weight: 600; letter-spacing: -0.01em; }
.card__h > span { font-size: 0.8em; color: var(--text-3); white-space: nowrap; }

/* Dashboard one (hero): operations overview */
.dash__body { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); height: 39.5em; }
.dash__rail { display: flex; flex-direction: column; align-items: center; gap: 1.5em; padding: 1.25em 0; border-right: 1px solid var(--line); background: var(--surface-2); }
.dash__rail nav { display: grid; gap: 0.45em; }
.dash__rail nav span, .dash__cog { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 0.75em; color: var(--text-3); }
.dash__rail nav span.on { background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--text); }
.dash__cog { margin-top: auto; }
.dash__main { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; gap: 1.05em; padding: 1.35em 1.6em 1.6em; min-width: 0; }
.dash__top { display: flex; align-items: center; gap: 1em; }
.dash__top small { display: block; font-size: 0.78em; color: var(--text-3); white-space: nowrap; }
.dash__top b { display: block; font-size: 1.5em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.dash__search { margin-left: auto; display: flex; align-items: center; gap: 0.65em; width: 24em; padding: 0.62em 0.9em; border: 1px solid var(--line); border-radius: 0.75em; background: var(--bg); color: var(--text-3); font-size: 0.86em; white-space: nowrap; }
.dash__search kbd { margin-left: auto; padding: 0.05em 0.5em; border: 1px solid var(--line-2); border-radius: 0.4em; font: 500 0.85em var(--f-mono); }
.dash__chip { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.62em 0.95em; border: 1px solid var(--line); border-radius: 0.75em; font-size: 0.86em; color: var(--text-2); white-space: nowrap; }
.dash__chip i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9em; }
.kpi { position: relative; padding: 1em 1.15em 1.05em; border: 1px solid var(--line); border-radius: 0.95em; background: var(--bg); min-width: 0; }
.kpi span { display: block; font-size: 0.8em; color: var(--text-3); }
.kpi b { display: block; margin-top: 0.3em; font-size: 1.7em; font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi small { display: block; margin-top: 0.35em; font-size: 0.76em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spark { position: absolute; right: 1.1em; top: 1.05em; width: 4.2em; height: 1.5em; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.spark polyline { vector-effect: non-scaling-stroke; }
.dash__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0.9em; min-height: 0; }
.chart { display: flex; flex-direction: column; }
.chart > svg { display: block; flex: 1 1 0; width: 100%; min-height: 5em; overflow: visible; }
.chart .gl { fill: none; stroke: var(--line); vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#gArea); }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart .prev { fill: none; stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; opacity: 0.75; }
.chart__x { display: flex; justify-content: space-between; margin-top: 0.7em; font: 400 0.72em var(--f-mono); color: var(--text-3); }
.legend { display: inline-flex; align-items: center; }
.legend i { display: inline-block; width: 1em; margin: 0 0.45em 0 1.1em; border-top: 2px solid var(--brand); }
.legend i.p { border-top: 2px dashed var(--text-3); }
.feed { --rh: 3.6em; display: flex; flex-direction: column; }
.feed__rows { position: relative; flex: 1 1 0; min-height: calc(var(--rh) * 2); overflow: hidden; }
.feed__row { position: absolute; inset: 0 0 auto 0; height: var(--rh); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.8em; border-top: 1px solid var(--line); transform: translateY(calc(var(--i) * 100%)); transition: transform 0.7s var(--ease); }
.feed__row.no-t { transition: none; }
.feed__t b, .feed__t small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__t b { font-size: 0.9em; font-weight: 500; font-variant-numeric: tabular-nums; }
.feed__t small { margin-top: 0.1em; font: 400 0.74em var(--f-mono); color: var(--text-3); }

/* Dashboard two (platform): LAPU accounts and routing */
.shot { margin-top: clamp(56px, 7vw, 104px); }
.shot > .eyebrow { margin-bottom: clamp(18px, 2vw, 28px); }
.shot figcaption { margin-top: 16px; font: 400 var(--t-micro)/1.5 var(--f-mono); letter-spacing: 0.03em; color: var(--text-3); max-width: 62em; }
.lapu__body { display: grid; gap: 1.05em; padding: 1.35em 1.6em 1.6em; }
.lapu__top { display: flex; align-items: center; gap: 1.2em; }
.lapu__title { display: flex; align-items: center; gap: 0.8em; min-width: 0; }
.lapu__title small { display: block; font-size: 0.78em; color: var(--text-3); white-space: nowrap; }
.lapu__title b { display: block; font-size: 1.4em; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; white-space: nowrap; }
.tabs { margin-left: auto; display: flex; gap: 0.25em; padding: 0.3em; border-radius: 0.85em; background: var(--surface-2); font-size: 0.86em; }
.tabs span { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 0.9em; border-radius: 0.6em; color: var(--text-2); white-space: nowrap; }
.tabs span.on { background: var(--bg); color: var(--text); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
.tabs i { padding: 0.05em 0.5em; border-radius: 99px; background: var(--line); font: 500 0.82em var(--f-mono); }
.lapu__add { padding: 0.68em 1.05em; border-radius: 0.75em; background: var(--brand); color: #fff; font-size: 0.86em; font-weight: 500; white-space: nowrap; }
.lapu__alert { display: flex; align-items: center; gap: 0.8em; padding: 0.8em 1.05em; border: 1px solid color-mix(in srgb, var(--warn) 32%, transparent); border-radius: 0.85em; background: color-mix(in srgb, var(--warn) 10%, transparent); font-size: 0.86em; color: var(--text-2); }
.lapu__alert .ic { color: var(--warn); }
.lapu__alert p { min-width: 0; }
.lapu__alert b { color: var(--text); font-weight: 600; }
.lapu__alert > span { margin-left: auto; font-size: 0.9em; color: var(--text-3); white-space: nowrap; }
.lapu__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 0.9em; align-items: start; }
.tbl { padding: 0; overflow: hidden; }
.tbl__h, .tbl__r { display: grid; grid-template-columns: 5.6em minmax(0, 1.25fr) minmax(0, 1.1fr) 4em 9.4em; align-items: center; gap: 1.1em; padding: 0.78em 1.25em; }
.tbl__h { border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 0.72em; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); padding-block: 0.9em; }
.tbl__r { border-top: 1px solid var(--line); font-size: 0.88em; font-variant-numeric: tabular-nums; }
.tbl__h + .tbl__r { border-top: 0; }
.tbl__r > :first-child { font: 400 0.92em var(--f-mono); color: var(--text-2); }
.svc { display: flex; align-items: center; gap: 0.7em; min-width: 0; font-weight: 500; white-space: nowrap; }
.svc .opav { font-size: 0.72em; }
.bal { display: grid; gap: 0.4em; }
.bal b { font-weight: 500; }
.bal i { display: block; height: 0.3em; border-radius: 99px; background: var(--line); overflow: hidden; }
.bal i::after { content: ""; display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: var(--brand); }
.bal.low i::after { background: var(--warn); }
.rules li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9em; padding: 0.82em 0; border-top: 1px solid var(--line); }
.rules li:last-child { padding-bottom: 0.1em; }
.rules li > i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border: 1px solid var(--line-2); border-radius: 0.5em; font: 500 0.76em var(--f-mono); color: var(--text-3); }
.rules b { display: block; font-size: 0.9em; font-weight: 500; }
.rules small { display: block; margin-top: 0.1em; font-size: 0.78em; color: var(--text-3); }
.tog { position: relative; width: 2.3em; height: 1.35em; border-radius: 99px; background: var(--line-2); }
.tog::after { content: ""; position: absolute; top: 0.17em; left: 0.17em; width: 1em; height: 1em; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.tog.on { background: var(--brand); }
.tog.on::after { left: 1.13em; }

@container (max-width: 640px) {
  .mock__in { font-size: clamp(9px, 2.9cqw, 13px); }
  .dash__body { grid-template-columns: minmax(0, 1fr); }
  .dash__rail, .dash__search { display: none; }
  .dash__chip { margin-left: auto; }
  .dash__main, .lapu__body { padding: 1.2em; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__body { height: 58em; }
  .dash__grid, .lapu__grid { grid-template-columns: minmax(0, 1fr); }
  .dash__grid { grid-template-rows: auto minmax(0, 1fr); }
  .chart > svg { flex: none; height: 9.5em; }
  .lapu__top { flex-wrap: wrap; row-gap: 0.9em; }
  .lapu__add { margin-left: auto; }
  .tabs { order: 3; margin-left: 0; width: 100%; }
  .tabs span { flex: 1; justify-content: center; padding-inline: 0.4em; }
  .lapu__alert > span { display: none; }
  .tbl__h, .tbl__r { grid-template-columns: 5em minmax(0, 1fr) 5.2em 8.4em; gap: 0.7em; padding-inline: 1em; }
  .tbl__h > :nth-child(4), .tbl__r > :nth-child(4) { display: none; }
  .tbl__r:nth-of-type(n + 7) { display: none; }
  .bal i { display: none; }
}

/* Real operator logos inside the mock-ups: a white tile keeps every logo legible on any skin */
.oplogo { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 0.7em; background: #fff; box-shadow: 0 0 0 1px rgba(20, 15, 10, 0.1) inset; overflow: hidden; }
.oplogo img { display: block; width: auto; height: auto; max-width: 74%; max-height: 74%; object-fit: contain; }
.svc .oplogo { font-size: 0.9em; }

/* Three design languages for the same console (hero). Skin "" follows the site theme. */
.dash { --rc: 0.95em; transition: background-color 0.35s, border-color 0.35s, --brand 0.7s var(--ease-io); }
.dash .mock__in { transition: opacity 0.22s ease; }
.dash.is-swapping .mock__in { opacity: 0; }
.dash .card, .dash .kpi { border-radius: var(--rc); }
.rail__brand { display: grid; place-items: center; }
.rail__brand b, .dash__rail em { display: none; font-style: normal; white-space: nowrap; }

/* A: deep navy, pill shapes, labelled sidebar, a filled lead card */
.dash[data-skin="a"] { color-scheme: dark; --bg: #0a0f22; --surface: #0e1430; --surface-2: #121a3c; --text: #eef1ff; --text-2: #aeb7dc; --text-3: #8690b8; --line: rgba(160, 178, 255, 0.13); --line-2: rgba(160, 178, 255, 0.26); --ok: #5fe0a8; --warn: #ffcf6b; --rc: 1.5em; border-color: rgba(160, 178, 255, 0.28); }
.dash[data-skin="a"] .dash__body { grid-template-columns: 14.5em minmax(0, 1fr); }
.dash[data-skin="a"] .dash__rail { align-items: stretch; gap: 1.7em; padding: 1.4em 1em 1.2em; background: transparent; }
.dash[data-skin="a"] .rail__brand { display: flex; justify-content: flex-start; gap: 0.7em; padding: 0 0.5em; min-width: 0; }
.dash[data-skin="a"] .rail__brand b { display: block; font-weight: 600; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; }
.dash[data-skin="a"] .mock__logo { border-radius: 50%; }
.dash[data-skin="a"] .dash__rail nav span, .dash[data-skin="a"] .dash__cog { display: flex; justify-content: flex-start; gap: 0.8em; width: auto; height: auto; padding: 0.72em 0.95em; border-radius: 99px; font-size: 0.9em; }
.dash[data-skin="a"] .dash__rail em { display: inline; }
.dash[data-skin="a"] .dash__rail nav span.on { background: var(--brand); color: #fff; font-weight: 500; }
.dash[data-skin="a"] .dash__top small { display: none; }
.dash[data-skin="a"] .dash__search, .dash[data-skin="a"] .dash__chip { border-radius: 99px; }
.dash[data-skin="a"] .kpi span { font: 500 0.66em var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; }
.dash[data-skin="a"] .kpi:first-child { border-color: transparent; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #c56bff)); color: #fff; }
.dash[data-skin="a"] .kpi:first-child span, .dash[data-skin="a"] .kpi:first-child small { color: rgba(255, 255, 255, 0.86); }
.dash[data-skin="a"] .kpi:first-child .spark { stroke: #fff; }
.dash[data-skin="a"] .chart .line { stroke-width: 3; }
.dash[data-skin="a"] .oplogo { border-radius: 50%; }

/* B: light and editorial, top navigation, square corners, serif headings, no boxes */
.dash[data-skin="b"] { color-scheme: light; --bg: #ffffff; --surface: #fbf7f2; --surface-2: #f3ece4; --text: #1f1522; --text-2: #5c4d60; --text-3: #7b6c7e; --line: rgba(45, 20, 50, 0.13); --line-2: rgba(45, 20, 50, 0.26); --ok: #1a7350; --warn: #875600; --rc: 0; border-color: rgba(45, 20, 50, 0.26); }
.dash[data-skin="b"] .dash__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.dash[data-skin="b"] .dash__rail { flex-direction: row; align-items: center; gap: 2.2em; padding: 0.95em 1.8em; border-right: 0; border-bottom: 1px solid var(--line-2); background: transparent; }
.dash[data-skin="b"] .rail__brand { display: flex; gap: 0.7em; }
.dash[data-skin="b"] .rail__brand b { display: block; font: 400 1.4em/1 var(--f-display); letter-spacing: -0.01em; }
.dash[data-skin="b"] .mock__logo { border-radius: 0; }
.dash[data-skin="b"] .dash__rail nav { display: flex; gap: 1.7em; }
.dash[data-skin="b"] .dash__rail nav span, .dash[data-skin="b"] .dash__cog { display: block; width: auto; height: auto; padding: 0.35em 0; border-radius: 0; font-size: 0.88em; }
.dash[data-skin="b"] .dash__rail .ic { display: none; }
.dash[data-skin="b"] .dash__rail em { display: inline; }
.dash[data-skin="b"] .dash__rail nav span.on { background: none; color: var(--text); box-shadow: 0 2px 0 var(--brand); }
.dash[data-skin="b"] .dash__cog { margin: 0 0 0 auto; }
.dash[data-skin="b"] .dash__main { gap: 1.35em; padding: 1.6em 1.8em 1.8em; }
.dash[data-skin="b"] .dash__top small { display: none; }
.dash[data-skin="b"] .dash__top b { font: 400 2.2em/1.05 var(--f-display); letter-spacing: -0.02em; }
.dash[data-skin="b"] .dash__search, .dash[data-skin="b"] .dash__chip { border-radius: 0; background: none; }
.dash[data-skin="b"] .kpis { gap: 0; border-block: 1px solid var(--line-2); }
.dash[data-skin="b"] .kpi { border: 0; border-left: 1px solid var(--line); background: none; padding: 1.15em 1.3em; }
.dash[data-skin="b"] .kpi:first-child { border-left: 0; padding-left: 0; }
.dash[data-skin="b"] .kpi b { font: 400 2.3em/1.08 var(--f-display); letter-spacing: -0.02em; }
.dash[data-skin="b"] .dash__grid { gap: 2.2em; }
.dash[data-skin="b"] .card { padding: 1em 0 0; border: 0; border-top: 2px solid var(--text); background: none; }
.dash[data-skin="b"] .card__h b { font: 400 1.35em/1.1 var(--f-display); letter-spacing: -0.01em; }
.dash[data-skin="b"] .chart .area { display: none; }
.dash[data-skin="b"] .st { padding: 0; background: none; }
.dash[data-skin="b"] .oplogo { border-radius: 0; }

@container (max-width: 640px) {
  .dash[data-skin] .dash__body { grid-template-columns: minmax(0, 1fr); }
  .dash[data-skin] .dash__rail { display: none; }
  .dash[data-skin] .dash__top small { display: block; }
  .dash[data-skin="b"] .dash__main { padding: 1.3em; }
  .dash[data-skin="b"] .kpi { padding: 1em 0 1em 1em; }
  .dash[data-skin="b"] .kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
  .dash[data-skin="b"] .kpi:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* 7. Sections ------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.invert { background: var(--bg); color: var(--text); }
.sec-h { display: grid; gap: clamp(20px, 2.4vw, 32px); max-width: 60rem; }
.sec-h .lead { margin-top: 4px; }
.sec-h h2 em, .sec-h h1 em { color: var(--text); }
.section--page { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 120px)); }
.nav__links a[aria-current="page"] { color: var(--text); }

/* Manifesto */
.manifesto { padding-block: clamp(96px, 14vw, 208px) 0; }
.manifesto p.big { font: 400 clamp(1.875rem, 1.1rem + 3.3vw, 4rem)/1.08 var(--f-display); letter-spacing: -0.015em; max-width: 20em; text-wrap: balance; }
.manifesto p.big span { color: var(--text-3); }
.manifesto .eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }

/* Platform */
.pipe { position: relative; margin-top: clamp(56px, 7vw, 96px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); padding: clamp(24px, 3.4vw, 44px); }
.pipe__label { display: flex; justify-content: space-between; gap: 16px; font: 500 var(--t-micro)/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: clamp(28px, 3vw, 40px); }
.pipe__flow { position: relative; overflow: clip; overflow-clip-margin: 8px; }
.pipe ol { display: grid; gap: 28px; }
.pipe li { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; }
.pipe .node { position: relative; z-index: 1; width: 11px; height: 11px; margin: 7px 0 0 0; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--text); transition: background 0.3s, border-color 0.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pipe li small { transition: color 0.3s; }
.pipe li.is-on .node { background: var(--accent); border-color: var(--accent); transition-delay: 0.6s; }
.pipe li.is-on small { color: var(--accent-text); transition-delay: 0.6s; }
.pipe li.is-now .node { transform: scale(1.4); }
.pipe li.is-now .node::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: node-ping 0.95s var(--ease) 0.6s; }
@keyframes node-ping { from { transform: scale(1); opacity: 0.85; } to { transform: scale(2.8); opacity: 0; } }
.pipe li b { display: block; font: 400 1.5rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.pipe li p { margin-top: 6px; font-size: var(--t-small); color: var(--text-2); max-width: 22em; }
.pipe li > div { grid-column: 2; }
.pipe li .node { grid-row: 1 / span 2; }
.pipe li small { display: block; grid-column: 2; margin-bottom: 6px; font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.08em; color: var(--text-3); }
.pipe__track { position: absolute; z-index: 0; left: 5px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.pipe__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 0; transform: scaleY(var(--f, 0)); transition: transform 0.7s var(--ease-io), opacity 0.35s; }
.pipe__pulse { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; transform: translate(var(--x, 0px), var(--y, 0px)); transition: transform 0.7s var(--ease-io), opacity 0.35s; }
.pipe__pulse::before { content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.pipe.is-live .pipe__pulse { opacity: 1; }
.pipe.is-reset .pipe__pulse, .pipe.is-reset .pipe__fill { opacity: 0; transition: opacity 0.35s; }
@media (max-width: 899px) { .pipe li:last-child::after { content: ""; position: absolute; left: 0; top: 24px; bottom: -14px; width: 12px; background: var(--surface); } }
@media (min-width: 900px) {
  .pipe ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
  .pipe li { display: block; padding-top: 34px; }
  .pipe .node { position: absolute; top: 0; left: 0; margin: 0; }
  .pipe li small { margin-bottom: 10px; }
  .pipe__track { left: 5px; right: calc(20% - 22.4px - 5px); top: 5px; bottom: auto; width: auto; height: 1px; }
  .pipe__fill { transform: scaleX(var(--f, 0)); }
}

.feats { margin-top: clamp(48px, 6vw, 88px); display: grid; border-top: 1px solid var(--line-2); }
.feat { position: relative; padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 3.5rem 1fr; align-items: center; align-content: start; }
.feat__ic { display: grid; place-items: center; width: 2.375rem; height: 2.375rem; border: 1px solid var(--line-2); border-radius: var(--r-m); color: var(--accent-text); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.feat__ic .ic { width: 1.1875rem; height: 1.1875rem; }
.feat:hover .feat__ic { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.feat .n { font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.08em; color: var(--text-3); transition: color 0.3s; }
.feat p { grid-column: 2; margin-top: 10px; color: var(--text-2); max-width: 30em; }
@media (hover: hover) { .feat:hover .n { color: var(--accent-text); } }
@media (min-width: 760px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 96px); }
}
@media (min-width: 1180px) {
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.fine { margin-top: 28px; font: 400 var(--t-micro)/1.6 var(--f-mono); letter-spacing: 0.03em; color: var(--text-3); max-width: 60em; }

/* Platform: the recharge app */
.duo { margin-top: clamp(56px, 7vw, 104px); display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.duo__text { display: grid; gap: 22px; align-content: start; }
.duo__h { font-size: clamp(1.875rem, 1.3rem + 2.3vw, 3.25rem); line-height: 1.04; letter-spacing: -0.015em; }
.duo__text > p:not(.eyebrow) { color: var(--text-2); max-width: 34em; }
.duo__stage { position: relative; display: grid; justify-items: center; padding: clamp(32px, 5vw, 64px) 20px clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); overflow: hidden; }
.duo__stage::before { content: ""; position: absolute; inset: 10% 10% 30%; background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%); pointer-events: none; }
.duo__stage figcaption { position: relative; margin-top: 24px; font: 400 var(--t-micro)/1.5 var(--f-mono); letter-spacing: 0.03em; color: var(--text-3); text-align: center; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 1.4em; font: 400 clamp(11px, 3.1vw, 12.5px)/1.35 var(--f-sans); }
.phone { --brand: #127e70; position: relative; flex: none; width: 20.5em; padding: 0.5em; border-radius: 3.1em; background: #0b0a09; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, var(--shadow); transition: --brand 0.7s var(--ease-io); }
.phone--a { z-index: 1; }
.phone--b { display: none; margin-top: 3.2em; }
.phone__in { position: relative; display: grid; align-content: start; gap: 1.05em; height: 47em; padding: 3.3em 1.15em 0; border-radius: 2.65em; background: var(--bg); color: var(--text); overflow: hidden; }
.phone__in::before { content: ""; position: absolute; top: 0.75em; left: 50%; width: 5.6em; height: 1.55em; margin-left: -2.8em; border-radius: 99px; background: #0b0a09; }
.app__status { position: absolute; top: 1em; left: 1.8em; right: 1.8em; display: flex; justify-content: space-between; align-items: center; font-size: 0.8em; font-weight: 600; }
.app__batt { width: 1.9em; height: 0.95em; border: 1.5px solid currentColor; border-radius: 0.3em; opacity: 0.8; background: linear-gradient(currentColor, currentColor) 0.12em 50% / 1.1em 0.5em no-repeat; }
.app__head { display: flex; align-items: center; gap: 0.75em; min-width: 0; }
.app__head > div { min-width: 0; }
.app__head small { display: block; font-size: 0.76em; color: var(--text-3); }
.app__head b { display: block; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__bell { position: relative; margin-left: auto; flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border: 1px solid var(--line); border-radius: 50%; }
.app__bell::after { content: ""; position: absolute; top: 0.55em; right: 0.6em; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.app__wallet { position: relative; overflow: hidden; padding: 1.15em 1.25em 1.2em; border-radius: 1.4em; background: var(--brand); color: #fff; }
.app__wallet::before, .app__wallet::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.11); }
.app__wallet::before { right: -2.6em; top: -3.4em; width: 9.5em; height: 9.5em; }
.app__wallet::after { right: 2.2em; bottom: -4.6em; width: 7em; height: 7em; }
.app__wallet small { font-size: 0.78em; opacity: 0.86; }
.app__wallet > b { display: block; margin-top: 0.05em; font-size: 2.15em; font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.app__wallet > b span { font-size: 0.5em; font-weight: 500; opacity: 0.8; letter-spacing: 0; }
.app__pills { position: relative; z-index: 1; display: flex; gap: 0.5em; margin-top: 0.85em; }
.pill { padding: 0.52em 0.95em; border-radius: 99px; background: #fff; color: #14110d; font-size: 0.8em; font-weight: 600; }
.pill--ghost { background: rgba(255, 255, 255, 0.18); color: #fff; }
.app__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.95em 0.3em; }
.app__grid span { display: grid; justify-items: center; gap: 0.45em; font-size: 0.72em; color: var(--text-2); text-align: center; white-space: nowrap; }
.app__grid i { display: grid; place-items: center; width: 4.1em; height: 4.1em; border-radius: 1.35em; background: var(--surface-2); color: var(--text); }
.app__grid .ic { width: 1.75em; height: 1.75em; stroke-width: 1.5; }
.app__sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.15em; }
.app__sec b { font-size: 0.95em; font-weight: 600; }
.app__sec span { font-size: 0.78em; color: var(--text-3); }
.app__recent { margin-top: -0.6em; }
.app__recent li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.8em; padding: 0.68em 0; border-top: 1px solid var(--line); }
.app__recent li:first-child { border-top: 0; }
.app__recent b { display: block; font-size: 0.88em; font-weight: 500; white-space: nowrap; }
.app__recent small { display: block; font-size: 0.74em; color: var(--text-3); white-space: nowrap; }
.app__recent .r { text-align: right; }
.app__recent .ok { color: var(--ok); }
.app__tabs { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.75em 0.6em 1.5em; border-top: 1px solid var(--line); background: var(--surface); }
.app__tabs span { display: grid; justify-items: center; gap: 0.25em; font-size: 0.68em; color: var(--text-3); }
.app__tabs .ic { width: 1.9em; height: 1.9em; stroke-width: 1.5; }
.app__tabs .on { color: var(--text); font-weight: 600; }
.app__tabs::after, .app__pay::after { content: ""; position: absolute; left: 50%; bottom: 0.5em; width: 7em; height: 0.3em; margin-left: -3.5em; border-radius: 99px; background: var(--text); opacity: 0.28; }
.app__bar { display: flex; align-items: center; gap: 0.7em; font-size: 1.05em; }
.app__bar b { font-weight: 600; letter-spacing: -0.015em; }
.app__num { display: flex; align-items: center; gap: 0.8em; padding: 0.85em 1em; border: 1px solid var(--line-2); border-radius: 1.15em; }
.app__num b { display: block; font: 500 1.02em var(--f-mono); letter-spacing: 0.01em; }
.app__num small { display: block; font-size: 0.76em; color: var(--text-3); }
.app__num > span:last-child { margin-left: auto; font-size: 0.78em; font-weight: 500; color: var(--text-2); }
.app__ops { display: flex; align-items: center; gap: 0.6em; }
.app__ops .oplogo { width: 3em; height: 3em; border-radius: 1em; }
.app__ops .oplogo.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--brand); }
.app__opmore { display: grid; place-items: center; width: 3.4em; height: 3.4em; margin-left: auto; border: 1px dashed var(--line-2); border-radius: 1.1em; font-size: 0.78em; color: var(--text-2); }
.app__grid i.is-logo { background: #fff; box-shadow: 0 0 0 1px rgba(20, 15, 10, 0.08) inset; }
.app__grid i.is-logo img { width: 44%; height: auto; }
.app__recent .oplogo, .app__num .oplogo { width: 2.6em; height: 2.6em; border-radius: 0.85em; }
.app__seg { display: flex; gap: 0.4em; overflow: hidden; }
.app__seg span { padding: 0.5em 0.95em; border: 1px solid var(--line); border-radius: 99px; font-size: 0.78em; color: var(--text-2); white-space: nowrap; }
.app__seg .on { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 500; }
.app__plans { display: grid; gap: 0.6em; }
.app__plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15em 1em; align-items: center; padding: 0.9em 1.05em; border: 1px solid var(--line); border-radius: 1.15em; }
.app__plans b { font-size: 1.3em; font-weight: 600; letter-spacing: -0.03em; }
.app__plans small { grid-column: 1 / -1; font-size: 0.78em; color: var(--text-3); }
.app__plans .tag { padding: 0.28em 0.7em; border-radius: 99px; background: color-mix(in srgb, var(--brand) 20%, transparent); font-size: 0.68em; font-weight: 500; }
.app__plans .on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.app__pay { position: absolute; inset: auto 0 0 0; display: grid; gap: 0.7em; padding: 0.9em 1.15em 1.9em; border-top: 1px solid var(--line); background: var(--surface); }
.app__pay small { text-align: center; font-size: 0.76em; color: var(--text-3); }
.app__btn { display: grid; place-items: center; height: 3.5em; border-radius: 1.2em; background: var(--brand); color: #fff; font-weight: 600; }
.duo__stage { container-type: inline-size; }
@container (min-width: 560px) { .phone--b { display: block; } }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Offers: rent or own */
.both { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 14px; padding: clamp(18px, 2vw, 24px) 0; border-block: 1px solid var(--line-2); }
.both__l, .pc h4, .offer__best span { margin: 0; font: 500 var(--t-micro)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
.both ul { display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 3vw, 44px); }
.both li { display: flex; align-items: baseline; gap: 12px; font-weight: 500; }
.both li::before { content: ""; flex: none; width: 9px; height: 5px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 900px) { .both { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; } }
.offer__best { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-m); background: var(--surface-2); font-size: var(--t-small); line-height: 1.5; }
.offer--own .offer__best { background: var(--surface); }
.offer__best span { display: block; margin-bottom: 5px; }
.pc { display: grid; gap: 24px; margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line-2); }
.pc h4 { margin-bottom: 10px; }
.pc li { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; padding: 7px 0; font-size: var(--t-small); line-height: 1.5; }
.pc li::before { font: 500 1rem/1 var(--f-mono); }
.pros li::before { content: "+"; color: var(--ok); }
.cons li::before { content: "\2013"; color: var(--warn); }
@media (min-width: 620px) { .pc { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.offers { margin-top: clamp(20px, 2.4vw, 32px); display: grid; gap: clamp(16px, 2vw, 24px); }
.offer { display: flex; flex-direction: column; padding: clamp(24px, 3.2vw, 48px); border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--surface); }
.offer--own { background: var(--bg); color: var(--text); border-color: transparent; }
.offer__tag { font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-text); }
.offer__h { margin-top: 18px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.018em; }
.offer__d { margin-top: 16px; color: var(--text-2); max-width: 32em; }
.offer__rows dd .ph { margin-top: 8px; }
.offer__rows { margin: clamp(24px, 3vw, 40px) 0 0; border-top: 1px solid var(--line-2); }
.offer__rows > div { display: grid; grid-template-columns: minmax(7.5em, 0.7fr) 1.3fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.offer__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.offer__rows dt { font: 500 var(--t-micro)/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.offer__rows dd { margin: 0; font-weight: 500; }
.offer__rows dd.is-off { color: var(--text-3); font-weight: 400; }
.offer__rows dd.is-on { color: var(--accent-text); }
.offers__cta { margin-top: clamp(28px, 3.4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.offers__cta p { font: 400 var(--t-h3)/1.2 var(--f-display); letter-spacing: -0.01em; max-width: 22em; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .offers--3 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1120px) {
  .offers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers--3 .offer { padding: clamp(22px, 2.2vw, 36px); }
  .offers--3 .pc { grid-template-columns: minmax(0, 1fr); }
}
.offers--3 .offer__h { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }
.offers--3 .pc { margin-top: auto; }
.offers--3 .offer__rows { margin-bottom: clamp(24px, 3vw, 36px); }
.offer--rec { position: relative; border-color: var(--accent-text); }
.offer__flag { position: absolute; top: -12px; left: clamp(22px, 2.2vw, 36px); padding: 6px 10px; border-radius: var(--r-s); background: var(--accent); color: var(--accent-ink); font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.offers--3 .offer__best { margin-bottom: clamp(24px, 3vw, 36px); }
.offers__note { margin-top: clamp(16px, 2vw, 24px); font: 400 var(--t-h3)/1.2 var(--f-display); letter-spacing: -0.01em; }
.offers + .both { margin-top: clamp(24px, 3vw, 40px); }
.offers:not(.offers--3) .offer__best { margin-bottom: clamp(24px, 3vw, 36px); }
.offers:not(.offers--3) .pc { margin-top: auto; }
.cmp--2 table { min-width: 0; }
.cmp--2 thead th:first-child { width: 46%; }
.cmp { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cmp__s { position: relative; min-width: 0; overflow-x: auto; border-top: 1px solid var(--line-2); }
.cmp table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: var(--t-small); }
.cmp th, .cmp td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tbody th { padding-left: 0; text-align: left; font-weight: 400; color: var(--text); }
.cmp thead th { font: 500 var(--t-micro)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
.cmp td.y::before { content: ""; display: inline-block; width: 11px; height: 6px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: translateY(-2px) rotate(-45deg); }
.cmp td.n::before { content: "\2013"; color: var(--text-3); }
.cmp td.t { font-weight: 500; }
.cmp tr.is-price th, .cmp tr.is-price td { border-bottom: 0; padding-top: 18px; }
.cmp tr.is-price td { font: 400 1.25rem/1.2 var(--f-display); white-space: nowrap; }
.cmp__n { font-size: var(--t-small); color: var(--text-2); }
@media (max-width: 599px) {
  .cmp table { min-width: 0; table-layout: fixed; }
  .cmp thead th:first-child { width: 31%; }
  .cmp th, .cmp td { padding: 12px 4px; }
  .cmp thead th { font-size: 0.625rem; letter-spacing: 0.03em; }
  .cmp tr.is-price td { font-size: 1.0625rem; white-space: normal; }
}
.offer__ticks { margin-top: clamp(24px, 3vw, 40px); }
.offer__ticks li:last-child { border-bottom: 0; padding-bottom: 0; }
.offer__price { margin-top: 18px; font: 400 clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
.offer__price em { display: block; color: var(--accent-text); }
.offer__price small { display: block; margin-top: 10px; font: 400 var(--t-small)/1.45 var(--f-sans); letter-spacing: 0; color: var(--text-2); }

.calc { display: none; margin-top: clamp(16px, 2vw, 24px); padding: clamp(24px, 3.2vw, 48px); border: 1px solid var(--line-2); border-radius: var(--r-l); gap: clamp(28px, 4vw, 64px); }
.js .calc { display: grid; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; } }
.calc__in { display: grid; gap: 22px; min-width: 0; }
.calc__h { font: 400 clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -0.015em; text-wrap: balance; }
.calc__f { display: grid; gap: 6px; }
.calc__f > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__f label { font-weight: 500; }
.calc__f output { font: 500 var(--t-small)/1.2 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--accent-text); white-space: nowrap; }
.calc__f input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.calc__out { display: grid; min-width: 0; border-top: 1px solid var(--line-2); }
.calc__out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.calc__out span { font: 500 var(--t-micro)/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.calc__out b { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out .is-keep b { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); color: var(--accent-text); }
.calc__out p { margin-top: 14px; font-size: var(--t-small); color: var(--text-3); }

.terms { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 14px; }
.terms ul { display: grid; gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line-2); }
.terms li { display: grid; gap: 8px; align-content: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.terms li b { font-weight: 500; }
.terms li span:not(.ph) { color: var(--text-2); font-size: var(--t-small); line-height: 1.5; }
.terms li .ph { justify-self: start; }
@media (min-width: 720px) { .terms ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .terms ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } .terms li { border-bottom: 0; } }
.step__tag { margin-bottom: 10px; font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
.step .step__tag { margin-top: 0; }

/* Operator logo slider: full-colour logos on a paper band (paper in both themes, so every logo reads) */
.band { --band-bg: var(--surface); background: var(--band-bg); color: var(--text); border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 104px); overflow: hidden; }
.band__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.band__h { margin-top: clamp(16px, 2vw, 24px); font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3.25rem); line-height: 1.04; max-width: 15em; }
.band__side { display: grid; gap: 18px; justify-items: start; max-width: 25em; }
.band__side p { font-size: var(--t-small); line-height: 1.55; color: var(--text-2); }
.band__pause { display: none; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease); -webkit-tap-highlight-color: transparent; }
.band__pause:hover { color: var(--text); border-color: var(--text); }
.band__pause:active { transform: scale(0.96); }
.band__pause i { width: 9px; height: 10px; border-inline: 3px solid currentColor; }
.band__pause[aria-pressed="true"] i { border: 5px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.marquee { --gap: clamp(44px, 6vw, 92px); position: relative; margin-top: clamp(40px, 5vw, 72px); padding-inline: var(--gutter); }
.marquee__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px var(--gap); min-height: 72px; }
.logo { --k: 1; flex: none; }
.logo img { display: block; height: calc(var(--h) * var(--k) * 1px); width: auto; transition: transform 0.5s var(--ease); }
.wordmark { display: grid; justify-items: start; gap: 2px; color: var(--text); }
.wordmark b { font: 700 calc(1.75rem * var(--k)) / 1 var(--f-sans); letter-spacing: -0.04em; }
.wordmark small { font: 500 0.625rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 600px) { .logo { --k: 0.82; } }
@media (hover: hover) { .logo:hover img { transform: scale(1.07); } .js .marquee:hover .marquee__track { animation-play-state: paused; } }

/* White-label studio */
.studio { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(32px, 5vw, 72px); }
.studio__ctl { display: grid; gap: 28px; align-content: start; }
.field-l { display: block; font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.studio input[type="text"] {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent;
  font: 400 clamp(1.875rem, 1.4rem + 1.9vw, 3rem)/1.2 var(--f-display); letter-spacing: -0.01em; color: var(--text);
  padding: 4px 0 12px; outline: none; transition: border-color 0.3s;
}
.studio input[type="text"]::placeholder { color: var(--text-3); opacity: 1; }
.studio input[type="text"]:focus { border-bottom-color: var(--accent-text); }
.studio input[type="text"]:focus-visible { outline: none; box-shadow: 0 1px 0 var(--accent-text); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; margin: 0; }
.swatches legend { padding: 0; }
.swatches label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.swatches input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatches span { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--bg), 0 0 0 0 var(--text); transition: box-shadow 0.35s var(--ease), transform 0.25s var(--ease); }
.swatches input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--text); }
.swatches input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 7px; }
.swatches label:active span { transform: scale(0.92); }
.ticks { border-top: 1px solid var(--line-2); }
.ticks li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: translateY(-4px) rotate(-45deg); }
.ticks b { font-weight: 500; }
.ticks span { color: var(--text-2); }

.studio__view { position: relative; margin-bottom: 8px; }
.studio__view .mock { --brand: #127e70; }
.studio__view .mock__in { font-size: clamp(10.5px, 1.9cqw, 15px); }
.login { display: grid; justify-items: center; padding: 3.2em 1.5em 2.6em; background: var(--bg); }
.login__card { width: min(100%, 25em); display: grid; gap: 0.95em; padding: 2.2em 2em; border: 1px solid var(--line); border-radius: 1em; background: var(--surface); }
.login__card .mock__logo { width: 2.8em; height: 2.8em; font-size: 1.15em; border-radius: 0.6em; }
.login__card h4 { margin: 0.2em 0 0; font: 600 1.45em/1.2 var(--f-sans); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.login__card p { font-size: 0.9em; color: var(--text-2); margin-bottom: 0.4em; }
.login__f { height: 3em; display: flex; align-items: center; padding: 0 1em; border: 1px solid var(--line-2); border-radius: 0.55em; font-size: 0.9em; color: var(--text-3); }
.login__b { height: 3em; display: grid; place-items: center; border-radius: 0.55em; background: var(--brand); color: #fff; font-weight: 500; font-size: 0.95em; }
.login small { justify-self: start; margin-top: 2.6em; font-size: 0.78em; color: var(--text-3); }
.toast { position: relative; margin: -14px -6px 0 auto; width: min(86%, 21rem); padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--shadow); font-size: 0.8125rem; line-height: 1.45; color: var(--text-2); }
.toast b { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; margin-bottom: 3px; overflow-wrap: anywhere; }
.toast b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; transition: background-color 0.6s; }
@media (min-width: 960px) {
  .studio { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; align-items: start; row-gap: 28px; }
  .studio__view { grid-column: 2; grid-row: 1 / span 2; }
  .studio .ticks { grid-column: 1; grid-row: 2; }
  .toast { position: absolute; margin: 0; right: -20px; bottom: -30px; }
}

/* Source code (inverted) */
.source__grid { display: grid; gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); }
.manifest { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--surface); font-family: var(--f-mono); font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem); }
.manifest__h { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 16px clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--line); color: var(--text-2); letter-spacing: 0.04em; }
.manifest__h span + span { color: var(--text-3); }
.manifest ul { padding: 8px 0; }
.manifest li { display: grid; grid-template-columns: minmax(8.5em, 0.9fr) 1.6fr; gap: 16px; padding: 10px clamp(16px, 2vw, 24px); transition: background-color 0.25s; }
.manifest li span:first-child { color: var(--text); white-space: nowrap; }
.manifest li span:first-child::before { content: "├─ "; color: var(--text-3); }
.manifest li:last-child span:first-child::before { content: "└─ "; }
.manifest li span:last-child { color: var(--text-2); }
@media (hover: hover) { .manifest li:hover { background: var(--surface-2); } }
.manifest__f { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.manifest__f div { padding: 16px clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); }
.manifest__f div:first-child { border-left: 0; }
.manifest__f dt { color: var(--text-3); font-size: 0.86em; letter-spacing: 0.06em; text-transform: uppercase; }
.manifest__f dd { margin-top: 6px; font: 400 1.5rem/1 var(--f-display); letter-spacing: -0.01em; color: var(--text); }
.seal { position: absolute; top: clamp(-52px, -5vw, -36px); right: clamp(8px, 3vw, 40px); width: clamp(92px, 11vw, 132px); aspect-ratio: 1; color: var(--accent); pointer-events: none; }
.seal svg { width: 100%; height: 100%; }
.seal .ring { transform-origin: 50% 50%; animation: spin 36s linear infinite; }
.seal.is-off .ring, .dash.is-off .dash__chip i { animation-play-state: paused; }
.seal text { font: 500 8.6px var(--f-mono); letter-spacing: 0.2em; fill: currentColor; text-transform: uppercase; }
.owns { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.owns li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.owns b { display: block; font: 400 1.5rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.owns span { display: block; margin-top: 6px; color: var(--text-2); max-width: 32em; }
@media (min-width: 960px) {
  .source__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}

/* Support */
.term { margin-top: clamp(56px, 7vw, 96px); }
.term__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 500 var(--t-micro)/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.term__ruler { position: relative; height: 56px; margin-top: 14px; border-left: 1px solid var(--text); border-right: 1px solid var(--text);
  background:
    repeating-linear-gradient(to right, var(--text) 0 1px, transparent 1px calc(100% / 3)) left bottom / 100% 28px no-repeat,
    repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px calc(100% / 36)) left bottom / 100% 12px no-repeat; }
.term__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease-io) 0.2s; }
.in .term__fill, .term.in .term__fill { transform: scaleX(1); }
.term__years { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.term__years div { padding-right: 12px; }
.term__years b { display: block; font: 400 clamp(1.375rem, 1.1rem + 1.2vw, 2rem)/1.1 var(--f-display); letter-spacing: -0.01em; }
.term__years span { display: block; margin-top: 4px; font: 400 var(--t-micro)/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--text-3); }
.covers { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.cover { padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); }
.cover .n { font: 500 var(--t-micro)/1 var(--f-mono); letter-spacing: 0.08em; color: var(--accent-text); }
.cover h3 { margin-top: 14px; }
.cover p { margin-top: 10px; color: var(--text-2); max-width: 26em; }
@media (min-width: 760px) {
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
}
@media (min-width: 1180px) {
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cover { border-bottom: 0; padding-right: 8px; }
}
.aside-note { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.aside-note p.q { font: 400 clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem)/1.12 var(--f-display); letter-spacing: -0.012em; text-wrap: balance; }

/* Process */
.process__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.steps { counter-reset: step; border-top: 1px solid var(--line-2); }
.step { counter-increment: step; display: grid; grid-template-columns: clamp(3rem, 7vw, 6rem) 1fr; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step::before { content: "0" counter(step); font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.25rem)/1 var(--f-display); font-style: italic; color: var(--accent-text); }
.step p { margin-top: 10px; color: var(--text-2); max-width: 34em; }
.step .ph { margin-top: 12px; }
@media (min-width: 960px) {
  .process__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .process__grid .sec-h { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* Company credentials */
.creds { margin-top: clamp(40px, 5vw, 72px); display: grid; border-top: 1px solid var(--line-2); }
.cred { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.cred dt { font: 500 var(--t-micro)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); }
.cred dd { margin: 0; }
@media (min-width: 760px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
}
@media (min-width: 1180px) { .creds { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cred { border-bottom: 0; } }

/* FAQ */
.faq__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; cursor: pointer; list-style: none;
  padding: clamp(20px, 2.2vw, 28px) 0; font: 400 clamp(1.3125rem, 1.15rem + 0.6vw, 1.75rem)/1.2 var(--f-display); letter-spacing: -0.01em;
  transition: color 0.25s; -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--text); border-color: var(--text); color: var(--bg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
@media (hover: hover) { .faq summary:hover { color: var(--accent-text); } }
.faq .a { padding: 0 48px clamp(22px, 2.4vw, 30px) 0; color: var(--text-2); max-width: 44em; display: grid; gap: 12px; }
.faq .a .ph { justify-self: start; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; opacity: 0; transition: height 0.5s var(--ease), opacity 0.4s, content-visibility 0.5s allow-discrete; }
  .faq details[open]::details-content { height: auto; opacity: 1; }
}
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .faq__grid .sec-h { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* Closing */
.close { padding-block: clamp(96px, 13vw, 200px); text-align: left; overflow: hidden; }
.close h2 { font-size: clamp(2.75rem, 1.2rem + 6.4vw, 7rem); line-height: 0.98; letter-spacing: -0.022em; max-width: 11em; }
.close .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.close .btn { margin-top: clamp(28px, 3vw, 44px); }
.contact { margin-top: clamp(56px, 7vw, 104px); display: grid; border-top: 1px solid var(--line-2); }
.contact div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.contact dt { font: 500 var(--t-micro)/1.3 var(--f-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
.contact dd { margin: 0; font: 400 1.5rem/1.2 var(--f-display); letter-spacing: -0.005em; }
.contact dd a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size 0.5s var(--ease); }
.contact dd a:hover { background-size: 100% 1px; }
.contact .ph { justify-self: start; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; } .contact div { border-bottom: 0; } }

/* 8. Footer --------------------------------------------------------------- */
.foot { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: var(--t-small); color: var(--text-2); }
.foot__in { display: grid; gap: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; padding-block: 6px; transition: color 0.25s; }
.foot nav a:hover { color: var(--text); }
.foot small { display: block; font: 400 var(--t-micro)/1.6 var(--f-mono); letter-spacing: 0.02em; color: var(--text-3); max-width: 62em; }
@media (min-width: 900px) { .foot__in { grid-template-columns: auto 1fr; align-items: center; column-gap: 56px; } .foot nav { justify-content: flex-end; } .foot small { grid-column: 1 / -1; } }

/* 9. Motion --------------------------------------------------------------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-100%); } }
@keyframes pulse-x { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes pulse-y { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__h .w > span { transform: translateY(108%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 60ms); }
  .hero .eyebrow, .hero__lead, .pillars, .stage { opacity: 0; animation: fade-up 1.1s var(--ease) forwards; }
  .hero .eyebrow { animation-delay: 0ms; }
  .hero__lead { animation-delay: 380ms; }
  .pillars { animation-delay: 500ms; }
  .stage { animation-delay: 620ms; }

  /* Headline flip: letters roll up out of a slot, the next phrase rolls in from below */
  .js .flip { overflow: clip; padding: 0.1em 0.14em 0.22em 0.04em; margin: -0.1em -0.14em -0.22em -0.04em; }
  .js .flip__static { display: none; }
  .js .flip__item { display: block; }
  .js .flip .c { transform-origin: 50% 55%; transform: translateY(0.7em) rotateX(-80deg); opacity: 0; transition: transform 0.8s cubic-bezier(0.2, 1.22, 0.34, 1), opacity 0.3s ease; transition-delay: calc(250ms + var(--c) * 34ms); }
  .js .flip__item.is-on .c { transform: none; opacity: 1; }
  .js .flip__item.is-out .c { transform: translateY(-0.7em) rotateX(80deg); opacity: 0; transition: transform 0.42s cubic-bezier(0.55, 0, 0.85, 0.35), opacity 0.2s linear; transition-delay: calc(var(--c) * 22ms), calc(70ms + var(--c) * 22ms); }

  /* Logo slider: three identical tracks, each sliding one track-width, so the loop is seamless */
  .js .band__pause { display: inline-flex; }
  .js .marquee { display: flex; padding-inline: 0; overflow: hidden; }
  .js .marquee::before, .js .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(28px, 9vw, 140px); pointer-events: none; }
  .js .marquee::before { left: 0; background: linear-gradient(to right, var(--band-bg), transparent); }
  .js .marquee::after { right: 0; background: linear-gradient(to left, var(--band-bg), transparent); }
  .js .marquee__track { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: var(--gap); padding-right: var(--gap); animation: slide 48s linear infinite; }
  .js .marquee.is-paused .marquee__track, .js .marquee.is-off .marquee__track { animation-play-state: paused; }

  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: 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; }
  .pipe__pulse, .pipe__fill { display: none; }
  .term__fill { transform: scaleX(1); }
}

/* Theme change: one quick cross-fade of the whole page, handled by the compositor */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: ease; }

/* ------------------------------------------------- Logo motion and loading screen */
.splash { display: none; }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(0.12); } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes blink-idle { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(0.12); } }
  @keyframes splash-open { to { opacity: 1; transform: none; } }
  @keyframes splash-pop { to { transform: scale(1); } }
  @keyframes splash-lift { to { transform: translateY(-100%); visibility: hidden; } }
  @keyframes splash-safety { to { opacity: 0; visibility: hidden; } }
  @keyframes splash-away { to { opacity: 0; transform: translateY(-28px) scale(0.96); } }

  .bot.is-blink circle { animation: blink 0.36s ease-in-out; }
  @media (hover: hover) { .brand:hover .bot circle { animation: blink 0.45s 0.08s; } }

  /* Shown once per visit. If the script never arrives, it clears itself after four seconds. */
  .splashing .splash, .splash.is-done { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); color: var(--text); }
  .splashing .splash { animation: splash-safety 0.5s var(--ease-io) 4s forwards; }
  .splash.is-done { animation: splash-lift 0.62s var(--ease-io) forwards; }
  .splash.is-done .splash__in { animation: splash-away 0.4s var(--ease-io) forwards; }
  .splash__in { display: inline-flex; align-items: center; gap: clamp(14px, 2.6vw, 24px); }
  .splash .bot { width: clamp(56px, 13vw, 88px); height: clamp(56px, 13vw, 88px); }
  .splash__w { font: 500 clamp(2.4rem, 9vw, 4.25rem)/1 var(--f-mono); letter-spacing: -0.05em; }
  .splash__w i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(0.35em); animation: splash-open 0.34s var(--ease) forwards; animation-delay: calc(var(--c) * 60ms + 620ms); }
  .splash .bot path { opacity: 0; animation: splash-open 0.62s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s forwards; }
  .splash .bot__l { transform: translateX(9px); }
  .splash .bot__r { transform: translateX(-9px); }
  .splash .bot circle { transform: scale(0); animation: splash-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.38s forwards, blink 0.32s ease-in-out 1.1s; }
  .splash .bot circle + circle { animation-delay: 0.46s, 1.1s; }

  /* The hero waits behind the loading screen, then plays as it lifts. */
  .splashing .hero__h .w > span, .splashing .hero .eyebrow, .splashing .hero__lead, .splashing .stage { animation-play-state: paused; }
}

/* ------------------------------------------------------------------ Custom cursor
   Mouse only. The script adds .has-cursor after the first real mouse move, so touch
   screens, keyboards and browsers without the script keep the normal pointer. */
.cur-dot, .cur-ring { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type="range"]):not([type="radio"]):not([type="checkbox"]), .has-cursor textarea { cursor: text !important; }
.has-cursor .cur-dot, .has-cursor .cur-ring { display: block; position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity 0.18s; will-change: transform; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid #f2ede4; box-shadow: 0 0 0 1px rgba(14, 13, 11, 0.55), inset 0 0 0 1px rgba(14, 13, 11, 0.55); }
.has-cursor .cur-dot.is-on, .has-cursor .cur-ring.is-on { opacity: 1; }
.has-cursor .cur-dot.is-on.is-link { opacity: 0; }
