/* Gyroid: the platform site and the price tool.
   Warm paper, one drafting-blue accent, and Inter throughout: its Display cut for headlines (the
   closest free match to Shopify Sans) and its Text cut for everything else. IBM Plex Mono only for
   genuine data such as file names. Emphasis in headlines is two-tone, never italic. */

@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #F3F0E8;
  --paper-2: #ECE8DE;
  --paper-3: #E4DED2;
  --card: #FBF9F4;
  --ink: #18191B;
  --ink-2: #45464A;
  --ink-3: #676863;
  --rule: #D8D2C4;
  --rule-strong: #B5AD9C;
  --accent: #2A4B9B;
  --accent-ink: #203C80;
  --accent-wash: #E3E7F1;
  --accent-line: rgba(42, 75, 155, .55);
  --blueprint: #22418A;
  --blueprint-2: #1B3572;
  --ok: #2E6A44;
  --ok-wash: #DFE9DD;
  --danger: #A3321F;
  --danger-wash: #F4DDD6;

  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 32px);
  --section: clamp(56px, 7vw, 104px);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(24, 25, 27, .04), 0 12px 32px -20px rgba(24, 25, 27, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hatch: repeating-linear-gradient(-45deg, currentColor 0 1px, transparent 1px 6px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100%;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 1.03rem/1.6 var(--font-text);
  font-optical-sizing: auto;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
#main { flex: 1 0 auto; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
.i { width: 1.1em; height: 1.1em; flex: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
::selection { background: var(--accent-wash); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---- layout -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.narrow-wide { max-width: calc(1080px + var(--gutter) * 2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

/* ---- type ---------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display); font-weight: 520;
  font-size: clamp(2.5rem, 1.3rem + 3.8vw, 4.9rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; color: var(--ink-3); }
.h1 { font-family: var(--font-display); font-weight: 560; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.75rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.h4 { font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.27rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.5; }
.mono { font-family: var(--font-mono); font-size: .8125rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }
.prewrap { white-space: pre-wrap; }
.prose { max-width: 40em; }
.prose h2 { margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); text-wrap: pretty; }

/* Section labels: a short line of accent text over a heading. */
.sec-num, .kicker { display: block; margin: 0 0 14px; font-size: .9375rem; font-weight: 600; color: var(--accent); letter-spacing: -.005em; }
.sec-num > span, .kicker__tick { display: none; }
.sec-num--light { color: #C9D3EE; }

/* ---- header -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 97%, transparent); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.wordmark:hover { color: var(--ink); }
.wordmark__mark { width: 28px; height: 28px; flex: none; }
.mark__block { fill: var(--accent); }
.wordmark__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 650; letter-spacing: -.035em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: .9375rem; font-weight: 450; text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav a .i { width: 14px; height: 14px; color: var(--ink-3); }
.nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1040px) {
  .site-header__inner { height: 64px; gap: 12px; }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: transparent; }
  .menu-button .i { width: 20px; height: 20px; }
  .mobile-nav { position: fixed; inset: 64px 0 0; z-index: 39; background: var(--paper); padding: 16px var(--gutter) 40px; overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
  .mobile-nav a:not(.btn) .i { width: 20px; height: 20px; color: var(--ink-3); }
  .mobile-nav .btn { margin-top: 28px; }
}
@media (max-width: 440px) { .header-cta { display: none; } }

/* ---- buttons & links ------------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease);
}
.btn:hover { color: var(--fg); background: color-mix(in srgb, var(--bg) 88%, var(--paper)); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn .i.arrow { transition: transform .2s var(--ease); }
.btn:hover .i.arrow { transform: translateX(3px); }
.btn--accent { --bg: var(--accent); --bd: var(--accent); --fg: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--rule-strong); }
.btn--ghost:hover { background: var(--card); border-color: var(--ink); color: var(--ink); }
.btn--paper { --bg: var(--paper); --fg: var(--blueprint); --bd: var(--paper); }
.btn--paper:hover { background: #fff; color: var(--blueprint); }
.btn--danger { --bg: transparent; --fg: var(--danger); --bd: color-mix(in srgb, var(--danger) 45%, var(--paper)); }
.btn--danger:hover { background: var(--danger-wash); color: var(--danger); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy='true'] { opacity: .55; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.link-arrow:hover { border-bottom-color: var(--accent); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.linkish { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: .875rem; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .25em; }
.linkish:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.linkish .i { width: 15px; height: 15px; }
p a .i, li a .i, .small a .i { display: inline-block; width: 13px; height: 13px; margin-left: 3px; vertical-align: -.1em; }

/* ---- hero ------------------------------------------------------------------------ */
.hero { padding-block: clamp(24px, 3.5vw, 56px) clamp(48px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.hero__copy .display { margin: 0 0 22px; max-width: 9.5em; }
.hero__copy .lede { max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 36em; }
.hero__facts dt { font-family: var(--font-text); font-size: .8125rem; color: var(--ink-3); margin-bottom: 3px; }
.hero__facts dd { font-size: .9375rem; font-weight: 600; }
.hero__sheet { position: relative; display: grid; }
.hero__view { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 14px; }
.hero__view-label { font-size: .8125rem; line-height: 1.5; color: var(--ink-3); padding-bottom: 26px; }
.hero__part { position: relative; width: 132px; flex: none; margin: 0 34px 22px 0; }
.hero__part img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 58%; border-radius: 10px; background: var(--paper-3); }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dims__line { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dims text { font-family: var(--font-mono); font-size: 10px; fill: var(--accent); }
.hero__note { margin: 12px 0 0; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy .display { max-width: 11em; }
}
@media (max-width: 720px) {
  .hero__view { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .hero__facts { grid-template-columns: 1fr; } }

/* ---- the costing sheet ------------------------------------------------------------------ */
.csheet { background: var(--card); border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: .9375rem; }
.csheet__head { display: grid; grid-template-columns: 1.25fr 1.6fr 1fr .85fr; border-bottom: 1px solid var(--rule); background: var(--paper); }
.csheet__cell { min-width: 0; padding: 9px 14px 10px; border-left: 1px solid var(--rule); }
.csheet__cell:first-child { border-left: 0; }
.csheet__label { display: block; font-size: .75rem; font-weight: 500; color: var(--ink-3); margin-bottom: 1px; }
.csheet__value { display: block; font-size: .8125rem; font-weight: 500; line-height: 1.35; overflow-wrap: break-word; }
.csheet__file { display: block; font-family: var(--font-mono); font-size: .6875rem; line-height: 1.35; color: var(--ink-2); overflow-wrap: anywhere; margin-bottom: 1px; }
.csheet__cell:first-child .csheet__value { font-size: 1.05rem; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.csheet__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.csheet__cost, .csheet__sell { padding: 18px 20px 20px; }
.csheet__sell { border-top: 1px solid var(--rule); }
.csheet__h { margin: 0 0 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.csheet__cost .ledger + .csheet__h { margin-top: 18px; }
.ledger { display: grid; }
.ledger__row { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.ledger__row dt, .ledger__row > span:first-child { flex: 1; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ledger__row dt small { font-size: .75rem; color: var(--ink-3); overflow-wrap: anywhere; }
.ledger__row dt::after { content: ''; flex: 1; min-width: 12px; border-bottom: 1px dotted var(--rule); transform: translateY(-4px); order: 3; }
.ledger__row dt small { order: 2; }
.ledger__row dd { font-size: .9375rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ledger__sum { border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 7px; font-weight: 600; }
.ledger__sum dt::after, .ledger__total dt::after { border-bottom-color: transparent; }
.ledger__total { border-top: 1px solid var(--ink-2); margin-top: 6px; padding-top: 9px; }
.ledger__total dt { font-weight: 600; }
.ledger__total dd { font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; }
.suggest { margin-bottom: 16px; padding: 12px 14px; background: var(--accent-wash); border-radius: 8px; }
.suggest__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; color: var(--accent-ink); font-size: .875rem; }
.suggest__line strong { font-size: 1.7rem; font-weight: 650; color: var(--accent-ink); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.suggest__none { margin: 0; color: var(--danger); font-size: .875rem; }
.channels { width: 100%; border-collapse: collapse; font-size: .875rem; }
.channels th, .channels td { padding: 6px 0 6px 10px; text-align: right; font-weight: 400; border-bottom: 1px solid var(--rule); }
.channels th[scope='row'] { text-align: left; padding-left: 0; color: var(--ink-2); }
.channels thead th { font-family: var(--font-text); font-size: .8125rem; letter-spacing: .02em; color: var(--ink-2); vertical-align: bottom; line-height: 1.3; }
.channels thead th.is-main { color: var(--accent-ink); }
.channels__group th { text-align: center !important; border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px; font-size: .75rem !important; font-weight: 500; color: var(--ink-3) !important; }
.channels__group td { border-bottom: 0; }
.channels thead tr:last-child th { padding-top: 4px; }
.channels td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.channels td.fee { color: var(--ink-2); }
.channels .profit th, .channels .profit td { border-bottom: 1px solid var(--ink-2); font-weight: 650; color: var(--ink); padding-top: 9px; }
.channels .profit td { font-size: .9375rem; }
.channels .profit td.is-best { color: var(--accent-ink); }
.channels .profit td.is-loss { color: var(--danger); }
.channels .margin td, .channels .keep td { color: var(--ink-3); }
.channels .keep th { color: var(--ink-3); }
.csheet__verdict { margin: 12px 0 0; font-size: .875rem; color: var(--ink-2); }
.csheet__verdict b { color: var(--accent-ink); font-weight: 600; }
.csheet__fees { margin-top: 14px; border-top: 1px solid var(--rule); }
.csheet__fees summary, .manual summary, .fees summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: .875rem; font-weight: 500; }
.csheet__fees summary::-webkit-details-marker, .manual summary::-webkit-details-marker, .fees summary::-webkit-details-marker { display: none; }
.csheet__fees summary::before, .manual summary::before, .fees summary::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--rule-strong); font-family: var(--font-text); font-size: .75rem; line-height: 1; color: var(--accent); flex: none; }
.csheet__fees[open] summary::before, .manual[open] summary::before, .fees[open] summary::before { content: '−'; }
.csheet__fees summary { padding: 10px 0; }
.feegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: 6px; }
.feelist h4 { font-family: var(--font-text); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-bottom: 6px; }
.feelist dl div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: .8125rem; border-bottom: 1px dotted var(--rule); }
.feelist dd { font-family: var(--font-text); white-space: nowrap; }
.feelist__sum { font-weight: 600; border-bottom: 0 !important; }
.csheet__foot { padding: 12px 20px 14px; border-top: 1px solid var(--rule); background: var(--paper); }
.csheet__assume { margin: 0; font-family: var(--font-text); font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }
.csheet__made { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 6px 0 0; font-size: .75rem; color: var(--ink-2); }
.csheet--full .csheet__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.csheet--full .csheet__sell { border-top: 0; border-left: 1px solid var(--rule); }
.csheet--hero { font-size: .875rem; }
.csheet--hero .csheet__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.csheet--hero .csheet__sell { border-top: 0; border-left: 1px solid var(--rule); }
.csheet--hero .ledger__row { padding: 3px 0; }
.csheet--hero .ledger__row dt small { display: none; }
.csheet--hero .channels thead th { font-size: .625rem; }
.csheet--hero .channels td, .csheet--hero .channels th { padding-block: 5px; }
.csheet--empty { box-shadow: none; border-style: dashed; border-color: var(--rule-strong); background: transparent; }
.csheet--empty .csheet__head { background: transparent; }
.csheet--empty .csheet__head { border-bottom-style: dashed; border-color: var(--rule-strong); }
.csheet--empty .ledger__row { color: var(--ink-3); font-size: .875rem; padding: 7px 0; }
.ghost { display: block; height: .9em; margin-top: 3px; background: var(--paper-2); border-radius: 1px; }
.ghost--num { width: 56px; }
.empty-copy { margin: 0; color: var(--ink-2); max-width: 26em; }
@media (max-width: 1260px) { .csheet--hero .csheet__body { grid-template-columns: minmax(0, 1fr); } .csheet--hero .csheet__sell { border-left: 0; border-top: 1px solid var(--rule); } }
@media (max-width: 1100px) { .csheet--full .csheet__body { grid-template-columns: minmax(0, 1fr); } .csheet--full .csheet__sell { border-left: 0; border-top: 1px solid var(--rule); } }
@media (max-width: 900px) and (min-width: 721px) { .csheet--hero .csheet__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .csheet--hero .csheet__sell { border-left: 1px solid var(--rule); border-top: 0; } }
@media (max-width: 560px) {
  .csheet__head { grid-template-columns: 1fr 1fr; }
  .csheet__cell:nth-child(3) { border-left: 0; }
  .csheet__cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .csheet__cost, .csheet__sell { padding: 14px; }
  .ledger__row dt { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .ledger__row dt::after { display: none; }
  .ledger__row dt small { flex-basis: 100%; }
  .channels { font-size: .8125rem; }
  .channels th, .channels td { padding-left: 6px; }
  .feegrid { grid-template-columns: 1fr; }
}

/* ---- section heads ------------------------------------------------------------------------ */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--col-gap) calc(var(--col-gap) * 2); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__aside { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---- why now: Etsy's rules and fees ------------------------------------------------------------ */
.rules { border-top: 1px solid var(--rule); }
.rules__copy { grid-column: 1 / span 5; }
.rules__copy .h2 { margin-bottom: 24px; }
.rules__copy p { color: var(--ink-2); max-width: 32em; }
.rules__copy p b { color: var(--ink); font-weight: 600; }
.rules__chart { grid-column: 7 / span 6; align-self: center; }
.rules__chart .h4 { margin: 0 0 12px; font-weight: 500; font-size: .9375rem; }
.rules__chart .h4:not(:first-child) { margin-top: 36px; }
.rules__chart > .small { margin-top: 28px; max-width: 40em; }
.split { display: flex; height: 48px; border: 1px solid var(--ink-2); border-radius: 8px; overflow: hidden; background: var(--card); }
.split__seg { min-width: 4px; position: relative; }
.split__seg + .split__seg { border-left: 1px solid var(--ink-2); }
.split__seg--cost { background: var(--paper-3); }
.split__seg--fee { color: var(--ink-2); background: var(--hatch), var(--card); }
.split__seg--ads { color: var(--danger); background: var(--hatch), var(--card); }
.split__seg--keep { background: var(--accent); }
.split__key { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-top: 12px; }
.split__item { display: grid; grid-template-columns: 14px 1fr auto 3.2em; align-items: center; gap: 8px; font-size: .875rem; padding-bottom: 5px; border-bottom: 1px solid var(--rule); }
.split__item b { font-family: var(--font-text); font-weight: 500; font-size: .8125rem; }
.split__pct { font-family: var(--font-text); font-size: .75rem; color: var(--ink-3); text-align: right; }
.split__swatch { width: 14px; height: 14px; border: 1px solid var(--ink-2); border-radius: 3px; }
.split__item--cost .split__swatch { background: var(--paper-3); }
.split__item--fee .split__swatch { color: var(--ink-2); background: var(--hatch), var(--card); }
.split__item--ads .split__swatch { color: var(--danger); background: var(--hatch), var(--card); }
.split__item--keep .split__swatch { background: var(--accent); }
.split__item--keep b { color: var(--accent-ink); }
@media (max-width: 960px) { .rules__copy, .rules__chart { grid-column: 1 / -1; } .rules__chart { margin-top: 48px; } }
@media (max-width: 520px) { .split__key { grid-template-columns: minmax(0, 1fr); } }

/* ---- what you get ----------------------------------------------------------------------------- */
.features { border-top: 1px solid var(--rule); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 6vw, 88px); }
.feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--flip > .fig { order: 2; }
.feature__text .h3 { margin-bottom: 16px; }
.feature__text > p { color: var(--ink-2); }
.fig { margin: 0; min-width: 0; }
.fig__frame { position: relative; border: 1px solid var(--rule); border-radius: 12px; padding: 8px; background: var(--card); box-shadow: var(--shadow); }
.fig img { width: 100%; border-radius: 6px; }
.fig figcaption, .fig__caption { display: flex; gap: 12px; margin: 14px 0 0; font-size: .875rem; color: var(--ink-3); }
.fig__n { display: none; }
.spec { list-style: none; margin-top: 20px; border-top: 1px solid var(--rule-strong); }
.spec li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.spec__state { flex: none; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-text); font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.spec__state .i { width: 13px; height: 13px; }
.spec__state.is-live { color: var(--ok); }
.flow { padding: clamp(20px, 3vw, 36px); }
.flow__title { font-family: var(--font-text); font-size: .8125rem; letter-spacing: 0; color: var(--ink-3); margin-bottom: 18px; }
.flow__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow__row + .flow__note + .flow__row { margin-top: 26px; padding-top: 26px; border-top: 1px dashed var(--rule-strong); }
.flow__node { padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--paper); font-size: .9375rem; font-weight: 500; }
.flow__node--you { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-wash); }
.flow__arrow { flex: 1 1 28px; min-width: 28px; max-width: 80px; height: 1px; background: var(--ink-2); position: relative; }
.flow__arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--ink-2); border-right: 0; }
.flow__note { margin: 12px 0 0; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 960px) {
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); }
  .feature--flip > .fig { order: 0; }
}
@media (max-width: 520px) { .flow__row { flex-direction: column; align-items: stretch; } .flow__arrow { flex: none; width: 1px; height: 18px; max-width: none; min-width: 0; margin-left: 20px; } .flow__arrow::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 4.5px solid transparent; border-top: 7px solid var(--ink-2); border-bottom: 0; } }

/* ---- the free tool band ------------------------------------------------------------------------ */
.tool-band { background: var(--paper-2); border-block: 1px solid var(--rule); }
.tool-band__copy { grid-column: 1 / span 6; }
.tool-band__copy .h2 { margin-bottom: 20px; }
.tool-band__copy p { color: var(--ink-2); max-width: 32em; margin-bottom: 28px; }
.tool-band__list { grid-column: 8 / span 5; list-style: none; align-self: center; border-top: 1px solid var(--ink-2); }
.tool-band__list li { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.tool-band__list b { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; color: var(--accent-ink); padding-top: 2px; }
.tool-band__list span { color: var(--ink-2); }
@media (max-width: 960px) { .tool-band__copy, .tool-band__list { grid-column: 1 / -1; } .tool-band__list { margin-top: 40px; } }
@media (max-width: 420px) { .tool-band__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- pricing ----------------------------------------------------------------------------------- */
.launch-tag { display: inline-block; margin-right: 6px; padding: 2px 8px; border: 1px solid var(--accent); color: var(--accent-ink); font-family: var(--font-text); font-size: .8125rem; letter-spacing: 0; vertical-align: 1px; }
.plans { border-top: 1px solid var(--ink-2); }
.plans__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.6fr 3fr; gap: var(--col-gap); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.plans__row--head { padding: 10px 0; font-family: var(--font-text); font-size: .8125rem; letter-spacing: 0; color: var(--ink-3); }
.plans__row.is-featured { background: var(--accent-wash); border-radius: 10px; padding-left: 16px; padding-right: 16px; margin-inline: -16px; border-bottom-color: transparent; }
.plans__name { font-size: 1.5rem; font-weight: 650; line-height: 1; letter-spacing: -.03em; }
.plans__name small { display: block; margin-top: 8px; font-family: var(--font-text); font-size: .8125rem; letter-spacing: .04em; color: var(--accent-ink); }
.plans__price { font-size: 1.6rem; font-weight: 650; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plans__price small, .plans__year small { font-family: var(--font-text); font-size: .8125rem; color: var(--ink-3); margin-left: 2px; }
.plans__year { font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.plans__for { color: var(--ink-2); }
.plans__points { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9375rem; }
.plans__points li { position: relative; padding-left: 14px; }
.plans__points li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 1px; background: var(--ink-2); }
.pricing__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); margin-top: 28px; color: var(--ink-2); }
.pricing__foot b { color: var(--ink); }
@media (max-width: 1040px) {
  .plans__row--head { display: none; }
  .plans__row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .plans__year { text-align: right; grid-column: 2; grid-row: 2; }
  .plans__for { grid-column: 1; grid-row: 2; }
  .plans__points { grid-column: 1 / -1; }
  .plans__price { text-align: right; }
  .pricing__foot { grid-template-columns: 1fr; }
}

/* ---- founding shops: a blueprint -------------------------------------------------------------- */
.founding-band { background: var(--blueprint); color: #E7EBF6; padding-block: var(--section);
}
.founding-band a:not(.btn) { color: #fff; }
.founding-band :focus-visible { outline-color: #fff; }
.founding-band .h2 { color: #fff; }
.founding-band .h2 em { color: #A9BAE6; }
.founding-band__copy { grid-column: 1 / span 5; }
.founding-band__copy p { color: #D2D9EC; max-width: 30em; margin: 22px 0 30px; }
.founding-band__detail { grid-column: 7 / span 6; }
.founding-band__detail .h4 { color: #fff; margin: 34px 0 10px; }
.tally { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; overflow: hidden; }
.tally__cell { aspect-ratio: 1; display: grid; place-items: end start; padding: 6px; border-left: 1px solid rgba(255, 255, 255, .45); font-family: var(--font-text); font-size: .8125rem; color: rgba(255, 255, 255, .75); }
.tally__cell:first-child { border-left: 0; }
.tally__cell.is-taken { background: var(--paper); color: var(--blueprint); }
.tally__label { margin: 10px 0 0; font-family: var(--font-text); font-size: .8125rem; color: #D2D9EC; }
.tally--ink { border-color: var(--ink-2); }
.tally--ink .tally__cell { border-color: var(--rule-strong); color: var(--ink-3); }
.tally--ink .tally__cell.is-taken { background: var(--accent); color: #fff; }
.tally--ink + .tally__label { color: var(--ink-2); }
.dash { list-style: none; display: grid; gap: 10px; }
.dash li { position: relative; padding-left: 22px; }
.dash li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: currentColor; opacity: .7; }
.founding-band .dash li { color: #E7EBF6; }
@media (max-width: 960px) { .founding-band__copy, .founding-band__detail { grid-column: 1 / -1; } .founding-band__detail { margin-top: 40px; } }
@media (max-width: 460px) { .tally { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tally__cell:nth-child(6) { border-left: 0; } .tally__cell:nth-child(n+6) { border-top: 1px solid rgba(255, 255, 255, .45); } .tally--ink .tally__cell:nth-child(n+6) { border-top-color: var(--rule-strong); } }

/* ---- demo -------------------------------------------------------------------------------------- */
.demo .grid { align-items: center; }
.demo__copy { grid-column: 1 / span 4; }
.demo__copy p { color: var(--ink-2); margin: 20px 0 28px; }
.demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.demo .fig { grid-column: 6 / span 7; }
@media (max-width: 960px) { .demo__copy, .demo .fig { grid-column: 1 / -1; } .demo .fig { margin-top: 40px; } }

/* ---- questions --------------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__head { grid-column: 1 / span 4; }
.faq__head .h2 { margin-bottom: 16px; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--ink-2); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 1.0625rem; font-weight: 500; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s var(--ease); }
.qa[open] summary .i { transform: rotate(180deg); }
.qa__a { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }
@media (max-width: 960px) { .faq__head, .faq__list { grid-column: 1 / -1; } .faq__list { margin-top: 32px; } }

/* ---- forms ------------------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend, .checks legend { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field .req, .field .opt { font-weight: 400; font-size: .8125rem; color: var(--ink-3); margin-left: 4px; }
.input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42, 75, 155, .18); }
textarea.input { resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 36px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2318191B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; }
.has-error .input, .input[aria-invalid='true'] { border-color: var(--danger); }
.field__error { margin: 0; font-size: .8125rem; color: var(--danger); }
.field__hint { margin: 0; font-size: .8125rem; color: var(--ink-3); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9375rem; line-height: 1.45; }
.check input { appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--card); display: grid; place-items: center; flex: none; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.checks { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 10px; }
.checks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid; border-radius: var(--radius); font-size: .9375rem; }
.notice .i { width: 19px; height: 19px; margin-top: 2px; }
.notice p { margin: 0; }
.notice--danger { background: var(--danger-wash); border-color: color-mix(in srgb, var(--danger) 35%, var(--paper)); color: #6F2014; }
.notice--ok { background: var(--ok-wash); border-color: color-mix(in srgb, var(--ok) 35%, var(--paper)); color: #1F4A2F; }
.notice--info { background: var(--accent-wash); border-color: color-mix(in srgb, var(--accent) 30%, var(--paper)); color: var(--accent-ink); }

/* ---- waitlist ------------------------------------------------------------------------------------ */
.waitlist { background: var(--paper-2); border-top: 1px solid var(--rule); }
.waitlist__copy { grid-column: 1 / span 4; }
.waitlist__copy p { color: var(--ink-2); margin-top: 20px; }
.waitlist__form { grid-column: 6 / span 7; }
.wl { position: relative; padding: clamp(20px, 3vw, 36px); background: var(--card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.wl .notice { margin-bottom: 20px; }
.wl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field--wide, .check--founding { grid-column: 1 / -1; }
.check--founding { padding: 14px; border-radius: 8px; background: var(--accent-wash); }
.check--founding a { margin-left: 6px; font-size: .875rem; color: var(--accent-ink); }
.wl__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.wl__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wl-done { padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); }
.wl-done__mark { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); }
.wl-done__mark .i { width: 24px; height: 24px; }
.wl-done .h3 { margin-bottom: 12px; }
.wl-done p { color: var(--ink-2); }
@media (max-width: 960px) { .waitlist__copy, .waitlist__form { grid-column: 1 / -1; } .waitlist__form { margin-top: 32px; } }
@media (max-width: 560px) { .wl__grid, .checks__list { grid-template-columns: minmax(0, 1fr); } .wl__foot .btn { width: 100%; } }

/* ---- footer ----------------------------------------------------------------------- */
.site-footer { padding-block: clamp(44px, 5vw, 72px) 28px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: var(--col-gap); }
.footer-brand p { margin: 14px 0 0; max-width: 28em; color: var(--ink-2); font-size: .9375rem; }
.footer-col h2 { font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.footer-col a { text-decoration: none; color: var(--ink-2); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } .footer-brand { grid-column: 1 / -1; } }

/* ---- page heads ------------------------------------------------------------------------------------- */
.page-head { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--rule); }
.page-head .grid { align-items: end; }
.page-head__title { grid-column: 1 / span 7; }
.page-head__title .lede { margin-top: 18px; }
.page-head__aside { grid-column: 9 / span 4; }
.page-head .h1 { margin-top: 4px; }
.page-head--done .h1, .page-head--error .h1 { max-width: 16em; }
.page-head--done .lede, .page-head--error .lede { margin-top: 18px; }
.facts { list-style: none; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.facts .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 900px) { .page-head__title, .page-head__aside { grid-column: 1 / -1; } .page-head__aside { margin-top: 24px; } .result-actions { justify-content: flex-start; } }

/* ---- founding page --------------------------------------------------------------------------------- */
.founding { align-items: start; }
.founding__terms { grid-column: 1 / span 5; display: grid; gap: 30px; }
.terms .h4 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink-2); }
.terms p, .terms li { color: var(--ink-2); }
.founding__form { grid-column: 7 / span 6; }
.founding__form .h3 { margin-bottom: 16px; }
@media (max-width: 960px) { .founding__terms, .founding__form { grid-column: 1 / -1; } .founding__form { margin-top: 40px; } }

/* ---- the price tool ---------------------------------------------------------------------------------- */
.is-tool .page-head { padding-bottom: clamp(24px, 3vw, 40px); }
.tool { padding-block: clamp(24px, 3vw, 40px) var(--section); }
.tool__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; grid-template-areas: 'file main' 'price main' 'settings main'; column-gap: clamp(20px, 3vw, 44px); row-gap: 20px; align-items: start; }
.panel--file { grid-area: file; }
.panel--price { grid-area: price; }
.panel--settings { grid-area: settings; }
.tool__main { grid-area: main; min-width: 0; display: grid; gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel__head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 650; letter-spacing: -.025em; }
.panel__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-wash); font-size: .8125rem; font-weight: 650; color: var(--accent-ink); }
.panel__intro { margin: -8px 0 14px; font-size: .875rem; color: var(--ink-3); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields + .fields, .field + .fields { margin-top: 14px; }
.fields--filament { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field__spacer { font-size: .875rem; }
.affix { display: flex; align-items: stretch; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--card); transition: border-color .15s, box-shadow .15s; }
.affix:hover { border-color: var(--ink-3); }
.affix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42, 75, 155, .18); }
.affix .input { border: 0; min-height: 44px; min-width: 0; box-shadow: none !important; background: transparent; }
.affix__pre, .affix__post { display: grid; place-items: center; padding: 0 10px; font-family: var(--font-text); font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.affix__pre { padding-right: 0; }
.affix__post { padding-left: 0; }
.affix--big .input { font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; min-height: 56px; }
.affix--big .affix__pre { font-size: 1.3rem; font-weight: 500; color: var(--ink-2); }
input[type='number'] { -moz-appearance: textfield; }
input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { opacity: .4; }

.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop__zone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 18px 22px; text-align: center; border: 1.5px dashed var(--rule-strong); border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop__zone:hover, .drop.is-over .drop__zone { border-color: var(--accent); }
.drop.is-over .drop__zone { background-color: var(--accent-wash); }
.drop__input:focus-visible + .drop__zone { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); }
.drop__icon .i { width: 22px; height: 22px; }
.drop__title { font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.drop__sub { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-3); margin-bottom: 6px; }
.drop__samples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0; font-size: .875rem; color: var(--ink-3); }
.chipbtn { padding: 6px 11px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--card); font-size: .8125rem; color: var(--ink); }
.chipbtn:hover { border-color: var(--accent); color: var(--accent-ink); }
.manual { margin-top: 14px; border-top: 1px solid var(--rule); }
.manual summary { padding: 12px 0 0; }
.manual__form { padding-top: 14px; display: grid; gap: 14px; justify-items: start; }
.manual__form .fields { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loading { display: grid; gap: 8px; padding: 18px 0 4px; font-size: .9375rem; color: var(--ink-2); }
.loading__bar { height: 2px; background: linear-gradient(90deg, var(--accent) 0 30%, var(--rule) 30%); background-size: 200% 100%; animation: slide 1.1s linear infinite; }
@keyframes slide { from { background-position: 100% 0; } to { background-position: -100% 0; } }
[data-file-error] .notice { margin-top: 14px; }

.job__file { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.job__name { font-weight: 600; overflow-wrap: anywhere; }
.job__meta { grid-column: 1 / -1; font-family: var(--font-text); font-size: .75rem; color: var(--ink-3); }
.job__badge { align-self: start; padding: 2px 8px; border-radius: 6px; background: var(--ok-wash); color: var(--ok); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.job__badge--est { background: var(--paper-2); color: var(--ink-2); }
.job__notes { margin: 12px 0 0; display: grid; gap: 6px; }
.job__notes .notice { font-size: .8125rem; padding: 8px 10px; }
.plates { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.plates > legend { padding: 0; margin-bottom: 8px; }
.plates__label { font-size: .875rem; font-weight: 500; }
.plate { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); cursor: pointer; transition: border-color .15s; }
.plate:hover { border-color: var(--ink-3); }
.plate input { position: absolute; opacity: 0; pointer-events: none; }
.plate:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--card); }
.plate:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plate__thumb { width: 64px; height: 64px; object-fit: cover; background: var(--paper-3); border-radius: 6px; display: grid; place-items: center; font-family: var(--font-text); font-size: .8125rem; color: var(--ink-2); }
.plate__thumb--all { background: var(--paper-2); }
.plate__title { display: block; font-weight: 500; font-size: .9375rem; overflow-wrap: anywhere; }
.plate__meta { display: block; font-family: var(--font-text); font-size: .75rem; color: var(--ink-3); margin-top: 2px; }
.swatches { display: inline-flex; gap: 3px; vertical-align: -1px; margin-right: 4px; }
.swatch { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(24, 25, 27, .25); display: inline-block; }
.estimate-opts { margin-top: 14px; }
.yourprice { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.yourprice .field { flex: 1 1 220px; }

.group { border-top: 1px solid var(--rule); }
.group:last-child { border-bottom: 1px solid var(--rule); }
.group summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 13px 0; cursor: pointer; list-style: none; }
.group summary::-webkit-details-marker { display: none; }
.group__title { font-weight: 500; }
.group__summary { grid-column: 1; font-family: var(--font-text); font-size: .75rem; color: var(--ink-3); overflow-wrap: anywhere; }
.group summary .i { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s var(--ease); }
.group[open] summary .i { transform: rotate(180deg); }
.group__body { padding: 4px 0 18px; }
.group__intro { margin: 0 0 12px; font-size: .875rem; color: var(--ink-3); }
.group__action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; }
.fees { margin-top: 16px; padding-top: 4px; border-top: 1px dashed var(--rule-strong); }
.fees summary { padding: 10px 0; }
.fees .small { margin-top: 12px; }

.tool__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.share { flex-basis: 100%; display: grid; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--accent-wash); }
.share__row { display: flex; gap: 8px; }
.share__row .input { font-family: var(--font-text); font-size: .875rem; min-height: 40px; }
.share p { margin: 0; font-size: .8125rem; color: var(--accent-ink); }
.tool__cta { padding: 16px 18px; border-radius: 12px; background: var(--paper-2); font-size: .9375rem; }
.tool__cta p { margin-bottom: 10px; color: var(--ink-2); }
.tool__cta b { color: var(--ink); }
.tool__cta--result { margin-top: 24px; }
.toolbar { display: none; }
@media (min-width: 1101px) and (min-height: 860px) { .tool__main { position: sticky; top: 88px; } }
@media (max-width: 1100px) { .tool__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'file' 'price' 'main' 'settings'; } }
@media (max-width: 560px) {
  .fields, .fields--filament, .manual__form .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--num .field__hint { font-size: .75rem; }
  .toolbar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--ink-2); box-shadow: 0 -8px 24px -16px rgba(24, 25, 27, .35); }
  .toolbar__nums { display: grid; font-size: .75rem; color: var(--ink-3); line-height: 1.3; }
  .toolbar__nums b { font-family: var(--font-text); font-size: .875rem; color: var(--ink); font-weight: 500; }
  .is-tool .site-footer { padding-bottom: 96px; }
  .tool__actions .btn { flex: 1 1 100%; }
}

/* ---- admin ----------------------------------------------------------------------------------------- */
.is-admin { background: var(--paper); }
.admin-bar { border-bottom: 1px solid var(--rule); background: var(--card); }
.admin-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.admin-bar__tag { margin-left: 4px; padding: 2px 7px; border: 1px solid var(--accent); font-family: var(--font-text); font-size: .8125rem; color: var(--accent-ink); }
.admin-bar__who { display: flex; align-items: center; gap: 18px; font-size: .875rem; }
.admin-bar__who form { margin: 0; }
.admin { padding-block: 36px 80px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }
.admin-head .muted { margin: 6px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--card); }
.stat { display: grid; gap: 4px; padding: 16px 18px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; }
.stat__label { font-family: var(--font-text); font-size: .8125rem; letter-spacing: 0; color: var(--ink-3); }
.stat__n { font-size: 2.2rem; font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__sub { font-size: .8125rem; color: var(--ink-3); }
.meter { display: block; height: 4px; background: var(--paper-3); margin-top: 6px; }
.meter span { display: block; height: 100%; background: var(--accent); }
.admin-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 28px; }
.admin-cols--2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.admin-card { padding: 16px 18px; background: var(--card); border: 1px solid var(--rule-strong); min-width: 0; }
.admin-card .h4 { margin-bottom: 12px; }
.admin-card .h4 + .prewrap, .admin-card dl + .h4 { margin-top: 18px; }
.bars { list-style: none; display: grid; gap: 7px; font-size: .8125rem; }
.bars li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 2.5em; align-items: center; gap: 10px; }
.bars__track { height: 8px; background: var(--paper-2); }
.bars__fill { display: block; height: 100%; background: var(--accent); }
.bars b { font-family: var(--font-text); font-weight: 500; text-align: right; }
.admin-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.admin-filter .field { flex: 1 1 260px; }
.tabs { display: flex; gap: 2px; }
.tabs a { padding: 8px 12px; font-size: .875rem; text-decoration: none; color: var(--ink-2); border-bottom: 1.5px solid transparent; }
.tabs a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.admin-table th { font-family: var(--font-text); font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); background: var(--paper-2); }
.admin-table .clip { max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.status { display: inline-block; padding: 1px 7px; border: 1px solid var(--rule-strong); font-family: var(--font-text); font-size: .8125rem; white-space: nowrap; }
.status--accepted { border-color: var(--ok); color: var(--ok); }
.status--shortlisted { border-color: var(--accent); color: var(--accent-ink); }
.status--declined { color: var(--ink-3); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--rule-strong); }
.empty .h3 { margin-bottom: 8px; }
.kv { display: grid; }
.kv div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.kv dt { color: var(--ink-3); font-size: .875rem; }
.kv dd { overflow-wrap: anywhere; }
.stack { display: grid; gap: 14px; }
.danger-zone { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--rule-strong); display: grid; gap: 10px; justify-items: start; }
.crumbs { font-family: var(--font-text); font-size: .75rem; color: var(--ink-3); margin-bottom: 12px; overflow-wrap: anywhere; }
.crumbs a { color: var(--ink-3); }
.login { max-width: 420px; margin: 40px auto; padding: 32px; background: var(--card); border: 1px solid var(--ink-2); display: grid; gap: 16px; }
.login form { display: grid; gap: 16px; }
@media (max-width: 900px) { .stats, .admin-cols, .admin-cols--2 { grid-template-columns: minmax(0, 1fr); } .stat { border-left: 0; border-top: 1px solid var(--rule); } .stat:first-child { border-top: 0; } }
@media (max-width: 520px) { .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .bars li { grid-template-columns: 7.5em minmax(0, 1fr) 2em; } .admin-bar__who span { display: none; } }

/* ---- motion ---------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-lines .dims__line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .35s var(--ease) forwards; }
  .reveal-lines .dims text { opacity: 0; animation: fade .5s 1.1s forwards; }
  .csheet.is-fresh .ledger__row, .csheet.is-fresh .channels tbody tr { animation: rise .45s var(--ease) both; }
  .csheet.is-fresh .ledger__row:nth-child(2) { animation-delay: .03s; } .csheet.is-fresh .ledger__row:nth-child(3) { animation-delay: .06s; }
  .csheet.is-fresh .ledger__row:nth-child(4) { animation-delay: .09s; } .csheet.is-fresh .ledger__row:nth-child(5) { animation-delay: .12s; }
  .csheet.is-fresh .ledger__row:nth-child(6) { animation-delay: .15s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- print: one page, the costing sheet ------------------------------------------------------------- */
@media print {
  @page { size: auto; margin: 14mm; }
  body { background: #fff; display: block; font-size: 10pt; }
  .site-header, .mobile-nav, .site-footer, .skip-link, .panel, .tool__actions, .tool__cta, .toolbar, .page-head__aside, .page-head .lede, noscript, .result-actions { display: none !important; }
  .page-head { border: 0; padding: 0 0 4mm; }
  .page-head .h1 { font-size: 20pt; }
  .page-head .sec-num { margin-bottom: 2mm; }
  .tool, .section { padding: 0; }
  .wrap { padding: 0; max-width: none; }
  .tool__grid { display: block; }
  .csheet { box-shadow: none; break-inside: avoid; border-color: #000; }
  .csheet__body { grid-template-columns: 1fr 1.15fr !important; }
  .csheet__sell { border-top: 0 !important; border-left: 1px solid #bbb !important; }
  .csheet__fees { display: block; }
  .csheet__fees > summary { list-style: none; font-weight: 600; }
  .csheet__fees:not([open]) > .feegrid { display: grid; }
  .suggest { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .is-tool .page-head { display: block; }
}
