:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #171510;
  --muted: #69655e;
  --line: #d9d4ca;
  --surface: #f1ece2;
  --accent: #9b482e;
  --accent-dark: #73331f;
  --green: #365946;
  --sans: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 16px; }

.sitebar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; min-height: 72px; padding: 12px clamp(18px, 4vw, 64px);
  background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-initial { color: var(--accent); }
.brand-name { color: var(--ink); }
.sitebar nav, footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.sitebar nav a, footer nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.sitebar nav a:hover, footer nav a:hover { text-decoration: underline; }
.nav-cta { padding: 9px 14px; border: 1px solid var(--ink); border-radius: 999px; }

.hero {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  align-items: center; gap: clamp(32px, 5vw, 78px); max-width: 1500px;
  margin: 0 auto; padding: clamp(36px, 4.5vw, 64px) clamp(22px, 5vw, 80px);
}
.hero__copy { max-width: 650px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(64px, 8.2vw, 126px); font-weight: 500; letter-spacing: -.045em; }
h1 em { display: inline-block; margin-top: .14em; color: var(--accent); font-size: .72em; font-weight: 500; line-height: 1.05; }
h2 { margin: 0 0 22px; font-size: clamp(42px, 5.2vw, 76px); font-weight: 500; letter-spacing: -.025em; }
h3 { margin: 0 0 10px; font-size: 27px; font-weight: 600; }
.hero__lede { max-width: 630px; margin: 28px 0; color: #3f3b35; font-size: clamp(20px, 2vw, 27px); line-height: 1.55; }
.offer-line { max-width: 630px; margin: -10px 0 26px; padding: 13px 16px; border-left: 3px solid var(--accent); background: var(--surface); color: #4b443b; font: 600 15px/1.55 var(--sans); }
.offer-line strong { color: var(--accent); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent-dark); }
.text-link { color: var(--accent-dark); font-weight: 700; }
.availability { margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.hero__visual { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(30, 25, 17, .12); }

.proof { max-width: 1500px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 80px); }
.proof__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 72%, #fff); box-shadow: 0 14px 34px rgba(30, 25, 17, .06);
}
.proof p { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 13px; margin: 0; padding: 18px 20px; }
.proof p + p { border-left: 1px solid var(--line); }
.proof p > span:not(.proof__mark) { display: block; min-width: 0; }
.proof__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font: 700 12px var(--sans); letter-spacing: -.02em;
}
.proof strong, .proof small { display: block; }
.proof strong { font-size: 16px; line-height: 1.25; }
.proof small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.section { max-width: 1280px; margin: 0 auto; padding: clamp(38px, 4vw, 58px) clamp(22px, 5vw, 70px); }
.section__intro { max-width: 840px; }
.section__intro > p:last-child { max-width: 740px; color: var(--muted); font-size: 21px; }
.pricing { max-width: 1440px; }
.pricing__intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: end; gap: clamp(28px, 5vw, 72px); }
.pricing__intro h2 { max-width: 850px; margin-bottom: 0; }
.pricing__intro > p { max-width: 590px; margin: 0 0 8px; color: var(--muted); font-size: 19px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.pricing-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.pricing-card--trial { background: color-mix(in srgb, var(--surface) 52%, #fff); }
.pricing-card--premium { border: 2px solid var(--ink); padding: 24px; box-shadow: 0 16px 36px rgba(30, 25, 17, .09); }
.pricing-card--premium .status-pill { position: absolute; top: 18px; right: 18px; }
.pricing-card__label { margin: 0 0 7px; color: var(--accent-dark); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pricing-card--premium .pricing-card__label { padding-right: 145px; }
.pricing-card__price { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(34px, 3vw, 48px); font-weight: 600; line-height: 1; letter-spacing: -.025em; }
.pricing-card__price small { color: var(--muted); font: 600 13px var(--sans); letter-spacing: 0; text-transform: uppercase; }
.pricing-card > p:not(.pricing-card__label):not(.pricing-card__price) { color: var(--muted); }
.pricing-card ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pricing-card li { position: relative; padding-left: 24px; line-height: 1.45; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pricing__terms { margin: 18px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.apps { max-width: 1440px; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 258px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.platform-card--featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--surface) 62%, #fff); }
.platform-card h3 { margin-top: 18px; font-size: 30px; }
.platform-card p { flex: 1; color: var(--muted); }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-pill--quiet { background: var(--surface); color: var(--muted); }
.button--pending { width: 100%; background: var(--muted); cursor: default; text-align: center; }
.button--pending:hover { background: var(--muted); }
.store-note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.store-note--wide { max-width: 850px; margin: 28px 0 0; }
.prose { max-width: 860px; }
.prose h1 { margin-bottom: 38px; font-size: clamp(52px, 7vw, 94px); }
.prose h2 { margin-top: 48px; font-size: clamp(34px, 4vw, 52px); }
.prose p { color: var(--muted); font-size: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 160px; padding: clamp(23px, 2.7vw, 32px); background: var(--paper); }
.feature-grid article p { max-width: 520px; color: var(--muted); }
.feature-no { display: block; margin-bottom: 16px; color: var(--accent); font-size: 14px; font-weight: 700; }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: center; gap: clamp(32px, 4vw, 62px); padding: clamp(40px, 4vw, 58px) max(22px, calc((100vw - 1200px) / 2)); background: var(--surface); }
.showcase__copy { max-width: 650px; }
.showcase__copy > p:not(.eyebrow), .split > div > p { color: var(--muted); font-size: 20px; }
.phone-shot { margin: 0 auto; max-width: 390px; overflow: hidden; border: 10px solid #171510; border-radius: 44px; box-shadow: 0 25px 55px rgba(30, 25, 17, .18); }
.tick-list { display: grid; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.tick-list li::before { content: "✓"; margin-right: 12px; color: var(--green); font-weight: 800; }

.control-demo {
  padding: clamp(40px, 4vw, 60px) max(22px, calc((100vw - 1380px) / 2));
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.control-demo__intro { max-width: 880px; margin-bottom: 38px; }
.control-demo__intro > p:last-child { max-width: 760px; color: var(--muted); font-size: 20px; }
.control-demo__layout { display: grid; grid-template-columns: minmax(330px, 470px) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 70px); }
.demo-controls {
  overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff;
  box-shadow: 0 18px 44px rgba(30, 25, 17, .08);
}
.demo-controls__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 26px; border-bottom: 1px solid var(--line); }
.demo-controls__head h3 { margin: 0; }
.demo-controls__head p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.demo-reset { flex: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.demo-reset:hover { border-color: var(--accent); color: var(--accent-dark); }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 22px 26px 26px; }
.control-grid--quick { border-bottom: 1px solid var(--line); }
.control-grid label { display: grid; align-content: start; gap: 7px; min-width: 0; color: #403b34; font-size: 13px; font-weight: 700; line-height: 1.3; }
.control-grid label > output { justify-self: end; margin-top: -24px; color: var(--muted); font: 500 12px var(--sans); }
.control-grid input[type="range"] { width: 100%; accent-color: var(--accent); }
.control-grid select { width: 100%; min-height: 40px; padding: 7px 30px 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 500 14px var(--sans); }
.colour-control span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.colour-control input[type="color"] { width: 42px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.colour-control output { overflow: hidden; color: var(--muted); font: 500 12px var(--sans); text-overflow: ellipsis; white-space: nowrap; }
.control-grid .check { display: flex; grid-auto-flow: column; align-items: center; justify-content: start; gap: 8px; min-height: 38px; }
.control-grid .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.demo-controls details { border-bottom: 1px solid var(--line); }
.demo-controls details:last-child { border-bottom: 0; }
.demo-controls summary { padding: 17px 26px; font-family: var(--serif); font-size: 20px; font-weight: 600; cursor: pointer; }
.demo-controls details[open] summary { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 58%, #fff); }

.demo-reader {
  --demo-bg: #fbfaf7; --demo-fg: #14120e; --demo-link: #1c4f8a; --demo-accent: #8a2b1f;
  --demo-body-font: "Source Serif 4", Georgia, serif; --demo-head-font: "Newsreader", Georgia, serif;
  --demo-cap-font: "Source Serif 4", Georgia, serif; --demo-quote-font: "Newsreader", Georgia, serif;
  --demo-code-font: "JetBrains Mono", ui-monospace, monospace; --demo-size: 20.5px; --demo-lh: 1.62;
  --demo-measure: 68ch; --demo-weight: 400; --demo-track: 0em; --demo-word: 0em; --demo-para-gap: .9em;
  --demo-indent: 0em; --demo-pad: 36px; --demo-page-align: auto; --demo-align: left; --demo-hyphens: manual;
  --demo-head-scale: 1.22; --demo-title-size: 2.6em; --demo-head-weight: 600; --demo-head-track: -.01em;
  --demo-head-lh: 1.12; --demo-head-case: none; --demo-head-align: left; --demo-head-style: normal;
  --demo-head-colour: #14120e; --demo-head-space: 1.9em; --demo-cap-colour: #69655e;
  --demo-cap-weight: 400; --demo-cap-lh: 1.45; --demo-cap-track: .005em; --demo-cap-style: italic;
  --demo-cap-case: none; --demo-cap-align: left; --demo-cap-opacity: .78; --demo-link-weight: 400;
  --demo-quote-size: 1em; --demo-quote-style: italic; --demo-code-size: .86em; --demo-list-gap: .35em;
  --demo-table-size: .85em; --demo-dim: 0; --demo-warmth: 0;
  position: relative; overflow: hidden; min-height: 580px; border: 1px solid color-mix(in srgb, var(--demo-fg) 18%, var(--demo-bg));
  border-radius: 28px; background: var(--demo-bg); color: var(--demo-fg); box-shadow: 0 24px 60px rgba(30, 25, 17, .13);
  font-family: var(--demo-body-font); font-size: var(--demo-size); font-weight: var(--demo-weight); line-height: var(--demo-lh);
  letter-spacing: var(--demo-track); word-spacing: var(--demo-word); text-align: var(--demo-align); hyphens: var(--demo-hyphens);
}
.demo-reader::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgba(0, 0, 0, var(--demo-dim)); }
.demo-reader::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(var(--demo-warmth-rgb, 202, 132, 45), var(--demo-warmth)); mix-blend-mode: multiply; }
.demo-reader.is-textured { background-image: radial-gradient(rgba(70, 55, 35, .055) .6px, transparent .7px); background-size: 4px 4px; }
.demo-reader__page { width: min(100%, var(--demo-measure)); margin-left: var(--demo-page-align); margin-right: auto; padding: var(--demo-pad) clamp(24px, 5vw, 62px); }
.demo-reader p { margin: 0 0 var(--demo-para-gap); text-indent: var(--demo-indent); }
.demo-reader .demo-lede { font-size: 1.14em; }
.demo-reader:not(.has-lede) .demo-lede { font-size: 1em; }
.demo-reader.has-dropcap .demo-lede::first-letter { float: left; margin: .08em .1em 0 0; color: var(--demo-accent); font-family: var(--demo-head-font); font-size: 3.1em; line-height: .72; }
.demo-kicker { color: var(--demo-accent); font: 700 .62em var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.demo-reader h3, .demo-reader h4 { color: var(--demo-head-colour); font-family: var(--demo-head-font); font-weight: var(--demo-head-weight); font-style: var(--demo-head-style); line-height: var(--demo-head-lh); letter-spacing: var(--demo-head-track); text-align: var(--demo-head-align); text-transform: var(--demo-head-case); }
.demo-reader h3 { margin: .22em 0 .55em; font-size: var(--demo-title-size); }
.demo-reader h4 { margin: var(--demo-head-space) 0 .55em; font-size: calc(1em * var(--demo-head-scale)); }
.demo-reader.has-head-rule h4 { padding-bottom: .28em; border-bottom: 1px solid color-mix(in srgb, var(--demo-fg) 28%, transparent); }
.demo-reader a { color: var(--demo-link); font-weight: var(--demo-link-weight); }
.demo-reader.link-subtle a { text-decoration: none; }
.demo-reader.link-subtle a:hover { text-decoration: underline; }
.demo-reader.link-plain a { text-decoration: none; }
.demo-reader.link-ink a { color: var(--demo-fg); }
.demo-reader.link-mark a { padding: 0 .12em; background: color-mix(in srgb, var(--demo-link) 22%, transparent); text-decoration: none; }
.demo-reader blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--demo-accent); font-family: var(--demo-quote-font); font-size: var(--demo-quote-size); font-style: var(--demo-quote-style); }
.demo-reader.no-quote-bar blockquote { padding-left: 0; border-left: 0; }
.demo-caption { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 14px; margin: 1.4em 0; }
.demo-caption > span { display: grid; place-items: center; width: 62px; aspect-ratio: 1; border-radius: 14px; background: var(--demo-accent); color: var(--demo-bg); font: 600 1.45em var(--demo-head-font); }
.demo-caption figcaption { color: var(--demo-cap-colour); font-family: var(--demo-cap-font); font-weight: var(--demo-cap-weight); font-style: var(--demo-cap-style); line-height: var(--demo-cap-lh); letter-spacing: var(--demo-cap-track); text-align: var(--demo-cap-align); text-transform: var(--demo-cap-case); opacity: var(--demo-cap-opacity); }
.demo-reader table { width: 100%; margin: 1.35em 0; border-collapse: collapse; font-size: var(--demo-table-size); }
.demo-reader caption { margin-bottom: .4em; text-align: left; font-family: var(--demo-head-font); font-weight: 600; }
.demo-reader th, .demo-reader td { padding: .55em .7em; border: 1px solid color-mix(in srgb, var(--demo-fg) 25%, transparent); text-align: left; }
.demo-reference { color: color-mix(in srgb, var(--demo-fg) 68%, var(--demo-bg)); font-size: .82em; }
.demo-reference code { font-family: var(--demo-code-font); font-size: var(--demo-code-size); }
.demo-reader.hide-refs [data-reference] { display: none; }

.manual { border-bottom: 1px solid var(--line); }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 46px; margin-top: 32px; }
.manual-grid article { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.manual-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; }
.manual-grid h3 { font-size: 24px; }
.manual-grid p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 680px); align-items: center; justify-content: center; gap: clamp(32px, 4vw, 62px); padding: clamp(40px, 4vw, 60px) clamp(22px, 5vw, 70px); }
.split figure { margin: 0; max-width: 390px; overflow: hidden; border-radius: 34px; box-shadow: 0 25px 60px rgba(30, 25, 17, .13); }

.privacy-block { max-width: none; background: var(--ink); color: var(--paper); }
.privacy-block > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.privacy-block .eyebrow, .privacy-block .text-link { color: #efb08f; }
.privacy-block .section__intro > p:last-child { color: #d5d0c7; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 28px; }
.privacy-grid p { color: #d5d0c7; }
.privacy-grid strong { display: block; margin-bottom: 10px; color: var(--paper); font-family: var(--serif); font-size: 25px; }

.closing { padding: 42px 22px; text-align: center; }
.closing img { margin: 0 auto 20px; border-radius: 18px; }
.closing p { margin: -8px 0 28px; color: var(--muted); }
footer { display: grid; gap: 16px; padding: 32px clamp(22px, 5vw, 70px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .sitebar nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { order: -1; border-radius: 18px; }
  .proof__inner { grid-template-columns: repeat(2, 1fr); }
  .proof p:nth-child(odd) { border-left: 0; }
  .proof p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pricing__intro, .pricing-grid { grid-template-columns: 1fr; }
  .pricing__intro > p { max-width: 760px; }
  .showcase, .split { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 0; }
  .phone-shot, .split figure { max-width: 330px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .control-demo__layout { grid-template-columns: 1fr; }
  .demo-reader { min-height: 0; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .sitebar { min-height: 64px; }
  .brand span { font-size: 16px; }
  .nav-cta { padding: 8px 12px; font-size: 14px !important; }
  .hero { padding-top: 34px; }
  h1 { font-size: clamp(56px, 19vw, 84px); }
  .hero__lede { font-size: 20px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .proof__inner, .feature-grid, .manual-grid { grid-template-columns: 1fr; }
  .proof p { padding: 15px 17px; border-left: 0; }
  .proof p + p { border-top: 1px solid var(--line); }
  .pricing-card { padding: 21px; }
  .pricing-card--premium { padding: 20px; }
  .pricing-card--premium .status-pill { position: static; margin-bottom: 16px; }
  .pricing-card--premium .pricing-card__label { padding-right: 0; }
  .feature-grid article { min-height: 0; }
  .manual-grid { gap: 22px; }
  .control-grid { grid-template-columns: 1fr; }
  .demo-reader__page { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
