/*
 * Qubox website styles (v0.8.0; approved design preview 2026-10-29, tools/site/). Same family as the app (app/assets/css/app.css): calm #f4f4f2
 * ground, white cards, deep green #0f4c3a, Playfair Display headings, Inter text, soft tone tiles.
 * Sections: fonts · tokens · base · header + menus · buttons · hero + product stage · bands · feature grid · trust
 * · paths · steps · switch · close · footer · pricing · faq · phone bar · motion · small screens
 */

/* ---------------------------------------------------------------- fonts (self-hosted, OFL) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/playfair-latin.woff2") format("woff2"); }

/* ---------------------------------------------------------------- tokens (from the app, plus a few for the site) */
:root {
  --bg: #f4f4f2; --card: #fff; --line: #e8e8e5; --line-2: #f0f0ed; --ink: #161616; --ink-2: #3d3d38; --mute: #63635b; --fill: #f2f2ef;
  --g: #0f4c3a; --g-hover: #0b3b2d; --g-deep: #0a3428; --g2: #e6efe9; --g-ink: #d9ebe1; --g-mute: #a9cbb8; --focus: #1f7a52;
  --sky: #1d5fb0; --skyb: #e5effc; --vio: #5a45ad; --viob: #eee9fb; --mint: #1f7a52; --mintb: #e3f1ea; --amb: #8f6212; --ambb: #fcefd9; --rose: #a3305a; --roseb: #fbe7ee;
  --paper: #efe7dc; --bubble-out: #d9f5c9; --note: #fdf3d4;
  --r: 16px; --r-sm: 10px; --r-lg: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --serif: "Playfair Display", Georgia, serif;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 1px 2px rgba(16, 24, 20, .05), 0 12px 32px -12px rgba(16, 40, 30, .16);
  --shadow-lg: 0 2px 4px rgba(16, 24, 20, .05), 0 32px 64px -24px rgba(10, 52, 40, .28);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
::selection { background: var(--g); color: #fff; }
a { color: var(--g); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.12; }
h3 { font-family: var(--font); font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--g); }
p { margin: 0; text-wrap: pretty; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--mute); }
.tabular { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 16px; max-width: 44rem; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { font-size: 1.0625rem; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- header + menus */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 244, 242, .96); border-bottom: 1px solid transparent; }
.top.lined, .top:has(+ main .page-hero) { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 8px; min-height: 72px; }
.logo { font: 600 24px/1 var(--font); letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin-right: 20px; }
.logo em { font-family: var(--serif); font-weight: 600; font-style: italic; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav > a, .dd > summary { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .9375rem; text-decoration: none; cursor: pointer; list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .dd > summary:hover, .dd[open] > summary { background: #fff; color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--g); background: var(--g2); }
.dd { position: relative; }
.dd > summary .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dd[open] > summary .icon { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: -8px; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; }
.dd-panel a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.dd-panel a:hover { background: var(--fill); }
.dd-panel a .tile { grid-row: span 2; }
.dd-panel b { font-weight: 600; font-size: .9375rem; }
.dd-panel small { color: var(--mute); font-size: .8125rem; line-height: 1.4; }
.dd-panel .all { display: block; padding: 10px; border-top: 1px solid var(--line-2); margin-top: 4px; border-radius: 0 0 10px 10px; font-weight: 600; color: var(--g); }
.top-end { display: flex; align-items: center; gap: 8px; }
.signin { padding: 8px 12px; color: var(--ink-2); font-weight: 500; font-size: .9375rem; text-decoration: none; border-radius: 10px; }
.signin:hover { background: #fff; color: var(--ink); }
.m-menu { display: none; }

/* ---------------------------------------------------------------- tone tiles (as in the app) */
.tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.tile .icon { width: 19px; height: 19px; }
.t-mint { background: var(--mintb); color: var(--mint); } .t-sky { background: var(--skyb); color: var(--sky); } .t-vio { background: var(--viob); color: var(--vio); }
.t-amb { background: var(--ambb); color: var(--amb); } .t-rose { background: var(--roseb); color: var(--rose); } .t-g { background: var(--g2); color: var(--g); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .16s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-g { background: var(--g); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(15, 76, 58, .6); }
.btn-g:hover { background: var(--g-hover); color: #fff; }
.btn-w { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-w:hover { border-color: #d6d6d1; color: var(--ink); }
.btn-light { background: #fff; color: var(--g-deep); }
.btn-light:hover { background: var(--g-ink); color: var(--g-deep); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; border-radius: 10px; }
.btn .icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- hero + product stage */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero-copy .lede { font-size: 1.1875rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.micro { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--mute); max-width: 30em; }
.micro .icon { color: var(--g); margin-top: 2px; width: 18px; height: 18px; }

.stage { position: relative; padding: 0 0 56px 56px; }
.sample { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: #fff;
  font: 600 11px/1.4 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.stage > .sample { top: -12px; right: 16px; }

/* the Qubox inbox, drawn with the app's own look */
.win { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.45; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.win-bar .logo { font-size: 17px; margin: 0; }
.win-bar .biz { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #f3d9c9; background: #fffaf6; border-radius: 10px; padding: 5px 10px; font-weight: 600; font-size: 12.5px; }
.win-bar .biz i { width: 7px; height: 7px; border-radius: 50%; background: #c2410c; }
.win-bar .who { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; font-size: 12.5px; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 var(--font); flex: none; background: var(--ink); color: #fff; }
.av.sky { background: var(--skyb); color: var(--sky); } .av.vio { background: var(--viob); color: var(--vio); } .av.amb { background: var(--ambb); color: var(--amb); } .av.rose { background: var(--roseb); color: var(--rose); }
.win-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px; padding: 10px; }
.list, .chat { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.list-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line-2); }
.list-tabs span { padding: 3px 8px; border-radius: 8px; font-weight: 500; color: var(--mute); font-size: 12px; }
.list-tabs span.on { background: var(--fill); color: var(--ink); font-weight: 600; }
.row { display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.row .av { grid-row: span 3; }
.row b { font-weight: 600; font-size: 12.5px; display: flex; justify-content: space-between; gap: 6px; }
.row b small { font-weight: 400; color: var(--mute); font-size: 11px; }
.row p { color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.on { background: var(--g2); box-shadow: inset 3px 0 0 var(--g); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; width: max-content; }
.chip.mint { background: var(--mintb); color: var(--mint); } .chip.sky { background: var(--skyb); color: var(--sky); } .chip.amb { background: var(--ambb); color: var(--amb); }
.chip.vio { background: var(--viob); color: var(--vio); } .chip.grey { background: var(--fill); color: var(--mute); }
.chat { display: grid; grid-template-rows: auto 1fr auto; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.chat-head b { display: block; font-weight: 600; }
.chat-head small { color: var(--mute); font-size: 11.5px; }
.chat-head .assign { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 9px; padding: 4px 9px; font-weight: 600; font-size: 12px; }
.chat-head .assign .av { width: 20px; height: 20px; font-size: 9.5px; }
.log { background: var(--paper); padding: 14px; display: grid; gap: 8px; align-content: start; }
.day { justify-self: center; background: #fff; border-radius: 8px; padding: 1px 9px; font-size: 11px; color: var(--mute); }
.b { max-width: 78%; padding: 7px 10px 5px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.b.out { justify-self: end; background: var(--bubble-out); }
.b .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 10.5px; color: var(--mute); margin-top: 2px; }
.b .meta .icon { width: 14px; height: 14px; color: var(--sky); }
.b .tpl { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.7); border-radius: 6px; padding: 1px 6px; margin-bottom: 4px; }
.b.note { justify-self: center; max-width: 92%; background: var(--note); color: #5c4508; font-size: 12px; }
.b.note b { font-weight: 600; }
.compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.compose .tabs { display: flex; gap: 2px; background: var(--fill); border-radius: 9px; padding: 2px; font-size: 11.5px; }
.compose .tabs span { padding: 3px 8px; border-radius: 7px; color: var(--mute); }
.compose .tabs span.on { background: #fff; color: var(--ink); font-weight: 600; }
.compose .field { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; color: var(--mute); font-size: 12px; }
.compose .send { width: 30px; height: 30px; border-radius: 9px; background: var(--g); color: #fff; display: grid; place-items: center; }
.compose .send .icon { width: 15px; height: 15px; }

/* the customer's phone */
.phone { position: absolute; left: 0; bottom: 0; z-index: 2; width: 212px; border-radius: 30px; background: #1b1b1a; padding: 7px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.25); }
.phone-in { border-radius: 24px; overflow: hidden; background: var(--paper); font-size: 11.5px; line-height: 1.4; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 18px 10px 8px; background: var(--g-deep); color: #fff; }
.ph-top .av { width: 26px; height: 26px; background: #fff; color: var(--g); font-size: 10px; }
.ph-top b { font-weight: 600; font-size: 12px; display: block; }
.ph-top small { color: var(--g-mute); font-size: 10px; }
.ph-log { padding: 10px 8px 12px; display: grid; gap: 6px; }
.ph-log .b { max-width: 86%; font-size: 11px; }
.ph-log .b.mine { justify-self: end; background: var(--bubble-out); }
.ph-log .b .meta { font-size: 9.5px; }
.ph-log .btnrow { display: block; text-align: center; color: var(--sky); font-weight: 600; border-top: 1px solid var(--line-2); margin: 6px -10px -5px; padding: 5px 0; font-size: 11px; }
.ph-type { margin: 0 8px 10px; background: #fff; border-radius: 99px; padding: 6px 12px; color: var(--mute); font-size: 11px; }
.stage-cap { position: absolute; z-index: 3; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px 6px 6px; box-shadow: var(--shadow); font-weight: 500; }
.stage-cap .tile { width: 24px; height: 24px; border-radius: 99px; }
.stage-cap .tile .icon { width: 14px; height: 14px; }
.cap-phone { left: 120px; bottom: 6px; }
.cap-team { right: 18px; bottom: 18px; }

/* ---------------------------------------------------------------- the one difference (green band) */
.band { background: var(--g); color: var(--g-ink); position: relative; overflow: clip; }
.band h2 { color: #fff; }
.band h2 em { color: var(--g-mute); }
.band .sec-head p { color: var(--g-ink); }
.band a:not(.btn) { color: #fff; }
.same { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.plan-col { background: var(--g-deep); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; }
.plan-col h3 { color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.plan-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-col li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--g-ink); }
.plan-col li .icon { width: 18px; height: 18px; color: #7fd1a5; }
.vol { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.vol span { font-size: .8125rem; color: var(--g-mute); font-weight: 500; }
.vol i { display: block; height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.vol i::after { content: ""; display: block; height: 100%; width: var(--w, 20%); border-radius: inherit; background: linear-gradient(90deg, #7fd1a5, #c6ecd6); transform-origin: left; }
.band-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.band-foot p { color: var(--g-mute); font-size: .9375rem; }

/* ---------------------------------------------------------------- feature grid (each with a working snippet) */
.feats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.feat { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; text-decoration: none; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.feat.wide { grid-column: span 3; }
.feat:hover { border-color: #d9d9d3; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.feat p { color: var(--ink-2); font-size: .9375rem; }
.feat .go { display: inline-flex; align-items: center; gap: 6px; color: var(--g); font-weight: 600; font-size: .9375rem; }
.feat .go .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.feat:hover .go .icon { transform: translateX(3px); }
.snip { background: var(--bg); border-radius: 14px; padding: 14px; font-size: 12.5px; line-height: 1.45; display: grid; gap: 8px; align-content: start; min-height: 132px; }
.snip .row { background: #fff; border-radius: 10px; border: 0; padding: 8px 10px; }
.snip .row p { white-space: normal; }
.flow { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; }
.flow .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--g); }
.flow .dot .icon { width: 14px; height: 14px; }
.flow span { background: #fff; border-radius: 9px; padding: 6px 10px; }
.flow span b { font-weight: 600; }
.menu-b { display: grid; gap: 6px; }
.menu-b .q { background: #fff; border-radius: 10px; padding: 7px 10px; }
.menu-b .opt { background: #fff; border-radius: 9px; padding: 6px 10px; color: var(--sky); font-weight: 600; text-align: center; }
.qr-snip { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.qr { width: 88px; height: 88px; background: #fff; border-radius: 10px; padding: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-snip .pre { background: var(--bubble-out); border-radius: 10px; padding: 7px 10px; }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 74px 1fr 40px; gap: 10px; align-items: center; }
.bars i { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; display: block; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c, var(--g)); border-radius: inherit; }
.code { font: 12px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; background: #15201c; color: #d9ebe1; border-radius: 14px; padding: 14px 16px; overflow: auto; white-space: pre; min-height: 132px; }
.code .k { color: #7fd1a5; } .code .s { color: #f3d9a4; } .code .c { color: #8fa89c; }
.snip-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); justify-self: end; }

/* ---------------------------------------------------------------- trust */
.trust .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trust .sec-head { margin: 0; }
.facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-weight: 500; }
.facts .tile { width: 44px; height: 44px; border-radius: 12px; }
.facts .tile .icon { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- who it's for */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path { border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.path:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.path.p-mint { background: var(--mintb); } .path.p-sky { background: var(--skyb); } .path.p-vio { background: var(--viob); }
.path .tile { background: #fff; width: 44px; height: 44px; border-radius: 12px; }
.path h3 { font-family: var(--serif); font-size: 1.5rem; }
.path p { color: var(--ink-2); font-size: .9375rem; }
.path .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.p-mint .go { color: var(--mint); } .p-sky .go { color: var(--sky); } .p-vio .go { color: var(--vio); }
.path .go .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.path:hover .go .icon { transform: translateX(3px); }
.also { margin-top: 20px; color: var(--ink-2); }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); font: 600 2.75rem/1 var(--serif); color: var(--g); font-style: italic; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .9375rem; }

/* ---------------------------------------------------------------- switching */
.switch-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.switch-card .tile { width: 56px; height: 56px; border-radius: 16px; }
.switch-card .tile .icon { width: 26px; height: 26px; }
.switch-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.switch-card p { color: var(--ink-2); margin-top: 6px; }
.tight { padding-top: 0; }

/* ---------------------------------------------------------------- close */
.close { background: var(--g-deep); color: var(--g-ink); text-align: center; }
.close .wrap { display: grid; gap: 20px; justify-items: center; max-width: 44rem; }
.close h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.close p { font-size: 1.125rem; }
.close small { color: var(--g-mute); font-size: .875rem; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--g-deep); color: var(--g-mute); border-top: 1px solid rgba(255,255,255,.08); padding-block: 56px 32px; font-size: .9375rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot .logo { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--g-ink); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-line { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8125rem; }

/* ---------------------------------------------------------------- pricing */
.page-hero { padding-block: clamp(48px, 7vw, 96px) 40px; text-align: center; }
.page-hero .wrap { display: grid; gap: 20px; justify-items: center; }
.page-hero .lede { margin-inline: auto; }
.crumbs { font-size: .875rem; color: var(--mute); }
.crumbs a { color: var(--mute); }
.switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--mute); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg label small { font-weight: 500; color: var(--mint); margin-left: 4px; }
.seg input:checked + label { background: var(--g); color: #fff; }
.seg input:checked + label small { color: var(--g-ink); }
.seg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-bottom: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 22px; align-content: start; position: relative; }
.plan.pick { border: 2px solid var(--g); box-shadow: var(--shadow-lg); padding: 27px; }
.plan .flag { position: absolute; top: -13px; left: 26px; background: var(--g); color: #fff; font-size: .8125rem; font-weight: 600; padding: 3px 12px; border-radius: 99px; }
.plan h2 { font-size: 1.75rem; }
.plan .for { color: var(--mute); font-size: .9375rem; margin-top: 4px; }
.price { display: grid; gap: 2px; }
.price b { font: 600 2.75rem/1.05 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }

.limits { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.limits li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .9375rem; color: var(--ink-2); }
.limits li b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.every { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--g); font-size: .9375rem; }
.plan .btn { width: 100%; }

.under { text-align: center; color: var(--mute); font-size: .9375rem; max-width: 44rem; margin: 8px auto 0; }
.incl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.incl .sec-head { margin: 0; position: sticky; top: 104px; }
.incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incl-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-size: .9375rem; }
.incl-list li b { display: block; font-weight: 600; margin-bottom: 2px; }
.incl-list li span { color: var(--mute); }
.bills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.bill { border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
.bill.q { background: var(--g); color: var(--g-ink); }
.bill.q h3 { color: #fff; }
.bill.meta { background: #fff; border: 1px solid var(--line); }
.bill h3 { font-family: var(--serif); font-size: 1.5rem; }
.bill ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.bill.meta ul { color: var(--ink-2); }
.bill .who-b { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.bill.q .tile { background: rgba(255,255,255,.12); color: #fff; }
.meta-link { margin-top: 20px; color: var(--ink-2); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; }
.guide h3 { font-family: var(--serif); font-size: 1.375rem; }
.guide p { color: var(--ink-2); font-size: .9375rem; }

/* ---------------------------------------------------------------- faq */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq .sec-head { margin: 0; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { transition: transform .25s var(--ease); color: var(--g); }
.qa details[open] summary .icon { transform: rotate(45deg); }
.qa details p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }
.todo { display: inline-block; background: var(--ambb); color: var(--amb); font-size: .75rem; font-weight: 600; padding: 1px 7px; border-radius: 6px; vertical-align: middle; }

/* ---------------------------------------------------------------- phone bar (sticky Book a demo) */
.m-bar { display: none; }

/* ---------------------------------------------------------------- motion: one authored moment (hero assembles), reduced = no movement */
@media (prefers-reduced-motion: no-preference) {
  .stage .win { animation: rise .8s var(--ease) both; }
  .stage .phone { animation: rise .8s .18s var(--ease) both; }
  .stage .cap-phone { animation: pop .5s .7s var(--ease) both; }
  .stage .cap-team { animation: pop .5s .82s var(--ease) both; }
  .log .b, .ph-log .b { animation: msg .45s var(--ease) both; }
  .log .b:nth-child(2), .ph-log .b:nth-child(1) { animation-delay: .35s; } .log .b:nth-child(3), .ph-log .b:nth-child(2) { animation-delay: .5s; }
  .log .b:nth-child(4), .ph-log .b:nth-child(3) { animation-delay: .65s; } .log .b:nth-child(5), .ph-log .b:nth-child(4) { animation-delay: .8s; }
  .log .b:nth-child(6) { animation-delay: .95s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } }
@keyframes msg { from { opacity: 0; transform: translateY(6px); } }

/* ---------------------------------------------------------------- tablets */
@media (max-width: 1080px) {
  .nav > a.hide-md { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; }
  .trust .wrap, .incl, .faq .wrap { grid-template-columns: 1fr; }
  .incl .sec-head { position: static; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat, .feat.wide { grid-column: span 1; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  body { font-size: 15.5px; padding-bottom: 76px; }
  .nav, .top-end .signin, .top-end .btn { display: none; }
  .top .wrap { min-height: 60px; justify-content: space-between; }
  .m-menu { display: block; }
  .m-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-weight: 600; cursor: pointer; background: #fff; border: 1px solid var(--line); }
  .m-menu > summary::-webkit-details-marker { display: none; }
  .m-sheet { position: fixed; inset: 60px 0 0; background: var(--bg); padding: 16px var(--gut) 96px; overflow: auto; display: grid; gap: 4px; align-content: start; z-index: 40; }
  .m-sheet h3 { font-size: .8125rem; color: var(--mute); margin: 16px 0 4px; font-weight: 600; }
  .m-sheet a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; }
  .m-sheet .btn { margin-top: 16px; color: #fff; justify-content: center; }
  .m-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: rgba(244,244,242,.97); border-top: 1px solid var(--line); }
  .m-bar .btn { flex: 1; }
  body:has(.m-menu[open]) .m-bar { display: none; }
  .stage { padding: 0 0 40px 28px; }
  .win-body { grid-template-columns: 1fr; }
  .list { display: none; }
  .win-bar .who span { display: none; }
  .phone { width: 172px; border-radius: 26px; }
  .phone-in { border-radius: 20px; }
  .cap-team { display: none; }
  .cap-phone { left: 76px; bottom: 0; }
  .log { padding-bottom: 120px; }
  .same, .paths, .steps, .plans, .guides, .bills, .incl-list { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .switch-card { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .page-hero { text-align: left; }
  .page-hero .wrap { justify-items: start; }
  .switches { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- small additions */
.bars .w-del { --w: 96%; } .bars .w-read { --w: 71%; --c: var(--sky); } .bars .w-rep { --w: 18%; --c: var(--vio); }
.bars span { color: var(--ink-2); } .bars b { font-weight: 600; text-align: right; }
.feat-quiet { background: transparent; border-style: dashed; grid-template-rows: auto auto 1fr auto; }
.feat-quiet:hover { transform: none; box-shadow: none; }
.foot .logo + p { margin-top: 12px; max-width: 18em; }
body:has(#bill-y:checked) .price .y { display: inline; }

/* ---------------------------------------------------------------- review fixes (round 1) */
[hidden] { display: none !important; }
.price > span { color: var(--mute); font-size: .9375rem; }
.price b span { color: inherit; font-size: inherit; }
h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
@media (min-width: 1081px) { .hero .wrap { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); } }
.hero { padding-top: clamp(32px, 4vw, 56px); }
.list-tabs span { white-space: nowrap; padding: 3px 6px; }
.list-tabs { gap: 2px; }
.faq .sec-head, .incl .sec-head, .trust .sec-head { align-content: start; }
.plans + .under { margin-bottom: 0; }
.list, .chat, .compose .field { min-width: 0; }
@media (min-width: 761px) { .win-body { grid-template-columns: 188px minmax(0, 1fr); } }
.compose .field { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head > span:nth-child(2) { min-width: 0; }
.chat-head small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage { margin: 0; }
.chat, .log, .list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .stage { padding: 0 0 28px; }
  .stage .phone, .stage .cap-phone { display: none; }
  .stage .cap-team { display: inline-flex; right: 12px; bottom: 0; }
  .log { padding-bottom: 14px; }
}

/* ---------------------------------------------------------------- review fixes (round 2, detector) */
.m-sheet a.btn { background: var(--g); color: #fff; }
.feat, .path { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
.feat > :not(.tile):not(h3), .path > :not(.tile):not(h3) { grid-column: 1 / -1; }
.feat { grid-template-rows: auto 1fr auto auto; }
.path { grid-template-rows: auto 1fr auto; }
.path h3 { font-size: 1.375rem; }
.win, .plan.pick, .dd-panel, .phone { border-color: transparent; }
.win { border: 0; }
.btn-g { box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 6px 16px -8px rgba(0, 0, 0, .35); }

/* ================================================================ v0.8.0: the built site (beyond the approved preview) */
/* plan band bars (Home): width by plan order */
.vol i::after { content: none; }
.vol i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fd1a5, #c6ecd6); }
.vol b.w-10 { width: 10%; } .vol b.w-20 { width: 20%; } .vol b.w-30 { width: 30%; } .vol b.w-40 { width: 40%; } .vol b.w-50 { width: 50%; }
.vol b.w-60 { width: 60%; } .vol b.w-70 { width: 70%; } .vol b.w-80 { width: 80%; } .vol b.w-90 { width: 90%; } .vol b.w-100 { width: 100%; }
.dd > summary.on { color: var(--g); }
.foot h2 { color: #fff; font: 600 .875rem/1.4 var(--font); margin-bottom: 12px; letter-spacing: 0; }

/* breadcrumbs */
.crumbs { padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--mute); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: #8a8a80; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--g); }

/* page heads */
.sub-hero { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.sub-hero .wrap { display: grid; gap: 20px; justify-items: start; }
.sub-hero h1 { max-width: 18em; font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.tile.big { width: 56px; height: 56px; border-radius: 16px; }
.tile.big .icon { width: 28px; height: 28px; }
.page-hero { padding-top: clamp(24px, 4vw, 56px); }

/* point lists */
.pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pts.one { grid-template-columns: 1fr; }
.pts li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pts li > .icon { color: var(--g); margin-top: 3px; }
.pts li span { color: var(--ink-2); font-size: .9375rem; }
.pts li span b { display: block; font-weight: 600; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }
.blk + .blk { padding-top: 0; }
.blk .sec-head { margin-bottom: 24px; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; max-width: 52rem; }
.note-card h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.note-card p { color: var(--ink-2); }
.draft-note { background: var(--ambb); border-color: #f1d9a7; max-width: none; margin-top: 16px; }
.draft-note h2 { font: 600 1rem/1.4 var(--font); color: var(--amb); }
.draft-note p { color: #5c4508; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split .sec-head { margin: 0; }
.split .code { min-height: 0; font-size: 13px; }
.plain { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }

/* links to the other pages of a group */
.mini-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-links a { display: grid; grid-template-columns: 36px 1fr 18px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease), transform .25s var(--ease); }
.mini-links a:hover { border-color: #d6d6d1; transform: translateY(-1px); color: var(--ink); }
.mini-links b { display: block; font-weight: 600; }
.mini-links small { color: var(--mute); font-size: .8125rem; }
.mini-links a > .icon { color: var(--g); width: 18px; height: 18px; }

/* features hub */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: var(--ink); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hub-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.hub-head { display: flex; align-items: center; gap: 12px; }
.hub-card p { color: var(--ink-2); font-size: .9375rem; }
.hub-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; }
.hub-card li { display: flex; gap: 8px; align-items: center; }
.hub-card li .icon { width: 16px; height: 16px; color: var(--g); }
.hub-card .go { display: inline-flex; align-items: center; gap: 6px; color: var(--g); font-weight: 600; font-size: .9375rem; }
.hub-card .go .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.hub-card:hover .go .icon { transform: translateX(3px); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* about */
.facts-dl { margin: 8px 0 0; display: grid; }
.facts-dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.facts-dl dt { color: var(--mute); }
.facts-dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* currency links in the pricing switch */
.seg a { padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--mute); text-decoration: none; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { background: var(--g); color: #fff; }

/* book a demo */
.demo-page { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.demo-copy { display: grid; gap: 24px; position: sticky; top: 104px; }
.demo-copy h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 40px); scroll-margin-top: 96px; }
.form { display: grid; gap: 18px; }
.form h2 { font: 600 1.25rem/1.3 var(--font); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--mute); }
.hint { font-size: .8125rem; color: var(--mute); margin: -2px 0 0; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c9c9c2; border-radius: 12px; background-color: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font); }
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.input[aria-invalid="true"] { border-color: #b4362b; background-color: #fffafa; }
.error { color: #b4362b; font-size: .875rem; font-weight: 500; margin: 0; }
.form-alert { background: #fbe9e7; color: #8c2a21; border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.fine { font-size: .8125rem; color: var(--mute); }
.sent { display: grid; gap: 14px; justify-items: start; padding: 8px 0; scroll-margin-top: 96px; }
.sent h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sent p { color: var(--ink-2); }

/* comparison table (drafts) */
.cmp-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.cmp thead th { background: var(--fill); font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.cmp tbody th { font-weight: 600; width: 20%; }
.cmp td:nth-child(2) { background: #f7fbf8; }
.cmp tr:last-child > * { border-bottom: 0; }
.src { font-size: .8125rem; white-space: nowrap; }
.cmp-wrap + .fine { margin-top: 12px; }

@media (max-width: 1080px) {
  .split, .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { position: static; }
  .hub, .mini-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pts, .hub, .mini-links, .steps-4 { grid-template-columns: 1fr; }
  .facts-dl div { grid-template-columns: 1fr; gap: 2px; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cmp tbody th { width: auto; padding: 4px 16px; border: 0; }
  .cmp td { border: 0; padding: 6px 16px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
  .demo-card { padding: 20px; }
}

/* monthly / yearly prices (CSS-only switch) */
.price .y { display: none; }
body:has(#bill-y:checked) .price .m { display: none; }
body:has(#bill-y:checked) .price .y { display: inline; }

/* layout audit (v0.8.0): Playfair's line box is 1.14 em, so serif headings keep at least 1.16 line height */
h1, h2, .close h2, .sub-hero h1, .demo-copy h1, .path h3, .plan h2, .guide h3, .bill h3, .plan-col h3 { line-height: 1.16; }
.menu-b { gap: 8px; }
.note-card h2, .path h3, .guide h3, .bill h3, .plan-col h3, .hub-card h3, .feat h3, .steps h3, .switch-card h2 { line-height: 1.22; }

/* ================================================================ v0.8.0 owner review: tighter spacing + topic photos */
/* one rhythm between sections: ~48–80 px (was up to 120 px), more above a heading than below it */
section { padding-block: clamp(40px, 5vw, 72px); }
.tight { padding-top: 0; }
.hero { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.band, .close { padding-block: clamp(48px, 6vw, 88px); }
.sec-head { margin-bottom: clamp(20px, 2.6vw, 36px); gap: 12px; }
.blk .sec-head { margin-bottom: 20px; }
.sub-hero { padding-block: clamp(24px, 3.5vw, 48px) clamp(32px, 4.5vw, 64px); }
.page-hero { padding-block: clamp(24px, 3.5vw, 48px) 32px; }
.demo-page { padding-block: clamp(24px, 3.5vw, 48px) clamp(48px, 6vw, 80px); }
.foot { padding-block: 48px 28px; }
.foot-line { margin-top: 32px; }

/* page heading with its photo */
.sub-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sub-copy { display: grid; gap: 20px; justify-items: start; }
.sub-hero .sub-grid { justify-items: stretch; }
.sub-photo, .demo-photo, .which-photo { margin: 0; position: relative; }
.sub-photo img, .demo-photo img, .which-photo img, .path-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-lg); background: var(--fill); }
.sub-photo img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.sub-photo::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 38%; height: 42%; border-radius: var(--r-lg); background: var(--g2); z-index: -1; }
.sub-hero { position: relative; isolation: isolate; }
.demo-photo img { aspect-ratio: 3 / 2; }
.demo-copy { top: 96px; }

/* Home: a photo at the top of each "Who it's for" card */
.path { padding: 0 0 28px; overflow: hidden; }
.path > :not(.path-img) { margin-inline: 28px; }
.path-img { aspect-ratio: 16 / 9; border-radius: 0; grid-column: 1 / -1; margin-bottom: 6px; }
.path { grid-template-rows: auto auto 1fr auto; }

/* Pricing: which plan, with a photo */
.which { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.which-photo img { aspect-ratio: 4 / 5; }
.which .guides { grid-template-columns: 1fr; gap: 12px; }
.meta-link a { display: inline-flex; align-items: center; gap: 6px; }
.meta-link .icon { width: 16px; height: 16px; }

@media (max-width: 1080px) {
  .sub-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
}
@media (max-width: 760px) {
  .sub-grid, .which { grid-template-columns: 1fr; }
  .sub-photo { order: -1; }
  .sub-photo img { aspect-ratio: 16 / 9; }
  .sub-photo::after { display: none; }
  .which-photo img { aspect-ratio: 16 / 9; }
  .path > :not(.path-img) { margin-inline: 22px; }
  .path { padding-bottom: 22px; }
}
