/* Merchvio website: "Evergreen & Ember".
   Deep evergreen says money, growth and calm; the single ember button is the only hot thing on the screen, so the
   eye lands on the action. Alabaster paper, pine-black deep sections with a slow aurora, Newsreader headlines
   (italic for the one word that matters), Geist for everything else, tabular figures on every number.
   Loaded only by app/views/site/layout.php (the guest pages load site/auth.css). No inline styles anywhere (CSP).
   Motion rules: transform and opacity only; everything collapses under prefers-reduced-motion. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---- tokens ------------------------------------------------------------------------------------------- */
:root {
  --paper: #F6F4EE; --paper-2: #EDEAE1; --sheet: #FFFFFF; --sheet-2: #FBFAF6;
  --ink: #10201A; --ink-2: #3C4D45; --ink-3: #5B6B63;
  --rule: #E2E0D7; --rule-strong: #C6C8BE;
  --green: #166A4A; --green-hover: #125A3E; --green-ink: #FFFFFF; --green-soft: #DFF2E7; --green-soft-ink: #0F5438;
  --ember: #F25A2B; --ember-hover: #E14E20; --ember-ink: #1A0A04; --ember-text: #C2431A; --ember-soft: #FDE6DD;
  --deep: #0B1F18; --deep-2: #12352A; --deep-3: #0F2B21; --deep-rule: #1F4235; --deep-rule-2: #2E5A49; --deep-ink: #EEF3EF; --deep-mute: #A8B8AF;
  --mint: #7FE0B0; --mint-ink: #04150D; --ember-on-deep: #FF8A5C;
  --ok: #157A4B; --ok-bg: #DFF2E7; --warn: #9C5A00; --warn-bg: #FFF0D6; --bad: #C83E3E; --bad-bg: #FBE3E0;
  --seg-vat: #B9BFB4; --seg-fee: #2E9B6E; --seg-ful: #5FBF93; --seg-ads: #9FD9BC; --seg-cog: #0B1F18;
  --glow-a: oklch(62% .13 160 / .55); --glow-b: oklch(70% .19 40 / .45); --glow-c: oklch(78% .12 170 / .35);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px; --wrap: 1200px; --band: clamp(64px, 9vw, 124px);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --lift: 0 1px 2px rgba(16, 32, 26, .06), 0 14px 30px -14px rgba(16, 32, 26, .22);
  --lift-hi: 0 2px 6px rgba(16, 32, 26, .06), 0 34px 70px -28px rgba(16, 32, 26, .35);
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --mx: 50%; --my: 50%;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1F18; --paper-2: #0F2A20; --sheet: #12352A; --sheet-2: #153C2F;
    --ink: #E6EDE8; --ink-2: #BFCCC5; --ink-3: #9AA8A1;
    --rule: #1F4235; --rule-strong: #2E5A49;
    --green: #2E9B6E; --green-hover: #3FB07F; --green-ink: #04150D; --green-soft: #16382A; --green-soft-ink: #9FE6C4;
    --ember: #FF7A4D; --ember-hover: #FF8E66; --ember-ink: #1A0A04; --ember-text: #FF9A72; --ember-soft: #3A1E14;
    --deep: #061410; --deep-2: #0E2A20; --deep-3: #0B2119; --deep-rule: #1A3A2D; --deep-rule-2: #2A5240; --deep-ink: #EEF3EF; --deep-mute: #A3B4AA;
    --ok: #7FE0B0; --ok-bg: #16382A; --warn: #F2B544; --warn-bg: #3A2B10; --bad: #FF7B7B; --bad-bg: #3D1C1C;
    --seg-vat: #4F5F57; --seg-fee: #2E9B6E; --seg-ful: #5FBF93; --seg-ads: #9FD9BC; --seg-cog: #CFE2D7;
    --lift: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -14px rgba(0, 0, 0, .6);
    --lift-hi: 0 2px 6px rgba(0, 0, 0, .4), 0 34px 70px -28px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1F18; --paper-2: #0F2A20; --sheet: #12352A; --sheet-2: #153C2F;
  --ink: #E6EDE8; --ink-2: #BFCCC5; --ink-3: #9AA8A1;
  --rule: #1F4235; --rule-strong: #2E5A49;
  --green: #2E9B6E; --green-hover: #3FB07F; --green-ink: #04150D; --green-soft: #16382A; --green-soft-ink: #9FE6C4;
  --ember: #FF7A4D; --ember-hover: #FF8E66; --ember-ink: #1A0A04; --ember-text: #FF9A72; --ember-soft: #3A1E14;
  --deep: #061410; --deep-2: #0E2A20; --deep-3: #0B2119; --deep-rule: #1A3A2D; --deep-rule-2: #2A5240; --deep-ink: #EEF3EF; --deep-mute: #A3B4AA;
  --ok: #7FE0B0; --ok-bg: #16382A; --warn: #F2B544; --warn-bg: #3A2B10; --bad: #FF7B7B; --bad-bg: #3D1C1C;
  --seg-vat: #4F5F57; --seg-fee: #2E9B6E; --seg-ful: #5FBF93; --seg-ads: #9FD9BC; --seg-cog: #CFE2D7;
  --lift: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -14px rgba(0, 0, 0, .6);
  --lift-hi: 0 2px 6px rgba(0, 0, 0, .4), 0 34px 70px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---- cross-document view transitions ------------------------------------------------------------------- */
@view-transition { navigation: auto; }
.mast-in > .wordmark { view-transition-name: brand; }
.mast { view-transition-name: mast; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---- base ---------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
html.nav-open { overflow: hidden; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(.site) img, :where(.site) svg { max-width: 100%; }
:where(.site) :is(h1, h2, h3, h4) { margin: 0; color: var(--ink); }
:where(.site) :is(p, ul, ol, dl, figure, blockquote) { margin: 0; }
:where(.site) :is(ul, ol) { padding: 0; }
:where(.site) a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
:where(.site) a:hover { color: var(--green-hover); }
.site :focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.site main:focus { outline: none; }
.sprite, .grain-def { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic.sm { width: 16px; height: 16px; }
.visually-hidden { 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: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper) !important; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band) 0; position: relative; }
.band + .band:not(.band-deep):not(.band-field):not(.band-alt):not(.band-tight):not(.cta-band) { border-top: 1px solid var(--rule); }
.band-alt { background: var(--paper-2); }
.band-deep, .band-field { background: var(--deep); color: var(--deep-ink); }
:where(.band-deep, .band-field) :is(h2, h3, h4) { color: var(--deep-ink); }
:where(.band-deep, .band-field) a:not(.btn) { color: var(--deep-ink); }
.band-deep .lede, .band-field .lede, .hero .lede, .cta-card .lede { color: var(--deep-mute); }
.band-deep :focus-visible, .band-field :focus-visible { outline-color: var(--mint); }
.below { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.eyebrow { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ember); border-radius: 1px; }
:where(.band-deep, .band-field, .hero, .cta-card, .pcalc-out, .facts) .eyebrow { color: var(--mint); }

/* ---- aurora + grain (deep sections) --------------------------------------------------------------------- */
.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora > * { position: relative; z-index: 1; }
.aurora-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora-bg .au { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; }
.au-1 { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -14%; top: -30%; background: radial-gradient(circle at 40% 40%, var(--glow-a), transparent 62%); }
.au-2 { width: 50vw; height: 50vw; max-width: 760px; max-height: 760px; right: -12%; top: 10%; background: radial-gradient(circle at 60% 50%, var(--glow-b), transparent 62%); }
.au-3 { width: 44vw; height: 44vw; max-width: 640px; max-height: 640px; left: 30%; bottom: -36%; background: radial-gradient(circle at 50% 50%, var(--glow-c), transparent 62%); }
.grain { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .au-1 { animation: au-a 30s ease-in-out infinite alternate; }
  .au-2 { animation: au-b 36s ease-in-out infinite alternate; }
  .au-3 { animation: au-c 42s ease-in-out infinite alternate; }
  @keyframes au-a { from { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(12%, 10%, 0) scale(1.12); } to { transform: translate3d(-6%, 16%, 0) scale(.96); } }
  @keyframes au-b { from { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-14%, 12%, 0) scale(1.08); } to { transform: translate3d(6%, -10%, 0) scale(1.16); } }
  @keyframes au-c { from { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(10%, -14%, 0) scale(1.1); } to { transform: translate3d(-12%, -4%, 0) scale(.94); } }
}

/* ---- scroll reveals -------------------------------------------------------------------------------------- */
/* Content is visible at rest. Browsers with scroll-driven animations run them from CSS; others get a one-shot
   IntersectionObserver class from site.js (which only hides things once it is running). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .at .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 36%; }
    .at .rv-stagger > * { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .js:not(.at) .rv, .js:not(.at) .rv-stagger > * { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .js:not(.at) .rv.is-in, .js:not(.at) .rv-stagger.is-in > * { opacity: 1; translate: none; }
  .js:not(.at) .rv-stagger.is-in > :nth-child(2) { transition-delay: .08s; } .js:not(.at) .rv-stagger.is-in > :nth-child(3) { transition-delay: .16s; }
  .js:not(.at) .rv-stagger.is-in > :nth-child(4) { transition-delay: .24s; } .js:not(.at) .rv-stagger.is-in > :nth-child(5) { transition-delay: .32s; }
  .js:not(.at) .rv-stagger.is-in > :nth-child(6) { transition-delay: .4s; }
}
/* reveals move with the separate `translate` property, so a card's hover `transform` still works while the scroll-driven animation holds its end state */
@keyframes rv-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }

/* ---- type ---------------------------------------------------------------------------------------------- */
.display-hero, .display-1, .display-2, .display-3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.014em; text-wrap: balance; }
.display-hero { font-size: clamp(2.9rem, 1.4rem + 5.6vw, 5.9rem); line-height: .96; }
.display-1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.02; }
.display-2 { font-size: clamp(2.05rem, 1.45rem + 2.4vw, 3.35rem); line-height: 1.05; }
.display-3 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1.08; }
:is(.display-hero, .display-1, .display-2, .display-3) em { font-style: italic; color: var(--green); }
:where(.band-deep, .band-field, .hero, .cta-card, .pcalc-out, .facts, .tile) :is(.display-hero, .display-1, .display-2, .display-3, h3) em { color: var(--ember-on-deep); }
.lede { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
:where(.site) h3 { font: 600 1.1875rem/1.3 var(--sans); letter-spacing: -.01em; }
.u, .link-strong { font-weight: 600; text-decoration: none; color: var(--green); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; padding-bottom: 2px; transition: background-size .3s var(--ease), color .15s; }
.u:hover, .link-strong:hover { background-size: 100% 2px; }
:where(.band-deep, .band-field) :is(.u, .link-strong) { color: var(--mint); }
.foot-col a, .nav-list a, .legal-toc a, .more-list a { text-decoration: none; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; justify-items: start; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: end; justify-content: space-between; }
.sec-head-row > div { display: grid; gap: 18px; max-width: 700px; justify-items: start; }

/* ---- buttons, chips, pills ---------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1.2 var(--sans); padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none !important; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .45s var(--spring), box-shadow .25s var(--ease); white-space: nowrap; will-change: transform; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: 9px 16px; font-size: .9375rem; }
.btn-lg { padding: 15px 26px; font-size: 1.0625rem; }
.btn-primary, .btn-ember, .btn-gold { background: var(--ember); color: var(--ember-ink) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px -10px rgba(242, 90, 43, .7); }
.btn-primary:hover, .btn-ember:hover, .btn-gold:hover { background: var(--ember-hover); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 28px -10px rgba(242, 90, 43, .85); }
.btn-green { background: var(--green); color: var(--green-ink) !important; }
.btn-green:hover { background: var(--green-hover); }
.btn-quiet { background: transparent; color: var(--ink) !important; border-color: var(--rule-strong); }
.btn-quiet:hover { border-color: var(--ink); background: var(--sheet); }
.btn-ghost-light { background: rgba(238, 243, 239, .06); color: var(--deep-ink) !important; border-color: rgba(238, 243, 239, .28); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--deep-ink); background: rgba(238, 243, 239, .12); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.btn:hover .ic.go { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* the hero button wears a slowly turning conic border */
.btn-hero { isolation: isolate; }
.btn-hero::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; background: conic-gradient(from var(--ang), transparent 0 60%, var(--ember-on-deep) 78%, #fff 86%, transparent 100%); opacity: .9; }
.btn-hero::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -2; background: rgba(242, 90, 43, .35); filter: blur(14px); opacity: .6; }
@media (prefers-reduced-motion: no-preference) { .btn-hero::before { animation: ang 4s linear infinite; } @keyframes ang { to { --ang: 360deg; } } }

.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .75rem/1 var(--sans); padding: 5px 8px 5px 7px; border-radius: 6px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.chip-amz::before { background: #D99A1E; } .chip-eby::before { background: #C2652B; } .chip-shp::before { background: #5B8E3E; } .chip-woo::before { background: #6C5BB5; }
.chip-live { background: var(--green-soft); color: var(--green-soft-ink); }
.chip-live::before { border-radius: 50%; background: var(--green); }
.pill { display: inline-block; font: 600 .75rem/1 var(--sans); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.pill-new { background: var(--green-soft); color: var(--green-soft-ink); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: color-mix(in srgb, var(--bad) 85%, #000); }
.pill-done { background: var(--paper-2); color: var(--ink-2); }
.status { justify-self: start; align-self: start; font: 600 .8125rem/1 var(--sans); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.status-available { background: var(--ok-bg); color: var(--ok); }
.status-in { background: var(--green-soft); color: var(--green-soft-ink); }
.status-planned { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-strong); }
:where(.band-deep, .band-field) .status-available { background: rgba(127, 224, 176, .16); color: var(--mint); }
:where(.band-deep, .band-field) .status-in { background: rgba(238, 243, 239, .1); color: var(--deep-ink); }
:where(.band-deep, .band-field) .status-planned { color: var(--deep-mute); box-shadow: inset 0 0 0 1px var(--deep-rule-2); }

/* ---- masthead ------------------------------------------------------------------------------------------ */
/* the blur lives on a pseudo-element: a backdrop-filter on .mast itself would trap the fixed drawer inside the bar */
.mast { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 84%, transparent); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.mast::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.mast.is-scrolled { border-bottom-color: var(--rule); }
.site-home .mast { background: color-mix(in srgb, var(--deep) 72%, transparent); color: var(--deep-ink); }
.site-home .mast.is-scrolled { border-bottom-color: var(--deep-rule); }
.mast-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink) !important; font: 500 1.6rem/1 var(--serif); letter-spacing: -.01em; }
.wordmark .mark { width: 32px; height: 32px; border-radius: 9px; transition: transform .4s var(--spring); }
.wordmark:hover .mark { transform: rotate(-6deg) scale(1.05); }
.mark .mark-bg { fill: var(--green); } .mark .mark-m { fill: #F6F4EE; } .mark .mark-dot { fill: #F25A2B; }
.site-home .mast .wordmark, .foot .wordmark { color: var(--deep-ink) !important; }
.foot .mark .mark-bg, .site-home .mast .mark .mark-bg { fill: #0B1F18; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; }
.nav-list a, .nav-signin { position: relative; display: inline-block; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .96875rem; color: var(--ink-2); text-decoration: none; transition: color .15s, background-color .15s; }
.nav-list a:hover, .nav-signin:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--ember); }
.site-home .mast :is(.nav-list a, .nav-signin) { color: var(--deep-mute); }
.site-home .mast :is(.nav-list a:hover, .nav-signin:hover, .nav-list a[aria-current="page"]) { color: var(--deep-ink); background: rgba(238, 243, 239, .08); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle, .nav-scrim, .nav-head { display: none; }
@media (max-width: 899px) {
  .mast-in { min-height: 62px; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font: 600 .9375rem/1 var(--sans); color: inherit; background: transparent; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
  .site-home .mast .nav-toggle { border-color: var(--deep-rule-2); color: var(--deep-ink); }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(6, 20, 16, .55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .nav-scrim[hidden] { display: block; }
  /* the drawer: slides in from the right, dark pine, big tappable rows */
  .nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(86vw, 380px); margin: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 14px 18px 28px; background: var(--deep); color: var(--deep-ink); box-shadow: -20px 0 60px rgba(0, 0, 0, .35); transform: translateX(104%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; overflow: auto; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 10px; }
  .nav-head .wordmark { color: var(--deep-ink) !important; }
  .nav-head .mark .mark-bg { fill: #166A4A; }
  .nav-close { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--deep-rule-2); background: transparent; color: var(--deep-ink); cursor: pointer; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { display: block; padding: 14px 12px; font: 400 1.5rem/1.1 var(--serif); color: var(--deep-ink); border-radius: 12px; }
  .nav-list a:hover { background: rgba(238, 243, 239, .07); color: var(--deep-ink); }
  .nav-list a[aria-current="page"] { color: var(--ember-on-deep); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--deep-rule); }
  .nav-cta > * { justify-content: center; text-align: center; }
  .nav-signin { color: var(--deep-ink); border: 1px solid var(--deep-rule-2); padding: 12px 14px; border-radius: 999px; }
  .mast.is-open .nav { transform: none; visibility: visible; transition: transform .42s var(--spring), visibility 0s; }
  .mast.is-open ~ .nav-scrim, .mast.is-open .nav-scrim { opacity: 1; pointer-events: auto; }
  @media (prefers-reduced-motion: no-preference) {
    .nav-list li { opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
    .mast.is-open .nav-list li { opacity: 1; transform: none; }
    .mast.is-open .nav-list li:nth-child(2) { transition-delay: .05s; } .mast.is-open .nav-list li:nth-child(3) { transition-delay: .1s; } .mast.is-open .nav-list li:nth-child(4) { transition-delay: .15s; } .mast.is-open .nav-list li:nth-child(5) { transition-delay: .2s; }
  }
  .no-js .nav, html:not(.js) .nav { position: static; transform: none; visibility: visible; width: auto; flex-direction: row; flex-wrap: wrap; background: transparent; color: inherit; box-shadow: none; padding: 0 0 10px; }
  html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; } html:not(.js) .nav-list a { font: 500 1rem var(--sans); color: inherit; padding: 8px 10px; } html:not(.js) .nav-head, html:not(.js) .nav-toggle { display: none; }
}

/* ---- hero ---------------------------------------------------------------------------------------------- */
.hero { background: var(--deep); color: var(--deep-ink); padding: clamp(44px, 6vw, 92px) 0 clamp(56px, 7vw, 104px); }
.hero-in { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero .display-hero { color: var(--deep-ink); }
@media (min-width: 1000px) { .hero-copy .display-hero { max-width: 12ch; } }
.hero-lede { max-width: 50ch; color: var(--deep-mute); }
.hero-small { color: var(--deep-mute); font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-small span { display: inline-flex; align-items: center; gap: 6px; }
.hero-small .ic { width: 16px; height: 16px; color: var(--mint); }
/* staggered entrance: text first, then the stage */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-up .8s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: 0ms; } .hero-copy > :nth-child(2) { animation-delay: 80ms; } .hero-copy > :nth-child(3) { animation-delay: 160ms; } .hero-copy > :nth-child(4) { animation-delay: 240ms; } .hero-copy > :nth-child(5) { animation-delay: 320ms; }
  .hero-stage { animation: hero-up 1s var(--ease) .25s both; }
  @keyframes hero-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* the product itself, in the DOM */
.hero-stage { display: grid; justify-items: stretch; perspective: 1400px; }
.stmt { background: var(--sheet); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), var(--lift-hi); padding: 0; overflow: hidden; display: grid; font-size: .9375rem; transform: rotateY(-4deg) rotateX(2deg); transform-origin: 70% 50%; transition: transform .8s var(--ease); }
@media (max-width: 999px) { .stmt { transform: none; } }
.hero-stage:hover .stmt { transform: none; }
.stmt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--sheet-2); border-bottom: 1px solid var(--rule); }
.stmt-title { font-weight: 600; font-size: .875rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.stmt-dots { width: 42px; height: 10px; flex: none; background: radial-gradient(circle 4px, var(--rule-strong) 96%, transparent) 0 0 / 14px 10px repeat-x; }
.payout { padding: 16px 18px 6px; display: grid; gap: 10px; }
.payout-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.payout-sum span { color: var(--ink-2); font-size: .875rem; display: inline-flex; align-items: center; gap: 8px; }
.payout-sum b { font: 400 1.75rem/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.payout-split { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; padding-top: 12px; }
.payout-split::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 10px; border: 1px solid var(--rule-strong); border-bottom: 0; border-radius: 10px 10px 0 0; transform-origin: 50% 0; }
.payout-split li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--paper); font-size: .78rem; color: var(--ink-3); }
.payout-split b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; font-size: .875rem; }
.payout-split .neg b { color: var(--bad); }
.payout-split .ok b { color: var(--ok); }
.stmt-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.stmt-table th { text-align: left; font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding: 8px 18px 8px 0; border-bottom: 1px solid var(--rule); }
.stmt-table th:first-child, .stmt-table td:first-child { padding-left: 18px; }
.stmt-table th:last-child, .stmt-table td:last-child { padding-right: 18px; text-align: right; }
.stmt-table td { padding: 11px 18px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; white-space: nowrap; }
.stmt-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.stmt-table .neg { color: var(--ink-3); }
.stmt-table .kept { font-weight: 600; color: var(--ok); }
.stmt-table .loss { color: var(--bad); }
.stmt-table .chip { margin-left: 6px; vertical-align: 1px; }
.stmt-table .sku { color: var(--ink-3); font-size: .8125rem; }
.curve { padding: 12px 18px 16px; display: grid; gap: 6px; background: var(--deep); color: var(--deep-ink); }
.curve-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .8125rem; color: var(--deep-mute); }
.curve-head b { font: 400 1.5rem/1 var(--serif); color: var(--mint); font-variant-numeric: tabular-nums; }
.curve svg { width: 100%; height: auto; aspect-ratio: 320 / 84; display: block; overflow: visible; }
.curve-line { fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.curve-area { fill: url(#curve-fill); opacity: .9; }
.curve-dot { fill: var(--mint); stroke: var(--deep); stroke-width: 2; }
.curve-grid { stroke: rgba(238, 243, 239, .12); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 420px) { .stmt-table .hide-xs, .stmt-dots { display: none; } .payout-split { grid-template-columns: 1fr 1fr; } .payout-split li:last-child { grid-column: span 2; } }
/* the stage comes alive once it is on screen (.is-in from site.js), never before */
@media (prefers-reduced-motion: no-preference) {
  .js .stmt .payout-split li { opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease), transform .5s var(--spring); }
  .js .stmt .payout-split::before { transform: scaleY(0); transition: transform .4s var(--ease) .3s; }
  .js .stmt.is-in .payout-split::before { transform: none; }
  .js .stmt.is-in .payout-split li { opacity: 1; transform: none; }
  .js .stmt.is-in .payout-split li:nth-child(1) { transition-delay: .55s; } .js .stmt.is-in .payout-split li:nth-child(2) { transition-delay: .7s; } .js .stmt.is-in .payout-split li:nth-child(3) { transition-delay: .85s; }
  .js .stmt .stmt-table tbody tr { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .stmt.is-in .stmt-table tbody tr { opacity: 1; transform: none; }
  .js .stmt.is-in .stmt-table tbody tr:nth-child(1) { transition-delay: .9s; } .js .stmt.is-in .stmt-table tbody tr:nth-child(2) { transition-delay: 1s; } .js .stmt.is-in .stmt-table tbody tr:nth-child(3) { transition-delay: 1.1s; } .js .stmt.is-in .stmt-table tbody tr:nth-child(4) { transition-delay: 1.2s; }
  .js .stmt .curve-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .stmt.is-in .curve-line { animation: draw 1.8s var(--ease) 1.1s forwards; }
  .js .stmt .curve-area, .js .stmt .curve-dot { opacity: 0; transition: opacity .8s var(--ease) 2.4s; }
  .js .stmt.is-in .curve-area { opacity: .9; } .js .stmt.is-in .curve-dot { opacity: 1; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---- logo marquee ---------------------------------------------------------------------------------------- */
.marquee-band { padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.marquee-in { display: grid; gap: 14px; align-items: center; }
@media (min-width: 900px) { .marquee-in { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; } }
.marquee-k { font-size: .875rem; color: var(--ink-3); text-wrap: pretty; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; }
.marquee-track > ul { list-style: none; display: flex; gap: 48px; flex: none; }
.lm { display: inline-flex; align-items: center; gap: 10px; font: 600 1.125rem/1 var(--sans); letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; opacity: .85; transition: opacity .2s, color .2s; }
.lm:hover { opacity: 1; color: var(--ink); }
.lm i { font: italic 500 1.1rem/1 var(--serif); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--deep); color: var(--mint); }
.lm.lm-stripe i { background: var(--green); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 32s linear infinite; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
}

/* ---- real profit calculator ------------------------------------------------------------------------------ */
.calc-band { background: var(--paper); }
.pcalc { display: grid; gap: 28px; }
@media (min-width: 960px) { .pcalc { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 48px; align-items: start; } }
.pcalc-in { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .pcalc-in { grid-template-columns: 1fr; } }
.pcalc-in label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.pcalc-in .full { grid-column: 1 / -1; }
.pcalc-in input, .pcalc-in select { width: 100%; font: 500 1.0625rem/1.2 var(--sans); padding: 11px 12px; border-radius: 10px; border: 1px solid var(--rule-strong); background: var(--sheet); color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.pcalc-in input:focus-visible, .pcalc-in select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); }
.pcalc-in .with-sym { position: relative; }
.pcalc-in .with-sym input { padding-left: 30px; }
.pcalc-in .with-sym > i, .pcalc-in .with-sym > b { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); pointer-events: none; }
.pcalc-in .with-sym > b { left: auto; right: 12px; font-weight: 500; }
.pcalc-in .with-sym.pct input { padding-left: 12px; padding-right: 34px; }
.pcalc-help { grid-column: 1 / -1; font-size: .875rem; color: var(--ink-3); max-width: 60ch; }
.pcalc-out { background: var(--deep); color: var(--deep-ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; align-content: start; box-shadow: var(--lift-hi); position: relative; overflow: hidden; isolation: isolate; }
.pcalc-out > * { position: relative; z-index: 1; }
.pcalc-k { font-size: .875rem; color: var(--deep-mute); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pcalc-kept { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pcalc-kept b { font: 400 clamp(3rem, 2.2rem + 3vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; color: var(--mint); font-variant-numeric: tabular-nums; transition: color .3s; }
.pcalc-out.is-loss .pcalc-kept b { color: #FF8E8E; }
.pcalc-kept span { font-size: 1.0625rem; color: var(--deep-mute); }
.pcalc-bar { display: block; width: 100%; height: 14px; }
.pcalc-bar rect { transition: width .5s var(--ease), x .5s var(--ease); }
.pcalc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--deep-mute); }
.pcalc-legend li { display: inline-flex; align-items: center; gap: 6px; }
.pcalc-legend i { width: 9px; height: 9px; border-radius: 2px; }
.pc-vat { fill: #5C6B64; background: #5C6B64; } .pc-fee { fill: #2E9B6E; background: #2E9B6E; } .pc-ship { fill: #5FBF93; background: #5FBF93; } .pc-ads { fill: #9FD9BC; background: #9FD9BC; } .pc-cog { fill: #CFE2D7; background: #CFE2D7; } .pc-kept { fill: #F25A2B; background: #F25A2B; } .pc-loss { fill: #FF8E8E; background: #FF8E8E; }
.pcalc-line { font: italic 400 1.2rem/1.35 var(--serif); color: var(--deep-ink); text-wrap: pretty; }
.pcalc-line b { font-style: normal; font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.pcalc-line .gap { color: var(--ember-on-deep); }
.pcalc-foot { font-size: .8125rem; color: var(--deep-mute); }
.pcalc-foot a { color: var(--mint); }
.pcalc-out::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow-a), transparent 65%); filter: blur(30px); z-index: 0; pointer-events: none; }

/* ---- bento ----------------------------------------------------------------------------------------------- */
.bento { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); } .tile-xl { grid-column: span 2; grid-row: span 2; } .tile-w { grid-column: span 2; } }
.tile { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: rgba(238, 243, 239, .045); border: 1px solid rgba(238, 243, 239, .1); color: var(--deep-ink); overflow: hidden; isolation: isolate; transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); background: radial-gradient(260px circle at var(--mx) var(--my), rgba(127, 224, 176, .16), transparent 62%); }
.tile > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-3px); border-color: rgba(127, 224, 176, .35); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); }
  .tile:hover::after { opacity: 1; }
}
.tile h3 { font: 400 clamp(1.35rem, 1.2rem + .6vw, 1.7rem)/1.15 var(--serif); color: var(--deep-ink); letter-spacing: -.01em; }
.tile-xl h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
.tile-xl p { max-width: 54ch; font-size: 1rem; }
.tile-xl .tile-fig { font-size: .9375rem; gap: 2px; padding: 16px 18px; }
.tile-xl .tile-fig div { padding: 6px 0; }
.tile p { color: var(--deep-mute); font-size: .9375rem; max-width: 46ch; }
.tile .status { margin-top: auto; }
.tile-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(127, 224, 176, .12); color: var(--mint); margin-bottom: 4px; }
.tile-ic .ic { width: 22px; height: 22px; }
.tile-fig { margin-top: 6px; border-radius: 12px; background: rgba(6, 20, 16, .55); border: 1px solid rgba(238, 243, 239, .08); padding: 14px 16px; display: grid; gap: 6px; font-size: .875rem; }
.tile-fig div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: var(--deep-mute); padding: 4px 0; border-bottom: 1px dotted var(--deep-rule-2); }
.tile-fig div:last-child { border-bottom: 0; }
.tile-fig b { color: var(--deep-ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.tile-fig .mint { color: var(--mint); font: 400 1.4rem/1 var(--serif); }
.tile-fig .red { color: #FF8E8E; }
.tile-line { display: flex; align-items: baseline; gap: 8px; font-size: .875rem; color: var(--deep-mute); }
.tile-line span { white-space: nowrap; }
.tile-line i { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--deep-rule-2); transform: translateY(-4px); }
.tile-line b { color: var(--deep-ink); font-variant-numeric: tabular-nums; text-align: right; }

/* ---- the problem --------------------------------------------------------------------------------------- */
.pains { display: grid; gap: 36px 56px; }
@media (min-width: 760px) { .pains { grid-template-columns: 1fr 1fr; } }
.pain { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1.5px solid var(--ink); max-width: 56ch; }
.pain h3 { font: 400 1.6rem/1.15 var(--serif); }
.pain p { color: var(--ink-2); }
.fn { display: inline-block; min-width: 1.35em; margin-left: 2px; padding: 0 .3em; font: 600 .72rem/1.5 var(--sans); text-align: center; vertical-align: super; text-decoration: none !important; border-radius: 4px; background: var(--green-soft); color: var(--green-soft-ink) !important; }
.sources { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }
.sources summary { cursor: pointer; font-weight: 600; color: var(--ink); width: max-content; max-width: 100%; }
.sources ol { margin-top: 14px; padding-left: 1.5em; display: grid; gap: 8px; }
.sources li { padding-left: 4px; }
.sources li:target { background: var(--ember-soft); border-radius: 4px; }

/* ---- how it works -------------------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; position: relative; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
@media (hover: hover) and (pointer: fine) { .steps li:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--rule-strong); } }
.steps li::before { content: counter(step, decimal-leading-zero); font: 400 1rem/1 var(--mono); color: var(--ember-text); margin-bottom: 10px; letter-spacing: .04em; }
.steps h3 { font: 400 1.5rem/1.15 var(--serif); }
.steps li p { color: var(--ink-2); max-width: 40ch; }

/* ---- tour ---------------------------------------------------------------------------------------------- */
.tour:focus { outline: none; }
.tour-box { display: grid; gap: 32px; }
@media (min-width: 1000px) { .tour-box { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; } .tour-nav { grid-column: 2; } }
.tour-steps { list-style: none; display: grid; gap: 2px; align-content: start; }
@media (min-width: 1000px) { .tour-steps { position: sticky; top: 96px; } }
.tour-tab { display: flex; gap: 14px; align-items: baseline; padding: 11px 14px; border-radius: 12px; color: var(--deep-mute) !important; text-decoration: none !important; font-weight: 500; border-left: 3px solid transparent; transition: background-color .15s, color .15s; }
.tour-tab:hover { background: rgba(238, 243, 239, .06); color: var(--deep-ink) !important; }
.tour-tab[aria-selected="true"] { background: rgba(238, 243, 239, .08); color: var(--deep-ink) !important; border-left-color: var(--ember-on-deep); border-radius: 0 12px 12px 0; }
.tour-n { font: 400 1.35rem/1 var(--serif); color: var(--mint); min-width: 1ch; }
.tour-panels { display: grid; gap: 72px; }
.js .tour-panels { gap: 0; }
.tour-panel { display: grid; gap: 24px; scroll-margin-top: 90px; }
.tour-panel[hidden] { display: none; }
.tour-copy { display: grid; gap: 8px; max-width: 60ch; }
.tour-copy h3 { font: 400 clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem)/1.1 var(--serif); }
.tour-copy p { color: var(--deep-mute); }
.tour-count { font-size: .875rem; color: var(--mint) !important; font-weight: 600; }
.tour-nav { display: flex; gap: 10px; justify-content: flex-end; }
.tour-nav[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .js .tour-panel:not([hidden]) .screen { animation: rise .4s var(--ease) both; } @keyframes rise { from { opacity: .3; transform: translateY(10px); } to { opacity: 1; transform: none; } } }

/* ---- product screens (HTML illustrations of real screens) ---------------------------------------------- */
.screen { container-type: inline-size; background: var(--sheet); color: var(--ink); border-radius: var(--r); box-shadow: var(--lift-hi); border: 1px solid var(--rule); overflow: hidden; font-size: .9375rem; line-height: 1.45; text-align: left; }
:where(.band-deep, .band-field) .screen { border-color: rgba(238, 243, 239, .1); }
.scr-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; background: var(--sheet-2); border-bottom: 1px solid var(--rule); }
.scr-dots { width: 50px; height: 10px; flex: none; background: radial-gradient(circle 5px, var(--rule-strong) 96%, transparent) 0 0 / 18px 10px repeat-x; }
.scr-title { font-weight: 600; font-size: .875rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-body { padding: 20px; display: grid; gap: 14px; }
.scr-hello { font: 400 1.5rem/1.15 var(--serif); }
.scr-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scr-kpis div { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--rule); border-radius: 10px; }
.scr-kpis span { font-size: .78rem; color: var(--ink-3); }
.scr-kpis b { font: 400 1.5rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.scr-kpis i { font-style: normal; font-size: .75rem; color: var(--ink-3); }
.scr-kpis i.up { color: var(--ok); }
.scr-h { font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.scr-list { list-style: none; display: grid; border: 1px solid var(--rule); border-radius: 10px; }
.scr-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.scr-list li + li { border-top: 1px solid var(--rule); }
.scr-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.scr-list em { font-style: normal; font-weight: 600; font-size: .8125rem; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); flex: none; }
.dot-bad { background: var(--bad); } .dot-warn { background: var(--ember); }
.scr-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.scr-tabs span { font-size: .8125rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--ink-2); }
.scr-tabs .on { background: var(--ink); color: var(--paper); }
.scr-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.scr-table th { text-align: left; font-weight: 600; font-size: .78rem; color: var(--ink-3); padding: 0 8px 8px 0; border-bottom: 1px solid var(--rule); }
.scr-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.scr-table tr:last-child td { border-bottom: 0; }
.scr-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.scr-note { font-size: .8125rem; color: var(--ink-3); }
.scr-ledger { display: grid; }
.scr-ledger div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--rule-strong); }
.scr-ledger dt { color: var(--ink-2); } .scr-ledger dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.scr-ledger .sub dt, .scr-ledger .sub dd { color: var(--ink); font-weight: 600; }
.scr-ledger .tot { border-bottom: 0; border-top: 1.5px solid var(--ink); margin-top: 4px; padding-top: 10px; }
.scr-ledger .tot dt { color: var(--ink); font-weight: 600; } .scr-ledger .tot dd { font: 400 1.5rem/1 var(--serif); }
.scr-match { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 10px; background: var(--ok-bg); }
.scr-match div { display: grid; } .scr-match span { font-size: .78rem; color: var(--ink-2); } .scr-match b { font-variant-numeric: tabular-nums; }
.scr-match .pill-ok { background: var(--sheet); }
.wf { display: grid; gap: 8px; }
.wf-row { display: grid; grid-template-columns: 112px 1fr 64px; align-items: center; gap: 10px; font-size: .875rem; }
.wf-row b { text-align: right; font-variant-numeric: tabular-nums; }
.wf-row > span:first-child { color: var(--ink-2); }
.wf-track { position: relative; height: 16px; }
.wf-bar { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.wf-sale { left: 0; width: 100%; background: var(--ink); opacity: .85; }
.wf-cut { background: var(--seg-fee); }
.wf-vat { left: 83.3%; width: 16.7%; background: var(--seg-vat); } .wf-fee { left: 70.8%; width: 12.5%; } .wf-ful { left: 57.9%; width: 12.9%; background: var(--seg-ful); }
.wf-ads { left: 50.7%; width: 7.2%; background: var(--seg-ads); } .wf-cog { left: 26.3%; width: 24.4%; background: var(--seg-cog); } .wf-kept { left: 0; width: 26.3%; background: var(--ember); }
.wf-total { padding-top: 8px; border-top: 1px solid var(--rule); font-weight: 600; }
.wf-total > span:first-child { color: var(--ink); }
.days { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--paper-2); vertical-align: middle; margin-right: 6px; position: relative; overflow: hidden; }
.days i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; }
.d-9 { width: 20%; background: var(--bad); } .d-16 { width: 36%; background: var(--ember); } .d-41 { width: 90%; background: var(--ok); }
.scr-btns { display: flex; gap: 8px; }
.sbtn { font-weight: 600; font-size: .8125rem; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--rule-strong); color: var(--ink-2); }
.sbtn-primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.scr-split { grid-template-columns: 1fr; }
@container (min-width: 520px) { .scr-split { grid-template-columns: 1fr 1fr; } }
.scr-tasks { list-style: none; display: grid; gap: 2px; align-content: start; }
.scr-tasks li { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--rule); }
.scr-tasks li > span:nth-child(2) { flex: 1; }
.scr-tasks em { font-style: normal; font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.tick { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--rule-strong); flex: none; }
.tick.done { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px var(--sheet); }
.scr-chat { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 10px; background: var(--sheet-2); }
.bubble { padding: 9px 11px; border-radius: 10px 10px 10px 3px; background: var(--sheet); font-size: .875rem; box-shadow: 0 1px 0 var(--rule); }
.bubble b { display: block; font-size: .75rem; color: var(--ink-3); }
.bubble.me { background: var(--green-soft); border-radius: 10px 10px 3px 10px; margin-left: 18px; }
.scr-big { font: 400 2rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.scr-why { padding-left: 1.1em; display: grid; gap: 4px; color: var(--ink-2); font-size: .875rem; }
@container (max-width: 440px) {
  .scr-body { padding: 14px; }
  .scr-kpis { grid-template-columns: 1fr 1fr; } .scr-kpis div:last-child { display: none; }
  .scr-table .hide-s { display: none; }
  .wf-row { grid-template-columns: 88px 1fr 52px; font-size: .8125rem; }
  .scr-hello { font-size: 1.25rem; }
}

/* ---- trust strip --------------------------------------------------------------------------------------- */
.trust-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .trust-in { grid-template-columns: 340px 1fr; gap: 72px; } }
.trust-head { display: grid; gap: 16px; align-content: start; justify-items: start; }
.trust-head p { color: var(--ink-2); }
.trust-list { list-style: none; display: grid; gap: 0 40px; }
@media (min-width: 640px) { .trust-list { grid-template-columns: 1fr 1fr; } }
.trust-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.trust-list .ic { color: var(--green); margin-top: 3px; width: 22px; height: 22px; }
.trust-list b { color: var(--ink); }

/* ---- prices -------------------------------------------------------------------------------------------- */
.switches { display: flex; flex-wrap: wrap; gap: 10px; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--rule); isolation: isolate; }
.seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 2)); border-radius: 999px; background: var(--sheet); box-shadow: 0 1px 2px rgba(16, 32, 26, .14), 0 0 0 1px var(--rule); z-index: 0; transition: transform .35s var(--spring); transform: translateX(calc(100% * var(--i, 0))); }
.seg[data-n="3"] { --n: 3; } .seg[data-i="1"] { --i: 1; } .seg[data-i="2"] { --i: 2; }
.seg a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current="true"] { color: var(--ink); }
.seg-note { font-size: .75rem; font-weight: 600; color: var(--ok); }
.price { display: grid; gap: 4px; }
.price-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font: 400 clamp(2.4rem, 2rem + 1.2vw, 3rem)/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price .per { color: var(--ink-2); font-size: .9375rem; }
.price-note { font-size: .875rem; color: var(--ink-3); }
.teaser-row { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .teaser-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .teaser-row { grid-template-columns: repeat(4, 1fr); } }
.teaser { display: grid; gap: 14px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
@media (hover: hover) and (pointer: fine) { .teaser:hover { transform: translateY(-3px); box-shadow: var(--lift); } }
.teaser h3 { font: 600 1.125rem/1.2 var(--sans); }
.teaser-tag { color: var(--ink-2); font-size: .9375rem; }
.teaser.is-hl { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.teaser.is-hl :is(h3, .amt) { color: var(--deep-ink); } .teaser.is-hl :is(.per, .teaser-tag) { color: var(--deep-mute); } .teaser.is-hl .price-note { color: var(--deep-mute); }
.teaser-more { margin-top: 28px; }

/* ---- founder ------------------------------------------------------------------------------------------- */
.founder-in { display: grid; gap: 22px; max-width: 900px; }
.founder-quote p { font: italic 400 clamp(1.65rem, 1.25rem + 1.7vw, 2.6rem)/1.22 var(--serif); letter-spacing: -.005em; text-wrap: pretty; }
.founder-quote p::before { content: "\201C"; color: var(--ember); margin-right: .06em; }
.founder-quote p::after { content: "\201D"; color: var(--ember); margin-left: .04em; }
.founder-sig { font-weight: 600; }
.founder-note { color: var(--ink-3); font-size: .9375rem; }
.founding { display: grid; gap: 12px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); max-width: 560px; }
.founding h3 { font: 400 1.5rem/1.15 var(--serif); }
.founding p { color: var(--ink-2); font-size: .9375rem; }
.founder-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .founder-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; } }

/* ---- closing CTA --------------------------------------------------------------------------------------- */
.cta-band { padding: 0 0 var(--band); background: var(--paper); }
.cta-card { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--r-lg) + 6px); background: var(--deep); color: var(--deep-ink); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); box-shadow: var(--lift-hi); }
.cta-in { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 1; }
.cta-in .display-2 { max-width: 16ch; color: var(--deep-ink); }
.cta-in .lede { color: var(--deep-mute); }

/* ---- footer -------------------------------------------------------------------------------------------- */
.foot { background: var(--deep); color: var(--deep-mute); padding: 64px 0 40px; font-size: .9375rem; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; } }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; max-width: 36ch; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; } }
.foot-brand p { color: var(--deep-mute); }
.foot-col h2 { font: 600 .9375rem/1.3 var(--sans); margin-bottom: 12px; color: var(--deep-ink); }
.foot-col ul { list-style: none; display: grid; gap: 4px; }
.foot-col a { color: var(--deep-mute); text-decoration: none; display: inline-block; padding: 3px 0; background: linear-gradient(var(--mint), var(--mint)) no-repeat 0 100% / 0 1px; transition: background-size .3s var(--ease), color .15s; }
.foot-col a:hover { color: var(--deep-ink); background-size: 100% 1px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--deep-rule); display: grid; gap: 14px; color: var(--deep-mute); font-size: .875rem; }
.foot-line { max-width: 90ch; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.foot-meta a { color: var(--deep-mute); }
.theme-set { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--deep-rule-2); margin-left: auto; }
.theme-set button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border-radius: 999px; border: 0; background: transparent; color: var(--deep-mute); cursor: pointer; transition: background-color .15s, color .15s; }
.theme-set button:hover { color: var(--deep-ink); }
.theme-set button[aria-pressed="true"] { background: rgba(238, 243, 239, .12); color: var(--deep-ink); }
.theme-set .ic { width: 16px; height: 16px; }
.theme-set[hidden] { display: none; }

/* ---- inner pages --------------------------------------------------------------------------------------- */
.pagehead { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; right: -10%; top: -40%; width: 46vw; max-width: 700px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--green) 14%, transparent), transparent 65%); filter: blur(40px); pointer-events: none; }
.pagehead .wrap { display: grid; gap: 22px; justify-items: start; position: relative; }
.pagehead .display-1 { max-width: 18ch; }
@media (prefers-reduced-motion: no-preference) {
  .pagehead .wrap > * { animation: hero-up .7s var(--ease) both; }
  .pagehead .wrap > :nth-child(2) { animation-delay: 80ms; } .pagehead .wrap > :nth-child(3) { animation-delay: 160ms; } .pagehead .wrap > :nth-child(4) { animation-delay: 240ms; }
}
.crumb { font-size: .9375rem; font-weight: 600; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a::before { content: "\2039"; margin-right: 6px; }
.crumb a:hover { color: var(--ink); }
.prose { max-width: 70ch; display: grid; gap: 16px; color: var(--ink-2); }
.prose > * { min-width: 0; overflow-wrap: break-word; }
.changelog-body li, .changelog-body p { overflow-wrap: anywhere; }
.prose h2 { font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.15 var(--serif); color: var(--ink); margin-top: 28px; }
.prose h3 { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.prose code { font-size: .9em; font-family: var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.note-box { padding: 18px 20px; border-radius: var(--r); background: var(--sheet); border: 1px solid var(--rule); color: var(--ink-2); }
.note-box b { color: var(--ink); }
.grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .split.rev > :first-child { order: 2; } }

/* plain data tables (limits, comparison, sub-processors) */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1.5px solid var(--ink); }
.dtable { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.dtable caption { text-align: left; font-size: .875rem; color: var(--ink-3); padding: 10px 0; caption-side: bottom; }
.dtable th, .dtable td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.dtable thead th { font-weight: 600; color: var(--ink); vertical-align: bottom; }
.dtable tbody th { font-weight: 500; color: var(--ink); }
.dtable td { color: var(--ink-2); }
.dtable .num, .dtable .c { text-align: center; font-variant-numeric: tabular-nums; }
.dtable .grp th { padding-top: 26px; font: 400 1.35rem/1.2 var(--serif); color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.dtable .hl { background: color-mix(in srgb, var(--green) 8%, transparent); }
.yes, .no, .part { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 600; font-size: .875rem; }
.yes { color: var(--ok); } .no { color: var(--ink-3); font-weight: 400; } .part { color: var(--warn); }
.yes .ic { width: 18px; height: 18px; stroke-width: 2.2; }

/* FAQ */
.faq { display: grid; border-top: 1.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 1.125rem/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--serif); color: var(--green); transition: transform .25s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; display: grid; gap: 10px; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .faq-a { animation: rv-in .35s var(--ease) both; } }

/* status list (integrations, roadmap) */
.tag { display: inline-block; font: 600 .78rem/1 var(--sans); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.tag-available { background: var(--ok-bg); color: var(--ok); }
.tag-beta { background: var(--green-soft); color: var(--green-soft-ink); }
.tag-planned { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-strong); }

/* 404 */
.lost { padding: clamp(64px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.lost .wrap { display: grid; gap: 22px; justify-items: start; position: relative; }
.lost-code { font: 400 clamp(6rem, 18vw, 14rem)/1 var(--serif); color: var(--rule); position: absolute; right: var(--gutter); bottom: -.25em; top: auto; letter-spacing: -.04em; pointer-events: none; user-select: none; z-index: 0; }
.lost .display-1 { max-width: 14ch; position: relative; z-index: 1; }

/* ---- print --------------------------------------------------------------------------------------------- */
@media print {
  .mast, .foot, .cta-band, .skip, .switches, .tour-nav, .nav-scrim, .aurora-bg, .grain { display: none !important; }
  body.site { background: #fff; color: #000; }
  .band-deep, .band-field, .hero { background: #fff; color: #000; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .aurora-bg .au { filter: blur(60px); } }

/* ---- pricing ------------------------------------------------------------------------------------------- */
.pricing-head { padding-bottom: 40px; }
.plans-sec { padding-bottom: var(--band); }
.plan-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .plan-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.plan { position: relative; display: grid; gap: 18px; align-content: start; padding: 26px 22px 28px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--sheet); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-3px); box-shadow: var(--lift); } }
.plan.is-hl { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); box-shadow: var(--lift-hi); }
.plan.is-hl :is(h2, .amt) { color: var(--deep-ink); }
.plan.is-hl :is(.plan-tag, .per, .price-note, .plan-limits dt, .plan-feats) { color: var(--deep-mute); }
.plan.is-hl .plan-limits { border-top-color: var(--deep-rule-2); } .plan.is-hl .plan-limits div { border-bottom-color: var(--deep-rule-2); } .plan.is-hl .plan-limits dd { color: var(--deep-ink); }
.plan.is-hl .plan-feats .ic { color: var(--mint); }
.plan.is-hl .btn-quiet { color: var(--deep-ink) !important; border-color: var(--deep-rule-2); }
@media (min-width: 1180px) { .plan.is-hl { margin-top: -14px; padding-top: 40px; padding-bottom: 42px; } }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan-name { font: 400 2rem/1 var(--serif) !important; }
.plan-flag { position: absolute; top: -13px; right: 18px; font-size: .8125rem; font-weight: 600; color: var(--ember-ink); background: var(--ember); padding: 5px 10px; border-radius: 999px; box-shadow: 0 0 0 3px var(--paper); }
.plan-tag { color: var(--ink-2); font-size: .9375rem; min-height: 4.5em; }
.plan-btn { width: 100%; }
.plan-limits { display: grid; border-top: 1px solid var(--rule); }
.plan-limits div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--rule-strong); font-size: .9375rem; }
.plan-limits dt { color: var(--ink-2); } .plan-limits dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-feats { list-style: none; display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.plan-feats li { display: flex; gap: 8px; align-items: flex-start; }
.plan-feats .ic { color: var(--ok); margin-top: 3px; stroke-width: 2.2; }
.plan-small { margin-top: 28px; color: var(--ink-3); font-size: .9375rem; max-width: 90ch; }
.pricing-head .switches { margin-top: 8px; }
.matrix th[scope="row"] { font-weight: 400; color: var(--ink-2); }
.matrix .c { width: 14%; }
.faq-sec .wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .faq-sec .wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } .facts { position: sticky; top: 96px; } }
.facts { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--deep); color: var(--deep-ink); box-shadow: var(--lift); }
.facts h3 { font: 400 1.5rem/1.15 var(--serif); color: var(--deep-ink); }
.facts ul { list-style: none; display: grid; gap: 10px; color: var(--deep-mute); font-size: .9375rem; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .ic { color: var(--mint); margin-top: 3px; stroke-width: 2.2; width: 18px; height: 18px; }
.facts b { color: var(--deep-ink); }
/* Phones: the plan tables fit the screen (all four plans visible, no sideways scroll) */
@media (max-width: 640px) {
  .dtable.fit-s { min-width: 0; font-size: .875rem; table-layout: fixed; }
  .dtable.fit-s th, .dtable.fit-s td { padding: 11px 4px 11px 0; overflow-wrap: anywhere; }
  .dtable.fit-s thead th.c { font-size: .75rem; }
  .dtable.fit-s .c { width: 15.5%; font-size: .8rem; }
  .dtable.fit-s .num { font-size: .78rem; overflow-wrap: normal; }
  .dtable.fit-s:not(.matrix) .c { width: 18.5%; }
  .dtable.fit-s .grp th { font-size: 1.15rem; }
  .dtable.fit-s .tag-planned { font-size: .62rem; padding: 4px 5px; letter-spacing: -.01em; }
}

.calc-wrap { display: grid; gap: 28px; }
.calc { display: grid; gap: 32px; }
.calc[hidden], .calc-fallback[hidden] { display: none; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; } }
.calc-tools { border: 0; margin: 0; padding: 0; display: grid; border-top: 1.5px solid var(--ink); min-width: 0; }
.calc-row { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .calc-row { grid-template-columns: auto 1fr auto; } }
.calc-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--green); margin: 0; }
.calc-row label { display: grid; gap: 2px; cursor: pointer; }
.calc-row label span { font-size: .875rem; color: var(--ink-3); }
.calc-row.is-off label b { color: var(--ink-3); font-weight: 500; }
.calc-amt { grid-column: 2; display: flex; align-items: center; gap: 6px; }
@media (min-width: 640px) { .calc-amt { grid-column: auto; } }
.calc-sym { color: var(--ink-3); font-weight: 600; }
.calc-amt input { width: 92px; font: 500 1rem/1.2 var(--sans); padding: 9px 10px; border-radius: 8px; border: 1px solid var(--rule-strong); background: var(--sheet); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-amt input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.calc-conv { font-size: .8125rem; color: var(--ink-3); min-width: 56px; }
.calc-row.is-off .calc-amt { opacity: .55; }
.calc-sum { background: var(--sheet); padding: 24px 24px 30px; border-radius: var(--r-lg); box-shadow: var(--lift); border: 1px solid var(--rule); display: grid; gap: 12px; }
@media (min-width: 1000px) { .calc-sum { position: sticky; top: 96px; } }
.slip-lines { display: grid; }
.sl { display: flex; align-items: baseline; gap: 0; padding: 7px 0; font-size: 1rem; }
.sl dt { color: var(--ink-2); }
.sl dd { margin: 0; order: 2; font-variant-numeric: tabular-nums; font-weight: 600; }
.sl::after { content: ""; order: 1; flex: 1; min-width: 16px; margin: 0 8px; border-bottom: 2px dotted var(--rule-strong); transform: translateY(-4px); }
.sl-kept { margin-top: 8px; padding-top: 14px; border-top: 1.5px solid var(--ink); align-items: center; }
.sl-kept dt { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
.sl-kept::after { border-bottom-color: transparent; }
.sl-kept dd { font: 400 2.4rem/1 var(--serif); color: var(--green); }
.calc-lines .sl dt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.calc-lines select { font: 500 .9375rem/1.2 var(--sans); padding: 6px 8px; border-radius: 7px; border: 1px solid var(--rule-strong); background: var(--sheet); color: var(--ink); }
.calc-year { color: var(--ink-2); font-weight: 600; }
.calc.is-negative .sl-kept dd { color: var(--bad); }
.calc-note { display: grid; gap: 8px; font-size: .875rem; color: var(--ink-3); max-width: 90ch; }
.calc-note b { color: var(--ink-2); }
.calc-fallback { padding: 20px; background: var(--sheet); border-radius: var(--r); color: var(--ink-2); }

/* ---- features ------------------------------------------------------------------------------------------ */
.feat-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.feat-shot { padding-bottom: 8px; }
.feat-shot-in { display: grid; gap: 24px; }
.feat-shot-in > .screen { max-width: 820px; }
@media (min-width: 1000px) { .feat-shot-in.two { grid-template-columns: 1fr 1fr; align-items: start; } .feat-shot-in.two > .screen:last-child { margin-top: 56px; } }
.points { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li { display: grid; gap: 8px; align-content: start; padding: 22px 22px 24px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
@media (hover: hover) and (pointer: fine) { .points li:hover { transform: translateY(-3px); box-shadow: var(--lift); } }
.points h3 { font: 400 1.4rem/1.15 var(--serif); }
.points p { color: var(--ink-2); font-size: .9375rem; }
.honest { margin-top: 32px; max-width: 80ch; border-left: 4px solid var(--ember); border-radius: 0 var(--r) var(--r) 0; }
.more-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.more-list a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink); font-weight: 500; background: var(--sheet); transition: border-color .15s, transform .2s var(--spring); }
.more-list a:hover { border-color: var(--ink); transform: translateY(-2px); }
.feat-index { padding-top: 0; }
.feat-index.band { border-top: 0; }
.feat-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } .feat-grid .feat-card:first-child { grid-column: span 2; } }
.feat-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); overflow: hidden; isolation: isolate; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.feat-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--green) 12%, transparent), transparent 62%); }
.feat-card > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .feat-card:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--rule-strong); } .feat-card:hover::after { opacity: 1; } }
.feat-card h2 { font: 400 clamp(1.5rem, 1.3rem + .8vw, 2rem)/1.12 var(--serif); padding-right: 36px; }
.feat-card h2 a { color: var(--ink); text-decoration: none; }
.feat-card h2 a::after { content: ""; position: absolute; inset: 0; }
.feat-card p { color: var(--ink-2); font-size: .9375rem; max-width: 64ch; }
.feat-card-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-3); font-size: .875rem; font-weight: 500; margin-top: auto; }
.feat-card .ic.go { position: absolute; right: 22px; top: 26px; color: var(--green); transition: transform .3s var(--spring); }
.feat-card:hover .ic.go { transform: translateX(4px); }
.feat-list { list-style: none; display: grid; border-top: 1.5px solid var(--ink); }
.feat-item { display: grid; gap: 12px 48px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.feat-item h2 { font: 400 clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem)/1.12 var(--serif); }

/* ---- integrations, compare, security, contact, changelog, roadmap -------------------------------------- */
.integ { padding: clamp(40px, 6vw, 72px) 0; }
.integ .display-3 { margin-bottom: 24px; }
.integ-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 900px) { .integ-list { grid-template-columns: 1fr 1fr; } }
.integ-item { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; align-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
@media (hover: hover) and (pointer: fine) { .integ-item:hover { transform: translateY(-2px); box-shadow: var(--lift); } }
.integ-item .tag { grid-column: 2; justify-self: start; }
@media (min-width: 560px) { .integ-item { grid-template-columns: 44px 1fr auto; } .integ-item .tag { grid-column: auto; } }
.integ-mono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--deep); font: italic 400 1.5rem/1 var(--serif); color: var(--mint); }
.integ-item p { color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }
.small-print { font-size: .875rem; color: var(--ink-3); }
.checked { font-size: .9375rem; color: var(--ink-3); max-width: 70ch; padding-left: 14px; border-left: 3px solid var(--ember); }
.cmp-sec { padding-bottom: var(--band); }
.cmp-wrap:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.cmp { min-width: 1080px; font-size: .9rem; }
.cmp thead th { font: 400 1.3rem/1.15 var(--serif); }
.cmp th[scope="row"] { position: sticky; left: 0; background: var(--paper); z-index: 1; width: 190px; padding-right: 18px; }
.cmp thead th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 2; }
.cmp td.hl, .cmp th.hl { background: var(--sheet); color: var(--ink); }
.cmp th.hl { box-shadow: inset 0 3px 0 var(--ember); }
.cmp-scroll-hint { font-size: .8125rem; color: var(--ink-3); margin-top: 10px; }
@media (min-width: 1180px) { .cmp-scroll-hint { display: none; } }
@media (max-width: 640px) {
  .cmp { min-width: 860px; }
  .cmp th[scope="row"] { width: 124px; padding-right: 10px; font-size: .84rem; box-shadow: 1px 0 0 var(--rule); }
  .cmp thead th { font-size: 1.1rem; }
}
.sec-grid { margin-top: 0; }
.sec-facts { padding-bottom: 32px; }
.sec-facts.band { padding-top: 0; border-top: 0; }
@media (min-width: 1000px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-detail .prose h2:first-child { margin-top: 0; }
.kv { display: grid; border-top: 1px solid var(--rule); }
.kv div { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; color: var(--ink); white-space: pre-line; }
.contact-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 800px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-list li { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); }
.contact-list h2 { font: 400 1.9rem/1.1 var(--serif); }
.contact-list p { color: var(--ink-2); max-width: 52ch; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; justify-self: start; word-break: break-all; }
.contact.band { padding-top: 0; border-top: 0; }
.changelog.band { padding-top: 0; border-top: 0; }
.changelog-body { max-width: 78ch; gap: 12px; }
.changelog-body h3 { font: 400 2rem/1.1 var(--serif); margin-top: 40px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.changelog-body h3:first-child { margin-top: 0; }
.changelog-body ul { gap: 10px; }
.roadmap.band { padding-top: 0; border-top: 0; }
.phases { list-style: none; display: grid; position: relative; }
.phase { display: grid; gap: 18px 48px; padding: 32px 0 36px; border-top: 1.5px solid var(--ink); }
@media (min-width: 900px) { .phase { grid-template-columns: 300px 1fr; } }
.phase-when { display: grid; gap: 6px; align-content: start; }
.phase-tag { font-weight: 600; color: var(--green); }
.phase-when h2 { font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.3rem)/1.1 var(--serif); }
.phase-window { color: var(--ink-3); }
.phase-items { list-style: none; display: grid; }
.phase-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dotted var(--rule-strong); color: var(--ink-2); }
.phase:first-child .phase-tag::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 0 4px var(--ember-soft); vertical-align: 1px; }

/* ---- legal --------------------------------------------------------------------------------------------- */
.legal-updated { font-weight: 600; color: var(--ink-2); }
.legal-body { display: grid; gap: 40px; padding-bottom: var(--band); }
@media (min-width: 1000px) { .legal-body { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; } .legal-body.legal-solo { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.legal-toc { border-top: 1.5px solid var(--ink); padding-top: 14px; font-size: .9375rem; }
.legal-toc-h { font-weight: 600; margin-bottom: 8px !important; }
.legal-toc ol { padding-left: 2.1em; display: grid; gap: 4px; color: var(--ink-3); }
.legal-toc a { color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-text { max-width: 74ch; }
.legal-text h2 { scroll-margin-top: 90px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text .dtable { min-width: 0; font-size: .9rem; }
.legal-text .table-wrap { margin: 6px 0; }
/* Phones: wide legal tables become one card per row, each value under its column name */
@media (max-width: 640px) {
  .dtable.stack-s thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable.stack-s, .dtable.stack-s tbody, .dtable.stack-s tr, .dtable.stack-s th, .dtable.stack-s td { display: block; }
  .dtable.stack-s tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .dtable.stack-s th, .dtable.stack-s td { border: 0; padding: 0; }
  .dtable.stack-s td[data-label]::before { content: attr(data-label); display: block; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
}
.legal-contact { margin-top: 32px !important; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9375rem; }
.legal-index { list-style: none; display: grid; gap: 14px; }
@media (min-width: 800px) { .legal-index { grid-template-columns: 1fr 1fr; } }
.legal-index li { padding: 22px 24px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); display: grid; gap: 4px; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
@media (hover: hover) and (pointer: fine) { .legal-index li:hover { transform: translateY(-2px); box-shadow: var(--lift); } }
.legal-index a { font: 400 1.6rem/1.15 var(--serif); color: var(--ink); text-decoration: none; }
.legal-index a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.legal-index p { color: var(--ink-2); font-size: .9375rem; }

/* ---- Service status (/status): overall word, one row per component, incidents ---- */
.st-overall { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); margin-bottom: 18px; }
.st-overall .st-word { grid-column: 2; margin: 0; font: 400 1.75rem/1.15 var(--serif); color: var(--ink); }
.st-overall .st-sub { grid-column: 2; margin: 0; color: var(--ink-2); font-size: .9375rem; }
.st-overall .st-dot { grid-row: 1 / span 2; width: 16px; height: 16px; }
.st-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--rule-strong) 25%, transparent); }
.st-ok .st-dot, .st-dot.st-ok { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.st-warn .st-dot, .st-dot.st-warn { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
.st-bad .st-dot, .st-dot.st-bad { background: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 22%, transparent); }
.st-overall.st-ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--rule)); }
.st-overall.st-warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--rule)); }
.st-overall.st-bad { border-color: color-mix(in srgb, var(--bad) 45%, var(--rule)); }
@media (prefers-reduced-motion: no-preference) { .st-overall.st-ok .st-dot { animation: st-pulse 2.4s ease-in-out infinite; } }
@keyframes st-pulse { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok) 8%, transparent); } }
.st-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; }
.st-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "dot name pill" "dot note pill"; gap: 2px 14px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--rule); }
.st-row:first-child { border-top: 0; }
.st-row .st-dot { grid-area: dot; }
.st-name { grid-area: name; font-weight: 600; color: var(--ink); }
.st-note { grid-area: note; color: var(--ink-3); font-size: .9rem; }
.st-row .pill { grid-area: pill; }
@media (min-width: 720px) { .st-row { grid-template-columns: auto 220px 1fr auto; grid-template-areas: "dot name note pill"; } .st-note { font-size: .9375rem; } }
.st-band .small-print { margin-top: 16px; color: var(--ink-3); font-size: .875rem; }
.st-band code, .st-inc-note code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: 1px 6px; border-radius: 6px; }
.st-incidents { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.st-incident { padding: 20px 24px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); }
.st-incident.is-open { border-color: color-mix(in srgb, var(--warn) 45%, var(--rule)); }
.st-inc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.st-inc-head h3 { margin: 0; font: 400 1.35rem/1.2 var(--serif); color: var(--ink); }
.st-inc-when { margin: 6px 0 0; color: var(--ink-3); font-size: .9rem; }
.st-inc-note { margin: 10px 0 0; color: var(--ink-2); font-size: .9375rem; max-width: 70ch; }
.band-alt .small-print { margin-top: 22px; color: var(--ink-3); font-size: .875rem; }

/* ---- guides (/guides, /guides/{slug}) ----------------------------------------------------------------- */
.guide-list { list-style: none; display: grid; gap: 14px; counter-reset: guide; }
@media (min-width: 720px) { .guide-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .guide-list { grid-template-columns: repeat(3, 1fr); } }
.guide-card a { display: grid; gap: 12px; align-content: start; height: 100%; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--rule); color: var(--ink-2); text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .15s; }
@media (hover: hover) and (pointer: fine) { .guide-card a:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--rule-strong); } }
.guide-card h3 { font: 400 1.45rem/1.18 var(--serif); color: var(--ink); text-wrap: pretty; }
.guide-card a:hover h3 { color: var(--green); }
.guide-kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.guide-more { color: var(--green); font-weight: 600; margin-top: auto; padding-top: 6px; }
.guide-more::after { content: " \2192"; }
.guide-head .guide-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.08; max-width: 26ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.guide-meta span + span::before { content: "\00B7"; margin-right: 18px; color: var(--ink-3); }
.guide-body { display: grid; gap: 40px; padding-bottom: var(--band); }
@media (min-width: 1000px) { .guide-body { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; } .guide-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.guide-toc { border-top: 1.5px solid var(--ink); padding-top: 14px; font-size: .9375rem; }
.guide-toc-h { font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.guide-toc ol { padding-left: 1.4em; display: grid; gap: 6px; color: var(--ink-3); }
.guide-toc a { color: var(--ink-2); text-decoration: none; }
.guide-toc a:hover { color: var(--ink); text-decoration: underline; }
.guide { max-width: 68ch; font-size: 1.0625rem; line-height: 1.65; gap: 18px; }
.guide > p:first-child { font-size: 1.125rem; color: var(--ink); }
.guide h2 { scroll-margin-top: 90px; margin-top: 30px; }
.guide h3 { font: 600 1.125rem/1.3 var(--sans); color: var(--ink); margin-top: 10px; }
.guide ul, .guide ol { gap: 8px; }
.guide .table-wrap { margin: 4px 0 8px; }
.guide .gtable { min-width: 0; font-size: .9375rem; }
.guide .gtable th, .guide .gtable td { padding: 10px 14px 10px 0; }
.guide .gtable .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide .gtable tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }
.guide .gtable strong { color: var(--ink); }
@media (max-width: 640px) { .guide .gtable { font-size: .875rem; } .guide .gtable th, .guide .gtable td { padding: 9px 10px 9px 0; } .guide .table-wrap { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); } }
.guide-sources { margin-top: 28px; padding-top: 22px; border-top: 1.5px solid var(--ink); display: grid; gap: 12px; font-size: .9375rem; }
.guide-sources h2 { margin-top: 0; }
.guide-sources ol { padding-left: 1.4em; display: grid; gap: 6px; }
.guide-related { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 720px) { .guide-related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .guide-related { grid-template-columns: repeat(3, 1fr); } }
.guide-related a { display: grid; gap: 8px; height: 100%; padding: 20px 22px; border-radius: var(--r); background: var(--sheet); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: transform .2s var(--spring), border-color .15s; }
.guide-related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.guide-related-t { font: 400 1.2rem/1.2 var(--serif); text-wrap: pretty; }
