/* The front door's own stylesheet (web/index.html). Layout from a
   ChatGPT draft the owner commissioned (2026-09-22), fitted to the repo:
   the vendored Plex files, the shared tokens' values from
   shared/style.css, and a dark scheme that redefines tokens only. The
   apps keep shared/style.css; this page does not load it, so the two
   can't fight over h1/h2 sizes. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("./shared/vendor/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./shared/vendor/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --paper: #f4f1ea;
  --band: #ebe6dc;
  --card: #fffdf9;
  --ink: #1f1d1a;
  --body: #403b35;
  --muted: #5c574f;
  --border: #ddd7cb;
  --frame: #e8e2d7;
  --shadow: rgba(40, 34, 24, 0.13);
  --link: #b3391f;
  /* App accents, as in shared/style.css. --split-fill is the button
     fill that clears 4.5:1 for white text (#e14b2d is 4.4:1). */
  --split: #e14b2d;
  --split-fill: #c93f22;
  --split-fill-hover: #a8341c;
  --archive: #c9782a;
  --specs: #2f6690;
  /* Field-state palette, identical to the apps'. */
  --observed-bg: #e8e4dc;
  --observed-fg: #1f1d1a;
  --confirmed-bg: #2b5c8a;
  --confirmed-fg: #ffffff;
  --inferred-bg: #f4a261;
  --inferred-fg: #3a2306;
  --verified-bg: #2f6f4f;
  --verified-fg: #ffffff;
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1917;
    --band: #211e1b;
    --card: #24211e;
    --ink: #f0ece4;
    --body: #d6cfc4;
    --muted: #b1a99d;
    --border: #3d3832;
    --frame: #2f2b27;
    --shadow: rgba(0, 0, 0, 0.45);
    --link: #f08a72;
    --split-fill: #e14b2d;
    --split-fill-hover: #c93f22;
    --archive: #e0964f;
    --specs: #6fa3cf;
    --observed-bg: #3d3832;
    --observed-fg: #f0ece4;
    --confirmed-bg: #3c76ad;
    --verified-bg: #3a8a62;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--specs); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(1260px, calc(100% - 64px)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--paper); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 46px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.18rem; font-weight: 700; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { text-decoration: none; font-size: 0.91rem; }
.site-header nav a:hover, .text-link:hover, .tool-card a:hover { text-decoration: underline; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr); gap: 5%; align-items: center; padding-block: 105px 112px; }
.eyebrow, .tool-tag { font-family: var(--mono); letter-spacing: 0.105em; font-size: 0.73rem; font-weight: 500; text-transform: uppercase; }
.eyebrow { margin: 0 0 20px; color: var(--muted); }
h1 { font-size: clamp(3.5rem, 6.2vw, 6.5rem); letter-spacing: -0.07em; line-height: 1.01; margin-bottom: 28px; font-weight: 700; }
h1 em { font-style: normal; color: var(--split); }
.lede { font-size: 1.24rem; line-height: 1.52; max-width: 560px; color: var(--body); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 34px 0 43px; }
.button { display: inline-flex; gap: 20px; align-items: center; text-decoration: none; background: var(--split-fill); color: #fff; font-weight: 700; padding: 15px 20px; border-radius: 4px; }
.button:hover { background: var(--split-fill-hover); }
button.button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.text-link { font-weight: 600; text-decoration: none; }
.hero-figure { margin: 0; min-width: 0; }
.screenshot-frame { background: var(--frame); padding: 10px; box-shadow: 0 22px 55px var(--shadow); border: 1px solid var(--border); }
.screenshot-frame img { display: block; width: 100%; height: auto; }

/* Bands and sections */
.section-band { background: var(--band); border-block: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10%; padding-block: 86px 90px; }
.trust h2, .tools h2, .agency h2 { font-size: clamp(2.15rem, 3.3vw, 3.65rem); letter-spacing: -0.055em; line-height: 1.08; margin-bottom: 22px; font-weight: 700; }
.trust p, .agency p { font-size: 1.06rem; line-height: 1.63; color: var(--body); max-width: 590px; }
.states { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.state { background: var(--paper); border: 1px solid var(--border); padding: 23px; min-height: 142px; }
.state p { font-size: 0.94rem; line-height: 1.4; margin: 18px 0 0; color: var(--body); }
.chip { display: inline-block; padding: 6px 10px; border-radius: 4px; font-size: 0.82rem; font-weight: 700; }
.observed { background: var(--observed-bg); color: var(--observed-fg); }
.confirmed { background: var(--confirmed-bg); color: var(--confirmed-fg); }
.inferred { background: var(--inferred-bg); color: var(--inferred-fg); }
.verified { background: var(--verified-bg); color: var(--verified-fg); }

.tools { padding-block: 100px 110px; }
.tools h2 { margin-bottom: 40px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; min-height: 347px; background: var(--card); border: 1px solid var(--border); padding: 26px; }
.tool-top { display: flex; gap: 15px; align-items: center; color: var(--muted); }
.tool-top img { width: 28px; height: 28px; }
.tool-rule { flex: 1; height: 2px; background: var(--accent); }
.tool-card h3 { font-size: 1.67rem; letter-spacing: -0.045em; margin: 34px 0 15px; }
.tool-card p { color: var(--body); line-height: 1.52; font-size: 0.99rem; }
.tool-card p strong { color: var(--ink); }
.tool-card a { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.split { --accent: var(--split); }
.archive { --accent: var(--archive); }
.specs { --accent: var(--specs); }


.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 75px 81px; }
.agency p:last-child { margin-bottom: 0; }
.agency a, .contact a, .footer a { color: var(--link); font-weight: 700; }

.contact { padding-block: 64px 24px; }
.contact p { font-size: 1rem; line-height: 1.6; color: var(--body); max-width: 760px; }

.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 32px; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--border); }
.footer p { margin: 0; line-height: 1.55; }
.footer a { font-weight: 400; }

/* The landing page's OCR section, and the Archive card's next line. */
.ocr-grid { padding-block: 90px 20px; }
.section-copy { font-size: 1.06rem; line-height: 1.63; color: var(--body); max-width: 520px; }
.tool-card .card-next { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }

/* Plans (landing page). */
.plans-section { padding-block: 90px; }
.plan-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border: 1.5px solid var(--archive); color: var(--archive); border-radius: 4px; font-size: 0.72rem; letter-spacing: 0; font-weight: 700; }
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 30px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); padding: 22px; }
.plan-featured { background: var(--card); border: 2px solid var(--archive); }
.plan-soon { border-style: dashed; }
.plan-soon .plan-name { color: var(--specs); }
.plan-name { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; }
.plan-featured .plan-name { color: var(--archive); }
.plan-price { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 4px; }
.plan-price span { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan-scope { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 6px; }
.plan-founding { font-size: 0.82rem; color: var(--muted); margin: 0 0 10px; }
.plan-for { color: var(--body); line-height: 1.5; font-size: 0.97rem; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plan ul { margin: 0 0 24px; padding-left: 18px; display: grid; gap: 10px; }
.plan li { color: var(--body); line-height: 1.5; font-size: 0.95rem; }
.plan li strong { color: var(--ink); }
.plan-cta { margin-top: auto; font-weight: 700; color: var(--link); text-decoration: none; }
.plan-cta:hover { text-decoration: underline; }
.plan-button { margin-top: auto; align-self: flex-start; }
.plans-note { margin: 22px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; max-width: 820px; }

/* Design previews of the hosted Archive. */
.preview { padding-block: 90px 20px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.preview figure { margin: 0; }
.preview img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 12px 30px var(--shadow); background: var(--frame); }
.preview figcaption { margin-top: 14px; font-size: 0.93rem; line-height: 1.5; color: var(--body); }
.preview figcaption strong { color: var(--ink); }
.preview-single { max-width: 980px; margin-top: 24px; }
.preview-single figcaption { color: var(--muted); font-size: 0.88rem; }

/* Archive-first landing: pillars, the try section, the hero caption. */
.hero-figure figcaption { margin-top: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; color: var(--muted); }
.pillars-section { padding-block: 86px 90px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.pillar { background: var(--paper); border: 1px solid var(--border); padding: 26px; }
.pillar h3 { font-size: 1.25rem; letter-spacing: -0.03em; margin: 0 0 12px; }
.pillar p { margin: 0; color: var(--body); line-height: 1.55; font-size: 0.97rem; }
.try { padding-block: 90px 20px; }
.try-grid { padding-block: 0; align-items: start; }
.tool-grid-two { grid-template-columns: 1fr; gap: 14px; }
.tool-grid-two .tool-card { min-height: 0; }
.tool-grid-two .tool-card h3 { margin-top: 18px; font-size: 1.35rem; }
.tool-grid-two .tool-card a { margin-top: 12px; }
.tool-card .plan-tag { font-size: 0.7rem; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Text pages: About, Privacy, Security, What's new. */
.prose p, .prose li { color: var(--body); }
.prose h2:not(.section-title):not(.eyebrow) { font-size: 1.35rem; letter-spacing: -0.03em; margin: 40px 0 12px; }
.prose .hint { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.prose code { font-family: var(--mono); font-size: 0.9em; }
.legal-page { max-width: 820px; padding-block: 72px 80px; }
.legal-page p { font-size: 1rem; line-height: 1.65; }
.legal-page .plain-list { margin: 14px 0 10px; }
.legal-page .plain-list li { font-size: 0.98rem; }
.log-entry { margin-top: 36px; }
.log-entry h2 { font-family: var(--mono); font-size: 0.95rem !important; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 14px !important; }
.footer p a { font-weight: 600; }
@media (max-width: 650px) {
  .legal-page { padding-block: 48px 60px; }
}

/* The Solutions page (web/solutions.html). */
.site-header nav a[aria-current="page"] { font-weight: 700; }
.page-hero { padding-block: 96px 88px; max-width: 980px; margin-inline: auto; }
.page-title { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -0.06em; line-height: 1.04; }
.page-hero .lede { max-width: 720px; }
.section-title { font-size: clamp(2rem, 3.2vw, 3.3rem); letter-spacing: -0.05em; line-height: 1.08; margin-bottom: 22px; font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8%; padding-block: 80px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.plain-list li { font-size: 1.02rem; line-height: 1.6; color: var(--body); padding-left: 18px; border-left: 2px solid var(--border); }
.plain-list strong { color: var(--ink); }
.steps-section { padding-block: 90px; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--border); padding: 26px; }
.step-no { font-family: var(--mono); color: var(--split); font-size: 0.8rem; letter-spacing: 0.1em; }
.steps h3 { font-size: 1.35rem; letter-spacing: -0.03em; margin: 18px 0 10px; }
.steps p { color: var(--body); line-height: 1.55; margin: 0; }
.deliver-section { padding-block: 86px; }
.section-lede { font-size: 1.02rem; line-height: 1.9; color: var(--body); max-width: 900px; }
.status { display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; border: 1.5px solid; white-space: nowrap; line-height: 1.5; }
.status-today { color: var(--verified-bg); border-color: var(--verified-bg); }
.status-custom { color: var(--split); border-color: var(--split); }
.status-partner { color: var(--muted); border-color: var(--muted); }
.deliver-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.deliver-col { background: var(--paper); border: 1px solid var(--border); padding: 24px; }
.deliver-col h3 { margin: 0 0 16px; }
.deliver-col ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.deliver-col li { color: var(--body); line-height: 1.5; font-size: 0.95rem; }
.deliver-col li strong { color: var(--ink); }
.col-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.contact-copy { font-size: 1.04rem; line-height: 1.63; color: var(--body); }
.contact-copy a { color: var(--link); font-weight: 700; }
.agency .more-link { display: inline-block; margin-top: 6px; }
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .steps, .deliver-grid, .plan-grid, .preview-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 12px; padding-block: 64px; }
}
@media (max-width: 650px) {
  .page-hero { padding-block: 55px 60px; }
  .steps-section, .deliver-section { padding-block: 64px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 74px; gap: 45px; }
  .hero-copy { max-width: 720px; }
  .hero-figure { max-width: 800px; }
  .trust-grid { gap: 5%; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
  .brand { font-size: 1.05rem; }
  .site-header nav { gap: 14px; margin-left: auto; }
  .site-header nav a { font-size: 0.8rem; }
  .hero { padding-block: 55px 69px; gap: 34px; }
  .eyebrow { font-size: 0.67rem; }
  h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .lede { font-size: 1.08rem; }
  .hero-actions { margin: 27px 0 32px; gap: 19px; }
  .button { padding: 14px 15px; gap: 14px; }
  .screenshot-frame { padding: 5px; }
  .trust-grid, .agency-grid { grid-template-columns: 1fr; padding-block: 67px; gap: 25px; }
  .states { gap: 8px; }
  .state { padding: 15px; min-height: 140px; }
  .state p { font-size: 0.85rem; }
  .tools { padding-block: 73px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; padding: 23px; }
  .tool-card h3 { margin-top: 25px; }
  .tool-card a { margin-top: 16px; }
  .footer { flex-direction: column; }
}
@media (max-width: 400px) {
  .site-header nav a:nth-child(2) { display: none; }
  .state { padding: 12px; }
}
