/* QuoteLoop website. Plain CSS, no build step.
   Look: warm paper, ink-green, an editorial serif for headlines (Instrument Serif), Geist for
   everything else, Geist Mono for numbers and quote references. One highlighter accent. */
:root {
  --paper: #f7f5ef;
  --paper-2: #efebe1;
  --card: #ffffff;
  --ink: #0f1d1a;
  --ink-2: #33433f;
  --muted: #687672;
  --line: #e4dfd2;
  --line-2: #d5cfbf;
  --green-950: #062621;
  --green-900: #0a3a33;
  --green-700: #0f5e52;
  --green-500: #148a72;
  --green-100: #d7f1e5;
  --green-50: #ecf8f2;
  --marker: #ffd66b;
  --blue: #2f6fed;
  --blue-50: #eaf1fe;
  --amber: #b7790b;
  --amber-50: #fdf3dc;
  --red: #c2412d;
  --red-50: #fbe9e5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 26, 0.06), 0 1px 1px rgba(15, 29, 26, 0.04);
  --shadow: 0 1px 2px rgba(15, 29, 26, 0.05), 0 12px 32px -8px rgba(15, 29, 26, 0.14);
  --shadow-lg: 0 2px 4px rgba(15, 29, 26, 0.04), 0 30px 70px -20px rgba(15, 29, 26, 0.28);
  --max: 1180px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--marker); color: var(--ink); }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 18px; letter-spacing: -0.01em; }
code { font-family: var(--mono); font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }

/* Type */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
h1.display { font-size: clamp(46px, 7vw, 88px); }
h2.display { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; }
.display em { font-style: italic; }
.marker { background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); padding: 0 0.06em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.9vw, 20px); color: var(--ink-2); line-height: 1.55; }
.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 20px -8px rgba(15, 29, 26, 0.5); }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--marker); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.text-link:hover { color: var(--green-700); border-color: var(--green-700); }

/* Header: a floating bar */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background 0.2s ease; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 10px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--shadow-sm); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 8px; color: #fff; padding: 0 18px; }
.nav .btn:hover { background: var(--green-900); color: #fff; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Sections */
section { padding: 112px 0; }
.section-tight { padding: 72px 0; }
.band { background: var(--card); border-block: 1px solid var(--line); }
.dark { background: var(--green-950); color: #e6efec; }
.dark .eyebrow { color: #8fe3c2; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #b6c8c2; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* Home hero */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-copy .lead { max-width: 640px; margin: 24px auto 34px; }
.hero-copy .btn-row { justify-content: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 14px; text-decoration: none; box-shadow: var(--shadow-sm); }
.badge-pill b { padding: 3px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: 12.5px; font-weight: 600; }
.badge-pill:hover { color: var(--ink); border-color: var(--line-2); }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* Hero stage: cart → PDF → won */
.stage { position: relative; max-width: 1080px; height: 600px; margin: 72px auto 0; }
.stage-cart { position: absolute; z-index: 2; left: 0; top: 70px; width: 380px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.stage-cart h4 { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 15px; }
.stage-cart h4 span { color: var(--muted); font-weight: 500; font-size: 13px; }
.cart-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cart-line i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--paper); color: var(--muted); }
.cart-line small { display: block; color: var(--muted); font-size: 12.5px; }
.cart-line b { font-family: var(--mono); font-weight: 500; font-size: 13.5px; }
.cart-total { display: flex; justify-content: space-between; margin: 6px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.cart-total b { font-family: var(--mono); font-weight: 600; }
.fake-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px; font-weight: 600; font-size: 14.5px; }
.fake-btn.dark { background: #1e3a8a; color: #fff; }
.fake-btn.outline { position: relative; margin-top: 8px; border: 1.5px solid #1e3a8a; color: #1e3a8a; background: #fff; box-shadow: 0 0 0 5px rgba(255, 214, 107, 0.55); }
.cursor { position: absolute; right: 54px; bottom: -14px; width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.stage-paper { position: absolute; left: 330px; right: 120px; top: 0; transform: rotate(1.5deg); border-radius: 8px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; height: 560px; }
.stage-paper img { width: 100%; }
.stage-paper::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; white-space: nowrap; }
.chip .ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; }
.chip small { display: block; color: var(--muted); font-size: 12.5px; }
.chip b { font-weight: 600; }
.chip-priced { right: 0; top: 96px; }
.chip-opened { right: 40px; top: 250px; }
.chip-won { right: -10px; top: 404px; }
.ico.green { background: var(--green-50); color: var(--green-700); }
.ico.blue { background: var(--blue-50); color: var(--blue); }
.ico.ink { background: var(--green-900); color: #8fe3c2; }
@media (max-width: 1040px) {
  .stage { height: auto; display: grid; gap: 18px; justify-items: center; }
  .stage-cart, .stage-paper, .chip { position: relative; inset: auto; transform: none; }
  .stage-cart { width: min(420px, 100%); }
  .stage-paper { width: min(560px, 100%); height: 420px; }
  .chip-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* Proof row */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.proof > div { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.proof > div + div { border-left: 1px solid var(--line); }
.proof svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--green-700); }
.proof b { display: block; font-weight: 600; font-size: 15px; }
.proof span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(3) { border-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Three steps */
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.flow3 > li { list-style: none; counter-increment: step; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.flow3 { margin: 0; padding: 0; }
.flow3 .art { display: grid; place-items: center; height: 200px; border-bottom: 1px solid var(--line); background: var(--paper); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px; }
.flow3 .txt { padding: 24px 26px 28px; }
.flow3 .txt::before { content: "0" counter(step); display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 13px; color: var(--green-700); }
.flow3 p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .flow3 { grid-template-columns: 1fr; } }

/* Small UI pieces used in illustrations */
.ui { border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; }
.mini-doc { position: relative; width: 176px; padding: 16px 14px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); transform: rotate(-3deg); }
.mini-doc .t { font-family: var(--serif); font-size: 20px; color: var(--green-700); text-align: right; line-height: 1; }
.mini-doc .l { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--paper-2); }
.mini-doc .l.s { width: 60%; }
.mini-doc .bar { height: 10px; margin-top: 12px; border-radius: 2px; background: var(--green-700); }
.mini-doc .tot { display: flex; gap: 8px; padding-right: 30px; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; }
.mini-doc .qr { position: absolute; right: -18px; bottom: -14px; width: 46px; height: 46px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); padding: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-created { background: var(--paper-2); color: var(--ink-2); }
.s-sent { background: var(--blue-50); color: var(--blue); }
.s-viewed { background: var(--amber-50); color: var(--amber); }
.s-won { background: var(--green-50); color: var(--green-700); }
.s-expired { background: var(--paper-2); color: var(--muted); }
.s-declined { background: var(--red-50); color: var(--red); }
.pill-steps { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pill-steps .status { font-size: 13.5px; padding: 5px 14px; box-shadow: var(--shadow-sm); }

/* Accuracy: two quotes side by side */
.acc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.acc ul { margin: 28px 0 0; padding: 0; list-style: none; }
.acc li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #cfe0da; }
.acc li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: rgba(143, 227, 194, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%238fe3c2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.receipts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.receipt { padding: 24px 22px; border-radius: 16px; background: #fff; color: var(--ink); font-size: 14px; }
.receipt.bad { background: #e9eeec; color: #55625e; transform: rotate(-1.5deg) translateY(14px); }
.receipt h4 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; font-size: 12px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.receipt .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.receipt .row b { font-family: var(--mono); font-weight: 500; }
.receipt .row.total { border: 0; padding-top: 12px; font-weight: 700; font-size: 16px; }
.receipt .row.total b { font-weight: 700; }
.receipt .flag { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; }
.receipt.bad .flag { color: var(--red); }
.receipt.good .flag { color: var(--green-700); }
.receipt.bad .row.wrong b { text-decoration: line-through; text-decoration-color: var(--red); }
@media (max-width: 960px) { .acc { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .receipts { grid-template-columns: 1fr; } .receipt.bad { transform: none; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.tile h3 { margin-bottom: 8px; }
.tile > p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile .art { margin-top: 24px; flex: 1; display: flex; align-items: flex-end; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .span-4, .span-3, .span-2 { grid-column: span 2; } }
@media (min-width: 961px) and (max-width: 1100px) { .span-2 { grid-column: span 3; } .span-4 { grid-column: span 6; } }

.qtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qtable th { padding: 8px 10px; text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.qtable td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.qtable tr:last-child td { border-bottom: 0; }
.qtable .ref { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.qtable .amt { font-family: var(--mono); text-align: right; }
.qtable th.amt { text-align: right; }
.table-wrap { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-bottom: 12px; }
.stat { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.stat small { display: block; color: var(--muted); font-size: 12px; }
.stat b { font-family: var(--mono); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.stack-art { display: flex; flex-direction: column; width: 100%; }
@media (max-width: 560px) { .qtable .hide-sm { display: none; } .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { display: none; } }

.notif { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 14px; }
.notif + .notif { margin-top: 10px; }
.notif b { display: block; font-size: 13.5px; }
.notif small { color: var(--muted); font-size: 12.5px; }
.notif .ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; }

.diff { width: 100%; padding: 14px 16px; }
.diff .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--mono); font-size: 12.5px; }
.diff .hd span { color: var(--muted); }
.diff .r { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.diff del { color: var(--muted); font-family: var(--mono); margin-right: 8px; }
.diff ins { text-decoration: none; font-family: var(--mono); font-weight: 600; color: var(--green-700); background: var(--green-50); padding: 0 5px; border-radius: 4px; }

.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.lang { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.lang i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.lang span { font-family: var(--serif); font-size: 21px; line-height: 1; color: var(--green-900); }

.checkout-art { display: flex; align-items: center; gap: 18px; width: 100%; }
.checkout-art .qr { flex: none; width: 92px; height: 92px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.checkout-art .go { flex: 1; }
.checkout-art .fake-btn { background: var(--green-700); color: #fff; }
.checkout-art small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }

.fu { width: 100%; padding: 6px 14px; }
.fu .r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.fu .r:first-child { border-top: 0; }
.fu .r small { display: block; color: var(--muted); font-size: 12px; }
.due { font-family: var(--mono); font-size: 12px; color: var(--amber); font-weight: 600; }

/* Live demo */
.demo-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.demo-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.demo-bar em { flex: 1; max-width: 420px; margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-style: normal; text-align: center; font-family: var(--mono); }
.demo-frame iframe { display: block; width: 100%; height: 640px; border: 0; background: #fff; }
.demo-split { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: center; }
.demo-split ol { margin: 28px 0 32px; padding: 0; list-style: none; counter-reset: d; }
.demo-split li { counter-increment: d; display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.demo-split li::before { content: counter(d); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12.5px; }
@media (max-width: 960px) { .demo-split { grid-template-columns: 1fr; gap: 32px; } .demo-frame iframe { height: 600px; } }

/* Devices: laptop frame, phone frame, laptop + phone together */
.laptop { width: 100%; max-width: 920px; margin-inline: auto; }
.laptop-screen { padding: 14px 14px 18px; border-radius: 18px 18px 6px 6px; background: #121a18; box-shadow: var(--shadow-lg), inset 0 0 0 1px #2a3532; }
.laptop-screen img { width: 100%; border-radius: 4px; background: #fff; }
.laptop-base { position: relative; height: 16px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#d9d6cc, #b9b5a8); box-shadow: 0 18px 30px -12px rgba(15, 29, 26, 0.35); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a9a597; }
.phone-frame { width: 300px; overflow: hidden; border: 9px solid #121a18; border-radius: 40px; background: #fff; box-shadow: var(--shadow-lg); }
.phone-frame img { width: 100%; }
.combo { position: relative; padding-right: 90px; padding-bottom: 30px; }
.combo .phone-frame { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 210px; border-width: 7px; border-radius: 28px; }
@media (max-width: 640px) { .combo { padding-right: 40px; } .combo .phone-frame { width: 38%; } }

/* Laptop / Mobile switch */
.device-switch { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); }
.device-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.device-switch button svg { width: 16px; height: 16px; }
.device-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Storefront showcase: device × step */
.showcase-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin: 0 0 40px; }
.steps-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.steps-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.steps-switch button i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.steps-switch button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--card); font-weight: 600; }
.showcase-stage { display: grid; place-items: center; min-height: 420px; }
.showcase [data-device-panel][hidden] { display: none; }
.showcase .shot-set img { display: none; }
.showcase .shot-set img.on { display: block; }
.showcase-caption { max-width: 560px; margin: 28px auto 0; text-align: center; color: var(--ink-2); }
.showcase-caption b { color: var(--ink); }

/* Live demo: laptop or phone size */
.demo-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.demo-head .section-head { margin: 0; }
.demo-stage { display: grid; place-items: center; }
.demo-frame { width: 100%; transition: width 0.25s ease, border-radius 0.25s ease; }
.demo-frame.is-phone { width: 390px; max-width: 100%; border: 10px solid #121a18; border-radius: 44px; }
.demo-frame.is-phone .demo-bar { display: none; }
.demo-frame.is-phone iframe { height: 760px; }
.demo-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: d; color: var(--ink-2); font-size: 14.5px; }
.demo-steps li { counter-increment: d; display: flex; align-items: center; gap: 10px; }
.demo-steps li::before { content: counter(d); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; }

/* Gallery of real screenshots */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .shot { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.gallery figcaption b { display: block; color: var(--ink); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Pricing */
.price-card { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow-lg); }
.price-main { padding: 44px; background: var(--green-950); color: #fff; }
.price-main .eyebrow { color: #8fe3c2; }
.price-main h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; color: #fff; margin: 0 0 6px; }
.price-main p { color: #b6c8c2; }
.amount { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; }
.amount b { font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.amount span { color: #b6c8c2; font-size: 16px; }
.price-note { min-height: 26px; margin: 0 0 28px; color: #b6c8c2; font-size: 15px; }
.price-main .btn { width: 100%; }
.price-main .fine { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: #8fa9a1; }
.price-list { padding: 44px; }
.price-list h4 { margin: 0 0 18px; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 19px; height: 19px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f5e52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.billing-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.billing-toggle button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #b6c8c2; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.save { margin-left: 4px; color: var(--green-500); }
.billing-toggle button[aria-pressed="false"] .save { color: var(--marker); }
@media (max-width: 900px) { .price-card { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } .price-main, .price-list { padding: 32px 24px; } }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure svg { width: 18px; height: 18px; color: var(--green-700); }

/* FAQ */
.faq-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-split .section-head { position: sticky; top: 110px; margin: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230f1d1a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.2s ease, background-color 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--marker); border-color: var(--marker); }
.faq summary:hover { color: var(--green-700); }
.faq .answer { padding: 0 48px 22px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 28px; } .faq-split .section-head { position: static; } }

/* Final call to action */
.cta-final { position: relative; overflow: hidden; padding: 88px 56px; border-radius: 32px; background: var(--green-950); color: #fff; text-align: center; }
.cta-final::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; margin: 0 auto 18px; max-width: 760px; }
.cta-final p { max-width: 560px; margin: 0 auto 32px; color: #b6c8c2; font-size: 18px; }
.cta-final .btn-row { justify-content: center; }
.cta-final .fine { margin: 22px 0 0; font-size: 14px; color: #8fa9a1; }
@media (max-width: 640px) { .cta-final { padding: 64px 22px; border-radius: 24px; } }

/* Footer */
.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--paper); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.site-footer p { max-width: 320px; margin: 16px 0 0; color: var(--muted); }
.site-footer h4 { margin: 4px 0 16px; font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .footer-word { max-width: none; margin: 56px 0 0; overflow: hidden; font-family: var(--serif); font-size: clamp(72px, 18.5vw, 252px); line-height: 0.8; letter-spacing: -0.035em; color: #e9e4d6; white-space: nowrap; -webkit-user-select: none; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Inner page header */
.page-head { padding: 64px 0 56px; }
.page-head .lead { max-width: 640px; margin: 20px 0 0; }
.page-head.centered { text-align: center; }
.page-head.centered .lead { margin-inline: auto; }
.page-head.centered .eyebrow { justify-content: center; }
.page-head .btn-row { margin-top: 30px; }
.page-head.centered .btn-row { justify-content: center; }

/* Features: chapters */
.chapters { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.chapter-nav { position: sticky; top: 110px; }
.chapter-nav ol { margin: 0; padding: 0; list-style: none; counter-reset: c; border-left: 1px solid var(--line-2); }
.chapter-nav li { counter-increment: c; }
.chapter-nav a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.chapter-nav a::before { content: "0" counter(c); font-family: var(--mono); font-size: 12px; padding-top: 2px; }
.chapter-nav a:hover { color: var(--ink); border-color: var(--ink); }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter .num { font-family: var(--mono); font-size: 13px; color: var(--green-700); margin-bottom: 14px; }
.chapter h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.chapter > div > p { color: var(--ink-2); }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 7px 0 7px 28px; color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 17px; height: 17px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f5e52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.art-panel { display: grid; place-items: center; min-height: 380px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-2); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px; }
.art-panel > .ui, .art-panel > .stack-art { width: 100%; max-width: 420px; }
.phone-shot { width: 250px; overflow: hidden; border: 8px solid var(--ink); border-radius: 34px; background: #fff; box-shadow: var(--shadow-lg); }
.paper-shot { width: 300px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
@media (max-width: 1000px) { .chapters { grid-template-columns: 1fr; } .chapter-nav { display: none; } }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; gap: 28px; } }

/* Included grid (pricing page) */
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.included > div { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.included h3 { font-size: 16px; }
.included ul { margin: 0; padding: 0; list-style: none; }
.included li { padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* Docs (guides) */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 8px 0 112px; }
.docs-nav { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 130px); overflow: auto; }
.docs-nav p { margin: 18px 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.docs-nav p:first-child { margin-top: 0; }
.docs-nav ul { margin: 0; padding: 0; list-style: none; }
.docs-nav a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.docs-nav a:hover { background: var(--card); color: var(--ink); }
.doc { max-width: 740px; }
.doc article { padding: 40px 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.doc article + article { margin-top: 20px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.doc h3 { margin-top: 28px; font-size: 17px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout { margin: 22px 0 0; padding: 16px 18px; border: 1px solid #f1dfa6; border-radius: 12px; background: #fff8e1; color: #5a4a1a; font-size: 15px; }
.callout strong { color: var(--ink); }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; gap: 24px; } .docs-nav { position: static; max-height: none; } .doc article { padding: 28px 22px; } }

/* FAQ page: categories */
.faq-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 8px 0 112px; }
.faq-page nav { position: sticky; top: 110px; align-self: start; }
.faq-page nav a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.faq-page nav a:hover { color: var(--green-700); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 8px; }
@media (max-width: 900px) { .faq-page { grid-template-columns: 1fr; gap: 16px; } .faq-page nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; } }

/* Changelog */
.releases { padding: 8px 0 112px; }
.release { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.release time { font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.release time b { display: block; margin-top: 6px; color: var(--ink); font-family: var(--sans); font-size: 15px; }
.release h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; }
.release ul { margin: 0; padding: 0; list-style: none; }
.release li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.chip-tag { flex: none; align-self: flex-start; margin-top: 2px; padding: 1px 9px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.chip-new { background: var(--green-50); color: var(--green-700); }
.chip-improved { background: var(--blue-50); color: var(--blue); }
.chip-fixed { background: var(--amber-50); color: var(--amber); }
@media (max-width: 760px) { .release { grid-template-columns: 1fr; gap: 12px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; padding-bottom: 112px; }
.contact-main { padding: 44px; border-radius: var(--radius-lg); background: var(--green-950); color: #fff; }
.contact-main h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; color: #fff; }
.contact-main p { color: #b6c8c2; }
.contact-main .mail { display: inline-block; margin: 10px 0 26px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.contact-main .mail:hover { border-color: var(--marker); color: #fff; }
.contact-main ul { margin: 0; padding: 0; list-style: none; }
.contact-main li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #cfe0da; font-size: 15px; }
.contact-side { display: grid; gap: 20px; }
.link-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); color: inherit; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.link-card:hover { color: inherit; border-color: var(--line-2); box-shadow: var(--shadow); }
.link-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.link-card .go { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--green-700); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-main { padding: 32px 24px; } }

/* Legal documents */
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 8px 0 112px; }
.legal-toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.legal-toc p { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--green-700); }
.legal-toc a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.legal { max-width: 780px; padding: 56px 60px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 56px); margin-bottom: 8px; }
.legal .updated { margin-bottom: 32px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal h2 { margin-top: 40px; font-size: 21px; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { padding: 11px 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--paper); font-weight: 600; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; gap: 16px; } .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; } .legal-toc p { width: 100%; } .legal { padding: 32px 22px; } .legal table { display: block; overflow-x: auto; } }

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