/* Shared design for the spin-off app sites (spinwheelpopup.com,
   getsessionrecordings.com). Each page sets its brand in an inline :root block:
   --brand (buttons, accents), --brand-2 (gradient partner), --brand-ink (text on
   light), --soft / --soft-2 (tints). One light theme on purpose: the product
   art is drawn on light brand tones. Inter (variable, self-hosted) throughout. */
@font-face { font-family: "Inter"; src: url("/assets/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --ink: #15131c; --text: #3b3946; --muted: #6b6878; --faint: #6d6a7a;
  --line: #ebe8f0; --line-2: #ddd9e5; --bg: #fff;
  --panel: color-mix(in srgb, var(--brand) 5%, #f8f7f5);
  --panel-2: color-mix(in srgb, var(--brand) 9%, #f5f3f0);
  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(18, 16, 28, .05);
  --sh-2: 0 1px 2px rgba(18, 16, 28, .05), 0 10px 28px -14px rgba(18, 16, 28, .18);
  --sh-3: 0 2px 6px rgba(18, 16, 28, .04), 0 28px 64px -28px rgba(18, 16, 28, .32);
  --wrap: 1200px; --head: 68px;
  /* Blog category tones (cards, chips, cover grounds) */
  --t-peach: #ffe6d8; --t-peach-ink: #a2401a;
  --t-sky: #e2e7ff; --t-sky-ink: #3343a8;
  --t-butter: #fff0c8; --t-butter-ink: #8a5a00;
  --t-mint: #d8f3e6; --t-mint-ink: #12704c;
  --t-lilac: #ebe3ff; --t-lilac-ink: #5a33c9;
  --t-rose: #ffe1e8; --t-rose-ink: #a8244c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.6 var(--font); font-feature-settings: "cv11" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; font-weight: 750; letter-spacing: -.03em; }
h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 780; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.65rem); line-height: 1.1; letter-spacing: -.036em; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.hl { color: var(--brand); }
.nw { white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.lede { font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0; cursor: pointer;
  font: 650 .98rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn svg { flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -10px var(--brand); }
.btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--brand) 88%, #000); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, var(--line-2)), var(--sh-1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #2a2735; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.04rem; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: .92rem; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* ── Header ──────────────────────────────────────────────────────────── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.hd.scrolled, .hd:has(+ main .page-hero), .hd:has(+ main .post-head) { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; gap: 10px; height: var(--head); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 760; font-size: 1.14rem; letter-spacing: -.03em; white-space: nowrap; }
.logo img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.logo:hover { color: var(--ink); }
.by { font-size: .8rem; font-weight: 600; color: var(--faint); text-decoration: none; white-space: nowrap; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); margin-left: 2px; }
.by:hover { color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { color: var(--ink); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 9%, #fff); }
.hd .btn { margin-left: 10px; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--panel); }
.mnav-panel { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 32px)); background: #fff; border-radius: var(--r); box-shadow: var(--sh-3), 0 0 0 1px var(--line); padding: 10px; display: grid; gap: 2px; }
.mnav-panel a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav-panel a:hover { background: var(--panel); }
.mnav-panel .btn { margin-top: 8px; color: #fff; }
@media (max-width: 960px) {
  .nav, .hd .btn.hd-cta { display: none; }
  .mnav { display: block; margin-left: auto; }
}
@media (max-width: 420px) { .by { display: none; } }

/* ── Hero (home) ─────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: 64px 72px; background:
  radial-gradient(900px 480px at 80% 0%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
  radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, var(--brand-2) 10%, transparent), transparent 70%), #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 50% 20%, #000, transparent 75%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(2.35rem, 4.4vw, 3.5rem); }
.hero .lede { margin-top: 20px; font-size: 1.2rem; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; }
.pill b { background: var(--brand); color: #fff; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.pill:hover { color: var(--ink); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .93rem; font-weight: 550; color: var(--text); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { color: var(--brand); flex: none; }
.hero-art { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--panel); box-shadow: var(--sh-3), 0 0 0 1px rgba(18, 16, 28, .05); }
.hero-art img { width: 100%; }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; } .hero { padding-block: 40px 48px; } }

/* Facts strip under the hero */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; gap: 12px; align-items: center; padding: 22px 20px; font-size: .95rem; color: var(--text); }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--ink); font-weight: 650; }
.facts .fi { width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
@media (max-width: 960px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts ul { grid-template-columns: minmax(0, 1fr); } .facts li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding-block: 88px; }
.section.tight { padding-block: 56px; }
.section.panel { background: var(--panel); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head.left { margin-inline: 0; text-align: left; justify-items: start; }
.section-head .lede { margin: 0 auto; }
.section-head.left .lede { margin: 0; }
@media (max-width: 960px) { .section { padding-block: 60px; } .section-head { margin-bottom: 34px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 1rem; }
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Feature rows: art on a soft panel, copy beside it */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.feature.flip > :first-child { order: 2; }
.feature .art { border-radius: var(--r-xl); overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px rgba(18, 16, 28, .05), var(--sh-2); }
.feature .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-1); color: var(--brand-ink); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.feature .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.feature h2 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.feature p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); }
.ticks svg { flex: none; margin-top: 3px; color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 650; text-decoration: none; color: var(--brand-ink); }
.more:hover { gap: 9px; }
.more svg { transition: transform .15s ease; }
@media (max-width: 960px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feature.flip > :first-child { order: 0; } .feature + .feature { margin-top: 72px; } }

/* Cards (use cases, games, links) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: grid; gap: 10px; align-content: start; background: #fff; border-radius: var(--r-lg); padding: 26px; text-decoration: none; color: var(--text);
  box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform .18s ease, box-shadow .18s ease; }
a.card:hover { transform: translateY(-3px); color: var(--text); box-shadow: var(--sh-2), 0 0 0 1px color-mix(in srgb, var(--brand) 30%, var(--line)); }
.card .ic { width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 4px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .go { margin-top: 6px; font-size: .92rem; font-weight: 650; color: var(--brand-ink); display: inline-flex; gap: 6px; align-items: center; }
.card.media { padding: 0; overflow: hidden; }
.card.media .cm-art { background: var(--panel); aspect-ratio: 16 / 10; overflow: hidden; }
.card.media .cm-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease; }
.card.media:hover .cm-art img { transform: scale(1.03); }
.card.media .cm-body { padding: 22px 24px 24px; display: grid; gap: 8px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr) !important; } }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 20px; max-width: var(--plans-w, 860px); margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.plan.rec { box-shadow: var(--sh-3), 0 0 0 2px var(--brand); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.15rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.plan .price b { font-size: 3rem; font-weight: 780; letter-spacing: -.05em; line-height: 1; }
.plan .price span { color: var(--muted); font-weight: 550; }
.plan .note { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 11px; flex: 1; align-content: start; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.plan li svg { flex: none; margin-top: 3px; color: var(--brand); }
.plan .btn { width: 100%; margin-top: 6px; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* Usage calculator (pricing pages) */
.calc { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; color: var(--ink); }
.calc output { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.calc input[type="range"] { width: 100%; margin: 18px 0 8px; accent-color: var(--brand); height: 28px; }
.calc .scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.calc .result { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc .result div { background: var(--panel); border-radius: var(--r); padding: 16px 18px; }
.calc .result small { display: block; color: var(--muted); font-size: .85rem; font-weight: 550; }
.calc .result b { display: block; margin-top: 4px; font-size: 1.6rem; font-weight: 760; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .how { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* Tables */
.table { position: relative; overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table.slim table { min-width: 0; }
.table:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.table th, .table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--panel); color: var(--ink); font-weight: 650; font-size: .88rem; letter-spacing: .01em; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--brand) 3%, #fff); }
.table td:first-child { color: var(--ink); font-weight: 550; }
.table td:not(:first-child), .table th:not(:first-child) { font-variant-numeric: tabular-nums; }
.table .yes { color: #16805a; font-weight: 700; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s ease; }
.faq details[open] { box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; font-weight: 650; font-size: 1.04rem; color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315131c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 11px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); }
.faq .a p + p { margin-top: .8em; }

/* CTA band */
.band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 64px 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), radial-gradient(500px 300px at 0% 100%, color-mix(in srgb, var(--brand-2) 30%, transparent), transparent 70%); pointer-events: none; }
.band > * { position: relative; }
.band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.band p { color: rgba(255, 255, 255, .78); margin-top: 12px; max-width: 54ch; font-size: 1.06rem; }
.band .side { display: grid; gap: 12px; justify-items: start; }
.band .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.band .btn-primary:hover { background: #f2f0f7; color: var(--ink); }
.band small { color: rgba(255, 255, 255, .7); font-size: .88rem; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); padding: 44px 28px; } }

/* Makers block (links to myuser.ai and the sister app) */
.makers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: var(--panel); border-radius: var(--r-xl); padding: 44px; }
.makers h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 12px; }
.makers p { margin-top: 12px; color: var(--muted); }
.makers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.makers li a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.makers li a:hover { transform: translateX(3px); box-shadow: var(--sh-2), 0 0 0 1px var(--line-2); color: var(--ink); }
.makers li .mi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand-ink); overflow: hidden; }
.makers li .mi img { width: 40px; height: 40px; }
.makers li b { display: block; font-weight: 650; }
.makers li small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.makers li svg.arr { margin-left: auto; color: var(--faint); flex: none; }
@media (max-width: 860px) { .makers { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 24px; } }

/* ── Footer ──────────────────────────────────────────────────────────── */
.ft { margin-top: 96px; background: #111017; color: #b9b6c6; padding-block: 64px 32px; font-size: .93rem; }
.ft .cols { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft h4 { color: #fff; font-size: .85rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { color: #b9b6c6; text-decoration: none; }
.ft a:hover { color: #fff; }
.ft .about p { margin-top: 14px; max-width: 36ch; color: #9a96a9; line-height: 1.6; }
.ft .logo { color: #fff; }
.ft .made { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e6e3ef; font-weight: 600; font-size: .88rem; }
.ft .made:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ft .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #25232e; color: #7f7b8f; font-size: .85rem; }
.ft .base a { color: #a9a5b8; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .ft .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft .about { grid-column: 1 / -1; } }

/* ── Inner page hero ─────────────────────────────────────────────────── */
.page-hero { position: relative; padding-block: 44px 52px; background: linear-gradient(180deg, var(--panel), #fff); border-bottom: 1px solid var(--line); }
.page-hero.split .ph-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-top: 14px; }
.page-hero .lede { margin-top: 16px; }
.page-hero .ph-art { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3), 0 0 0 1px rgba(18, 16, 28, .05); background: var(--panel); }
@media (max-width: 960px) { .page-hero.split .ph-in { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 2px; border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(45deg); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ── Prose ───────────────────────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.07rem; line-height: 1.75; color: #33313d; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; letter-spacing: -.03em; scroll-margin-top: calc(var(--head) + 20px); }
.prose h3 { margin-top: 1.7em; font-size: 1.2rem; scroll-margin-top: calc(var(--head) + 20px); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { font-weight: 550; text-decoration-color: color-mix(in srgb, var(--brand-ink) 35%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.08em; }
.prose code { font: 600 .88em/1 var(--mono); background: var(--panel); padding: 3px 6px; border-radius: 6px; color: var(--ink); }
.prose .table { margin-block: 1.8em; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: var(--r-lg); background: var(--panel); box-shadow: 0 0 0 1px rgba(18, 16, 28, .06), var(--sh-2); }
.prose figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--panel); font-size: 1rem; line-height: 1.65; color: var(--text); }
.callout .ci { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--brand-ink); box-shadow: var(--sh-1); }
.callout.note { background: #f3f5fb; }
.callout.note .ci { color: #3343a8; }
.callout b:first-child { color: var(--ink); }
.prose .callout + .callout { margin-top: .8em; }
.legal .prose { font-size: 1rem; }
.legal .prose h2 { font-size: 1.3rem; }

/* ── Blog: post page ─────────────────────────────────────────────────── */
.post-head { padding-block: 40px 8px; background: linear-gradient(180deg, var(--panel), #fff 85%); }
.post-head .ph-in { max-width: 860px; }
.post-head h1 { font-size: clamp(2.05rem, 4.3vw, 3.2rem); margin-top: 16px; line-height: 1.08; }
.post-head .lede { margin-top: 18px; font-size: 1.18rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.byline .who { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.byline .who img { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.byline .meta { color: var(--muted); }
.tagc { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; background: var(--tone, var(--panel-2)); color: var(--tone-ink, var(--brand-ink)); }
.tagc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
a.tagc:hover { filter: saturate(1.2) brightness(.97); color: var(--tone-ink, var(--brand-ink)); }
[data-tone="peach"] { --tone: var(--t-peach); --tone-ink: var(--t-peach-ink); }
[data-tone="sky"] { --tone: var(--t-sky); --tone-ink: var(--t-sky-ink); }
[data-tone="butter"] { --tone: var(--t-butter); --tone-ink: var(--t-butter-ink); }
[data-tone="mint"] { --tone: var(--t-mint); --tone-ink: var(--t-mint-ink); }
[data-tone="lilac"] { --tone: var(--t-lilac); --tone-ink: var(--t-lilac-ink); }
[data-tone="rose"] { --tone: var(--t-rose); --tone-ink: var(--t-rose-ink); }
.post-cover { margin-top: 34px; border-radius: var(--r-xl); overflow: hidden; background: var(--tone, var(--panel)); box-shadow: 0 0 0 1px rgba(18, 16, 28, .05), var(--sh-2); aspect-ratio: 16 / 9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: 230px minmax(0, 720px) 270px; gap: 56px; justify-content: center; align-items: start; padding-block: 48px 24px; }
.post-grid > article { min-width: 0; }
.post-grid .prose { margin: 0; }
.toc-side { position: sticky; top: calc(var(--head) + 28px); font-size: .9rem; max-height: calc(100vh - var(--head) - 56px); overflow: auto; }
.toc-side b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 12px; }
.toc-side ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc-side li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc-side li a:hover { color: var(--ink); }
.toc-side li a.on { color: var(--brand-ink); border-left-color: var(--brand); font-weight: 600; }
.share { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.share b { margin-bottom: 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); border: 0; cursor: pointer; text-decoration: none; }
.share-row a:hover, .share-row button:hover { color: var(--brand-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, var(--line-2)); }
.share-row button.done { color: #16805a; }
.copy-fallback { width: 100%; margin-top: 8px; min-height: 34px; padding: 0 8px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .78rem/1 var(--mono); }
.aside-card { position: sticky; top: calc(var(--head) + 28px); background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.aside-card .ac-top { display: flex; align-items: center; gap: 12px; }
.aside-card .ac-top img { width: 44px; height: 44px; border-radius: 12px; }
.aside-card .ac-top b { display: block; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.aside-card .ac-top small { display: block; color: var(--muted); font-size: .84rem; }
.aside-card p { margin-top: 14px; font-size: .93rem; color: var(--text); line-height: 1.55; }
.aside-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.aside-card li { display: flex; gap: 8px; align-items: flex-start; }
.aside-card li svg { color: var(--brand); margin-top: 3px; flex: none; }
.aside-card .btn { width: 100%; margin-top: 18px; }
.aside-card .fine { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--faint); }
.toc-top { display: none; margin-bottom: 28px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); background: #fff; }
.toc-top summary { cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.toc-top summary::-webkit-details-marker { display: none; }
.toc-top summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.toc-top[open] summary::after { content: "–"; }
.toc-top ol { margin: 0; padding: 0 18px 16px 38px; display: grid; gap: 6px; font-size: .95rem; }
@media (max-width: 1240px) { .post-grid { grid-template-columns: minmax(0, 720px) 270px; gap: 48px; } .toc-side { display: none; } .toc-top { display: block; } }
@media (max-width: 960px) { .post-grid { grid-template-columns: minmax(0, 1fr); padding-block: 36px 8px; } .post-grid aside { order: 2; } .aside-card { position: static; } }

/* Key takeaways */
.takeaways { margin: 1.8em 0 2.2em !important; padding: 24px 26px; border-radius: var(--r-lg); background: var(--tone, var(--panel)); }
.takeaways h2 { margin: 0 !important; font-size: .78rem !important; letter-spacing: .12em !important; text-transform: uppercase; color: var(--tone-ink, var(--brand-ink)); }
.takeaways ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.takeaways li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.55; font-weight: 500; }
.takeaways li svg { flex: none; margin-top: 2px; color: var(--tone-ink, var(--brand-ink)); }

/* FAQ inside an article */
.prose .faq { margin-top: 1em; max-width: none; }
.prose .faq summary { font-size: 1.02rem; }
.prose .faq .a { font-size: 1rem; line-height: 1.7; }

/* Inline product card in the middle of an article */
.inline-cta { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; align-items: center; margin: 2.4em 0 !important; padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.inline-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--brand) 50%, transparent), transparent 70%); pointer-events: none; }
.inline-cta > * { position: relative; }
.inline-cta .ic-k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); font-weight: 700; }
.inline-cta h3 { color: #fff; margin-top: 8px; font-size: 1.25rem; }
.inline-cta p { color: rgba(255, 255, 255, .78); margin-top: 8px; font-size: .97rem; line-height: 1.55; }
.inline-cta .btn { margin-top: 16px; background: #fff; color: var(--ink); min-height: 42px; }
.inline-cta .btn:hover { background: #f2f0f7; color: var(--ink); }
.inline-cta img { border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
@media (max-width: 600px) { .inline-cta { grid-template-columns: minmax(0, 1fr); } .inline-cta img { display: none; } }

/* Author box */
.author { display: flex; gap: 18px; align-items: flex-start; margin-top: 3em !important; padding: 24px; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); }
.author img { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line); }
.author b { display: block; color: var(--ink); font-size: 1rem; }
.author p { margin-top: 6px; font-size: .95rem; color: var(--muted); line-height: 1.6; }
.author .links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }

/* ── Blog: index and cards ───────────────────────────────────────────── */
.blog-hero { padding-block: 56px 36px; background: linear-gradient(180deg, var(--panel), #fff); }
.blog-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-top: 14px; }
.blog-hero .lede { margin-top: 16px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.topics a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.topics a:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, var(--line-2)); color: var(--ink); }
.topics a span { font-size: .8rem; color: var(--faint); font-weight: 600; }
.topics a i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone-ink, var(--brand)); }
.featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--sh-2), 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.featured:hover { transform: translateY(-2px); box-shadow: var(--sh-3), 0 0 0 1px var(--line-2); color: var(--text); }
.featured .fa { background: var(--tone, var(--panel)); aspect-ratio: 16 / 10; overflow: hidden; }
.featured .fa img { width: 100%; height: 100%; object-fit: cover; }
.featured .fb { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.featured p { color: var(--muted); font-size: 1.04rem; }
.featured .meta { font-size: .88rem; color: var(--faint); }
@media (max-width: 900px) { .featured { grid-template-columns: minmax(0, 1fr); } .featured .fb { padding: 26px; } }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--text); }
.post-card .pa { border-radius: var(--r-lg); overflow: hidden; background: var(--tone, var(--panel)); aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(18, 16, 28, .05); }
.post-card .pa img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .pa img { transform: scale(1.035); }
.post-card .pb { display: grid; gap: 8px; padding: 0 2px; }
.post-card h3 { font-size: 1.14rem; line-height: 1.32; transition: color .15s ease; }
.post-card:hover h3 { color: var(--brand-ink); }
.post-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--faint); }
@media (max-width: 960px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-list { grid-template-columns: minmax(0, 1fr); } }
.topic-sec + .topic-sec { margin-top: 72px; }
.topic-sec .th { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.topic-sec .th h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); display: flex; align-items: center; gap: 12px; }
.topic-sec .th h2 i { width: 12px; height: 12px; border-radius: 50%; background: var(--tone-ink); flex: none; }
.topic-sec .th p { color: var(--muted); max-width: 56ch; margin-top: 8px; }
.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 2.4em !important; }
.prevnext a { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; font-size: .98rem; }
.prevnext a small { color: var(--faint); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.prevnext a:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 40%, var(--line)), var(--sh-2); color: var(--ink); }
.prevnext a.next { text-align: right; }
@media (max-width: 600px) { .prevnext { grid-template-columns: minmax(0, 1fr); } .prevnext a.next { text-align: left; } }

/* Guide links on product pages */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .guides { grid-template-columns: minmax(0, 1fr); } }

/* Contact box */
.contact-box { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--panel); }
.contact-box b { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .hd, .ft, .aside-card, .toc-side, .share, .inline-cta, .band { display: none !important; } .post-grid { display: block; } }

/* ── Free tools ──────────────────────────────────────────────────────── */
.tool { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tool-card { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); }
.tool-card h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 14px; }
.tool input[type="text"], .tool input[type="number"], .tool input[type="email"], .tool select { width: 100%; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .95rem/1 var(--font); color: var(--ink); background: #fff; }
.tool input:focus, .tool select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand); }
.tool label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.tool .row2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tool input[type="range"] { width: 100%; accent-color: var(--brand); }
.oc-table table { min-width: 560px; }
.oc-table td { padding: 8px 8px; vertical-align: middle; }
.oc-table td:first-child { width: 40%; }
.oc-table td:nth-child(2) { width: 17%; }
.oc-table td:nth-child(3) { width: 18%; }
.oc-table td:last-child { width: 46px; }
.oc-table th { padding: 10px; }
/* Phones: each prize becomes a small card (name + remove, then chance, type, cost) instead of a table that scrolls sideways. */
@media (max-width: 560px) {
  .tool-card { padding: 20px 16px; }
  .oc-table { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .oc-table table { min-width: 0; }
  .oc-table thead { display: none; }
  .oc-table tbody { display: grid; gap: 10px; }
  .oc-table tr { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding: 12px 10px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
  .oc-table tbody tr:hover td { background: none; }
  .oc-table td, .oc-table td:first-child, .oc-table td:nth-child(2), .oc-table td:nth-child(3), .oc-table td:last-child { width: auto; padding: 0; border: 0; }
  .oc-table td:first-child { grid-column: 1 / -1; padding-right: 44px; }
  .oc-table td:last-child { position: absolute; top: 16px; right: 10px; }
  .oc-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 650; color: var(--muted); }
  .oc-table .oc-unit { gap: 4px; }
  .oc-table .oc-unit input { padding: 0 8px; }
  .oc-table select { padding: 0 6px; font-size: .88rem; }
}
.oc-unit { display: flex; align-items: center; gap: 6px; }
.oc-unit b, .oc-unit i { font-style: normal; font-weight: 600; color: var(--muted); }
.oc-del { width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--panel); color: var(--muted); cursor: pointer; }
.oc-del:hover { color: #b42318; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.oc-pie { width: 200px; margin: 0 auto; }
.oc-check { margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: .9rem; font-weight: 600; text-align: center; }
.oc-check.ok { background: #e7f6ee; color: #127a52; }
.oc-check.warn { background: #fff4e5; color: #9a5b00; }
.oc-legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.oc-legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.oc-legend li i { width: 14px; height: 14px; border-radius: 4px; }
.oc-legend li span { color: var(--ink); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-legend li b { font-variant-numeric: tabular-nums; color: var(--ink); }
.oc-legend li small { grid-column: 2 / -1; color: var(--muted); font-size: .82rem; margin-top: -4px; }
.oc-results { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.oc-results div { background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.oc-results small { display: block; font-size: .78rem; color: var(--muted); font-weight: 550; line-height: 1.35; }
.oc-results b { display: block; margin-top: 4px; font-size: 1.3rem; font-weight: 760; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Coupon code generator */
.cg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool label.cg-check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 550; }
.cg-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.cg-example { margin-top: 14px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cg-example code { font: 650 .95rem/1.2 var(--mono); color: var(--ink); background: var(--panel); padding: 6px 10px; border-radius: 8px; letter-spacing: .04em; word-break: break-all; }
.cg-n { margin-left: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cg-out { display: block; width: 100%; min-height: 240px; padding: 12px 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--panel); font: 600 .95rem/1.7 var(--mono); letter-spacing: .04em; color: var(--ink); resize: vertical; }
.cg-out:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand); }
@media (max-width: 520px) { .cg-grid { grid-template-columns: minmax(0, 1fr); } }
.tpl-out { position: relative; background: var(--panel); border-radius: var(--r); padding: 22px 24px; font-size: .98rem; line-height: 1.7; color: var(--ink); }
.tpl-out p + p { margin-top: .8em; }
.tpl-out mark { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--ink); padding: 0 3px; border-radius: 4px; }
.tpl-copy { margin-top: 14px; }
@media (max-width: 960px) { .tool { grid-template-columns: minmax(0, 1fr); } .tool .row2 { grid-template-columns: minmax(0, 1fr); } }
.deeper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: .92rem; }
.deeper span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.deeper a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--brand-ink); }
.deeper a:hover { text-decoration: underline; }
.shop-note { margin-top: 2em !important; }

/* ── Prize wheel (spinwheelpopup.com): wheel.js, the spinner tool, the home demo ── */
.swui { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.swui-svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 18px 30px rgba(20, 16, 40, .28)); }
.swui-svg text { font-family: var(--font); }
.swui-rot { transform-box: view-box; transform-origin: 150px 150px; }
.swui-ptr { position: absolute; top: -4.5%; left: 50%; width: 13%; height: 12%; transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); z-index: 2; pointer-events: none; }
.swui-hub { position: absolute; top: 50%; left: 50%; width: 23%; height: 23%; transform: translate(-50%, -50%); border-radius: 50%; border: 4px solid #f5b301; background: linear-gradient(135deg, #fff, #f3efe6); color: #92400e;
  font: 900 clamp(11px, 2.4vw, 17px)/1 var(--font); letter-spacing: .06em; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); z-index: 2; transition: transform .15s ease; }
.swui-hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.06); }
.swui-hub:disabled { cursor: progress; }
.swui-confetti { position: absolute; left: 50%; top: 42%; width: 0; height: 0; z-index: 6; pointer-events: none; }
.swui-confetti i { position: absolute; width: 8px; height: 13px; border-radius: 2px; animation: swui-pop 1.4s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes swui-pop { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 45% { transform: translate(calc(var(--x) * .7), var(--y)) rotate(calc(var(--r) * .5)); opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 260px)) rotate(var(--r)); opacity: 0; } }
.pw { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pw-stage { position: sticky; top: calc(var(--head) + 20px); border-radius: var(--r-xl); padding: 44px 32px 28px; text-align: center; background: radial-gradient(520px 380px at 50% 70%, #ffe3d1, #fff7f2 72%); box-shadow: 0 0 0 1px var(--line); }
.pw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pw-link { display: block; width: 100%; max-width: 460px; margin: 14px auto 0; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .85rem/1 var(--mono); color: var(--ink); background: #fff; }
.pw-link[hidden] { display: none; }
.pw-result { min-height: 66px; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.pw-result.show { opacity: 1; transform: none; }
.pw-result small { display: block; color: var(--muted); font-size: .85rem; font-weight: 550; }
.pw-result b { display: block; margin-top: 2px; font-size: 1.7rem; font-weight: 780; letter-spacing: -.03em; color: var(--ink); }
.pw-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.pw-presets button { border: 0; cursor: pointer; padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 .88rem/1 var(--font); color: var(--ink); }
.pw-presets button:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, var(--line-2)); }
.pw-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 96px 34px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pw-row input[type="color"] { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.pw-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.pw-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pw-opts { display: grid; gap: 10px; margin-top: 16px; }
.pw-opts label { display: flex; gap: 10px; align-items: center; font-weight: 550; font-size: .93rem; color: var(--text); }
.pw-opts input { width: 18px; height: 18px; min-height: 0 !important; box-shadow: none !important; accent-color: var(--brand); }
.pw-hist { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pw-hist li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--panel); font-size: .88rem; font-weight: 600; color: var(--ink); }
.pw-hist li i { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 960px) { .pw { grid-template-columns: minmax(0, 1fr); } .pw-stage { position: static; padding: 36px 18px 22px; } }
@media (max-width: 520px) { .pw-row { grid-template-columns: 34px minmax(0, 1fr) 76px 30px; gap: 6px; } .pw-row .oc-unit i { display: none; } }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.demo h2 { margin-top: 12px; }
.demo .lede { margin-top: 14px; }
.demo-pop { position: relative; max-width: 440px; margin: 0 auto; border-radius: 26px; padding: 34px 30px 26px; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 50% 24%, #2b3a78, #0d1433); box-shadow: var(--sh-3), 0 0 0 1px rgba(255, 255, 255, .06); }
.demo-pop .dx { position: absolute; right: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; line-height: 1; }
.demo-pop h3 { color: #fff; font: 700 1.65rem/1.08 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; padding: 0 30px; }
.demo-pop .ds { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.demo-pop .swui { max-width: 290px; margin: 24px auto 20px; }
.demo-pop .swui-svg { filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .45)); }
.demo-pop .dgo { width: 100%; min-height: 48px; border: 0; border-radius: 11px; background: #f28c38; color: #1a1208; font: 800 1rem/1 var(--font); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.demo-pop .dgo:disabled { opacity: .7; cursor: progress; }
.demo-win { display: none; margin-top: 4px; }
.demo-pop.won .demo-win { display: block; animation: demo-in .4s ease both; }
.demo-pop.won .dgo { display: none; }
@keyframes demo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.demo-win .k { font: 800 .72rem/1 var(--font); letter-spacing: .16em; color: #f6b26b; }
.demo-win .t { margin-top: 8px; font: 700 1.35rem/1.1 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
.demo-win .code { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; height: 46px; border-radius: 11px; background: #fff; padding: 0 6px 0 14px; color: #1c2753; font: 800 1rem/1 var(--mono); letter-spacing: .1em; }
.demo-win .code button { border: 0; cursor: pointer; font: 800 .75rem/1 var(--font); color: #fff; background: #1c2753; border-radius: 8px; padding: 9px 11px; letter-spacing: .02em; }
.demo-win .fine { margin-top: 10px; font-size: .8rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.demo-win .again { margin-top: 10px; background: none; border: 0; color: rgba(255, 255, 255, .8); font: 600 .82rem/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.readbar { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
/* Glossary */
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 26px; }
.az a, .az span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.az a { background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.az a:hover { color: var(--brand-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, var(--line-2)); }
.az span { color: var(--line-2); }
.gl { max-width: 900px; margin: 0 auto; }
.gl-group { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 28px; padding-block: 26px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head) + 16px); }
.gl-group:first-child { border-top: 0; padding-top: 0; }
.gl-group > h2 { font-size: 2.2rem; color: var(--brand); position: sticky; top: calc(var(--head) + 16px); align-self: start; }
.gl-list { display: grid; gap: 22px; }
.gl-term { scroll-margin-top: calc(var(--head) + 16px); }
.gl-term h3 { font-size: 1.12rem; }
.gl-term h3 a { color: var(--ink); text-decoration: none; }
.gl-term h3 a:hover { color: var(--brand-ink); }
.gl-term:target h3 a { color: var(--brand-ink); }
.gl-def { margin-top: 6px; color: #33313d; line-height: 1.7; }
.gl-def p + p { margin-top: .7em; }
.gl-def a { font-weight: 550; text-decoration-color: color-mix(in srgb, var(--brand-ink) 35%, transparent); }
@media (max-width: 640px) { .gl-group { grid-template-columns: minmax(0, 1fr); } .gl-group > h2 { position: static; } }
