/* issuustack.com
 *
 * Same tokens as the extension (app/css/tokens.css), so the site and the product
 * read as one thing. Two deliberate differences: text on the brand colour is
 * dark in both themes, because white on #FF5A47 fails contrast at button sizes,
 * and brand-coloured text uses a deeper ink for the same reason.
 */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('/fonts/newsreader-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/plexmono-400.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --ink: #14171C;
  --ink-2: #3B424E;
  --ink-3: #5F6878;
  --ground: #F2F4F7;
  --surface: #FFFFFF;
  --surface-2: #F8F9FB;
  --sunk: #EAEDF2;
  --line: #DDE1E9;
  --line-strong: #C3C9D6;
  --brand: #FF5A47;
  --brand-press: #F04A36;
  --brand-ink: #B8321F;
  --brand-wash: #FFF0EE;
  --on-brand: #1A0D0A;
  --held: #0E7A5F;
  --held-wash: #E6F4EF;
  --absent: #5F6878;
  --absent-wash: #EEF0F4;
  --focus: #2563EB;
  --shadow: 0 12px 32px rgba(20, 23, 28, .10), 0 2px 6px rgba(20, 23, 28, .06);

  --font-ui: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-title: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1120px;
  --r: 12px;
  --r-sm: 7px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #EEF1F6;
    --ink-2: #B8C0CE;
    --ink-3: #8F98A9;
    --ground: #0F1216;
    --surface: #171B21;
    --surface-2: #1D222A;
    --sunk: #101419;
    --line: #262C36;
    --line-strong: #39414E;
    --brand: #FF6E5C;
    --brand-press: #FF8574;
    --brand-ink: #FF8A7A;
    --brand-wash: #2A1714;
    --on-brand: #1A0D0A;
    --held: #35B48D;
    --held-wash: #10241E;
    --absent: #8F98A9;
    --absent-wash: #1C212A;
    --focus: #6098FF;
    --shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #EEF1F6;
  --ink-2: #B8C0CE;
  --ink-3: #8F98A9;
  --ground: #0F1216;
  --surface: #171B21;
  --surface-2: #1D222A;
  --sunk: #101419;
  --line: #262C36;
  --line-strong: #39414E;
  --brand: #FF6E5C;
  --brand-press: #FF8574;
  --brand-ink: #FF8A7A;
  --brand-wash: #2A1714;
  --on-brand: #1A0D0A;
  --held: #35B48D;
  --held-wash: #10241E;
  --absent: #8F98A9;
  --absent-wash: #1C212A;
  --focus: #6098FF;
  --shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
}

/* ------------------------------------------------------------------ base -- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--font-title); font-weight: 500; letter-spacing: -.015em; line-height: 1.06; }
h1 { font-size: clamp(40px, 5.4vw, 64px); }
h2 { font-size: clamp(30px, 3.5vw, 44px); }
h3 { font-size: 18px; font-weight: 650; line-height: 1.3; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 20; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 10px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.fine { font-size: 14.5px; color: var(--ink-3); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  font: 600 16px/1 var(--font-ui); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .12s, border-color .12s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-press); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; }

/* ---------------------------------------------------------------- header -- */

.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--ground);
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.mark { width: 14px; height: 14px; border-radius: 3px; background: var(--brand); flex: none; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ------------------------------------------------------------------ hero -- */

.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 960px) { .hero { padding: 48px 0 64px; } .hero-in { grid-template-columns: 1fr; gap: 44px; } }

/* The library, as the product shows it. */
.specimen { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.spec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.spec-title { font-weight: 650; font-size: 16px; }
.spec-sub { font-size: 13px; color: var(--ink-3); }
.spec-btn { background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 6px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td.state { text-align: right; width: 1%; white-space: nowrap; }
.pub { display: flex; gap: 14px; align-items: center; min-width: 0; }
.cover { width: 30px; height: 40px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pub-t { display: block; font-family: var(--font-title); font-size: 16.5px; line-height: 1.25; color: var(--ink); }
.pub-m { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.spec-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 11px 20px; background: var(--surface-2); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-held { background: var(--held-wash); color: var(--held); }
.chip-absent { background: var(--absent-wash); color: var(--absent); }
.chip-work { background: var(--brand-wash); color: var(--brand-ink); }

/* -------------------------------------------------------------- sections -- */

.section { padding: 88px 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 18px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); font-size: 18px; max-width: 38em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 22px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 14px; color: var(--brand-ink); margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature p { color: var(--ink-2); font-size: 16px; }
.tag { align-self: flex-start; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); background: var(--sunk); border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; gap: 32px; } }

.assure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.assure .prose { font-size: 17px; }
.keep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.keep h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.keep ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.keep li { display: grid; grid-template-columns: 14px 1fr; align-items: baseline; color: var(--ink-2); font-size: 16px; }
.keep li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--held); transform: translateY(-2px); }
.keep-no li::before { background: transparent; border: 1.5px solid var(--absent); }
@media (max-width: 860px) { .assure { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
@media (max-width: 520px) { .keep-cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- pricing -- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan-pro { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-name h3 { font-size: 20px; }
.badge { font-size: 12px; font-weight: 600; color: var(--brand-ink); background: var(--brand-wash); padding: 4px 10px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--font-title); font-weight: 500; font-size: 54px; line-height: 1; letter-spacing: -.02em; }
.price span { color: var(--ink-3); font-size: 15px; }
.plan .who { color: var(--ink-2); font-size: 15.5px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px 1fr; font-size: 15.5px; color: var(--ink-2); }
.plan li::before { content: ""; width: 11px; height: 6px; margin-top: 7px; border-left: 2px solid var(--held); border-bottom: 2px solid var(--held); transform: rotate(-45deg); }
.plan li.no::before { width: 10px; height: 0; margin-top: 12px; border-left: 0; border-bottom: 2px solid var(--absent); transform: none; }
.plan .btn { width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 540px; } }
.pricing-note { margin-top: 24px; color: var(--ink-3); font-size: 15px; }
.dfy { margin-top: 20px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--r); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.dfy p { color: var(--ink-2); }

/* ------------------------------------------------------------------- faq -- */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq summary h3 { display: inline; font: inherit; }

/* ----------------------------------------------------------- final + foot -- */

.final-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.final-in h2 { max-width: 16em; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--ink-3); font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); }
.foot .legal-note { flex-basis: 100%; font-size: 13px; }

/* ------------------------------------------------------------ documents -- */

.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 4.6vw, 54px); margin: 12px 0 10px; }
.doc h2 { font-size: 28px; margin: 48px 0 12px; }
.doc h3 { margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc code { font-family: var(--font-mono); font-size: .86em; background: var(--sunk); border: 1px solid var(--line); padding: 0 5px; border-radius: 4px; overflow-wrap: anywhere; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin: 28px 0 8px; }
.doc .summary ul { margin: 10px 0 0; }
.doc .summary p { margin-top: 8px; }
.doc .notice { border-color: var(--brand); box-shadow: inset 4px 0 0 var(--brand); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); margin: 16px 0; background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }

.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
