/* PubHarbor site: one stylesheet for every page.
   Print-shop proof sheet: warm paper, ink, harbor green, crop marks, ruled rows. */

@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/young-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/young-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/hanken-grotesk-400-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/hanken-grotesk-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-700-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --paper: #f6f2e8;
  --paper-deep: #ebe4d3;
  --sheet: #fffdf8;
  --ink: #102130;
  --muted: #55646a;
  --green: #1e7a5a;
  --green-ink: #176249;
  --coral: #c23d1f;
  --rule: rgba(16, 33, 48, .16);
  --rule-strong: rgba(16, 33, 48, .42);
  --night: #0e1c29;
  --harbor: #176249;
  --night-text: #f6f2e8;
  --night-muted: #a9b6b8;
  --night-rule: rgba(246, 242, 232, .18);
  --bezel: #0b141c;
  --shadow: 0 1px 0 rgba(16, 33, 48, .08), 6px 8px 0 rgba(16, 33, 48, .07);
  --display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, "Hiragino Mincho ProN", "Songti SC", serif;
  --body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, "Hiragino Sans", "PingFang SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1b26;
    --paper-deep: #152532;
    --sheet: #18293a;
    --ink: #f1ecdf;
    --muted: #a9b6b8;
    --green: #5dbb96;
    --green-ink: #7fd0ae;
    --coral: #f08a6e;
    --rule: rgba(241, 236, 223, .16);
    --rule-strong: rgba(241, 236, 223, .44);
    --night: #091420;
    --harbor: #124a38;
    --bezel: #04090d;
    --shadow: 0 0 0 1px rgba(241, 236, 223, .08);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
img, video { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.14; }
h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 700; }
p { text-wrap: pretty; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }
code, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--paper-deep); padding: .08em .34em; border-radius: 4px; }
strong { font-weight: 700; }
::selection { background: var(--green); color: #fff; }

.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 20; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); }
.eyebrow a { color: inherit; text-decoration: none; padding-block: 12px; }
.eyebrow a:hover { text-decoration: underline; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 62ch; }

/* ---------- Header ---------- */
.announcement-bar { background: var(--night); }
.announcement-bar a { display: block; width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 11px 0; color: var(--night-text); font-size: .9rem; line-height: 1.4; text-decoration: none; }
.announcement-bar a::after { content: " \2192"; color: #7fd0ae; }
.announcement-bar a:hover { text-decoration: underline; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-family: var(--display); font-size: 1.22rem; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--rule); }
.nav-links { display: flex; align-items: center; gap: clamp(2px, 1.4vw, 20px); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--ink); font-size: .97rem; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--green-ink); text-decoration: underline; }
.nav-links .nav-download { margin-left: 6px; padding-inline: 18px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.nav-links .nav-download:hover { background: var(--green-ink); color: #fff; text-decoration: none; }
.nav-links .nav-download:active { transform: scale(.97); }
@media (prefers-color-scheme: dark) { .nav-links .nav-download:hover { color: var(--paper); } }
@media (max-width: 640px) { .nav-wide { display: none !important; } .nav { min-height: 60px; } }
@media (max-width: 430px) { .nav-mid { display: none !important; } .nav-links .nav-download { padding-inline: 14px; } }
@media (max-width: 350px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* ---------- Buttons, badge ---------- */
.badge { display: inline-flex; border-radius: 9px; transition: transform .18s var(--ease); }
.badge img { display: block; }
.badge:hover { transform: translateY(-2px); }
.badge:active { transform: scale(.98); }
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.button:hover { background: var(--green-ink); }
.button:active { transform: scale(.98); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.text-link::after { content: "\2192"; margin-left: 8px; transition: transform .18s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Crop marks: the signature ---------- */
.crop { position: relative; --o: 18px; --t: 12px; }
.crop::before { content: ""; position: absolute; inset: calc(var(--o) * -1); pointer-events: none; background:
  linear-gradient(var(--rule-strong), var(--rule-strong)) left 0 top var(--o) / var(--t) 1px,
  linear-gradient(var(--rule-strong), var(--rule-strong)) left var(--o) top 0 / 1px var(--t),
  linear-gradient(var(--rule-strong), var(--rule-strong)) right 0 top var(--o) / var(--t) 1px,
  linear-gradient(var(--rule-strong), var(--rule-strong)) right var(--o) top 0 / 1px var(--t),
  linear-gradient(var(--rule-strong), var(--rule-strong)) left 0 bottom var(--o) / var(--t) 1px,
  linear-gradient(var(--rule-strong), var(--rule-strong)) left var(--o) bottom 0 / 1px var(--t),
  linear-gradient(var(--rule-strong), var(--rule-strong)) right 0 bottom var(--o) / var(--t) 1px,
  linear-gradient(var(--rule-strong), var(--rule-strong)) right var(--o) bottom 0 / 1px var(--t);
  background-repeat: no-repeat; }
@media (max-width: 720px) { .crop { --o: 11px; --t: 7px; } }

/* ---------- Device frames (real captures, whole screen) ---------- */
.device { --w: 270px; width: var(--w); max-width: 100%; flex: none; background: var(--bezel); padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .155); box-shadow: var(--shadow); }
.device img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .122); background: #fff; }
.device--pad { --w: 440px; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .07); }
.device--pad img { border-radius: calc(var(--w) * .038); }
.shot { display: grid; justify-items: center; gap: 14px; }
.shot figcaption { font-size: .82rem; line-height: 1.4; color: var(--muted); text-align: center; max-width: 30ch; }
.shot figcaption b { display: block; color: var(--ink); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Home ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 1.3rem + 3.4vw, 3.9rem); line-height: 1.05; margin-top: 18px; max-width: 18ch; }
.hero h1 .pub { font-family: var(--mono); font-size: .74em; letter-spacing: -.04em; color: var(--green-ink); background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: .02em .16em .06em; white-space: nowrap; }
.hero .lede { margin-top: 22px; max-width: 46ch; }
.hero .actions { margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.proof-sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(18px, 2.4vw, 30px); box-shadow: var(--shadow); }
.proof-sheet .sheet-label { display: flex; justify-content: space-between; gap: 12px; font: 400 .72rem/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.proof-row { display: flex; gap: clamp(16px, 2vw, 28px); align-items: flex-start; }
.hero .device { --w: clamp(190px, 17.5vw, 250px); }

.facts { border-block: 1px solid var(--rule); }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts div { padding: 22px 22px 24px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-size: 1.28rem; line-height: 1.2; }
.facts dd { margin-top: 6px; font-size: .93rem; line-height: 1.45; color: var(--muted); }

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--deep { background: var(--paper-deep); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lede, .split .lede { margin-top: 16px; }
.section-head .eyebrow, .split .eyebrow { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }

.stamp { display: inline-block; font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); border: 1.5px solid currentColor; border-radius: 4px; padding: 8px 10px; margin-bottom: 20px; }
.link-rows { list-style: none; padding: 0; border-top: 1px solid var(--rule-strong); }
.link-rows li { border-bottom: 1px solid var(--rule); }
.link-rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 2px; color: var(--ink); font-weight: 700; text-decoration: none; transition: padding .2s var(--ease), color .2s var(--ease); }
.link-rows a::after { content: "\2192"; color: var(--green); flex: none; }
.link-rows a:hover { color: var(--green-ink); padding-left: 10px; }

.pipeline { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.pipeline li { flex: 1 1 120px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; }
.pipeline b { display: block; font-family: var(--mono); font-size: .95rem; color: var(--green-ink); }
.pipeline span { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.numbered { list-style: none; padding: 0; margin-top: 30px; counter-reset: n; border-top: 1px solid var(--rule-strong); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--rule); }
.numbered li::before { content: "0" counter(n); font: 400 .82rem/1.9 var(--mono); color: var(--green-ink); }
.numbered b { display: block; }
.numbered--flush { margin-top: 0; }
.feature-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbered span { display: block; margin-top: 4px; color: var(--muted); font-size: .98rem; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.feature-grid div { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.feature-grid p { margin-top: 6px; color: var(--muted); font-size: .98rem; line-height: 1.55; }

.spec { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule-strong); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.spec thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 12px; }
.spec tbody th { font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; width: 26%; }
.spec td { color: var(--muted); }
.spec td:last-child { padding-right: 0; white-space: nowrap; color: var(--green-ink); font-family: var(--mono); font-size: .92rem; width: 1%; }

/* Harbor band: the one full-colour moment on the page. */
.section--harbor { background: var(--harbor); color: var(--night-text); }
.section--harbor .lede { color: rgba(246, 242, 232, .86); }
.section--harbor .stamp { color: var(--night-text); }
.section--harbor .link-rows { border-top-color: rgba(246, 242, 232, .5); }
.section--harbor .link-rows li { border-bottom-color: rgba(246, 242, 232, .24); }
.section--harbor .link-rows a, .section--harbor .link-rows a:hover { color: var(--night-text); }
.section--harbor .link-rows a::after { color: inherit; }
.section--harbor :focus-visible { outline-color: var(--night-text); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); max-width: 16ch; }
.section--night .lede { color: var(--night-muted); }
.section--night a { color: #7fd0ae; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--night-rule); }
.points div { padding-top: 22px; }
.points p { margin-top: 6px; color: var(--night-muted); font-size: .98rem; line-height: 1.55; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow); }
.plan { padding: clamp(22px, 3vw, 36px); }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.plan .plan-sub { color: var(--muted); margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.plan li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); position: relative; font-size: .99rem; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 1.05em; width: 11px; height: 6px; border: solid var(--green); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan .plan-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.fine { margin-top: 20px; font-size: .9rem; color: var(--muted); max-width: 70ch; }

.faq { border-top: 1px solid var(--rule-strong); }
.faq-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.faq-item p { color: var(--muted); }

/* ---------- Call to action sheet ---------- */
.cta-wrap { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.cta-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 22px; margin-block: clamp(40px, 6vw, 72px); padding: clamp(22px, 3vw, 36px); background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow); }
.cta-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 0 0 1px var(--rule); }
.cta-title { font-family: var(--display); font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; text-wrap: balance; }
.cta-sub { margin-top: 8px; color: var(--muted); max-width: 54ch; }
.cta-box--shot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: 0; overflow: hidden; gap: 24px clamp(24px, 5vw, 64px); }
.cta-box--shot .cta-copy { align-self: center; padding-bottom: clamp(22px, 3vw, 36px); }
.cta-box--shot .cta-icon { margin-bottom: 18px; }
.cta-box--shot .badge { margin-top: 22px; }
.cta-box--shot .device { --w: 200px; }
.cta-box--home { grid-template-columns: auto minmax(0, 1fr) auto; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-hero h1 { margin-top: 14px; max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.9vw, 3.3rem); }
.page-hero h2 { max-width: 24ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero > p:not(.eyebrow):not(.lede) { margin-top: 14px; color: var(--muted); max-width: 68ch; }
.page-hero .actions { margin-top: 26px; }
main > section.page-hero { margin-block: clamp(32px, 5vw, 56px); padding: clamp(22px, 3vw, 36px); background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow); }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule-strong); margin-bottom: clamp(32px, 5vw, 56px); }
.support-card { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.support-card h2, .support-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.28; letter-spacing: 0; }
.support-card h3 a { color: var(--ink); text-decoration: none; }
.support-card h3 a:hover { color: var(--green-ink); text-decoration: underline; }
.support-card p { margin-top: 8px; color: var(--muted); font-size: .99rem; line-height: 1.55; }
main > section.support-card { border-top: 1px solid var(--rule-strong); margin-bottom: clamp(24px, 4vw, 40px); max-width: 46rem; }

.article { max-width: 68ch; padding-bottom: clamp(24px, 4vw, 48px); font-size: 1.09rem; line-height: 1.68; }
.article > * + * { margin-top: 1.05em; }
.article h2 { margin-top: 2.1em; padding-top: 1.1em; border-top: 1px solid var(--rule); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); line-height: 1.2; scroll-margin-top: 20px; }
.article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article h3 { margin-top: 1.7em; font-size: 1.12rem; }
.article h2 + *, .article h3 + * { margin-top: .6em; }
.article ul, .article ol { padding-left: 1.25em; }
.article li + li { margin-top: .5em; }
.article li::marker { color: var(--green-ink); }
.article a { font-weight: 700; }
.article video { display: block; width: 100%; border-radius: 4px; border: 1px solid var(--rule); background: var(--bezel); }
.article pre, .archive-folder-example { overflow-x: auto; padding: 16px 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; line-height: 1.6; font-size: .86rem; }
.notice { padding: 16px 18px; background: var(--sheet); border: 1px solid var(--rule); border-left: 3px solid var(--coral); border-radius: 4px; font-size: 1rem; line-height: 1.55; }
.article .steps { list-style: none; padding: 0; counter-reset: n; border-top: 1px solid var(--rule-strong); }
.article .steps li { counter-increment: n; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); margin: 0; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.article .steps li::before { content: "0" counter(n); font: 400 .82rem/2.05 var(--mono); color: var(--green-ink); }
.article .steps h3 { margin: 0; }
.article .steps p { margin-top: 4px; color: var(--muted); font-size: 1.02rem; line-height: 1.58; }
.article .article-cta { margin-top: 2em; }

.guide-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(220px, 280px); justify-content: start; gap: 32px clamp(32px, 7vw, 112px); align-items: start; }
.guide-layout > .article { grid-column: 1; grid-row: 1; }
.guide-side { grid-column: 2; grid-row: 1; position: sticky; top: 24px; display: grid; gap: 22px; }
.toc { border-top: 1px solid var(--rule-strong); padding-top: 14px; }
.toc-title { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin-top: 8px; }
.toc a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid var(--rule); color: var(--ink); font-size: .93rem; line-height: 1.35; text-decoration: none; transition: border-color .18s var(--ease), color .18s var(--ease); }
.toc a:hover { border-left-color: var(--green); color: var(--green-ink); }
.toc--inline { max-width: 68ch; margin-bottom: clamp(24px, 4vw, 40px); }
.toc--inline ol { columns: 2; column-gap: 32px; }
.toc--inline li { break-inside: avoid; }
.app-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 12px; align-items: center; padding: 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow); }
.app-card img { border-radius: 11px; }
.app-card p { line-height: 1.3; }
.app-card p span { display: block; font-size: .86rem; color: var(--muted); }
.app-card .badge { grid-column: 1 / -1; }

.guide-group { padding-block: 8px clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 40px; border-top: 1px solid var(--rule-strong); }
.guide-group > h2 { font-size: 1.35rem; padding-top: 18px; line-height: 1.25; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { border-bottom: 1px solid var(--rule); }
.guide-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 18px 2px; color: var(--ink); text-decoration: none; transition: padding .2s var(--ease); }
.guide-list a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; color: var(--green); }
.guide-list b { font-family: var(--display); font-weight: 400; font-size: 1.18rem; line-height: 1.3; }
.guide-list span { grid-column: 1; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.guide-list a:hover { padding-left: 10px; }
.guide-list a:hover b { color: var(--green-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.guide-list--flat { border-top: 1px solid var(--rule-strong); max-width: 52rem; margin-bottom: clamp(32px, 5vw, 56px); }

.error-page { min-height: 62vh; display: grid; align-content: center; justify-items: start; gap: 18px; padding-block: 64px; }
.error-page .code { font: 400 .82rem/1 var(--mono); color: var(--coral); border: 1.5px solid currentColor; border-radius: 4px; padding: 8px 10px; letter-spacing: .08em; }
.error-page .link-rows { width: min(100%, 34rem); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule-strong); padding-block: clamp(36px, 5vw, 60px) 40px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 48px; }
.footer-brand p { margin-top: 10px; color: var(--muted); max-width: 30ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.footer-cols h2 { font: 700 .74rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-cols ul { list-style: none; padding: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:not(.brand):hover { color: var(--green-ink); text-decoration: underline; }
.footer-cols a, .footer-links a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 28px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); }
.footer-base span a { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal-note { margin-top: 14px; font-size: .82rem; line-height: 1.55; color: var(--muted); max-width: 96ch; }

/* ---------- Motion (restrained, opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: rise .6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero .proof-sheet { animation: rise .7s .12s var(--ease) both; }
  /* Scroll-linked settle. Transform only, so content is never hidden if the timeline does not run. */
  @keyframes settle { from { transform: translateY(26px); } to { transform: none; } }
  @supports (animation-timeline: view()) {
    .reveal { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .split--even { grid-template-columns: minmax(0, 1fr); }
  .feature-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered--flush { margin-top: 30px; }
  .split--flip > :first-child { order: 0; }
  .split > .shot { justify-self: center; }
  .hero h1 { max-width: 16ch; }
  .hero .device { --w: clamp(200px, 30vw, 250px); }
  .proof-sheet { justify-self: start; max-width: 100%; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-layout > .article, .guide-side { grid-column: 1; grid-row: auto; }
  .guide-side { position: static; order: -1; }
  .guide-side .app-card { display: none; }
  .toc ol { columns: 2; column-gap: 28px; }
  .toc li { break-inside: avoid; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 18px 16px 18px 0; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .feature-grid, .feature-grid--wide, .points, .plans, .support-grid { grid-template-columns: minmax(0, 1fr); }
  .points div + div { margin-top: 22px; border-top: 1px solid var(--night-rule); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .faq-item, .guide-group { grid-template-columns: minmax(0, 1fr); }
  .guide-group > h2 { padding-top: 22px; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
  .spec tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .spec th, .spec td { padding: 0; border: 0; }
  .spec tbody th { width: auto; }
  .spec td { margin-top: 6px; }
  .spec td:last-child { white-space: normal; width: auto; }
  .device--pad { --w: min(86vw, 400px); }
  .cta-box, .cta-box--home { grid-template-columns: auto minmax(0, 1fr); }
  .cta-box > .badge { grid-column: 1 / -1; }
  .cta-box--shot { grid-template-columns: minmax(0, 1fr); }
  .cta-box--shot .device { justify-self: center; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc--inline ol { columns: 1; }
}
@media (max-width: 620px) {
  .proof-row { flex-direction: column; align-items: center; gap: 26px; }
  .hero .device { --w: min(64vw, 250px); }
  .toc ol { columns: 1; }
  .numbered li, .article .steps li { grid-template-columns: 2.4rem minmax(0, 1fr); }
}
@media (max-width: 420px) { .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

@media print { .site-header, .announcement-bar, .site-footer, .guide-side, .cta-box, .skip-link { display: none; } body { background: #fff; } }
