/* Fizz Custom Product Options. Identity: a gift-shop workbench. Aubergine ink, brass for anything engraved,
   bubble pink for actions (the Fizz bubbles), mint for "charges match". Rounded display type, big soft radii. */
:root {
  --paper: #fbf9ff; --surface: #ffffff; --sunk: #f3eefa;
  --ink: #23123a; --ink-2: #5d4e72; --ink-3: #85779a; --rule: #e6def0; --hair: rgba(35, 18, 58, .08);
  --pop: #cf2a68; --pop-soft: #fde6ef; --on-pop: #ffffff;
  --brass: #9a6a1f; --brass-hi: #e8b85c; --brass-soft: #f7ecd8;
  --mint: #0b7f5a; --mint-soft: #ddf5ea; --warn: #b42318; --warn-soft: #fde8e6;
  --shadow: 0 1px 2px rgba(35, 18, 58, .05), 0 8px 24px -12px rgba(35, 18, 58, .18);
  --shadow-lg: 0 2px 6px rgba(35, 18, 58, .06), 0 30px 70px -30px rgba(70, 30, 110, .35);
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif-engrave: "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --script: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #150c21; --surface: #1f1430; --sunk: #2a1d3d;
    --ink: #f5effc; --ink-2: #c4b6d6; --ink-3: #9a8bb0; --rule: #3a2b4f; --hair: rgba(255, 255, 255, .08);
    --pop: #ff6fa3; --pop-soft: #3d1a2c; --on-pop: #23071a;
    --brass: #e8b85c; --brass-soft: #3a2a14;
    --mint: #45d6a0; --mint-soft: #133227; --warn: #ff8a7a; --warn-soft: #3a1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 70px -30px rgba(0, 0, 0, .8);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; }
a { color: var(--pop); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--round); color: var(--ink); text-wrap: balance; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 750 1.02rem var(--round); }
.brand img { width: 30px; height: 30px; }
@media (prefers-color-scheme: dark) { .brand img { background: #f5effc; border-radius: 9px; padding: 2px; } }
.top nav { display: flex; gap: 22px; font-size: .95rem; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 600px) { .top nav .opt { display: none; } .brand { font-size: .92rem; } .top { gap: 10px; } }

/* Buttons from {{cta}} */
.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: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--pop); color: var(--on-pop); font: 700 1.02rem var(--round); text-decoration: none;
  box-shadow: 0 10px 24px -10px var(--pop); transition: transform .2s var(--ease), box-shadow .2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--pop); }
.cta-note { font-size: .88rem; color: var(--ink-2); max-width: 30em; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 40px 0 88px; align-items: center; }
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 52px; padding-top: 64px; } }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -.035em; font-weight: 850; margin: 0 0 20px; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 26px; max-width: 26em; }
.chip-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 16px; margin: 0 0 30px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow); font-size: .93rem; color: var(--ink-2); }
.chip-price strong { font: 800 1.1rem var(--round); color: var(--mint); }
.chip-price a { color: var(--ink-2); }
.bubbles { position: absolute; inset: -40px -24px 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(560px 380px at 78% 30%, color-mix(in srgb, var(--pop) 11%, transparent), transparent 70%); }
@media (prefers-color-scheme: dark) { .bubbles i { opacity: .5; border-color: color-mix(in srgb, var(--pop) 30%, transparent); } }
.bubbles i { position: absolute; bottom: -30px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--pop) 35%, transparent);
  background: color-mix(in srgb, var(--pop) 6%, transparent); animation: rise linear infinite; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .8; } to { transform: translateY(-110vh); opacity: 0; } }

/* Demo: a product page */
.demo { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: .84rem; color: var(--ink-3); }
.demo-bar .dots { display: inline-flex; gap: 6px; } .demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.demo-bar .url { flex: 1; min-width: 0; background: var(--sunk); border-radius: 999px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
@media (min-width: 640px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px; } }
.photo { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; background: radial-gradient(circle at 35% 30%, #fff8ef, #f1e4d3 60%, #e4d2bc); overflow: hidden; }
@media (prefers-color-scheme: dark) { .photo { background: radial-gradient(circle at 35% 30%, #4a3a5e, #33264a 60%, #261b38); } }
.photo svg { width: 100%; height: 100%; display: block; }
.photo .live { position: absolute; left: 12px; top: 12px; font-size: .72rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.85); color: #5d4e72; }
.engr { fill: #6b4612; transition: font-size .2s; }
.engr-shadow { fill: #fff3d6; opacity: .7; }
.f-serif { font-family: var(--serif-engrave); font-weight: 600; letter-spacing: .04em; }
.f-sans { font-family: "Avenir Next", "Futura", system-ui, sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.f-script { font-family: var(--script); font-weight: 400; }
.pinfo h2 { font-size: 1.35rem; margin: 2px 0 2px; letter-spacing: -.01em; }
.pinfo .vendor { font-size: .8rem; color: var(--ink-3); margin: 0; }
.price { font: 800 1.6rem var(--round); margin: 6px 0 14px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 10px; }
.price small { font: 600 .82rem var(--sans); color: var(--mint); opacity: 0; transition: opacity .3s; }
.price small.on { opacity: 1; }
.price .bump { display: inline-block; animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--pop); } }
.opt { margin: 0 0 14px; }
.opt > label, .opt > .lbl { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; font-weight: 650; margin: 0 0 6px; }
.opt .cost { font-weight: 500; color: var(--ink-3); }
.opt input[type=text] { width: 100%; font: 1rem var(--sans); padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); }
.opt input[type=text]:focus { outline: none; border-color: var(--pop); box-shadow: 0 0 0 4px var(--pop-soft); }
.count { font-size: .74rem; color: var(--ink-3); font-weight: 500; }
.fonts { display: flex; gap: 6px; flex-wrap: wrap; }
.fonts button { font-size: .9rem; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; }
.fonts button[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--rule); cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--pop); margin: 0; }
.check .cost { margin-left: auto; color: var(--ink-3); }
.check:has(input:checked) { border-color: var(--pop); background: var(--pop-soft); }
.swatches { display: flex; gap: 8px; margin-top: 8px; }
.swatches button { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--rule); cursor: pointer; }
.swatches button.sel { box-shadow: 0 0 0 2px var(--ink); }
.wrapopts[hidden] { display: none; }
.addbtn { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--ink); color: var(--surface); font: 700 1rem var(--round); cursor: pointer; transition: transform .15s; }
.addbtn:active { transform: scale(.98); }

/* Order strip under the product page */
.order { border-top: 1px dashed var(--rule); padding: 16px 24px 20px; background: var(--sunk); }
.order h3 { font: 650 .82rem var(--sans); color: var(--ink-3); margin: 0 0 8px; display: flex; justify-content: space-between; }
.order table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.order td { padding: 4px 0; } .order td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.order td small { display: block; color: var(--ink-3); font-size: .78rem; }
.order.empty td:last-child, .order.empty td small { color: var(--ink-3); }
.order tr.total td { border-top: 1px solid var(--rule); padding-top: 8px; font-weight: 750; }
.order tr.sub td { color: var(--ink-2); }
.verdict { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; font-size: .92rem; font-weight: 650;
  background: var(--mint-soft); color: var(--mint); transition: background-color .3s, color .3s; }
.verdict .tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--surface); font-size: .85rem; flex: none; }
.verdict.bad { background: var(--warn-soft); color: var(--warn); } .verdict.bad .tick { background: var(--warn); }
.verdict.wait { background: var(--surface); color: var(--ink-3); } .verdict.wait .tick { background: var(--rule); color: var(--ink-3); }
.verdict.pop { animation: bump .45s var(--ease); }
.missbtn { margin-top: 10px; font: inherit; font-size: .82rem; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo figcaption { padding: 0 24px 18px; background: var(--sunk); font-size: .8rem; color: var(--ink-3); }

/* Section rhythm */
section.band { padding: 88px 0; }
.head { text-align: center; max-width: 36em; margin: 0 auto 44px; }
.head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 12px; font-weight: 820; }
.head p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }

/* Field specimens */
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.spec { background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.spec .k { font: 700 .95rem var(--round); margin: 0; }
.spec .ui { background: var(--sunk); border-radius: 14px; padding: 12px; font-size: .86rem; min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.ui .fld { background: var(--surface); border: 1.5px solid var(--rule); border-radius: 10px; padding: 7px 10px; display: flex; justify-content: space-between; gap: 6px; }
.ui .fld.script { font-family: var(--script); font-size: 1.15rem; }
.ui .row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ui .dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--rule); }
.ui .dot.sel { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.ui .pill { padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--surface); }
.ui .pill.sel { border-color: var(--ink); }
.ui .muted { color: var(--ink-3); font-size: .78rem; }
.ui .file { display: flex; align-items: center; gap: 8px; }
.ui .file b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--brass-soft); color: var(--brass); font-size: .7rem; }
.ui label.check { padding: 7px 10px; background: var(--surface); }
.ui .reveal { transition: opacity .3s, transform .3s var(--ease); }
.ui .reveal[hidden] { display: block; opacity: .25; transform: translateY(-4px); pointer-events: none; }
.ui .reveal[hidden] .fld { border-style: dashed; color: var(--ink-3); }
.underline { text-align: center; color: var(--ink-2); margin: 26px 0 0; }

/* How the charge lands: four stops in order */
.lands { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: s; }
@media (min-width: 900px) { .lands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lands li { counter-increment: s; background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 16px; position: relative; min-width: 0; }
.lands h3 { font-size: 1rem; margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
.lands h3::before { content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sunk); font-size: .8rem; color: var(--ink-2); flex: none; }
.lands .vis { background: var(--sunk); border-radius: 14px; padding: 12px; font-size: .84rem; min-height: 118px; font-variant-numeric: tabular-nums; }
.lands .ln { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--surface); margin-bottom: 6px; }
.lands .ln.add { background: var(--brass-soft); }
.lands .ln.tot { background: none; font-weight: 750; border-top: 1px solid var(--rule); border-radius: 0; }
.lands p.cap { margin: 10px 0 0; font-size: .86rem; color: var(--ink-2); }
.js .lands li { opacity: .35; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .lands.play li { opacity: 1; transform: none; }
.js .lands.play li:nth-child(2) { transition-delay: .35s; } .js .lands.play li:nth-child(3) { transition-delay: .7s; } .js .lands.play li:nth-child(4) { transition-delay: 1.05s; }
.js .lands .ln.add { transform-origin: top; }
.js .lands.play li:nth-child(2) .ln.add { animation: split .6s .6s var(--ease) both; }
@keyframes split { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
.lands .ok { color: var(--mint); font-weight: 700; }
.lands .tagline { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); font-size: .76rem; font-weight: 650; }

/* Production sheet */
.sheet-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .sheet-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.sheet-row .head { text-align: left; margin: 0; }
.paper { background: #fffdf8; color: #2b2233; border-radius: 6px; padding: 26px 28px 30px; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg);
  font-size: .9rem; position: relative; max-width: 560px; justify-self: center; width: 100%; }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: radial-gradient(circle at 6px 6px, var(--paper) 4px, transparent 4.5px) 0 0 / 18px 12px repeat-x; }
.paper h3 { font: 700 1.05rem var(--sans); color: #2b2233; margin: 0 0 2px; display: flex; justify-content: space-between; }
.paper .meta { color: #6d6475; font-size: .8rem; margin: 0 0 14px; }
.paper .item { border-top: 1.5px solid #2b2233; padding: 12px 0 4px; }
.paper .item b { display: block; margin-bottom: 6px; }
.paper dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
.paper dt { color: #6d6475; } .paper dd { margin: 0; }
.paper dd.script { font-family: var(--script); font-size: 1.2rem; line-height: 1.1; }
.paper .stamp { position: absolute; right: 18px; bottom: 18px; transform: rotate(-8deg); border: 2px solid #0b7f5a; color: #0b7f5a; border-radius: 8px; padding: 2px 8px; font-weight: 750; font-size: .78rem; }

/* Variant maths band */
.maths { background: var(--ink); color: var(--paper); border-radius: 32px; padding: 44px 28px; text-align: center; position: relative; overflow: hidden; }
.maths h2 { color: var(--paper); font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 22px; letter-spacing: -.025em; }
.eq { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; font: 800 clamp(1.3rem, 3vw, 2rem) var(--round); font-variant-numeric: tabular-nums; margin: 0 0 24px; }
.eq span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 8px 16px; border-radius: 16px; }
.eq span small { display: block; font: 500 .74rem var(--sans); opacity: .7; }
.eq em { font-style: normal; opacity: .55; }
.eq .res { background: var(--brass-hi); color: #2b1748; border-color: transparent; }
@media (prefers-color-scheme: dark) { .maths { background: var(--sunk); color: var(--ink); } .maths h2 { color: var(--ink); } .eq span { background: rgba(255,255,255,.05); } }
.maths p { margin: 0 auto; max-width: 34em; opacity: .85; }
.maths a { color: var(--brass-hi); font-weight: 700; }

/* Comparison cards from {{compare}} */
.cmp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); align-items: stretch; }
.cmp-card { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; padding: 24px 20px 20px; display: flex; flex-direction: column; }
.cmp-card.us { background: linear-gradient(165deg, color-mix(in srgb, var(--pop) 12%, var(--surface)), var(--surface) 60%); border-color: color-mix(in srgb, var(--pop) 45%, var(--rule));
  box-shadow: var(--shadow-lg), 0 24px 60px -30px var(--pop); }
@media (min-width: 900px) { .cmp-card.us { transform: translateY(-10px); } }
.cmp-badge { position: absolute; top: -12px; left: 20px; background: var(--pop); color: var(--on-pop); font: 700 .74rem var(--round); padding: 4px 12px; border-radius: 999px; }
.cmp-name { font-size: 1.02rem; margin: 0 0 2px; line-height: 1.25; }
.cmp-plan { margin: 0; font-size: .84rem; color: var(--ink-3); }
.cmp-price { margin: 14px 0 8px; display: flex; align-items: baseline; gap: 3px; }
.cmp-amount { font: 850 2.6rem/1 var(--round); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cmp-card.us .cmp-amount { color: var(--pop); }
.cmp-per { color: var(--ink-3); font-size: .95rem; }
.cmp-tag { align-self: flex-start; font-size: .76rem; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--brass-soft); color: var(--brass); margin: 0 0 4px; }
.cmp-checks { list-style: none; margin: 14px 0 0; padding: 0; font-size: .88rem; }
.cmp-checks li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.cmp-checks li::before { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; font-weight: 800; margin-top: 2px; }
.cmp-checks li.yes::before { content: "✓"; background: var(--mint-soft); color: var(--mint); }
.cmp-checks li.no::before { content: "✕"; background: var(--sunk); color: var(--ink-3); }
.cmp-checks li.no { color: var(--ink-2); }
.cmp-sources { text-align: center; font-size: .78rem; color: var(--ink-3); margin: 26px auto 0; max-width: 62em; }
.cmp-sources a { color: var(--ink-3); }

/* Good to know */
.know { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.know li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; border: 1.5px dashed var(--rule); font-size: .93rem; color: var(--ink-2); }
.know li b { color: var(--ink); display: block; }
.know svg { flex: none; width: 28px; height: 28px; color: var(--brass); }

/* FAQ from {{faq}} */
.faq { 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: 20px 4px; font: 700 1.06rem var(--round); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sunk); color: var(--ink-2); font-weight: 500; transition: transform .25s var(--ease), background-color .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--pop-soft); color: var(--pop); }
.faq-a { padding: 0 4px 20px; color: var(--ink-2); max-width: 68ch; }
.faq-a p { margin: 0 0 10px; }

/* Guides list from {{guides}} / {{list}} */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.guide-list li { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: border-color .2s, transform .2s var(--ease); }
.guide-list li:hover { border-color: var(--pop); transform: translateY(-2px); }
.guide-list a { font: 750 1.08rem/1.3 var(--round); color: var(--ink); text-decoration: none; }
.guide-list a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.guide-list span { font-size: .9rem; color: var(--ink-2); }

/* Final CTA */
.final { text-align: center; padding: 72px 24px; margin: 24px 0 64px; border-radius: 36px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 50% 0%, color-mix(in srgb, var(--pop) 14%, transparent), transparent 70%); pointer-events: none; }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.03em; margin: 0 0 24px; position: relative; }
.final .cta { justify-content: center; position: relative; flex-direction: column; }

/* Footer */
footer.foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: .88rem; color: var(--ink-3); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.foot a { color: var(--ink-2); }

/* Articles and guides index */
.crumbs { font-size: .86rem; color: var(--ink-3); margin: 18px 0 0; }
.crumbs a { color: var(--ink-2); }
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 64px; }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 14px; font-weight: 830; }
.article .dek { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 10px; }
.article .upd { font-size: .86rem; color: var(--ink-3); margin: 0 0 32px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.prose h2 { font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.2; margin: 44px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: 6px 0; }
.prose code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--sunk); padding: 2px 5px; border-radius: 6px; }
.prose pre { background: var(--sunk); padding: 16px; border-radius: 14px; overflow-x: auto; font-size: .85rem; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 20px 0; padding: 4px 20px; border-left: 4px solid var(--brass-hi); color: var(--ink-2); font-style: italic; }
.prose .table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--rule); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { background: var(--sunk); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.aside-cta { margin: 48px 0 0; padding: 26px; border-radius: 24px; background: var(--sunk); display: grid; gap: 14px; }
.aside-cta h2 { margin: 0; font-size: 1.3rem; }
.aside-cta p { margin: 0; color: var(--ink-2); }
.related { margin-top: 48px; } .related h2 { font-size: 1.2rem; margin: 0 0 14px; }
.page-head { padding: 40px 0 36px; max-width: 720px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.035em; line-height: 1.04; margin: 14px 0 12px; font-weight: 850; }
.page-head p { color: var(--ink-2); font-size: 1.12rem; margin: 0; }

/* Tool */
.tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 40px; }
@media (min-width: 920px) { .tool { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.panel h2 { font-size: 1.1rem; margin: 0 0 14px; }
.optrows { display: grid; gap: 10px; }
.optrow { display: grid; grid-template-columns: minmax(0, 1fr) 92px auto 40px; gap: 8px; align-items: center; padding: 10px; border-radius: 16px; background: var(--sunk); }
.optrow input[type=text], .optrow input[type=number] { width: 100%; min-width: 0; font: .95rem var(--sans); padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); }
.optrow input:focus { outline: none; border-color: var(--pop); box-shadow: 0 0 0 3px var(--pop-soft); }
.optrow .kind { display: inline-flex; border-radius: 10px; border: 1.5px solid var(--rule); overflow: hidden; background: var(--surface); }
.optrow .kind button { font: 600 .8rem var(--sans); border: 0; background: none; color: var(--ink-2); padding: 8px 10px; cursor: pointer; }
.optrow .kind button[aria-pressed=true] { background: var(--ink); color: var(--surface); }
.optrow .del { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink-3); cursor: pointer; font-size: 1.1rem; }
.optrow .lab { grid-column: 1 / -1; font-size: .74rem; color: var(--ink-3); margin: -2px 2px 0; }
@media (max-width: 520px) { .optrow { grid-template-columns: minmax(0, 1fr) 80px 40px; } .optrow .kind { grid-column: 1 / -1; grid-row: 2; justify-self: start; } }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn2 { font: 650 .9rem var(--sans); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn2:hover { border-color: var(--ink-3); }
.result .big { font: 850 clamp(2.6rem, 7vw, 3.8rem)/1 var(--round); letter-spacing: -.03em; margin: 0; font-variant-numeric: tabular-nums; }
.result .big small { font: 500 1rem var(--sans); color: var(--ink-3); letter-spacing: 0; }
.meter { height: 12px; border-radius: 999px; background: var(--sunk); overflow: hidden; margin: 16px 0 6px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--mint); transition: width .4s var(--ease), background-color .3s; }
.meter.over i { background: var(--warn); }
.meter-l { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-3); }
.verdicts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.verdicts li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--mint-soft); }
.verdicts li.bad { background: var(--warn-soft); }
.verdicts li::before { content: "✓"; font-weight: 800; color: var(--mint); }
.verdicts li.bad::before { content: "!"; color: var(--warn); }
.split { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.split h3 { font-size: 1rem; margin: 0 0 6px; }
.split p { margin: 0 0 8px; font-size: .92rem; color: var(--ink-2); }
.fine { font-size: .8rem; color: var(--ink-3); }

/* Scroll-in for comparison cards */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubbles i { display: none; }
  .js .lands li, .js .rise { opacity: 1 !important; transform: none !important; }
}
.hero h1 .ln1 { display: block; }
@media (min-width: 1208px) { .bubbles { left: calc(50% - 50vw + 9px); right: calc(50% - 50vw + 9px); } }
