/* Orme Studio. One stylesheet, no build step. Light only. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --ink: #0b0d12;
  --ink-2: #4a5160;
  --ink-3: #6b7280;
  --line: #e3e6eb;
  --line-2: #d0d5dd;

  --brand: #ff5b24;        /* Orme orange, also Picked */
  --brand-soft: #fff0e9;
  --brand-ink: #c2410c;    /* orange text on white, AA */
  --green: #19c37d;        /* Tiered */
  --green-soft: #e7f8ef;
  --green-ink: #0b7a4b;

  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 13, 18, .06), 0 8px 24px -12px rgba(11, 13, 18, .18);
  --shadow-lg: 0 2px 4px rgba(11, 13, 18, .04), 0 24px 60px -24px rgba(11, 13, 18, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.015em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 4.8vw, 4rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.eyebrow, .label { display: inline-flex; align-items: center; gap: 8px; font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.02em; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.num { font-variant-numeric: tabular-nums; color: var(--brand-ink); font-weight: 600; }

/* Highlighted word: a solid colour block behind the text */
.hl { background: var(--brand); color: var(--ink); padding: 0 0.12em; margin: 0 -0.02em; border-radius: 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-green { background: var(--green); }
.hl-line { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--brand) 45%, transparent) 62%); padding: 0 0.04em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 0.9875rem/1 var(--sans); text-decoration: none; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); transition: transform .15s, background-color .15s, color .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(11, 13, 18, .5); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.btn-brand:hover { color: var(--ink); }
.btn-green { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn-green:hover { color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow span { transition: transform .15s; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.1875rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.brand img, .brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 32px); font-size: 0.9375rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; }
@media (max-width: 560px) { .nav .hide-sm { display: none; } .nav .nav-cta { padding: 8px 13px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(32px, 4.2vw, 60px) 0; }
.section-orange, .section-green, .section-dark, .section-soft { padding: clamp(56px, 6vw, 88px) 0; }
.section-soft { background: var(--bg-soft); }
.section-orange { background: var(--brand-soft); }
.section-green { background: var(--green-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lede, .section-dark .muted { color: #b7bdc8; }
.section-dark .eyebrow { color: #b7bdc8; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin-top: 20px; }
.split { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 5fr 7fr; } .split.rev { grid-template-columns: 7fr 5fr; } .split.rev > :first-child { order: 2; } }
.split > *, .hero-grid > * { min-width: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 3.5vw, 44px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(var(--bg) 0 0) padding-box; position: relative; overflow: hidden; }
.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; mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1060px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } .hero-copy { padding-top: 14px; } }
.hero .eyebrow { margin-bottom: 24px; background: #fff; border: 1px solid var(--line); padding: 7px 12px 7px 10px; border-radius: 999px; }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 0.875rem; color: var(--ink-2); }
.hero-meta span::before { content: "✓"; color: var(--green-ink); font-weight: 700; margin-right: 6px; }

/* ---------- Trust strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 28px 20px 28px 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
.stats > div:nth-child(4) { border-top: 1px solid var(--line); }
.stats b { display: block; font: 700 clamp(2rem, 3.6vw, 2.75rem)/1 var(--display); letter-spacing: -0.04em; margin-bottom: 8px; }
.stats span { font-size: 0.9375rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div:nth-child(3), .stats > div:nth-child(4) { border-top: 0; }
  .stats > div:nth-child(3) { border-left: 1px solid var(--line); padding-left: 20px; }
}

/* ---------- App blocks on home ---------- */
.app-tag { display: inline-flex; align-items: center; gap: 10px; font: 700 0.875rem/1 var(--sans); }
.app-tag i { width: 28px; height: 28px; border-radius: 7px; flex: none; background: center / cover no-repeat; }
.app-tag.picked i { background-image: url("picked.svg"); }
.app-tag.tiered i { background-image: url("tiered.svg"); }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 16px 0; border-top: 1px solid var(--line-2); margin-bottom: 28px; font-size: 0.9375rem; color: var(--ink-2); }
.price-line b { font: 700 1.5rem/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }

/* ---------- Feature grid (text, no icons) ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.features > div { background: #fff; padding: 28px; transition: background-color .2s; }
.features > div:hover { background: #fcfcfd; }
.features dt { font: 700 1.1875rem/1.25 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; }
.features dd { margin: 0; color: var(--ink-2); font-size: 0.975rem; }
.features .tag { display: inline-block; font: 700 0.6875rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 4px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .features.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reliability diagram (home) ---------- */
.flow { display: grid; gap: 14px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1.25fr auto 1fr; align-items: stretch; gap: 0; } }
.node { background: #151821; border: 1px solid #2a2f3a; border-radius: var(--radius); padding: 22px; transition: opacity .3s, border-color .3s, background-color .3s; }
.node h3 { font-size: 1.125rem; margin-bottom: 10px; }
.node ul { margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; color: #b7bdc8; display: grid; gap: 6px; }
.node .state { display: inline-flex; align-items: center; gap: 8px; font: 600 0.8125rem/1 var(--sans); margin-bottom: 14px; color: #fff; }
.node .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25, 195, 125, .18); }
.node.shopify { border-color: var(--green); }
.link { display: grid; place-items: center; color: #6b7280; font-size: 1.25rem; padding: 0 12px; }
@media (max-width: 899px) { .link { transform: rotate(90deg); padding: 0; height: 20px; } }
.flow.down .node.ours { opacity: .55; border-style: dashed; }
.flow.down .node.ours .state::before { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .2); }
.flow.down .link.l1 { opacity: .3; }
.switch { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; background: none; border: 1px solid #2a2f3a; color: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font: 600 0.9375rem/1 var(--sans); cursor: pointer; }
.switch .knob { width: 44px; height: 26px; border-radius: 999px; background: #2a2f3a; position: relative; transition: background-color .2s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-pressed="true"] .knob { background: #ef4444; }
.switch[aria-pressed="true"] .knob::after { transform: translateX(18px); }
.switch:focus-visible { outline-color: #fff; }
.flow-note { margin: 14px 0 0; min-height: 1.6em; color: #b7bdc8; font-size: 0.9375rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan.pro { border: 2px solid var(--ink); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--ink); color: #fff; font: 600 0.75rem/1 var(--sans); padding: 7px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan .amount { font: 750 3.25rem/1 var(--display); letter-spacing: -0.05em; margin: 18px 0 4px; }
.plan .amount small { font: 500 1rem/1 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.plan .per { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 20px; }
.plan .ticks { margin: 4px 0 28px; flex: 1; }
.plan .no { color: var(--ink-3); }
.plan .no::before { background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { width: 100%; }
.pricing-notes { margin-top: 24px; font-size: 0.9375rem; color: var(--ink-2); max-width: 52em; }
.app-prices { display: grid; gap: 20px; }
@media (min-width: 860px) { .app-prices { grid-template-columns: 1fr 1fr; } }
.app-price { border-radius: 18px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.app-price:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-price .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.975rem; }
.app-price .row b { font-variant-numeric: tabular-nums; }
.app-price .app-tag { margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 72px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 1.125rem/1.35 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230b0d12' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-ink); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--brand); color: var(--ink); border-radius: 24px; padding: clamp(28px, 4.5vw, 56px); display: grid; gap: 28px; align-items: center; }
.cta.green { background: var(--green); }
.cta h2 { max-width: 16em; }
.cta p { margin: 14px 0 0; max-width: 34em; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- App page hero ---------- */
.app-hero { padding: clamp(28px, 3.5vw, 44px) 0 clamp(40px, 5vw, 64px); }
.app-hero .app-tag { margin-bottom: 26px; }
.app-hero .note { font-size: 0.9375rem; color: var(--ink-2); margin-top: 18px; }
.app-hero.picked { background: linear-gradient(180deg, var(--brand-soft), #fff 85%); }
.app-hero.tiered { background: linear-gradient(180deg, var(--green-soft), #fff 85%); }

/* ---------- Ledger ---------- */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: 0.975rem; font-variant-numeric: tabular-nums; box-shadow: var(--shadow); }
.ledger .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.ledger .sub { color: var(--ink-2); padding-left: 16px; }
.ledger .row.total { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; margin-top: 6px; }
.ledger .caption { margin: 12px 0 0; font-size: 0.875rem; color: var(--ink-2); }
.ledger .fn { display: inline-block; font: 600 0.75rem/1 var(--sans); background: var(--brand-soft); color: var(--brand-ink); padding: 4px 7px; border-radius: 6px; margin-left: 6px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---------- Legal and support pages ---------- */
.doc { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.doc-grid { display: grid; gap: 40px; }
.doc-grid > * { min-width: 0; }
@media (min-width: 980px) { .doc-grid { grid-template-columns: 3fr 8fr; gap: 72px; } .doc aside { position: sticky; top: 96px; align-self: start; } }
.doc aside { font-size: 0.9375rem; background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.doc aside .label { color: var(--ink); }
.doc aside ol { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: t; }
.doc aside li { counter-increment: t; padding: 5px 0; color: var(--ink-2); }
.doc aside li::before { content: counter(t, decimal-leading-zero); color: var(--brand-ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 10px; }
.doc aside a { text-decoration: none; }
.doc aside a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 44em; }
.prose h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); margin-bottom: 18px; }
.prose h2 { font-size: 1.625rem; letter-spacing: -0.025em; margin: 52px 0 14px; scroll-margin-top: 96px; display: flex; align-items: baseline; gap: 12px; }
.prose h2 .num { font: 600 0.875rem/1 var(--sans); background: var(--brand-soft); color: var(--brand-ink); padding: 6px 8px; border-radius: 6px; transform: translateY(-3px); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brand); }
.prose code { font-size: 0.88em; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose .meta { color: var(--ink-2); font-size: 0.9375rem; }
.prose .label { color: var(--brand-ink); }
.missing { background: #fff3c4; box-shadow: inset 0 -2px 0 #f5c400; padding: 0 3px; border-radius: 3px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.975rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 500; }
.contact-block { background: var(--ink); color: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.contact-block .label { color: #b7bdc8; }
.contact-block a.mail { display: inline-block; margin-top: 10px; font: 700 clamp(1.5rem, 4.4vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.035em; text-decoration: none; color: #fff; border-bottom: 3px solid var(--brand); padding-bottom: 4px; }
.contact-block a.mail:hover { color: var(--brand); }
.contact-block a.mail:focus-visible { outline-color: #fff; }
.contact-block .facts div { border-color: #2a2f3a; }
.contact-block .facts dt { color: #b7bdc8; }

/* 404 */
.lost { padding: clamp(56px, 9vw, 112px) 0; }
.lost .big { display: block; font: 800 clamp(6rem, 20vw, 13rem)/0.85 var(--display); letter-spacing: -0.06em; color: var(--brand); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7bdc8; padding: clamp(56px, 8vw, 88px) 0 36px; font-size: 0.9375rem; }
.site-footer .brand { color: #fff; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
.foot-grid p { margin: 16px 0 0; max-width: 26em; }
.foot-grid h2 { font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.02em; color: #fff; margin: 4px 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover, .foot-base a:hover { color: #fff; text-decoration: underline; }
.foot-grid a:focus-visible, .foot-base a:focus-visible { outline-color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a2f3a; font-size: 0.875rem; }
.foot-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; border: 1px solid #2a2f3a; border-radius: 999px; padding: 7px 12px; font-size: 0.8125rem; color: #fff; }
.foot-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 5fr 2fr 2fr 2fr 2fr; } .foot-grid > :first-child { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.app-hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); margin-top: 20px; }
.pricing-layout { display: grid; gap: 40px; align-items: start; }
.pricing-layout > * { min-width: 0; }
@media (min-width: 1060px) { .pricing-layout { grid-template-columns: 7fr 5fr; gap: 56px; } }
@media (min-width: 1060px) { .app-hero .hero-grid { grid-template-columns: 5fr 7fr; } }

/* ---------- v3 additions ---------- */
.accent { color: var(--brand-ink); }
.accent-green { color: var(--green-ink); }
.section-dark .accent-green { color: var(--green); }
.stats b { font-weight: 600; letter-spacing: -0.02em; }
.plan .amount { font-weight: 650; letter-spacing: -0.03em; }

/* Built-with strip */
.built { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 18px 0; margin-bottom: 28px; font-size: 0.9375rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.built span + span::before { content: "·"; margin-right: 22px; color: var(--line-2); }
.built b { color: var(--ink); font-weight: 600; }

/* Three points under a large mockup */
.points { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 860px) { .points { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.points > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.points .n { font: 600 0.8125rem/1 var(--sans); color: var(--brand-ink); display: block; margin-bottom: 10px; }
.section-green .points .n { color: var(--green-ink); }
.points h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.points p { margin: 0; color: var(--ink-2); font-size: 0.975rem; }

/* Centered demo stage */
.stage { max-width: 760px; margin: 0 auto; }
.inline-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.inline-facts span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 0.875rem; font-weight: 500; }

/* How it works */
.steps { display: grid; gap: 24px; counter-reset: st; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; flex-direction: column; gap: 16px; }
.step .shot { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 236px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.1875rem; display: flex; align-items: baseline; gap: 10px; }
.step h3::before { counter-increment: st; content: counter(st); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 0.8125rem/1 var(--sans); flex: none; transform: translateY(-2px); }
.step p { margin: -6px 0 0; color: var(--ink-2); font-size: 0.975rem; }

/* Comparison */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.975rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 0.875rem/1.2 var(--sans); color: var(--ink-2); background: var(--bg-soft); }
.compare thead th.us { color: var(--ink); background: var(--brand-soft); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td { color: var(--ink-2); width: 37%; }
.compare td.us { color: var(--ink); font-weight: 500; background: #fffaf7; }
.compare td.us::before { content: "✓ "; color: var(--green-ink); font-weight: 700; }
.compare-note { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }

/* Price cards on the home page */
.price-groups { display: grid; gap: 28px; }
@media (min-width: 1060px) { .price-groups { grid-template-columns: 1fr 1fr; gap: 32px; } }
.pgroup-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.pcards { display: grid; gap: 14px; }
@media (min-width: 620px) { .pcards { grid-template-columns: 1fr 1fr; } }
.plan.compact { padding: 22px; border-radius: 16px; }
.plan.compact h3 { font-size: 1.125rem; }
.plan.compact .amount { font-size: 2.375rem; margin: 10px 0 2px; }
.plan.compact .per { font-size: 0.875rem; margin-bottom: 14px; }
.plan.compact .ticks { gap: 8px; font-size: 0.9375rem; margin-bottom: 20px; }
.plan.compact .badge { left: 22px; }
.plan.compact .btn { min-height: 42px; font-size: 0.9375rem; }
.plan.pro.picked-pro { border-color: var(--brand); }
.plan.pro.picked-pro .badge { background: var(--brand); color: var(--ink); }
.plan.pro.tiered-pro { border-color: var(--green); }
.plan.pro.tiered-pro .badge { background: var(--green); color: var(--ink); }

/* Big admin mockups */
.admin-wrap.lg .admin { font-size: 14px; }
.admin-wrap.lg .admin-main { padding: 24px 28px; }
.admin-wrap.lg .a-card { padding: 16px 18px; }
@media (max-width: 700px) { .built { gap: 6px 16px; } .built span + span::before { display: none; } }

/* ---------- v4: app catalog (grows from 2 to N apps without layout changes) ---------- */
.app-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.app-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.app-card:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.app-card h3 { font-size: 1.375rem; margin-top: 18px; }
.app-card h3 a { text-decoration: none; }
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is the link */
.app-card h3 a:focus-visible { outline: none; }
.app-cat { margin: 2px 0 12px; font-size: 0.875rem; color: var(--ink-2); font-weight: 500; }
.app-pitch { margin: 0 0 18px; color: var(--ink-2); flex: 1; }
.app-cost { margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font: 700 1.375rem/1 var(--display); color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); }
.app-icon.picked, .app-icon.tiered { border: 0; background: center / cover no-repeat; }
.app-icon.picked { background-image: url("picked.svg"); }
.app-icon.tiered { background-image: url("tiered.svg"); }
.app-card.next { background: transparent; border-style: dashed; border-color: var(--line-2); }
.app-card.next:hover { transform: none; box-shadow: none; }
.app-card.next .app-icon { color: var(--ink-3); }
.app-card.next .app-pitch a { position: relative; z-index: 1; }

/* ---------- v4: price cards, one flat grid; subgrid keeps every row aligned ---------- */
.price-grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pcard { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .2s, box-shadow .2s; }
@supports not (grid-template-rows: subgrid) { .pcard { display: flex; flex-direction: column; } .pcard .ticks { flex: 1; } }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard .app-tag { font-size: 0.8125rem; margin-bottom: 14px; }
.pcard .app-tag i { width: 22px; height: 22px; border-radius: 5px; }
.pcard h3 { font-size: 1.125rem; }
.pcard .amount { font: 650 2.375rem/1 var(--display); letter-spacing: -0.03em; margin: 10px 0 4px; }
.pcard .amount small { font: 500 0.9375rem/1 var(--sans); letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
.pcard .per { font-size: 0.875rem; color: var(--ink-2); margin: 0 0 14px; }
.pcard .ticks { gap: 8px; font-size: 0.9375rem; margin: 0 0 20px; align-content: start; }
.pcard .btn { width: 100%; min-height: 42px; font-size: 0.9375rem; align-self: end; }
.pcard.pro { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pcard.pro.picked { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pcard.pro.tiered { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.pcard.pro:hover { box-shadow: inset 0 0 0 1px currentColor, var(--shadow-lg); }
.pcard.pro.picked:hover { box-shadow: inset 0 0 0 1px var(--brand), var(--shadow-lg); }
.pcard.pro.tiered:hover { box-shadow: inset 0 0 0 1px var(--green), var(--shadow-lg); }
.pcard .badge { position: absolute; top: 18px; right: 18px; font: 600 0.75rem/1 var(--sans); padding: 6px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.pcard.picked .badge { background: var(--brand); color: var(--ink); }
.pcard.tiered .badge { background: var(--green); color: var(--ink); }
.compare-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; }
.multi-note { display: inline-block; margin: 6px 0 0; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }
.multi-note b { color: var(--ink); font-weight: 600; }
