/* Fizz PO Inbox. One device runs through the page: a sheet of paper (the buyer's PO) next to a Shopify-style
   draft order, with flag colours that mean the same thing everywhere: amber = check it, rose = blocks the draft,
   blue = converted for you, green = matched. Motion plays once when a section comes into view and is off under
   prefers-reduced-motion, where every visual shows its finished state. */
:root {
  --bg: #f3f5f9; --surface: #ffffff; --ink: #14203f; --ink-2: #536079; --rule: #dde2ec; --hair: rgba(20, 32, 63, .08);
  --brand: #1d2f6f; --link: #2b45b5; --btn: #1d2f6f; --on-btn: #fff;
  --amber: #8a4f00; --amber-bg: #fff3d4; --amber-line: #eaa52a;
  --rose: #a81f37; --rose-bg: #ffe7eb; --rose-line: #e0526b;
  --green: #17704a; --green-bg: #e2f3e9; --info: #2b45b5; --info-bg: #e8edff;
  --paper: #fffdf7; --paper-ink: #22283a; --paper-rule: #e7e1d2;
  --glow: rgba(47, 76, 192, .16);
  --shadow: 0 1px 2px rgba(20, 32, 63, .06), 0 6px 20px -8px rgba(20, 32, 63, .14);
  --shadow-lg: 0 2px 6px rgba(20, 32, 63, .06), 0 30px 70px -30px rgba(20, 32, 63, .35);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120; --surface: #121a2e; --ink: #e7ebf5; --ink-2: #9ca7c0; --rule: #263049; --hair: rgba(255, 255, 255, .08);
    --brand: #c9d4ff; --link: #9fb4ff; --btn: #3a58d6; --on-btn: #fff;
    --amber: #f6c766; --amber-bg: rgba(234, 165, 42, .15); --amber-line: #eaa52a;
    --rose: #ff9aac; --rose-bg: rgba(224, 82, 107, .16); --rose-line: #e0526b;
    --green: #7ed9a8; --green-bg: rgba(46, 160, 100, .16); --info: #a9bbff; --info-bg: rgba(91, 120, 240, .18);
    --paper: #f4f1e6; --paper-ink: #22283a; --paper-rule: #ddd6c4;
    --glow: rgba(90, 120, 255, .22);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .88em; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); border-bottom: 1px solid var(--hair); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a:not([href="/guides/"]) { display: none; } }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -60px calc(50% - 50vw) 0; pointer-events: none;
  background:
    radial-gradient(560px 360px at 76% 34%, var(--glow), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--hair) 31px 32px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 25%, transparent 75%); }
@media (min-width: 1060px) { .hero { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr); gap: 56px; padding-top: 80px; } }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .88rem; font-weight: 600; color: var(--amber);
  background: var(--amber-bg); border-radius: 999px; padding: 4px 12px 4px 10px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-line); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-line) 30%, transparent); }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); font-weight: 780; letter-spacing: -0.04em; line-height: 1.03; margin: 0 0 18px; max-width: 12em; }
.lead { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 24px; max-width: 26em; }
.price-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 26px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; box-shadow: var(--shadow); font-size: .92rem; max-width: 100%; }
.price-chip strong { color: var(--green); font-size: 1rem; }
.price-chip span { color: var(--ink-2); }
.price-chip a { font-weight: 600; text-decoration: none; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--btn); color: var(--on-btn); font-weight: 650; text-decoration: none; box-shadow: 0 10px 24px -12px var(--btn);
  transition: transform .2s var(--ease), box-shadow .2s; }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px var(--btn); text-decoration: none; }
.cta-note { font-size: .88rem; color: var(--ink-2); max-width: 22em; }
.honest { margin: 22px 0 0; padding-left: 14px; border-left: 3px solid var(--amber-line); color: var(--ink-2); font-size: .93rem; max-width: 30em; }

/* Review demo */
.review { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 50px 120px -50px var(--glow); }
.rv-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: .88rem; min-width: 0; }
.rv-dots { display: inline-flex; gap: 6px; } .rv-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.rv-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rv-title span { font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.rv-state { margin-left: auto; font-size: .78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--info-bg); color: var(--info); white-space: nowrap; }
.rv-state.check { background: var(--amber-bg); color: var(--amber); }
.rv-state.done { background: var(--green-bg); color: var(--green); }
.rv-panes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; background:
  linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, var(--surface)), var(--surface)); }
@media (min-width: 760px) { .rv-panes { grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); } }

.po-sheet { align-self: start; position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 4px; padding: 20px 16px 16px;
  font: .74rem/1.45 var(--mono); box-shadow: 0 1px 0 var(--paper-rule), 0 12px 30px -18px rgba(0, 0, 0, .45); transform: rotate(-.6deg); overflow: hidden; }
.po-sheet::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 18px 18px 0;
  border-color: transparent var(--surface) #e9e2cf transparent; }
.po-clip { position: absolute; top: -6px; left: 22px; width: 14px; height: 34px; border: 2px solid #9aa3b5; border-radius: 8px; border-bottom-color: transparent; }
.po-top { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--paper-ink); padding-bottom: 8px; margin-bottom: 8px; }
.po-top b { display: block; letter-spacing: .08em; font-size: .8rem; }
.po-no { text-align: right; font-weight: 700; }
.po-no span, .po-top span { font-weight: 400; }
.po-ship { margin: 0 0 10px; color: #4b5266; }
.po-lines { width: 100%; border-collapse: collapse; }
.po-lines th { text-align: left; font-weight: 700; border-bottom: 1px solid var(--paper-rule); padding: 4px 4px; }
.po-lines td { padding: 6px 4px; border-bottom: 1px dashed var(--paper-rule); vertical-align: top; transition: background-color .35s; }
.po-lines th:not(:first-child), .po-lines td:not(:first-child) { text-align: right; white-space: nowrap; }
.po-lines tr.read td { background: rgba(43, 69, 181, .06); }
.po-lines tr.now td { background: rgba(43, 69, 181, .14); }
.po-lines tr.warn.read td { background: rgba(234, 165, 42, .16); }
.po-lines tr.err.read td { background: rgba(224, 82, 107, .14); }
.po-sub { text-align: right; margin: 10px 4px 0; }
.po-terms { margin: 14px 0 0; padding-top: 8px; border-top: 1px solid var(--paper-rule); color: #4b5266; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 26px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(43, 69, 181, .18), transparent); }
.reading .scan { opacity: 1; animation: scan 1.1s linear infinite; }
@keyframes scan { from { transform: translateY(40px); } to { transform: translateY(260px); } }

.draft { min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: .84rem; }
.dr-buyer { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; display: grid; gap: 1px; }
.dr-k { font-size: .74rem; color: var(--ink-2); }
.dr-meta { font-size: .76rem; color: var(--ink-2); }
.dr-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dr-lines li { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--green); border-radius: 10px; padding: 8px 10px; min-width: 0;
  transition: border-color .3s, opacity .4s var(--ease), transform .4s var(--ease); }
.dr-lines li.info { border-left-color: var(--info); }
.dr-lines li.warn { border-left-color: var(--amber-line); }
.dr-lines li.err { border-left-color: var(--rose-line); }
.dr-lines li.done { border-left-color: var(--green); }
.dl-row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.dl-name { font-weight: 600; min-width: 0; }
.dl-name code { display: inline-block; font-weight: 400; color: var(--ink-2); font-size: .72rem; margin-left: 2px; }
.dl-name em { font-style: normal; font-weight: 500; color: var(--rose); font-size: .76rem; }
.dl-amt { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.flag { margin: 4px 0 0; font-size: .76rem; line-height: 1.35; display: flex; gap: 6px; }
.flag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: .38em; background: currentColor; }
.f-ok { color: var(--green); } .f-info { color: var(--info); } .f-warn { color: var(--amber); } .f-err { color: var(--rose); }
.dl-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dl-act button { font: inherit; font-size: .76rem; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--rule); background: var(--bg);
  color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.dl-act button:hover { border-color: var(--link); }
.dl-act button[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.dl-act code { font-size: .7rem; opacity: .8; }
.dr-foot { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--rule); }
.dr-total { display: grid; } .dr-total span { font-size: .74rem; color: var(--ink-2); }
.dr-total b { font-size: 1.15rem; font-variant-numeric: tabular-nums; } .dr-total small { font-size: .72rem; color: var(--ink-2); }
.create { font: inherit; font-weight: 650; font-size: .86rem; padding: 9px 14px; border-radius: 10px; border: 0; background: var(--btn); color: var(--on-btn); cursor: pointer;
  transition: opacity .2s, transform .2s var(--ease); }
.create:disabled { opacity: .38; cursor: not-allowed; }
.create:not(:disabled):hover { transform: translateY(-1px); }
.create.made { background: var(--green); color: var(--surface); }
.dr-left { grid-column: 1 / -1; margin: 0; font-size: .76rem; color: var(--amber); text-align: right; }
.dr-left.ok { color: var(--green); }
.review figcaption { padding: 10px 16px 14px; font-size: .82rem; color: var(--ink-2); border-top: 1px solid var(--rule); }
.replay { font: inherit; font-size: .82rem; background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; }
.js .review [data-i] { opacity: 0; transform: translateY(6px); }
.js .review .po-lines tr[data-i] { opacity: 1; transform: none; }
.js .review [data-i].shown { opacity: 1; transform: none; }

/* Sections */
.sec { padding-top: 96px; padding-bottom: 24px; }
.band { margin-top: 96px; padding: 80px 0; background: var(--surface); border-block: 1px solid var(--hair); }
.band + .sec { padding-top: 96px; }
.head { max-width: 40em; margin: 0 auto 40px; text-align: center; }
.head h2, .split h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 760; letter-spacing: -0.035em; margin: 0 0 10px; }
.head p, .one { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
.fine { text-align: center; font-size: .82rem; color: var(--ink-2); margin: 18px 0 0; }

/* Formats tray */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.tray { position: relative; height: 230px; max-width: 520px; width: 100%; margin: 0 auto; }
.docs { position: absolute; inset: 0 0 60px; display: flex; justify-content: center; align-items: flex-end; }
.doc { position: relative; width: 84px; height: 106px; margin: 0 -8px; border-radius: 6px; background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45), 0 0 0 1px var(--paper-rule); padding: 10px 9px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .9s var(--ease); }
.doc b { font: 700 .72rem var(--sans); padding: 2px 6px; border-radius: 4px; align-self: flex-start; color: #fff; }
.doc i { display: block; height: 4px; border-radius: 2px; background: var(--paper-rule); }
.doc i:nth-child(3) { width: 70%; } .doc i:nth-child(4) { width: 85%; }
.d-pdf { --r: -12deg; --y: 4px; } .d-pdf b { background: #c2410c; }
.d-xls { --r: -5deg; --y: -10px; } .d-xls b { background: #15803d; }
.d-csv { --r: 1deg; --y: -18px; z-index: 1; } .d-csv b { background: #475569; }
.d-img { --r: 6deg; --y: -8px; background: linear-gradient(160deg, #c7d2fe, #fde68a); } .d-img b { background: #6d28d9; }
.d-txt { --r: 12deg; --y: 6px; } .d-txt b { background: #2b45b5; }
.js .tray:not(.in) .doc { --y: -60px; --r: 0deg; }
.tray-box { position: absolute; left: 6%; right: 6%; bottom: 0; height: 84px; border-radius: 6px 6px 18px 18px; z-index: 2;
  background: linear-gradient(180deg, var(--amber-line), #d68d14); box-shadow: 0 20px 40px -20px rgba(214, 141, 20, .7);
  display: grid; place-items: end center; padding-bottom: 14px; }
.tray-box::before { content: ""; position: absolute; left: 28%; right: 28%; top: 0; height: 26px; border-radius: 0 0 14px 14px; background: rgba(0, 0, 0, .14); }
.tray-box span { font-weight: 700; color: #3b2600; letter-spacing: -0.01em; }

/* Flags */
.flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.flags li { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 14px 16px 16px; box-shadow: var(--shadow); display: grid; gap: 6px;
  border-top: 3px solid var(--amber-line); }
.flags li.err { border-top-color: var(--rose-line); } .flags li.info { border-top-color: var(--info); }
.flags b { font-size: .95rem; }
.flags span { font-size: .86rem; color: var(--ink-2); }

@media (max-width: 600px) {
  .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flags li { padding: 10px 11px 12px; border-radius: 12px; }
  .flags b { font-size: .88rem; } .flags span { font-size: .78rem; }
  .doc { width: 66px; height: 88px; margin: 0 -10px; }
  .tray { height: 200px; }
}

/* Memory */
.mem { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.mem-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 12px; margin-bottom: 18px; max-width: 100%; flex-wrap: wrap; }
.mem-tabs button { font: inherit; font-size: .9rem; padding: 7px 14px; border-radius: 9px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.mem-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.mem-row { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 12px; align-items: center; }
.mem-code, .mem-ours { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; }
.mem-code { background: var(--paper); color: var(--paper-ink); font-family: var(--mono); font-size: .84rem; box-shadow: 0 0 0 1px var(--paper-rule); }
.mem-ours { border: 1px solid var(--rule); }
.mem-code small, .mem-ours small { font: .74rem var(--sans); color: inherit; opacity: .7; }
.mem-arrow { height: 2px; background: var(--amber-line); position: relative; transition: background-color .4s; }
.mem-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: inherit; border-left: 8px solid var(--amber-line); border-right: 0; transition: border-color .4s; }
.mem-flag { grid-column: 1 / -1; font-size: .88rem; padding: 10px 12px; border-radius: 10px; }
.mem-flag.first { background: var(--amber-bg); color: var(--amber); }
.mem-flag.next { background: var(--green-bg); color: var(--green); display: none; }
.mem-row[data-state="next"] .mem-flag.first { display: none; }
.mem-row[data-state="next"] .mem-flag.next { display: block; animation: pop .45s var(--ease); }
.mem-row[data-state="next"] .mem-arrow { background: var(--green); }
.mem-row[data-state="next"] .mem-arrow::after { border-left-color: var(--green); }
@media (max-width: 600px) { .mem-row { grid-template-columns: minmax(0, 1fr); } .mem-arrow { width: 2px; height: 24px; margin-left: 24px; } .mem-arrow::after { display: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Steps: a real sequence, lit one after another when in view */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: s; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: var(--rule); }
  .steps::after { content: ""; position: absolute; top: 31px; left: 10%; height: 2px; width: 0; background: var(--btn); transition: width 2.2s var(--ease); }
  .steps.in::after, .no-motion .steps::after { width: 80%; } }
.steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.steps b { font-size: 1rem; margin-top: 8px; }
.steps li > span:last-child { font-size: .88rem; color: var(--ink-2); max-width: 16em; }
.s-ic { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule);
  box-shadow: var(--shadow); display: grid; place-items: center; transition: background-color .4s, border-color .4s; }
.s-ic::before { content: ""; width: 26px; height: 26px; background: var(--ink-2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background-color .4s; }
.steps.in li .s-ic, .no-motion .steps li .s-ic { border-color: var(--btn); }
.steps.in li .s-ic::before, .no-motion .steps li .s-ic::before { background: var(--link); }
.steps li:nth-child(2) .s-ic, .steps li:nth-child(2) .s-ic::before { transition-delay: .45s; }
.steps li:nth-child(3) .s-ic, .steps li:nth-child(3) .s-ic::before { transition-delay: .9s; }
.steps li:nth-child(4) .s-ic, .steps li:nth-child(4) .s-ic::before { transition-delay: 1.35s; }
.steps li:nth-child(5) .s-ic, .steps li:nth-child(5) .s-ic::before { transition-delay: 1.8s; }
.ic-up { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l4 4v8h-2V7h-3V4H6v16h6v2H4V2zm11 12 4 4-1.4 1.4-1.6-1.6V23h-2v-5.2l-1.6 1.6L13 18z'/%3E%3C/svg%3E"); }
.ic-buyer { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V9l6-4v4l6-4v4h6v12zm2-2h14v-8h-6V8.7l-6 4V8.7l-2 1.4zm3-4h2v2H8zm4 0h2v2h-2zm4 0h2v2h-2z'/%3E%3C/svg%3E"); }
.ic-flag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 22V3h11l1 2h5v11h-8l-1-2H7v8zm2-10h7.2l1 2H20V7h-4.2l-1-2H7z'/%3E%3C/svg%3E"); }
.ic-draft { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h14v20H5zm2 2v16h10V4zm1.5 8.5 1.4-1.4L11.5 13l3.6-3.6 1.4 1.4-5 5z'/%3E%3C/svg%3E"); }
.ic-send { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h20v16H2zm2 2.4V18h16V6.4l-8 5.3zM5.8 6 12 10.1 18.2 6z'/%3E%3C/svg%3E"); }

/* Today */
.today { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.t-col { background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.t-col h3 { margin: 0 0 12px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.t-col h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.t-yes { --c: #22a06b; } .t-not { --c: var(--amber-line); } .t-need { --c: var(--info); }
.t-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.t-col li { font-size: .93rem; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--rule); }

/* Comparison cards (markup from the build) */
.cmp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
.cmp-card { position: relative; background: var(--bg); border: 1px solid var(--hair); border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; min-width: 0; }
.cmp-card.us { background: linear-gradient(165deg, #22367e, #14214f 70%); color: #eef1fb; border-color: transparent;
  box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(47, 76, 192, .7); }
@media (min-width: 1000px) { .cmp-card.us { transform: translateY(-10px); } }
.cmp-badge { position: absolute; top: -11px; left: 20px; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--amber-line); color: #3b2600; }
.cmp-name { margin: 0 0 4px; font-size: 1.02rem; letter-spacing: -0.01em; }
.cmp-plan { margin: 0 0 14px; font-size: .84rem; color: var(--ink-2); }
.cmp-card.us .cmp-plan, .cmp-card.us .cmp-per { color: #b9c3e6; }
.cmp-price { margin: 0; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.cmp-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cmp-per { font-size: .9rem; color: var(--ink-2); }
.cmp-tag { display: inline-block; align-self: flex-start; margin-top: 10px; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--amber-bg); color: var(--amber); }
.cmp-card.us .cmp-tag { background: rgba(242, 179, 61, .18); color: #ffd98a; }
.cmp-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.cmp-checks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--rule); font-size: .88rem; }
.cmp-card.us .cmp-checks li { border-top-color: rgba(255, 255, 255, .12); }
.cmp-checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%2322a06b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cmp-checks li.no { color: var(--ink-2); }
.cmp-checks li.no::before { background: var(--rule) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 5 6 6m0-6-6 6' fill='none' stroke='%23808aa3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cmp-card.us .cmp-checks li.no { color: #b9c3e6; }
.cmp-card.us .cmp-checks li.no::before { background-color: rgba(255, 255, 255, .14); }
.cmp-sources { margin: 22px auto 0; max-width: 62em; text-align: center; font-size: .78rem; color: var(--ink-2); }
.cmp-sources a { color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: .35em; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-a { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }
.faq-a p { margin: 0 0 8px; }

/* Guides list */
.guide-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 12px; }
.guide-list li { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.guide-list a { font-weight: 650; font-size: 1.02rem; color: var(--ink); text-decoration: none; }
.guide-list a:hover { color: var(--link); }
.guide-list span { font-size: .9rem; color: var(--ink-2); }

/* End */
.end { padding-top: 80px; padding-bottom: 96px; }
.end-card { text-align: center; padding: 56px 24px; border-radius: 24px; background:
  radial-gradient(500px 220px at 50% 0%, var(--glow), transparent 70%), var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); }
.end-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 8px; letter-spacing: -0.035em; }
.end-card p { color: var(--ink-2); margin: 0 0 24px; }
.end-card .cta { justify-content: center; }
.end-card .cta-note { flex-basis: 100%; max-width: none; }

.foot { border-top: 1px solid var(--hair); padding: 28px 0 40px; font-size: .88rem; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot p { margin: 0; } .foot a { color: var(--ink-2); } .foot b { color: var(--ink); }

/* Articles */
.crumbs { font-size: .86rem; color: var(--ink-2); margin: 36px 0 0; }
.crumbs a { color: var(--ink-2); }
.article { max-width: 720px; margin: 0 auto; padding: 0 0 56px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 780; letter-spacing: -0.035em; line-height: 1.08; margin: 14px 0 14px; }
.article .meta { color: var(--ink-2); font-size: .9rem; margin: 0 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.prose { font-size: 1.06rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin: 2.2em 0 .5em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 3px solid var(--amber-line); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose pre { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: .88rem; }
.prose code { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 5px; }
.prose pre code { border: 0; padding: 0; }
.prose .table { overflow-x: auto; margin: 0 0 1.2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 650; }
.art-cta { margin: 40px 0 0; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow); }
.art-cta h2 { margin: 0 0 6px; font-size: 1.2rem; }
.art-cta p { margin: 0 0 16px; color: var(--ink-2); }
.related { margin-top: 48px; }
.related h2 { font-size: 1.2rem; margin: 0 0 14px; }
.related .guide-list { margin: 0; }
.guides-page { max-width: 820px; margin: 0 auto; padding: 0 0 80px; }
.guides-page h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); letter-spacing: -0.035em; margin: 14px 0 8px; }
.guides-page > p { color: var(--ink-2); margin: 0 0 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .review [data-i], .js .tray:not(.in) .doc { opacity: 1; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); }
  .js .review .dr-lines li, .js .review .dr-buyer { transform: none; }
}
