/* Layout concept: a calm Mac-native page where the invoice paper is the recurring object:
   it builds itself in the hero, switches design in the gallery, and is the price tag at the end. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --surface: #ffffff;
  --ink: #14161f;
  --ink-2: #565b6b;
  --ink-3: #868b9b;
  --line: #e4e6ee;
  --blue: #3550e6;
  --blue-2: #2b3fc4;
  --blue-soft: #eceffe;
  --green: #1a9e49;
  --green-soft: #e4f6ea;
  --amber: #b76e00;
  --amber-soft: #fdf1dc;
  --red: #d33a2c;
  --paper: #ffffff;
  --paper-ink: #16181f;
  --paper-2: #666b78;
  --paper-line: #e6e8ee;
  --stage-a: #dfe6ff;
  --stage-b: #c9d4ff;
  --stage-c: #eef0fb;
  --win: rgba(255, 255, 255, 0.86);
  --win-bar: rgba(246, 247, 251, 0.9);
  --bubble: #eef0f6;
  --shadow-win: 0 1px 2px rgba(20, 24, 50, .08), 0 18px 50px -12px rgba(30, 40, 110, .28);
  --shadow-card: 0 1px 2px rgba(20, 24, 50, .05), 0 10px 30px -14px rgba(30, 40, 110, .18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e14; --bg-soft: #13151d; --surface: #171a23; --ink: #f2f3f7; --ink-2: #a7acbb; --ink-3: #777d8e; --line: #262a36;
    --blue: #7c93ff; --blue-2: #5c7dff; --blue-soft: #1d2340; --green: #4fdc82; --green-soft: #12301f; --amber: #f0b24b; --amber-soft: #33270f; --red: #ff7b6e;
    --stage-a: #1a2147; --stage-b: #232d66; --stage-c: #10131f; --win: rgba(30, 33, 44, 0.86); --win-bar: rgba(38, 41, 53, 0.9); --bubble: #2a2e3b;
    --shadow-win: 0 1px 2px rgba(0, 0, 0, .4), 0 22px 60px -12px rgba(0, 0, 0, .6);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 34px -14px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0e14; --bg-soft: #13151d; --surface: #171a23; --ink: #f2f3f7; --ink-2: #a7acbb; --ink-3: #777d8e; --line: #262a36;
  --blue: #7c93ff; --blue-2: #5c7dff; --blue-soft: #1d2340; --green: #4fdc82; --green-soft: #12301f; --amber: #f0b24b; --amber-soft: #33270f; --red: #ff7b6e;
  --stage-a: #1a2147; --stage-b: #232d66; --stage-c: #10131f; --win: rgba(30, 33, 44, 0.86); --win-bar: rgba(38, 41, 53, 0.9); --bubble: #2a2e3b;
  --shadow-win: 0 1px 2px rgba(0, 0, 0, .4), 0 22px 60px -12px rgba(0, 0, 0, .6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 34px -14px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.033em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 8.2vw, 5rem); }
h2 { font-size: clamp(2.05rem, 4.8vw, 3.4rem); }
h3 { font-size: 1.28rem; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; text-wrap: balance; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lede { color: var(--ink-2); font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.5; max-width: 40em; text-wrap: pretty; }
.fine { color: var(--ink-3); font-size: .86rem; }
.band { padding-block: clamp(72px, 10vw, 128px); }
.band.soft { background: var(--bg-soft); }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.only-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1.02rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:active { transform: scale(.98); }
.btn.primary { color: #fff; background: linear-gradient(180deg, #5c7dff, #2b3fc4); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -10px rgba(43, 63, 196, .75); }
.btn.primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 30px -10px rgba(43, 63, 196, .9); }
.btn.quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.btn.quiet:hover { background: var(--bg-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: .92rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.lang { font-size: .86rem; color: var(--ink-2); text-decoration: none; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; }
.lang:hover { color: var(--ink); }
.pill-buy { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Hero */
.hero { text-align: center; padding-block: clamp(40px, 5vw, 64px) 30px; }
.hero .inner { display: grid; justify-items: center; gap: 18px; }
.hero .inner > img { width: 78px; height: 78px; filter: drop-shadow(0 8px 16px rgba(30, 40, 110, .32)); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: .88rem; }
.tag b { background: var(--blue); color: #fff; font-weight: 600; font-size: .74rem; padding: 2px 8px; border-radius: 999px; }
:root[data-theme="dark"] .tag b { color: #0c0e14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag b { color: #0c0e14; } }
.hero .actions { justify-content: center; margin-top: 6px; }

/* The live demo */
.prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.prompts button {
  font: 500 .9rem/1.2 var(--font); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.prompts button:hover { color: var(--ink); border-color: var(--ink-3); }
.prompts button[aria-pressed="true"] { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.stage {
  position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  background: radial-gradient(70% 90% at 12% 0%, var(--stage-b), transparent 70%), radial-gradient(60% 80% at 100% 100%, var(--stage-a), transparent 70%), var(--stage-c);
}
.menubar { display: flex; align-items: center; gap: 16px; height: 28px; padding: 0 14px; font-size: .74rem; color: var(--ink); background: color-mix(in srgb, var(--surface) 55%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.menubar b { font-weight: 650; }
.menubar .clock { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.menubar span { color: var(--ink-2); }
.desk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px; padding: clamp(14px, 2.4vw, 26px); min-height: 620px; }
.win { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--win); -webkit-backdrop-filter: saturate(160%) blur(24px); backdrop-filter: saturate(160%) blur(24px); box-shadow: var(--shadow-win); border: .5px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: var(--win-bar); border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); font-size: .8rem; font-weight: 600; flex: none; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.bar .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .state { margin-left: auto; font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--bubble); color: var(--ink-2); white-space: nowrap; }
.bar .state.ready { background: var(--green-soft); color: var(--green); }
.bar .state.wait { background: var(--amber-soft); color: var(--amber); }

/* Chat */
.log { flex: 1 1 0; min-height: 0; max-height: 470px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .94rem; line-height: 1.42; overscroll-behavior: contain; }
.msg { max-width: 92%; animation: rise .28s ease both; text-wrap: pretty; }
.msg.user { align-self: flex-end; background: var(--blue-2); color: #fff; padding: 8px 13px; border-radius: 16px 16px 5px 16px; }
.msg.bot { align-self: flex-start; }
.calls { display: flex; flex-direction: column; gap: 4px; animation: rise .22s ease both; }
.call { display: inline-flex; align-items: center; gap: 7px; font: 500 .74rem/1.3 var(--mono); color: var(--ink-3); }
.call::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green); -webkit-mask: var(--tick) center/contain no-repeat; mask: var(--tick) center/contain no-repeat; flex: none; --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4 4.9 9l4.9-5.6' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.call.busy::before { background: none; border: 1.6px solid var(--ink-3); border-right-color: transparent; -webkit-mask: none; mask: none; animation: spin .7s linear infinite; }
.call.fail { color: var(--amber); }
.call.fail::before { background: var(--amber); -webkit-mask-image: none; mask-image: none; width: 7px; height: 7px; margin: 2.5px; }
.answers { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 14px; flex: none; }
.answers:empty { padding: 0; }
.answers button { font: 600 .86rem/1.2 var(--font); color: var(--blue); background: var(--blue-soft); border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: transform .12s ease, filter .12s ease; text-align: left; }
.answers button:hover { filter: brightness(.96); transform: translateY(-1px); }
.answers button:first-child { animation: nudge 2s ease 1.2s 2; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 22%, transparent); } }
.compose { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 9px 13px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink-3); font-size: .86rem; flex: none; }

/* The invoice on the desk */
.docbody { position: relative; flex: 1 1 auto; padding: clamp(12px, 2vw, 22px); overflow: hidden; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.sheet { background: var(--paper); color: var(--paper-ink); border-radius: 3px; box-shadow: 0 1px 3px rgba(20, 24, 50, .16), 0 8px 24px -10px rgba(20, 24, 50, .22); padding: clamp(18px, 3vw, 30px); font-size: .78rem; line-height: 1.42; min-height: 100%; font-variant-numeric: tabular-nums; }
.sheet .row1 { display: flex; justify-content: space-between; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.logo i { width: 20px; height: 20px; border-radius: 5px; background: #2f6fed; }
.sender { text-align: right; color: var(--paper-2); font-size: .68rem; line-height: 1.35; }
.sender b { color: var(--paper-ink); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin-top: 18px; }
.bill b { display: block; }
.bill { min-height: 62px; }
.bill em { font-style: normal; color: var(--paper-2); }
.dochead { text-align: right; }
.dochead strong { display: block; color: #2f6fed; font-size: 1.14rem; letter-spacing: .03em; margin-bottom: 4px; }
.meta { display: grid; grid-template-columns: auto auto; gap: 1px 12px; font-size: .7rem; justify-content: end; text-align: right; }
.meta dt { color: var(--paper-2); }
.meta dd { margin: 0; }
.lines { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .74rem; }
.lines th { text-align: right; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--paper-2); font-weight: 600; padding: 5px 0; border-bottom: 1.5px solid #2f6fed; }
.lines th:first-child, .lines td:first-child { text-align: left; }
.lines td { padding: 7px 0 7px 8px; text-align: right; border-bottom: 1px solid var(--paper-line); vertical-align: top; white-space: nowrap; }
.lines td:first-child { padding-left: 0; white-space: normal; font-weight: 600; }
.lines td small { display: block; font-weight: 400; color: var(--paper-2); font-size: .66rem; }
.lines td .narrow { display: none; }
.lines .empty td { color: var(--paper-2); font-weight: 400; text-align: left; }
.sum { margin: 10px 0 0 auto; width: max-content; min-width: min(62%, 240px); max-width: 100%; display: grid; gap: 3px; font-size: .74rem; }
.sum div { display: flex; justify-content: space-between; gap: 12px; color: var(--paper-2); }
.sum .total { color: var(--paper-ink); font-weight: 700; font-size: .96rem; padding-top: 5px; margin-top: 3px; border-top: 1px solid var(--paper-ink); }
.note { margin-top: 10px; color: var(--paper-2); font-size: .68rem; }
.pay { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--paper-line); color: var(--paper-2); font-size: .68rem; }
.pay b { color: var(--paper-ink); }
.flash { animation: flash 1s ease; border-radius: 3px; }
.sheet.leads { display: grid; gap: 4px; align-content: start; }
.lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--paper-line); }
.lead span { color: var(--paper-2); font-size: .68rem; }
.lead .late { color: #d33a2c; }
.mail { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: min(92%, 330px); background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-win); padding: 14px 16px; font-size: .78rem; animation: rise .28s ease both; display: grid; gap: 7px; border: .5px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.mail b { font-size: .86rem; }
.mail dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; margin: 0; }
.mail dt { color: var(--ink-3); }
.mail dd { margin: 0; overflow-wrap: anywhere; }
.mail p { color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 7px; }
.mail .send { justify-self: end; font-weight: 600; font-size: .76rem; color: #fff; background: var(--blue-2); padding: 6px 12px; border-radius: 7px; }
.demo-note { text-align: center; margin-top: 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flash { 0%, 40% { background: rgba(47, 111, 237, .16); } 100% { background: transparent; } }
@media (max-width: 860px) {
  .desk { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .log { max-height: 430px; min-height: 240px; }
}

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 26px; margin-top: 46px; }
.promises div { display: grid; gap: 2px; }
.promises b { font-size: .96rem; font-weight: 600; }
.promises span { color: var(--ink-2); font-size: .88rem; line-height: 1.4; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 44px; }
.steps > div { display: grid; gap: 8px; align-content: start; }
.steps .n { color: var(--blue); font-weight: 650; font-size: .92rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.shot { border-radius: 1.1% / 1.7%; box-shadow: var(--shadow-win); }
.shot-settings { max-width: min(100%, 640px); margin-inline: auto; border-radius: 12px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.assistants { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.assistants span { font-size: .88rem; padding: 5px 11px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.band.soft .assistants span { background: var(--surface); }

/* Filled in or asked */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ledger section { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); }
.ledger h3 { margin-bottom: 12px; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.ledger li span { color: var(--ink-3); font-size: .86rem; text-align: right; }
.ledger li:first-child { border-top: 0; }
@media (max-width: 760px) { .ledger { grid-template-columns: minmax(0, 1fr); } }

/* Legal check */
.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); margin-top: 22px; }
.check form { padding: clamp(18px, 3vw, 28px); display: grid; gap: 4px; border-right: 1px solid var(--line); align-content: start; }
.check label { display: flex; align-items: center; gap: 11px; padding: 6px 0; font-size: .97rem; cursor: pointer; }
.check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.check .amount { display: grid; gap: 7px; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.check input[type="range"] { width: 100%; accent-color: var(--blue); }
.verdict { padding: clamp(18px, 3vw, 28px); display: grid; gap: 10px; align-content: start; }
.verdict .stamp { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 1.1rem; }
.verdict .stamp i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); flex: none; position: relative; }
.verdict .stamp i::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(42deg); }
.verdict.blocked .stamp i { background: var(--amber); }
.verdict.blocked .stamp i::after { left: 10px; top: 5px; width: 2.4px; height: 7px; border: 0; background: #fff; transform: none; box-shadow: 0 9px 0 #fff; border-radius: 1px; }
.verdict ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: .96rem; display: grid; gap: 5px; }
.mini { background: var(--paper); color: var(--paper-ink); border-radius: 4px; padding: 16px 18px; display: grid; gap: 10px; font-size: .84rem; line-height: 1.4; box-shadow: 0 1px 3px rgba(20, 24, 50, .16), 0 8px 24px -12px rgba(20, 24, 50, .24); font-variant-numeric: tabular-nums; }
.mini div { display: flex; justify-content: space-between; gap: 14px; }
.mini span { color: var(--paper-2); text-align: right; }
.mini .miss { color: #9a5b00; background: #fdf1dc; padding: 0 7px; border-radius: 5px; font-weight: 600; }
.mini .total { border-top: 1px solid var(--paper-ink); padding-top: 8px; font-weight: 700; font-size: .96rem; }
.mini .total span { color: inherit; }
.mini .small { color: var(--paper-2); font-size: .74rem; display: block; }
@media (max-width: 760px) { .check { grid-template-columns: minmax(0, 1fr); } .check form { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Tour */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tabs button { font: 500 .94rem/1 var(--font); color: var(--ink-2); padding: 10px 15px; border-radius: 10px; border: 0; background: none; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.band.soft .tabs button[aria-selected="true"] { background: var(--surface); }
.tourcap { color: var(--ink-2); margin-top: 18px; max-width: 46em; min-height: 3em; }
.panel[hidden] { display: none; }

/* Designs */
.designs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.designs .pick { display: grid; gap: 18px; justify-items: start; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 11px; background: var(--bg-soft); }
.band.soft .seg { background: var(--surface); }
.seg button { font: 500 .92rem/1 var(--font); border: 0; border-radius: 8px; padding: 9px 13px; background: none; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 24, 50, .14); }
.band.soft .seg button[aria-pressed="true"] { background: var(--bg-soft); }
.page { background: #fff; border-radius: 4px; box-shadow: var(--shadow-win); aspect-ratio: 1 / 1.294; width: min(100%, 470px); justify-self: center; overflow: hidden; }
.page img { width: 100%; }
@media (max-width: 860px) { .designs { grid-template-columns: minmax(0, 1fr); } }

/* Everything else */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.grid > div { background: var(--bg); padding: 22px 24px 24px; display: grid; gap: 5px; align-content: start; }
.band.soft .grid > div { background: var(--surface); }
.grid b { font-size: 1.03rem; font-weight: 620; letter-spacing: -.01em; }
.grid p { color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
kbd { font: 500 .84em/1 var(--font); padding: 2px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); }

/* Specs */
.specs { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-3); font-size: .94rem; }
.specs dd { margin: 0; font-size: .98rem; }

/* Pricing: the price is an invoice, and it's paid */
.price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.bill-card { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 6px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-win); font-variant-numeric: tabular-nums; border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); }
.bill-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bill-card header strong { color: #2f6fed; letter-spacing: .03em; font-size: 1.2rem; }
.bill-card header span { display: block; color: var(--paper-2); font-size: .84rem; }
.bill-card .logo-row { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; }
.bill-card .logo-row img { width: 30px; height: 30px; }
.bill-card table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .96rem; }
.bill-card th { text-align: right; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--paper-2); padding-bottom: 7px; border-bottom: 1.5px solid #2f6fed; font-weight: 600; }
.bill-card th:first-child, .bill-card td:first-child { text-align: left; }
.bill-card td { padding: 11px 0; border-bottom: 1px solid var(--paper-line); text-align: right; }
.bill-card td small { display: block; color: var(--paper-2); font-size: .8rem; }
.grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; }
.seal { position: absolute; left: 50%; margin-left: -42px; bottom: -36px; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(180deg, #4fdc82, #1daa4f); box-shadow: 0 0 0 5px #fff, 0 10px 24px -6px rgba(10, 80, 40, .5); transform: rotate(-6deg); }
.seal::after { content: ""; position: absolute; left: 31px; top: 19px; width: 21px; height: 38px; border: solid #fff; border-width: 0 8px 8px 0; border-radius: 3px; transform: rotate(40deg); }
.price .side { display: grid; gap: 20px; justify-items: start; }
.price .side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.price .side li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; color: var(--ink-2); }
.price .side li::before { content: ""; width: 7px; height: 12px; margin: 5px 0 0 5px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.notice { color: var(--ink-2); font-size: .9rem; }
.notice[hidden] { display: none; }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); gap: 64px; } }

/* FAQ */
.faq { display: grid; max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 34px 17px 0; font-weight: 600; font-size: 1.06rem; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 9px; height: 9px; border: solid var(--ink-3); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(225deg); top: 28px; }
.faq details p { color: var(--ink-2); padding: 0 34px 18px 0; max-width: 42em; }

/* Closing */
.close { text-align: center; }
.close .inner { display: grid; justify-items: center; gap: 22px; }
.close img { width: 80px; height: 80px; filter: drop-shadow(0 8px 16px rgba(30, 40, 110, .32)); }
.foot { background: var(--bg-soft); padding-block: 44px; font-size: .9rem; color: var(--ink-2); }
.foot .cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 26px; }
.foot h4 { margin: 0 0 8px; font-size: .84rem; color: var(--ink); font-weight: 600; }
.foot a { display: block; padding: 3px 0; text-decoration: none; }
.foot a.brand { display: inline-flex; padding: 0; color: var(--ink); }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 30px; color: var(--ink-3); font-size: .82rem; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .cols > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Comparison */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: var(--blue-soft); color: var(--ink); font-weight: 550; }
.compare thead th:nth-child(2) { border-radius: 12px 12px 0 0; color: var(--blue); }
.compare tr:last-child td:nth-child(2) { border-radius: 0 0 12px 12px; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-2); }
.tourshot { aspect-ratio: 2360 / 1560; }

@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
}
@media (max-width: 560px) {
  .compare { min-width: 0; font-size: .8rem; table-layout: fixed; }
  .compare th, .compare td { padding: 10px 6px; overflow-wrap: break-word; hyphens: auto; }
  .compare thead th { font-size: .74rem; }
  .compare thead td { width: 34%; padding: 0; }
  .prompts { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .prompts::-webkit-scrollbar { display: none; }
  .prompts button { flex: none; }
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bill { min-height: 0; }
  .dochead { text-align: left; }
  .meta { justify-content: start; text-align: left; }
  .sender { max-width: 60%; }
  .menubar span:not(.clock) { display: none; }
  .lines th:nth-child(2), .lines td:nth-child(2), .lines th:nth-child(3), .lines td:nth-child(3) { display: none; }
  .lines .narrow { display: block; }
}
@media (max-width: 360px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: .95rem; }
  .lang { padding: 4px 7px; }
  .tag { font-size: .8rem; }
}
.bigprice { font-size: clamp(3.2rem, 6vw, 4.75rem); line-height: 1; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pill-buy { margin-left: auto; } }

/* Contact and Privacy */
.legal-page { padding-block: clamp(48px, 7vw, 88px); }
.legal-page .wrap { max-width: 720px; }
.legal-page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 12px; }
.legal-page h2 { font-size: 1.3rem; letter-spacing: -.015em; margin: 32px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-page a { color: var(--blue); }

/* The page after buying, and the download page. */
.done-page { max-width: 620px; margin-inline: auto; padding-block: 56px 72px; text-align: center; }
.done-page section[hidden] { display: none; }
.done-page img.mark { display: block; margin: 0 auto 18px; }
.done-page .eyebrow { color: var(--green); font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.done-page .eyebrow.warn { color: var(--amber); }
.done-page h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.15; }
.done-page .lede { color: var(--ink-2); margin: 0 auto 26px; max-width: 30em; }
.done-page .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.pass { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-card); }
.pass-top { display: flex; align-items: center; gap: 12px; }
.pass-top b { display: block; }
.pass-top span { color: var(--ink-2); font-size: .88rem; }
.pass-label { margin: 18px 0 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.key-row { display: flex; gap: 8px; align-items: stretch; }
.key { flex: 1; min-width: 0; padding: 10px 12px; background: var(--bg-soft); border-radius: 10px; font-family: var(--mono); font-size: .92rem; overflow-wrap: anywhere; cursor: text; }
.copy { flex: none; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer; }
.copy:hover { background: var(--bg-soft); }
.pass-pending p { margin: 0; color: var(--ink-2); }
.pass-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 14px; color: var(--ink-3); font-size: .84rem; overflow-wrap: anywhere; }
.pass-foot span[hidden], [data-key-block][hidden], [data-key-pending][hidden] { display: none; }
.fine-center { color: var(--ink-3); font-size: .88rem; margin-top: 12px; }
.fine-center[hidden], .done-page a[hidden] { display: none; }
.how-to { text-align: left; margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.how-to li { display: flex; gap: 12px; }
.how-to .n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .85rem; font-weight: 600; }
.how-to b { display: block; }
.how-to p { margin: 2px 0 0; color: var(--ink-2); font-size: .94rem; }
.price-note { color: var(--ink-3); font-size: .84rem; margin-top: 10px; }

/* =====================================================================
   Generated pages: comparisons, guides, the roundup, hubs, support, legal
   (written by scripts/build.mjs from content/). Same tokens as the home page,
   light and dark. Class names here never reuse the home page's.
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.btn-small { min-height: 38px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
picture { display: contents; }
picture.app-icon img, picture.hero-app img, picture.r-icon img, picture.th-icon img, picture.v-icon img { display: block; }
.brand picture img { width: 30px; height: 30px; }

/* Layout */
.post-page { padding-top: 22px; }
.col { max-width: 780px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-3); margin: 8px 0 30px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* The head of an article */
.post-head { margin-bottom: 30px; }
.vs-lockup { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
.vs-lockup .hero-app img { width: 88px; height: 88px; filter: drop-shadow(0 10px 18px rgba(30, 40, 110, .22)); }
.vs-lockup.many-apps { gap: 10px; flex-wrap: wrap; }
.vs-lockup.many-apps .hero-app img { width: 60px; height: 60px; }
.vs-pill { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
.post-head .eyebrow { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.post-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); line-height: 1.07; letter-spacing: -.035em; margin: 0 0 18px; }
.capsule { font-size: clamp(1.15rem, 2.3vw, 1.36rem); line-height: 1.45; color: var(--ink); margin: 0 0 22px; max-width: 700px; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink-2); margin: 0; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #5c7dff, #2b3fc4); }
.toc { background: var(--bg-soft); border-radius: 16px; padding: 18px 22px; margin: 0 0 40px; font-size: .94rem; }
.toc p { margin: 0 0 8px; font-weight: 600; font-size: .78rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { padding: 3px 0; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.68; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 1.95rem); line-height: 1.2; letter-spacing: -.025em; margin: 56px 0 16px; scroll-margin-top: 84px; }
.prose h3 { font-size: 1.18rem; letter-spacing: -.01em; margin: 30px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin: 0 0 9px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--bg-soft); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
.prose pre { font-family: var(--mono); font-size: .88rem; line-height: 1.5; background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; overflow-x: auto; margin: 0 0 22px; }
.prose pre code { background: none; padding: 0; }
.prose strong { font-weight: 650; }
.prose .btn, .prose .btn:hover { text-decoration: none; }
.prose .btn.primary { color: #fff; }
.prose .btn.quiet { color: var(--ink); }

/* The short answer */
.short-answer { background: linear-gradient(160deg, var(--blue-soft), var(--surface) 62%); border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line)); border-radius: 24px; padding: 24px; margin: 0 0 12px; box-shadow: var(--shadow-card); }
.short-label { margin: 0 0 14px !important; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.short-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.short-card { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.short-card.us { box-shadow: inset 0 0 0 2px var(--blue); }
.short-card p { margin: 0 !important; font-size: 1rem; line-height: 1.5; }
.short-card .short-who { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px !important; font-size: 1.04rem; }
.short-who img { width: 32px; height: 32px; }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.cta-inline .btn { min-height: 46px; }
.cta-fine { flex-basis: 100%; font-size: .82rem; color: var(--ink-3); }

/* Comparison tables */
.cmp-wrap { position: relative; overflow-x: auto; margin: 0 0 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; background: var(--surface); }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; line-height: 1.42; min-width: 520px; }
table.cmp.many { min-width: 900px; font-size: .88rem; }
table.cmp caption { caption-side: top; text-align: left; padding: 14px 18px 4px; font-size: .82rem; color: var(--ink-3); }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
table.cmp thead th { border-top: 0; background: var(--surface); }
table.cmp tbody th { font-weight: 500; color: var(--ink-2); width: 30%; }
table.cmp.many tbody th { width: 16%; }
table.cmp td.us, table.cmp th.us { background: color-mix(in srgb, var(--blue-soft) 70%, var(--surface)); }
.th-app { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.th-app img { width: 32px; height: 32px; }
.th-app > span:last-child { min-width: 0; }
table.cmp .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
table.cmp .yes svg { width: 15px; height: 15px; }
table.cmp .no { color: var(--ink-3); font-weight: 600; }
.table-note { font-size: .84rem; color: var(--ink-3); margin: 0 0 30px !important; line-height: 1.5; }
.table-hint { display: none; }
table.cmp.many .th-app { flex-direction: column; align-items: flex-start; gap: 6px; line-height: 1.2; }
table.cmp.many .th-app img { width: 30px; height: 30px; }
@media (min-width: 1120px) { .cmp-wrap.many { width: 1060px; margin-left: calc(50% - 530px); } }

/* Quotable lines, callouts, steps, facts */
.brand-quote { margin: 36px 0; padding: 24px 26px; border-radius: 22px; background: linear-gradient(135deg, var(--blue-soft), var(--bg-soft)); border-left: 4px solid var(--blue); }
.brand-quote blockquote { margin: 0; }
.brand-quote blockquote p { margin: 0 !important; font-size: 1.16rem; line-height: 1.5; font-weight: 550; color: var(--ink); text-wrap: pretty; }
.brand-quote figcaption { margin-top: 12px; font-size: .82rem; color: var(--ink-2); line-height: 1.5; }
.home-quote { max-width: 860px; margin: 52px auto 0; }
.callout { border-radius: 18px; padding: 16px 20px; margin: 22px 0; font-size: 1rem; background: var(--bg-soft); }
.callout p { margin: 0 !important; }
.callout.is-tip { background: var(--green-soft); }
.callout.is-warn { background: var(--amber-soft); }
.callout.is-note { background: var(--blue-soft); }
ol.how-steps { list-style: none; counter-reset: step; padding: 0; margin: 10px 0 26px; }
ol.how-steps li { counter-increment: step; position: relative; padding: 2px 0 16px 54px; margin: 0; }
ol.how-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(180deg, #5c7dff, #2b3fc4); }
ol.how-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: color-mix(in srgb, var(--blue) 22%, var(--line)); }
ol.how-steps h3 { margin: 4px 0 4px; font-size: 1.08rem; }
ol.how-steps p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.fact-list { margin: 6px 0 28px; border-top: 1px solid var(--line); }
.fact-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.fact-list dt { color: var(--ink-2); }
.fact-list dd { margin: 0; font-weight: 500; }
.shot-figure { margin: 26px 0 30px; }
.shot-figure .shot { border-radius: 12px; }
.shot-figure figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-3); text-align: center; }
.mail-sample { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; margin: 0 0 22px; font-size: .98rem; }
.mail-sample p { margin: 0 0 8px !important; }
.mail-sample p:last-child { margin: 0 !important; }

/* The live demo inside an article */
.article-demo { margin: 44px 0; padding: 44px 0 34px; background: var(--bg-soft); }
.demo-kicker { text-align: center; font-weight: 650; font-size: clamp(1.1rem, 2.2vw, 1.3rem); letter-spacing: -.015em; margin: 0 auto 22px; max-width: 40em; text-wrap: balance; }
.article-demo .promises { margin-top: 34px; }

/* FAQ, related, sources */
.faq-block { margin: 56px 0 10px; }
.faq-block .faq { max-width: none; }
.faq-block h2 { margin-bottom: 8px; }
.faq summary { text-wrap: pretty; }
.related { margin: 60px 0 20px; }
.related h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card, .learn-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.related-card:hover, .learn-card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 45%, var(--line)), var(--shadow-card); transform: translateY(-2px); }
.related-card b, .learn-card b { font-size: 1.02rem; line-height: 1.3; letter-spacing: -.01em; }
.related-card > span:last-child, .learn-card > span:last-child { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.r-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.r-icons img { width: 36px; height: 36px; }
.sources-block { margin: 30px 0 60px; padding-top: 18px; border-top: 1px solid var(--line); }
.sources-title { font-size: .94rem; margin: 0 0 8px; color: var(--ink-2); letter-spacing: 0; }
.sources { margin: 0; padding-left: 18px; font-size: .84rem; color: var(--ink-3); }
.sources li { margin: 4px 0; }
.sources a { color: var(--ink-2); }

/* The price band */
.buy-band { margin: 70px 0 0; padding: 64px 0; background: radial-gradient(ellipse 70% 90% at 70% 50%, var(--blue-soft), var(--bg-soft) 70%); }
.buy-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 980px; }
.buy-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 12px; }
.buy-copy p { color: var(--ink-2); font-size: 1.06rem; margin: 0 0 18px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: .94rem; }
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.buy-card { background: var(--surface); border-radius: 26px; padding: 28px; box-shadow: var(--shadow-win); position: relative; overflow: hidden; border: 1px solid var(--line); }
.buy-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, #5c7dff, #2b3fc4); }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-head img { width: 56px; height: 56px; }
.pc-head b { display: block; font-size: 1.1rem; }
.pc-head span { font-size: .82rem; color: var(--ink-3); }
.bc-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 16px; }
.bc-price b { font-size: 3.2rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bc-price span { color: var(--ink-2); font-size: 1rem; }
.buy-card .fine { margin: 12px 0 0; }
.buy-card .fine a { color: var(--blue); }

/* Hubs */
.hub-feature { display: flex; flex-direction: column; gap: 10px; padding: 26px; margin: 22px 0 36px; border-radius: 24px; background: linear-gradient(135deg, var(--blue-soft), var(--bg-soft)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 22%, var(--line)); color: var(--ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.hub-feature:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 45%, var(--line)), var(--shadow-card); }
.hub-feature b { font-size: 1.36rem; letter-spacing: -.02em; }
.hub-feature > span:last-child { color: var(--ink-2); font-size: .98rem; }
.hub-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-icons img { width: 40px; height: 40px; }
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 10px 0 30px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.hub-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 45%, var(--line)), var(--shadow-card); }
.hub-card b { font-size: 1.06rem; line-height: 1.3; }
.hub-card > span { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.hub-pair { display: flex; align-items: center; gap: 8px; }
.hub-pair img { width: 40px; height: 40px; }
.vs-mini { font-size: .7rem !important; font-weight: 700; text-transform: uppercase; color: var(--blue) !important; }
.hub-card .hub-meta { font-size: .82rem; color: var(--ink-3); margin-top: auto; }

/* Home: comparisons and guides */
.learn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.learn-card .r-icons img { width: 36px; height: 36px; }
.learn-more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.learn-more a { color: var(--blue); text-decoration: none; }
.learn-more a:hover { text-decoration: underline; }

/* The roundup */
.quick-picks { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.quick-picks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); margin: 0; }
.quick-picks img { width: 30px; height: 30px; }
.app-pick { border-radius: 24px; padding: 22px; margin: 0 0 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); scroll-margin-top: 84px; }
.app-pick.is-us { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow-card); }
.pick-head { display: flex; gap: 16px; align-items: center; }
.pick-head img { width: 64px; height: 64px; }
.pick-rank { margin: 0 !important; font-size: .8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.app-pick h3 { margin: 2px 0 4px; font-size: 1.45rem; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 !important; font-size: .88rem; color: var(--ink-2); }
.pick-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 16px 0 6px; }
.pick-body h4 { margin: 0 0 6px; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.pick-body ul { margin: 0; font-size: .97rem; }
.pick-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 0 !important; font-weight: 600; font-size: .94rem; }

/* Changelog, legal, download */
.release { padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.release h2 { margin-top: 36px; }
.release-date { margin: -8px 0 12px !important; color: var(--ink-3); font-size: .9rem; }
.legal-note { padding: 14px 18px; border-radius: 16px; background: var(--amber-soft); font-weight: 600; }
.download-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); margin: 0 0 30px; }
.download-box img { width: 64px; height: 64px; }
.download-box div { flex: 1 1 220px; }
.download-box b { display: block; font-size: 1.1rem; }
.download-box span { color: var(--ink-3); font-size: .88rem; }
.prose .download-box .btn { color: #fff; }

/* Search */
.search-form input { font: inherit; font-size: 1.2rem; width: 100%; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.search-form input:focus { outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent); border-color: var(--blue); }
.search-count { color: var(--ink-3); font-size: .88rem; margin: 14px 0 8px !important; }
.search-results { list-style: none; padding: 0 !important; }
.search-results a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; color: var(--ink); text-decoration: none !important; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.search-results a:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.search-results b { font-size: 1.04rem; }
.search-results span:last-child { color: var(--ink-2); font-size: .9rem; }
.sr-section { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }

/* The site footer on every page */
.site-foot .cols { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); gap: 26px; }
.foot-brand p { margin: 8px 0 14px; max-width: 24em; }
.foot-brand .btn { display: inline-flex; padding: 0 18px; color: #fff; }
.foot-title { margin: 0 0 8px; font-size: .84rem; color: var(--ink); font-weight: 600; }
.foot-col a { font-size: .86rem; }
.site-foot .legal { display: grid; gap: 6px; }

@media (max-width: 1020px) {
  .site-foot .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot .cols > .foot-brand { grid-column: 1 / -1; }
  .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .short-grid, .hub-grid, .pick-body, .related-grid, .learn-grid { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs-lockup .hero-app img { width: 68px; height: 68px; }
  .prose { font-size: 1.02rem; }
  .fact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .buy-band { padding: 48px 0; }
  .short-answer { padding: 18px; }
}
@media (max-width: 600px) {
  table.cmp:not(.many) { min-width: 0; font-size: .86rem; }
  table.cmp:not(.many) th, table.cmp:not(.many) td { padding: 10px 9px; }
  table.cmp:not(.many) tbody th { width: 34%; }
  table.cmp:not(.many) .th-app { flex-direction: column; align-items: flex-start; gap: 5px; font-size: .86rem; line-height: 1.2; }
  table.cmp:not(.many) .th-app img { width: 28px; height: 28px; }
  table.cmp caption { padding: 12px 12px 4px; }
  table.cmp.many tbody th, table.cmp.many thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  table.cmp.many thead th:first-child { z-index: 2; }
  table.cmp.many tbody th { width: 110px; min-width: 110px; }
  .table-hint { display: block; margin: -4px 0 8px !important; font-size: .82rem; color: var(--ink-3); }
}
@media (max-width: 400px) {
  .cta-inline .btn { max-width: 100%; min-height: 46px; padding: 10px 18px; white-space: normal; text-align: center; line-height: 1.25; }
  .vs-lockup .hero-app img { width: 60px; height: 60px; }
  .vs-lockup.many-apps .hero-app img { width: 48px; height: 48px; }
}

/* Buy on a preview */
.toast-note { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; width: min(92vw, 440px); padding: 14px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: .92rem; box-shadow: var(--shadow-win); }
.toast-note[hidden] { display: none; }

/* Home: the links and captions added for the comparisons and guides */
.compare caption { caption-side: top; text-align: left; font-size: .86rem; color: var(--ink-3); padding: 0 0 12px; }
.learn-title { margin: 48px 0 16px; font-size: 1.36rem; }
.more-link { margin-top: 2px; }
.more-link a { color: var(--blue); font-weight: 600; text-decoration: none; }
.more-link a:hover { text-decoration: underline; }
