/* TindaKit — packing-table palette: waybill paper, profit green, kraft tape.
   Tokens first. Light is always the default; dark mode only when the visitor turns it on
   with the header toggle (data-theme="dark" on <html>). */
:root {
  --paper: #F3F5F1;
  --paper-2: #E9EEE9;
  --surface: #FFFFFF;
  --surface-2: #F8FAF7;
  --ink: #13241C;
  --ink-2: #4A5B53;
  --ink-3: #6E7D76;
  --line: #DDE4DF;
  --line-2: #C7D2CC;
  --green: #1E6B4E;
  --green-2: #175A41;
  --green-ink: #FFFFFF;
  --green-soft: #E2F0E8;
  --green-tint: #F0F7F2;
  --kraft: #C99A55;
  --kraft-ink: #865E22;
  --kraft-soft: #F6ECDC;
  --loss: #B42318;
  --loss-soft: #FCEBE9;
  --focus: #2F7DE1;
  --dot: rgba(19, 36, 28, .09);
  --glow: rgba(30, 107, 78, .14);
  --shadow-s: 0 1px 2px rgba(19, 36, 28, .06), 0 1px 1px rgba(19, 36, 28, .04);
  --shadow-m: 0 1px 2px rgba(19, 36, 28, .05), 0 8px 24px -6px rgba(19, 36, 28, .12);
  --shadow-l: 0 2px 4px rgba(19, 36, 28, .04), 0 24px 48px -12px rgba(19, 36, 28, .22);
  --footer-bg: #13241C;
  --footer-ink: #E3ECE7;
  --footer-ink-2: #9FB2A9;
  --footer-line: #284036;
  --seg-on: #FFFFFF;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0E1512; --paper-2: #121C17; --surface: #16201B; --surface-2: #1B2721;
  --ink: #E8EFEB; --ink-2: #A9B8B1; --ink-3: #7F9088; --line: #25322C; --line-2: #34443C;
  --green: #5BC293; --green-2: #78D1A8; --green-ink: #07130D; --green-soft: #183428; --green-tint: #13231C;
  --kraft: #D9B276; --kraft-ink: #E4C38E; --kraft-soft: #2A2318; --loss: #F4847A; --loss-soft: #3A1F1C;
  --focus: #6AA8FF; --dot: rgba(232, 239, 235, .07); --glow: rgba(91, 194, 147, .13);
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-m: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -8px rgba(0, 0, 0, .55);
  --shadow-l: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 56px -12px rgba(0, 0, 0, .7);
  --seg-on: #26372E; --mark-o: .55; --footer-bg: #0A100D; --footer-ink: #E3ECE7; --footer-ink-2: #8FA299; --footer-line: #1F2B25;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.03rem/1.65 var(--font-body); font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg { max-width: 100%; }
svg use { pointer-events: none; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green-soft); color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 700; margin-top: 2.2em; }
h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.8em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 50; border-radius: var(--radius-s); }
.fine { font-size: .875rem; color: var(--ink-2); }
.lede { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 .9rem/1.2 var(--font-display);
  color: var(--green); letter-spacing: 0; }
.eyebrow .dot, .rates-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, fill .3s ease, box-shadow .3s ease !important;
  }
}

/* Icons */
.icon-btn svg, .tc-icon svg, .tc-go svg, .btn svg, .trust svg, .footer-badges svg, .text-link svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Preview banner (only in preview builds) */
.preview-bar { background: var(--kraft-soft); color: var(--kraft-ink); font-size: .85rem; padding: 6px 0; border-bottom: 1px solid var(--line); text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none;
  font: 800 1.4rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand b { color: var(--green); font-weight: 800; }
.brand-tag { width: 30px; height: 30px; color: var(--kraft); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .brand-tag { transform: rotate(-12deg); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.site-nav { display: flex; gap: 2px; margin-right: 6px; }
.site-nav a { position: relative; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: color .15s, background-color .15s; }
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; box-shadow: var(--shadow-s); transition: border-color .15s, transform .15s; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-toggle svg { transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .25s; }
.theme-toggle .i-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="dark"] .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 1; transform: none; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }
@media (max-width: 640px) {
  .js .menu-toggle { display: inline-grid; }
  .js .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; flex-direction: column; gap: 4px; margin: 0;
    padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .js .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .js .site-nav a { padding: 12px 14px; border-radius: var(--radius-s); font-size: 1.1rem; }
  .menu-open .site-header { background: var(--paper); }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--green); background: var(--green); color: var(--green-ink);
  padding: 10px 18px; min-height: 44px; border-radius: 999px; font: 700 1rem/1.2 var(--font-body); cursor: pointer; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(0, 0, 0, .1), 0 6px 16px -8px var(--green);
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: var(--surface); color: var(--green); border-color: var(--line-2); box-shadow: var(--shadow-s); }
.btn.ghost:hover { border-color: var(--green); background: var(--green-tint); }
.btn-lg { padding: 13px 24px; min-height: 52px; font-size: 1.05rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* Hero */
.hero { position: relative; padding: clamp(32px, 4vw + 12px, 72px) 0 clamp(48px, 5vw + 16px, 88px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 70% 40%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 75% at 70% 40%, #000 25%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: max(-160px, calc(50% - 760px)); top: -120px;
  background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem); line-height: 1.02; max-width: 13ch; margin-bottom: .4em; }
.hero .mark { position: relative; white-space: nowrap; color: var(--green); }
.hero .mark::after { content: ""; position: absolute; left: -.06em; right: -.08em; bottom: .02em; height: .28em; z-index: -1;
  background: var(--kraft); opacity: var(--mark-o, .4); border-radius: .1em .3em .15em .25em; transform: rotate(-1deg); }
.hero .lede { max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; color: var(--ink-2); font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); }
.hero-demo-wrap { position: relative; }
.hero-demo-wrap .tape { position: absolute; z-index: 2; top: -13px; left: 50%; width: 118px; height: 28px; transform: translateX(-50%) rotate(-3deg); border-radius: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--kraft) 80%, #fff), var(--kraft)); opacity: .88; box-shadow: 0 2px 6px rgba(0, 0, 0, .14); }
.hero-demo .tool-form { box-shadow: var(--shadow-l); border-radius: var(--radius-l); padding: 26px 22px 22px; }
.hero-demo .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 18px; }
.hero-demo .seg { display: flex; width: 100%; }
.hero-demo .seg label { flex: 1; }
.hero-demo .seg span { white-space: nowrap; padding-inline: 8px; }
.hero-demo .resibo { background: var(--surface-2); filter: none; box-shadow: none; }
.hero-demo [data-more] { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.hero-demo [data-more]::after { content: "→"; transition: transform .2s; }
.hero-demo [data-more]:hover::after { transform: translateX(3px); }
@media (max-width: 480px) { .hero-cta .btn { flex: 1 1 auto; } .tool-form .seg { display: flex; } .tool-form .seg label { flex: 1; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-demo-wrap { max-width: 480px; width: 100%; margin-inline: auto; }
}

/* Sections */
.band { position: relative; padding: clamp(48px, 6vw, 88px) 0; background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0 0 .35em; font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); letter-spacing: -0.025em; }
.section-head .lede { margin: 0; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }
section.why, section.wrap:not(.why) { padding-top: clamp(56px, 7vw, 96px); }

/* Tool cards */
.tool-groups { display: grid; gap: 36px; }
.tool-group.wide .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Smaller groups share one row. Each group sets --span to its number of cards, so every
   card in the row gets the same width. */
.tool-row { display: grid; grid-auto-flow: column; gap: 36px 16px; }
.tool-row > .tool-group { grid-column: span var(--span, 1); }
.tool-row .card-grid { grid-template-columns: repeat(var(--span, 1), minmax(0, 1fr)); }
.group-head { display: flex; align-items: baseline; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.group-head h3 { margin: 0; font-size: 1.15rem; }
.group-head p { margin: 0; color: var(--ink-3); font-size: .93rem; }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.card-grid > li { display: flex; }
.tool-card, .guide-card { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 22px 22px 18px; border-radius: var(--radius-m);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); color: var(--ink); text-decoration: none;
  transition: transform .2s cubic-bezier(.2, .8, .3, 1), box-shadow .2s, border-color .2s; }
.band .tool-card { background: var(--paper); }
.tool-card:hover, .guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); text-decoration: none; }
.tool-card strong, .guide-card strong { font: 700 1.12rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.tc-desc, .gc-desc { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.tc-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 10px;
  background: var(--green-soft); color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 14%, transparent); }
.tc-icon svg { width: 24px; height: 24px; }
.tc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--green); font-weight: 700; font-size: .93rem; }
.tc-go svg { width: 16px; height: 16px; transition: transform .2s; }
.tool-card:hover .tc-go svg, .guide-card:hover .tc-go svg { transform: translateX(4px); }
@media (max-width: 1000px) {
  .tool-group.wide .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tool-group.wide .card-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-row { grid-auto-flow: row; }
  .tool-row > .tool-group { grid-column: auto; }
  .tool-row .card-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px; }
  .tool-card .tc-icon { margin: 0; width: 42px; height: 42px; }
  .tool-card strong { flex: 1; min-width: 0; }
  .tool-card .tc-desc { flex-basis: 100%; }
  .tool-card .tc-go { display: none; }
}

/* Features */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 26px 24px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.feature h3 { margin: 4px 0 8px; font-size: 1.18rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }

/* Guide cards */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-cards > li { display: flex; }
.guide-card { padding-top: 20px; }
.guide-card strong { font-size: 1.22rem; margin: 6px 0 2px; }
.gc-tag { align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--kraft-ink); background: var(--kraft-soft); padding: 3px 10px; border-radius: 999px; }
@media (max-width: 860px) { .guide-cards { grid-template-columns: minmax(0, 1fr); } }
.guide-list { list-style: none; padding: 0; margin: 0; max-width: 70ch; }
.guide-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-list a { font: 600 1.2rem var(--font-display); text-decoration: none; }
.guide-list p { margin: 4px 0 0; color: var(--ink-2); }

/* Page head */
.page-head { position: relative; padding: clamp(28px, 3vw + 12px, 56px) 0 clamp(20px, 2vw + 8px, 36px); margin-bottom: 8px; isolation: isolate; }
.page-head::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: radial-gradient(ellipse 60% 120% at 85% 0%, var(--glow), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line); }
.page-head::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%); }
.page-head h1 { max-width: 22ch; }
.page-head .lede { max-width: 62ch; margin-bottom: 0; }
.page-head .lede + .checked { margin-top: 18px; }
.page-head + .tool, .page-head + [data-fee-calc], .page-head + div { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs span { color: var(--line-2); }
.checked { display: inline-flex; line-height: 1.4; align-items: center; gap: 8px; font-size: .9rem; color: var(--kraft-ink); background: var(--kraft-soft);
  border: 1px solid color-mix(in srgb, var(--kraft) 35%, transparent); padding: 5px 12px 5px 10px; border-radius: 999px; margin: 0; }
.checked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kraft); flex: none; }

/* Tool layout */
.tool { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px; align-items: start; margin: 28px 0 8px; }
.tool-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-m); }
.tool-result { position: sticky; top: 88px; }
@media (max-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr); } .tool-result { position: static; } }
@media (max-width: 480px) { .tool-form { padding: 20px 16px; border-radius: var(--radius-m); } }

fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
fieldset + fieldset { padding-top: 22px; border-top: 1px dashed var(--line-2); }
legend { font: 700 1.1rem var(--font-display); margin-bottom: 14px; padding: 0; letter-spacing: -0.01em; }
fieldset + fieldset > legend { float: left; width: 100%; }
fieldset + fieldset > legend + * { clear: both; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 16px; }
.fields > *, .tool > *, .hero-grid > * { min-width: 0; }
.input input { width: 100%; }
.field label, .field .label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.input { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); overflow: hidden; min-height: 48px;
  transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: color-mix(in srgb, var(--ink-3) 60%, var(--line-2)); }
.input:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.input span { display: grid; place-items: center; min-width: 40px; padding: 0 10px; color: var(--ink-3); background: var(--surface-2); font-weight: 700; }
.input span:first-child { border-right: 1px solid var(--line); }
.input span:last-child:not(:first-child) { border-left: 1px solid var(--line); }
.input input, .input select, select.plain, input.plain {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 11px 12px;
  font: 500 1.05rem var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input input[type="number"], .rate-table input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
select.plain, input.plain { border: 1.5px solid var(--line-2); border-radius: 10px; width: 100%; background-color: var(--surface); min-height: 48px; font-family: var(--font-body); font-weight: 400;
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378887F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; transition: border-color .15s, box-shadow .15s; }
select.plain:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
select.plain option { background: var(--surface); color: var(--ink); }
.input input:focus, .input select:focus { outline: none; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 16px; font-weight: 700; font-size: .97rem; cursor: pointer; border-radius: 9px; color: var(--ink-2); text-align: center;
  transition: background-color .18s, color .18s, box-shadow .18s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--seg-on); color: var(--green); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .12), inset 0 0 0 1px var(--line); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; font-size: .96rem; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; flex: none; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--green-ink); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .15s; }
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

details.rates { border-top: 1px dashed var(--line-2); padding-top: 16px; margin-top: 16px; }
details.rates > summary, details.faq > summary { list-style: none; cursor: pointer; }
details.rates > summary::-webkit-details-marker, details.faq > summary::-webkit-details-marker { display: none; }
details.rates > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 1.05rem var(--font-display); padding: 4px 0; }
details.rates > summary::after, details.faq > summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2) no-repeat center / 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378887F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .25s; }
details[open].rates > summary::after, details[open].faq > summary::after { transform: rotate(45deg); }
.rate-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.rate-table th { text-align: left; font-size: .82rem; color: var(--ink-3); font-weight: 700; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rate-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table .num { width: 96px; }
.rate-table .num input { width: 100%; padding: 7px 8px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: var(--surface); color: var(--ink);
  font: 500 .95rem var(--font-mono); font-variant-numeric: tabular-nums; }
.rate-table .num input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.rate-table .fee-note { display: block; font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.rate-table .check { margin: 0; color: var(--ink); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Profit calculator chart */
.pf-chart { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 14px 10px; }
.pf-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-title { font: 700 .95rem var(--font-display); margin: 0 0 8px; }
.ch-zero { stroke: var(--line-2); stroke-width: 1; }
.ch-line { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ch-be { stroke: var(--kraft); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ch-be-dot { fill: var(--kraft); }
.ch-now { fill: var(--green); stroke: var(--surface); stroke-width: 2; }
.ch-now.neg { fill: var(--loss); }
.ch-label { font: 600 10px var(--font-body); fill: var(--kraft-ink); }
.ch-axis { font: 500 10px var(--font-body); fill: var(--ink-3); }
.ch-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .78rem; color: var(--ink-3); margin: 8px 0 0; }
.ch-key span { display: inline-block; vertical-align: middle; margin-right: -8px; }
.ch-key .k-line { width: 16px; height: 3px; border-radius: 2px; background: var(--green); }
.ch-key .k-now { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.ch-key .k-be { width: 0; height: 12px; border-left: 2px dashed var(--kraft); }

/* Promo checker: form on top, then the summary and two slips side by side */
.tool.tool-stack { grid-template-columns: minmax(0, 1fr); }
.tool-stack .tool-result { position: static; }
.pm-row { padding: 14px 0 4px; }
.pm-row + .pm-row { border-top: 1px dashed var(--line-2); margin-top: 6px; }
.pm-remove { background: none; border: 0; padding: 4px 0; color: var(--loss); font: 600 .88rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pm-add { margin-top: 12px; }
.pm-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 20px; box-shadow: var(--shadow-s); }
.pm-head { margin: 0 0 8px; font-size: 1.05rem; }
.pm-head b { font: 600 1.05rem var(--font-mono); font-variant-numeric: tabular-nums; }
.pm-head b.neg, .pm-delta.neg { color: var(--loss); }
.pm-delta { font: 500 .92rem var(--font-mono); color: var(--green); white-space: nowrap; }
.pm-summary ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.pm-summary li { margin: 6px 0; }
.pm-summary li b { color: var(--ink); }
.pm-summary li.bad { color: var(--loss); font-weight: 600; }
.pm-slips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; align-items: start; }
@media (max-width: 760px) { .pm-slips { grid-template-columns: minmax(0, 1fr); } }

/* ROAS calculator table */
.ro-table { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 14px 6px; }
.ro-table .fine { margin: 10px 0 6px; }
.calib-table tr.ro-loss td.num b { color: var(--loss); }
.calib-table tr.ro-gain td.num b { color: var(--green); }

/* "Use my real order" panel */
details.calib .fine { margin-top: 10px; }
.calib-head { font: 700 .95rem var(--font-display); margin: 18px 0 8px; color: var(--ink); }
.calib-out:not(:empty) { margin-top: 16px; }
.calib-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.calib-table th { text-align: left; font-size: .8rem; color: var(--ink-3); font-weight: 700; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.calib-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.calib-table .num { text-align: right; white-space: nowrap; font: 500 .9rem var(--font-mono); font-variant-numeric: tabular-nums; }
.calib-table th.num { font: 700 .8rem var(--font-body); }
.calib-table td.num b { color: var(--green); font-weight: 600; }
.calib-table .fee-note { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; font-weight: 400; }
.calib-table tr.muted td:first-child b { color: var(--ink-2); }
.calib-table tr.st-check .fee-note { color: var(--loss); }

/* The resibo — payout receipt */
.resibo {
  --edge: 9px;
  background: var(--surface); color: var(--ink); padding: 30px 24px 28px; position: relative;
  filter: drop-shadow(0 0 1px color-mix(in srgb, var(--ink) 18%, transparent)) drop-shadow(0 14px 22px rgba(19, 36, 28, .12));
  -webkit-mask: radial-gradient(circle var(--edge) at 50% 0, #0000 98%, #000) 50% 0 / calc(var(--edge) * 2.4) 51% repeat-x,
                radial-gradient(circle var(--edge) at 50% 100%, #0000 98%, #000) 50% 100% / calc(var(--edge) * 2.4) 51% repeat-x;
          mask: radial-gradient(circle var(--edge) at 50% 0, #0000 98%, #000) 50% 0 / calc(var(--edge) * 2.4) 51% repeat-x,
                radial-gradient(circle var(--edge) at 50% 100%, #0000 98%, #000) 50% 100% / calc(var(--edge) * 2.4) 51% repeat-x;
}
:root[data-theme="dark"] .resibo { background: var(--surface-2); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .08)) drop-shadow(0 16px 26px rgba(0, 0, 0, .5)); }
.resibo-title { font: 800 1.2rem var(--font-display); text-align: center; margin: 0; letter-spacing: -0.015em; }
.resibo-sub { text-align: center; font-size: .85rem; color: var(--ink-3); margin: 4px 0 16px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.resibo dl { margin: 0; }
.resibo .line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; font-size: .96rem; }
.resibo .line dt { color: var(--ink-2); min-width: 0; }
.resibo .line dd { margin: 0; text-align: right; white-space: nowrap; font: 500 .95rem var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.resibo .line.minus dd { color: var(--ink-2); }
.resibo .line.minus dd::before { content: "− "; color: var(--ink-3); }
.resibo .line.fees-total { font-weight: 700; padding-top: 8px; }
.resibo .line.fees-total dt, .resibo .line.fees-total dd { color: var(--ink); }
.resibo .line.fee-item { padding: 3px 0 3px 12px; margin-left: 2px; border-left: 2px solid var(--line); font-size: .88rem; }
.resibo .line.fee-item dt { color: var(--ink-3); }
.resibo .line.fee-item dd { font-size: .86rem; color: var(--ink-3); }
.resibo .line.sub { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 10px; font-weight: 700; }
.resibo .line.sub dt { color: var(--ink); }
.resibo .line.sub dd { color: var(--ink); }
.resibo .rule { border: 0; border-top: 2px dashed var(--line-2); margin: 14px 0; }
.resibo .total { text-align: center; padding: 10px 0 4px; }
.resibo .total .label { display: block; font-size: .9rem; color: var(--ink-2); }
.resibo .total .big { display: block; font: 800 clamp(2.3rem, 1.8rem + 1.8vw, 3rem)/1.05 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.035em; margin: 4px 0 2px; }
.resibo .total.gain .big { color: var(--green); }
.resibo .total.loss .big { color: var(--loss); }
.resibo .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; margin-top: 14px; }
.resibo .stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px 8px; min-width: 0; }
.resibo .stats b { display: block; font: 700 1.08rem var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.resibo .stats b.neg { color: var(--loss); }
.resibo .stats span { font-size: .76rem; color: var(--ink-3); line-height: 1.25; display: block; }
.resibo .foot { font-size: .82rem; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.resibo .foot b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.resibo .warn, .resibo .good { display: flex; gap: 8px; border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 14px 0 0; line-height: 1.45; }
.resibo .warn { background: var(--loss-soft); color: var(--loss); }
.resibo .good { background: var(--green-soft); color: var(--green); }
.resibo .warn::before, .resibo .good::before { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; content: ""; }
.resibo .warn { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v7h-2Zm0 9h2v2h-2Z'/%3E%3C/svg%3E"); }
.resibo .good { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4Z'/%3E%3C/svg%3E"); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.result-actions .btn { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.copied { font-size: .9rem; color: var(--green); min-height: 1.4em; text-align: center; margin: 8px 0 0; }

.cat-row { margin-bottom: 16px; }
.fields:has(> .field[hidden]:only-child) { display: none; }

/* Loading and error states while rates load */
.tool-state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 220px; margin: 28px 0 8px; padding: 24px;
  border: 1px dashed var(--line-2); border-radius: var(--radius-l); background: var(--surface); color: var(--ink-2); text-align: center; }
.tool-state.error { border-style: solid; border-color: color-mix(in srgb, var(--loss) 40%, var(--line)); background: var(--loss-soft); color: var(--loss); display: block; min-height: 0; }
.tool-state.error a { color: inherit; font-weight: 700; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--green); flex: none; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.hero-demo .tool-state { min-height: 420px; margin: 0; }

/* Comparison */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; align-items: start; }
@media (max-width: 900px) { .compare { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
.best-flag { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 30px; font-weight: 700; color: var(--green); font-size: .9rem; margin-bottom: 8px; }
.best-flag:not([aria-hidden]) { width: max-content; margin: 0 auto 8px; padding: 3px 12px; border-radius: 999px; background: var(--green-soft); }
.best-flag:not([aria-hidden])::before { content: "★"; font-size: .85rem; }
.compare > div:has(> .best-flag:not([aria-hidden])) .resibo { background: var(--green-tint); }
.compare > div:has(> .best-flag:not([aria-hidden])) .resibo .stats div { background: var(--surface); }
@media (min-width: 721px) { .compare-form .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Prose / guides */
.prose { max-width: 72ch; }
article.prose { margin-top: clamp(40px, 5vw, 64px); }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { position: relative; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; font-size: .96rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--surface-2); font-size: .88rem; color: var(--ink-2); }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody tr:hover > td { background: var(--green-tint); }
.prose tbody th { background: var(--surface-2); }
.prose table:has(thead) { min-width: 540px; }
.table-scroll { overflow-x: auto; margin: 1em 0 1.5em; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.tool-form .table-scroll, .note .table-scroll, [data-all] .table-scroll { margin: 8px 0 0; box-shadow: none; }
.note { position: relative; background: var(--kraft-soft); border: 1px solid color-mix(in srgb, var(--kraft) 30%, transparent); border-left: 4px solid var(--kraft);
  padding: 16px 18px; border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s); margin: 1.4em 0; }
.note p:last-child { margin: 0; }
.formula { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s);
  padding: 14px 18px; font: 500 .98rem/1.7 var(--font-mono); overflow-x: auto; box-shadow: var(--shadow-s); }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0; margin: 10px 0; box-shadow: var(--shadow-s); transition: border-color .2s; }
details.faq:hover { border-color: var(--line-2); }
details.faq[open] { border-color: color-mix(in srgb, var(--green) 35%, var(--line)); }
details.faq > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; font-size: 1.03rem; }
details.faq > p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); }
details.faq[open] > summary::after { background-color: var(--green-soft); }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.related a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; text-decoration: none; font-weight: 700;
  color: var(--ink); background: var(--surface); box-shadow: var(--shadow-s); transition: border-color .15s, color .15s, transform .15s; }
.related a::after { content: "→"; color: var(--green); transition: transform .2s; }
.related a:hover { border-color: var(--green); color: var(--green); }
.related a:hover::after { transform: translateX(3px); }

/* Footer */
.site-footer { margin-top: clamp(72px, 8vw, 120px); padding: 56px 0 28px; background: var(--footer-bg); color: var(--footer-ink); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--kraft) 0 28px, transparent 28px 40px); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: var(--footer-ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--footer-ink); text-decoration: underline; }
.site-footer .brand { color: var(--footer-ink); margin-bottom: 14px; }
.site-footer .brand b { color: #6FCB9F; }
.footer-about > p { color: var(--footer-ink-2); max-width: 46ch; }
.site-footer .fine { color: var(--footer-ink-2); opacity: .85; font-size: .82rem; }
.footer-head { font: 700 1rem var(--font-display); color: var(--footer-ink); margin-bottom: .8em; }
.footer-grid .footer-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.footer-badges li { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--footer-line); color: var(--footer-ink); margin: 0; }
.footer-badges svg { width: 15px; height: 15px; color: #6FCB9F; }
.copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--footer-line); font-size: .86rem; color: var(--footer-ink-2); }
.rates-pill { display: inline-flex; align-items: center; gap: 8px; }
.rates-pill .dot { background: #6FCB9F; box-shadow: 0 0 0 4px rgba(111, 203, 159, .18); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Not found */
.nf { text-align: center; padding: clamp(40px, 8vw, 96px) 0 0; }
.nf .nf-code { font: 800 clamp(5rem, 3rem + 10vw, 9rem)/1 var(--font-display); letter-spacing: -0.05em; color: var(--green); margin: 0;
  background: linear-gradient(180deg, var(--green), color-mix(in srgb, var(--green) 40%, var(--paper))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf h1 { margin: 8px auto 12px; }
.nf .lede { max-width: 46ch; margin: 0 auto 24px; }
.nf .related { justify-content: center; }

/* Mobile: keep the result in view while filling in the form */
.mobile-sum { display: none; }
@media (max-width: 900px) {
  .mobile-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; bottom: 12px; z-index: 5;
    margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow-l); color: var(--ink); text-decoration: none; }
  .mobile-sum span:first-child { font-size: .9rem; color: var(--ink-2); }
  .mobile-sum b { font: 800 1.4rem var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .mobile-sum b.neg { color: var(--loss); }
  .mobile-sum span:last-child { color: var(--green); font-weight: 700; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .resibo .total .big { transition: color .2s; }
  .hero-copy > * { animation: rise .6s cubic-bezier(.2, .8, .3, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; } .hero-copy > :nth-child(5) { animation-delay: .2s; }
  .hero-demo-wrap { animation: rise .7s .15s cubic-bezier(.2, .8, .3, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

@media print {
  .site-header, .site-footer, .mobile-sum, .result-actions, .preview-bar { display: none; }
  body { background: #fff; }
}
