/* Crawlable content pages (tool landings, the tool directory, pricing, API). The workbench uses styles.css.
   Designed for all ages, on the same tokens as the start page (web/start/index.html):
   18px base and every size in rem, so browser zoom and the Text size control scale everything; nothing under 16px;
   controls at least 48px tall with a 3px focus ring; states shown by shape and words, not colour alone.
   Light paper, ink and line are the workbench's (styles.css), so opening a tool from here does not shift the page colour; subtle keeps its
   step below the paper. Contrast (WCAG 2.1, scripted), light/dark: ink on paper 13.6/16.0, on surface 15.5/14.5, on subtle 12.7/12.9 (AAA);
   muted on paper 6.8/10.0, on subtle 6.3/8.1; links 7.1/10.4; white on button 5.9/5.4, hover 8.0/4.5; ok on its panel 6.2/8.6;
   focus ring 5.3/9.1 (4.9 on subtle); input and control borders 3.3/4.1 (3.8 on surface). Logo orange #e87943 is decoration only. */
:root {
  color-scheme: light dark;
  --paper: #f6f0e6; --surface: #fff; --subtle: #efe8dc; --ink: #1f2622; --muted: #4c545d;
  --line: #e4dbcd; --line-strong: #8c8275;
  --accent: #a9461a; --accent-hover: #8a3610; --accent-ink: #8a3610; --accent-soft: #fcebdf;
  --ok: #1c6343; --ok-soft: #e4f2ea; --ok-line: #9fcdb3;
  --focus: #1b5fc9; --code: #1f262e; --code-ink: #eef3f6;
  --shadow: 0 1px 2px rgb(60 40 20 / 6%), 0 10px 30px rgb(60 40 20 / 7%);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 1 0 0-22zm-1.6 15.4-4.3-4.3 1.5-1.5 2.8 2.8 6-6 1.5 1.5z'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E");
  --minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11h14v2H5z'/%3E%3C/svg%3E");
}
/* Dark: for visitors whose system is dark unless they chose Light, and for an explicit Dark choice (site.js, shared with the workbench). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #121519; --surface: #1b1f25; --subtle: #232830; --ink: #f4efe7; --muted: #b9c0c8;
    --line: #333a43; --line-strong: #77808c;
    --accent: #b04c1c; --accent-hover: #c25624; --accent-ink: #ffb184; --accent-soft: #3b261b;
    --ok: #7fdcae; --ok-soft: #15302a; --ok-line: #2f6b55;
    --focus: #8fb8ff; --code: #0b0d10;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 30%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121519; --surface: #1b1f25; --subtle: #232830; --ink: #f4efe7; --muted: #b9c0c8;
  --line: #333a43; --line-strong: #77808c;
  --accent: #b04c1c; --accent-hover: #c25624; --accent-ink: #ffb184; --accent-soft: #3b261b;
  --ok: #7fdcae; --ok-soft: #15302a; --ok-line: #2f6b55;
  --focus: #8fb8ff; --code: #0b0d10;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 30%);
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
html[data-size="1"] { font-size: 133%; }
html[data-size="2"] { font-size: 152%; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
[hidden] { display: none !important; }
a { color: var(--accent-ink); text-underline-offset: .15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.inner { width: min(72rem, 100%); margin: 0 auto; padding: 0 1rem; }

/* Header: brand, the main links, Text size, and one clear way into the workbench. */
.site-top { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-top .inner { min-height: 4rem; display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; padding-block: .4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; color: var(--ink); text-decoration: none; font-size: 1.222rem; font-weight: 800; letter-spacing: -.01em; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .5rem; }
.brand b { color: var(--accent-ink); font-weight: 800; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 .75rem; border-radius: .6rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--subtle); color: var(--ink); }
.site-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .35em; }
.site-nav a.open { background: var(--accent); color: #fff; font-weight: 700; margin-left: .25rem; }
.site-nav a.open:hover { background: var(--accent-hover); color: #fff; }
.text-size { display: flex; align-items: center; gap: .2rem; padding: .15rem .2rem .15rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.text-size span { font-size: .889rem; font-weight: 700; color: var(--muted); margin-right: .2rem; }
.text-size button { min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 800 1rem/1 system-ui, sans-serif; cursor: pointer; }
.text-size button:nth-of-type(1) { font-size: .889rem; }
.text-size button:nth-of-type(3) { font-size: 1.389rem; }
.text-size button:hover { background: var(--subtle); }
.text-size button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* Appearance switch (site.js): one round icon button beside Text size that cycles System, Light and Dark. */
.theme-switch { display: inline-grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-switch:hover { background: var(--subtle); }
.theme-switch svg { width: 1.35rem; height: 1.35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.crumbs { font-size: .889rem; color: var(--muted); margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Hero: what it does, the one button, and why it is private. */
.hero { padding: 2.25rem 0 2.5rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.25rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 1rem; }
.hero p.lede { font-size: 1.222rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 34em; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .889rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); border: 1px solid var(--ok-line); border-radius: 999px; padding: .25rem .9rem .25rem .6rem; margin-bottom: 1rem; }
.kicker::before { content: ""; width: 1.15em; height: 1.15em; background: currentColor; mask: var(--tick) center / contain no-repeat; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 3.75rem; padding: .6rem 2rem; border-radius: 1rem; border: 2px solid transparent; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.222rem; line-height: 1.25; text-align: center; text-decoration: none; transition: background .15s; }
.cta:hover { background: var(--accent-hover); color: #fff; }
.cta.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.cta.secondary:hover { border-color: var(--ink); color: var(--ink); }
.cta-row { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 1rem; color: var(--ok); font-weight: 700; }

.proof { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; box-shadow: var(--shadow); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.proof li { display: flex; gap: .65rem; align-items: flex-start; }
.proof li::before { content: ""; flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; background: var(--ok); mask: var(--tick) center / contain no-repeat; }

section.block { padding: 2.75rem 0 .5rem; }
section.block h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.25rem; }
section.block > p { max-width: 44em; }

/* How to: three numbered steps, read top to bottom on phones. */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.4rem; font-size: 1.056rem; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.333rem; margin-bottom: .9rem; }

/* Questions: each one is a large, clearly openable row with a plus or minus sign. */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; margin-bottom: .75rem; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .75rem 1.25rem; cursor: pointer; font-weight: 700; font-size: 1.056rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; background: var(--accent-ink); mask: var(--plus) center / contain no-repeat; }
.faq details[open] summary::after { mask-image: var(--minus); }
.faq details p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); max-width: 46em; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .9rem; padding: 0; margin: 0; list-style: none; }
.cards a { display: block; height: 100%; min-height: 3rem; background: var(--surface); border: 2px solid var(--line); border-radius: 1rem; padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.cards a:hover { border-color: var(--accent); color: var(--ink); }
.cards strong { display: block; margin-bottom: .25rem; font-size: 1.056rem; }
.cards span { font-size: .889rem; color: var(--muted); }
.group-title { font-size: 1.444rem; font-weight: 800; letter-spacing: -.015em; margin: 2.25rem 0 1rem; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { margin: .6rem 0 .25rem; font-size: 1.333rem; font-weight: 800; }
.plan ul { padding-left: 1.25rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .4rem 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.badge { display: inline-block; font-size: .889rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: .1rem .75rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--subtle); font-weight: 700; }
pre { background: var(--code); color: var(--code-ink); border-radius: 1rem; padding: 1.1rem; overflow-x: auto; font: .889rem/1.6 var(--mono); }
code { font-family: var(--mono); }
p code, li code, td code { background: var(--subtle); padding: .05em .35em; border-radius: .3rem; font-size: .889em; overflow-wrap: anywhere; }
.note { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.25rem; }

.site-foot { border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0 3rem; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-bottom: .75rem; }
.site-foot a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--accent-ink); }

@media (max-width: 47.5em) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .cta { width: 100%; }
  /* Phones: brand and Text size on one row; the links and the Appearance switch on the next. The page's own big Open button sits right below. */
  .site-top .inner { column-gap: .5rem; }
  .brand { font-size: 1.111rem; gap: .45rem; }
  .brand img { width: 2rem; height: 2rem; }
  .text-size { margin-left: auto; padding: .15rem; }
  .text-size span { display: none; }
  .site-nav { order: 3; margin-left: -.5rem; flex: 1 1 auto; min-width: 0; }
  .theme-switch { order: 3; margin-left: auto; }
  .site-nav a { padding: 0 .5rem; }
  .site-nav a.open { display: none; }
  html[data-size] .brand span { display: none; }
}
@media (max-width: 22.4em) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (forced-colors: active) {
  .kicker::before, .proof li::before, .faq summary::after { forced-color-adjust: none; background: CanvasText; }
}
@media print {
  .site-top nav, .text-size, .theme-switch, .site-foot nav, .cta-row { display: none; }
  .proof, .steps li, .plan { box-shadow: none; }
  .kicker::before, .proof li::before { print-color-adjust: exact; }
}

/* Same wordmark and display face as the workbench (styles.css), so a landing page and the app read as one product.
   Body text stays in the system face at the sizes above. */
@font-face { font-family: "Fraunces"; src: url("/vendor/brand/fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
:root { --display: "Fraunces", ui-serif, Georgia, serif; }
.brand span { font-family: var(--display); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 36; letter-spacing: -.02em; }
.brand b { color: inherit; font-weight: 760; }
h1, h2 { font-family: var(--display); font-variation-settings: "SOFT" 60, "opsz" 72; letter-spacing: -.015em; }
h1, .hero h1 { font-weight: 600; font-variation-settings: "SOFT" 80, "opsz" 144; letter-spacing: -.025em; }
h2, section.block h2 { font-weight: 600; letter-spacing: -.015em; }
