/*
 * Digit OS — shared marketing stylesheet.
 * Good Company uses three calm colour fields, local illustrations and a
 * restrained serif/sans hierarchy. Supporting routes retain simple layouts.
 * All meaning and actions remain in HTML when fonts, images or JS fail.
 */

:root {
  color-scheme: light;
  --ink: #13352d;
  --paper: #faf5e9;
  --surface: #fffdf8;
  --line: #b6c4b7;
  --muted: #4c655a;
  --accent: #b74838;
  --accent-hover: #963b2e;
  --accent-ink: #ffffff;
  --positive: #206b4b;
  --chapter-models: #f6ddcd;
  --chapter-usage: #e6edd9;
  /* Evidence frames match the chat's own dark backgrounds; the PNGs stay untouched. */
  --shot: #212121;
  --shot-row: #121212;
  --fact: #dfe9d2;
  --flag: #fbe7c6;
  --flag-line: #9a5b12;

  --radius: 10px;
  --measure: 75rem;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Lora', Georgia, serif;

  --step-display: clamp(2.1rem, 1.4rem + 2.6vw, 3rem);
  --step-section: clamp(1.5rem, 1.2rem + 1.1vw, 1.9rem);
  --step-lead: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
}

/* Blog: a reading surface within the Good Company visual language. */
.blog-home { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: 6rem; }
.blog-home-intro { max-width: 52rem; }
.blog-home h1, .blog-article h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1.08; letter-spacing: -.025em; }
.blog-home-intro p { max-width: 40rem; margin-top: 1.5rem; font-size: var(--step-lead); color: var(--muted); }
.blog-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 4rem 0 5rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.blog-routes a { display: flex; flex-direction: column; gap: .75rem; min-height: 11rem; padding: 1.7rem; background: var(--chapter-usage); color: var(--ink); text-decoration: none; transition: background .2s ease; }
.blog-routes a:nth-child(2) { background: var(--chapter-models); }
.blog-routes a:nth-child(3) { background: var(--surface); }
.blog-routes a:hover { background: var(--paper); }
.blog-routes span { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.blog-routes small { max-width: 16rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.blog-list { max-width: 65rem; }
.blog-list h2 { font-family: var(--font-display); font-size: var(--step-section); font-weight: 500; margin-bottom: 1.5rem; }
.blog-featured { display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.6rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.blog-featured:hover { background: #fffaf1; text-decoration: none; }
.blog-featured-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; }
.blog-featured-description { max-width: 52ch; color: var(--muted); }
.blog-featured-action { margin-top: .7rem; color: var(--accent); font-weight: 600; }
.blog-article { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: 6rem; }
.blog-back { display: inline-block; margin-bottom: 3.5rem; }
.blog-article-head { max-width: 56rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.blog-article-head p { max-width: 46rem; margin: 1.4rem 0 1.2rem; color: var(--muted); font-size: var(--step-lead); }
.blog-article-head time, .blog-article-head span { color: var(--muted); font-size: .9rem; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: clamp(2rem, 6vw, 6rem); align-items: start; max-width: 75rem; padding-top: 3rem; }
.blog-reading { grid-column: 1; grid-row: 1; max-width: 70ch; min-width: 0; }
.blog-reading h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; margin: 3rem 0 1rem; scroll-margin-top: 2rem; }
.blog-reading h3 { margin: 2.2rem 0 .8rem; font-size: 1.2rem; }
.blog-reading p, .blog-reading ul, .blog-reading ol, .blog-reading blockquote { margin: 0 0 1.35rem; }
.blog-reading li + li { margin-top: .45rem; }
.blog-reading img { max-width: 100%; height: auto; }
.blog-reading pre, .blog-reading table { max-width: 100%; overflow-x: auto; }
.blog-reading blockquote { margin-left: 0; padding: 1rem 1.5rem; background: var(--chapter-usage); border-radius: 8px; }
.blog-toc { grid-column: 2; grid-row: 1; position: sticky; top: 2rem; display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.blog-toc p { font-weight: 600; margin-bottom: .25rem; }
.blog-toc a { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.blog-article-end { max-width: 70ch; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
@media (max-width: 899px) {
  .blog-routes { grid-template-columns: 1fr; margin: 3rem 0 4rem; }
  .blog-routes a { min-height: 0; padding: 1.4rem; }
  .blog-article-layout { display: block; }
  .blog-toc { position: static; margin-bottom: 2.5rem; }
}

@font-face {
  font-family: Inter;
  src: url('assets/good-company/inter-cyrillic.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('assets/good-company/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url('assets/good-company/lora-cyrillic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Lora;
  src: url('assets/good-company/lora-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--surface); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
}

/* ── header ─────────────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.site-header-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-inline-end: auto;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
  display: block;
}
.site-header-top .brand { margin-inline-end: 0; }
.header-tagline {
  padding-inline-start: 1rem;
  border-inline-start: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  white-space: nowrap;
}
.header-trial { margin-inline-start: auto; white-space: nowrap; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.header-login { color: var(--ink); }
.desktop-nav { border-top: 1px solid var(--line); }
.desktop-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.mobile-menu { display: none; }

/* ── buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--muted);
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
  padding-inline: 0;
}
.btn-quiet:hover {
  color: var(--ink);
}

/* ── sections ───────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem);
}
.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: var(--step-display);
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; }
.hero .lead {
  font-size: var(--step-lead);
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1.1rem;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 2.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stat {
  font-size: 1.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat + p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  padding: 1rem 1.15rem;
}

.details + .note,
.prose > p.note,
.account-help + .note {
  margin-top: 1.75rem;
}

/* ── footer ─────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer .nav {
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.site-footer .legal {
  line-height: 1.7;
}
.site-footer .legal + .legal {
  margin-top: 0.6rem;
}

/* ── cookie notice ──────────────────────────────────────────────────── */

.cookie {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 40rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.cookie[hidden] {
  display: none;
}
.cookie .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

/* ── prose, for the long content pages ──────────────────────────────── */

.prose {
  max-width: 44rem;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: var(--step-section);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
.prose p,
.prose li {
  color: var(--muted);
  margin-top: 0.75rem;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.25rem;
}

@media (max-width: 899px) {
  .nav {
    gap: 1rem;
  }
  .nav .hide-sm {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ── price cards ────────────────────────────────────────────────────── */

/*
 * Three tiers side by side. No "most popular" ribbon and no card scaled
 * larger than its neighbours: the buyer picks on the number of neurons,
 * and a badge pushing them at one tier reads as a sales tactic on a page
 * whose whole job is to look like it is not one.
 */
.tier {
  display: flex;
  flex-direction: column;
}
.tier .price {
  font-size: 2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin: 1rem 0 0;
}
.tier .price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}
.tier .allowance {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 500;
  margin: 0.35rem 0 1rem;
}
.tier p {
  flex: 1;
}
.tier .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* ── checklist ──────────────────────────────────────────────────────── */

.checklist {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.checklist li {
  padding-left: 1.75rem;
  position: relative;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--positive);
  font-weight: 600;
}
.checklist strong {
  display: block;
  margin-bottom: 0.25rem;
}
.checklist p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ── question and answer ────────────────────────────────────────────── */

/*
 * <details> rather than a scripted accordion: it opens with JavaScript off,
 * it is keyboard-operable and findable by the browser's own in-page search,
 * and it is a quarter of the code.
 */
.qa {
  border-bottom: 1px solid var(--line);
}
.qa:first-of-type {
  border-top: 1px solid var(--line);
}
.qa > summary {
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-weight: 500;
  list-style: none;
  position: relative;
}
.qa > summary::-webkit-details-marker {
  display: none;
}
.qa > summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 1.1rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
}
.qa[open] > summary::after {
  content: '−';
}
.qa > summary:hover {
  color: var(--accent);
}
.qa .answer {
  padding-bottom: 1.5rem;
  max-width: 62ch;
}
.qa .answer > :first-child {
  margin-top: 0;
}
.qa .answer > :last-child {
  margin-bottom: 0;
}

/* ── specification rows ─────────────────────────────────────────────── */

.spec {
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec dt {
  color: var(--muted);
}
.spec dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

/* ── forms ──────────────────────────────────────────────────────────── */

.form {
  max-width: 34rem;
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.field .req {
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(29 78 216 / 0.12);
}
.field textarea {
  min-height: 7rem;
  resize: vertical;
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.45;
}
.form-consent input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

/* ── contact details ────────────────────────────────────────────────── */

.details {
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.details dt {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.details dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

/* ── steps ──────────────────────────────────────────────────────────── */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 2rem;
  max-width: 62ch;
}
.steps li {
  counter-increment: step;
  padding-left: 3rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--muted);
}
.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* ── payment and balance routes ────────────────────────────────────── */

.payment-hero { background: var(--chapter-usage); }
.payment-section h2, .account-route + .account-help { max-width: 28ch; }
.payment-flow, .account-route { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.payment-flow li, .account-route li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.payment-flow li > span, .account-route li > span { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.payment-flow h3, .account-route h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 500; }
.payment-flow p, .account-route p { max-width: 62ch; color: var(--muted); margin: .5rem 0 .75rem; }
.payment-flow a { font-weight: 600; }
.business-aside { margin-top: clamp(2.5rem, 4vw, 4rem); padding: 1.5rem 2rem; background: var(--chapter-models); max-width: 48rem; }
.business-aside p:not(.eyebrow) { margin-bottom: .75rem; }
.business-aside a { font-weight: 600; }
.observed-spend { background: var(--chapter-usage); scroll-margin-top: 2rem; }
.observed-spend-list { border-top: 1px solid var(--line); }
.observed-spend-list article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 20rem); gap: 1rem 2rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.observed-spend-list h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; }
.observed-spend-list p:not(.eyebrow) { margin-top: .5rem; color: var(--muted); }
.observed-spend-value { display: flex; flex-direction: column; gap: .2rem; text-align: right; white-space: nowrap; }
.observed-spend-value strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.2; }
.observed-spend-value small { font-family: var(--font); font-size: .75rem; font-weight: 400; }
.observed-spend-value > span, .observed-spend-note { color: var(--muted); font-size: .9rem; }
/* Bar length is proportional to the observed amount: 239.72 / 3405.6 = 7.04%. */
.spend-bar { grid-column: 1 / -1; height: .7rem; border-radius: 999px; background: rgb(19 53 45 / .1); overflow: hidden; }
.spend-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--positive); }
.spend-bar-personal { width: 7.04%; }
.spend-bar-work { width: 100%; }
.observed-spend-list .example-shot-row { grid-column: 1; grid-row: 3; width: min(100%, 44rem); box-shadow: 6px 6px 0 rgb(19 53 45 / .12); }
.observed-spend-list p.spend-tokens { grid-column: 2; grid-row: 3; margin: 0; text-align: right; font-size: .85rem; }
.observed-spend-note { max-width: 72ch; margin-top: 1.25rem; }
.item-charges { background: var(--surface); }
.item-charge-list { margin: 0; border-top: 1px solid var(--line); }
.item-charge-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .5rem 2rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.item-charge-list dt { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.25; }
.item-charge-list dt small { display: block; margin-top: .3rem; color: var(--muted); font-family: var(--font); font-size: .85rem; }
.item-charge-list dd { margin: 0; }
.item-charge-list dd strong { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.25; font-variant-numeric: tabular-nums; }
.item-charge-list dd strong small { font-family: var(--font); font-size: .85rem; font-weight: 400; color: var(--muted); }
.item-charge-list dd span { display: block; margin-top: .3rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .item-charge-list > div { grid-template-columns: 1fr; } }
.business-proof { background: var(--surface); }
.business-proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.business-proof h2 { max-width: 17ch; }
.business-proof-flow { list-style: none; margin: 2rem 0 0; padding: 0; }
.business-proof-flow li { position: relative; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .9rem; padding-bottom: 1.4rem; }
.business-proof-flow li:not(:last-child)::before { content: ''; position: absolute; top: 1.6rem; bottom: .3rem; left: .8rem; width: 1px; background: var(--line); }
.business-proof-flow .fact-mark { width: 1.6rem; height: 1.6rem; margin: 0; font-size: .8rem; vertical-align: 0; }
.business-proof-flow strong { font-size: 1.05rem; }
.business-proof-flow p { margin-top: .25rem; color: var(--muted); max-width: 58ch; }
.business-proof-sum { color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; }
.business-proof-note { color: var(--muted); font-size: .9rem; max-width: 60ch; }
.business-proof-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-weight: 600; }
.account-hero { background: var(--chapter-models); }
.account-help { margin-top: 2.5rem; }
.account-help + .note { max-width: 48rem; }
@media (min-width: 561px) {
  .account-help, .account-help + .note { margin-inline-start: 5rem; }
}
@media (max-width: 560px) {
  .payment-flow li, .account-route li { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .65rem; }
  .business-aside { padding: 1.5rem; }
}

/* ── business, contact and FAQ ─────────────────────────────────────── */

.business-hero { background: var(--chapter-usage); }
.city-hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.city-hero-copy { min-width: 0; }
.city-hero-copy h1 { max-width: 13ch; }
.city-hero-copy .lead { max-width: 55ch; }
.city-hero-copy .text-link { display: inline-block; margin-top: 2rem; font-weight: 600; }
.city-vignette { margin: 0; justify-self: end; width: min(100%, 35rem); }
.city-vignette img { display: block; width: 100%; height: auto; }
.city-vignette-vertical { width: min(100%, 15rem); justify-self: center; margin-block: -2.5rem; }
.business-documents h2 { max-width: 20ch; }
.document-route { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.document-route li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.document-route li > span { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.document-route h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; }
.document-route p { color: var(--muted); margin-top: .35rem; }
.faq-hero { background: var(--chapter-models); }
.faq-body { position: relative; }
.faq-group { display: grid; grid-template-columns: minmax(13rem, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 7rem); padding: clamp(2.5rem, 5vw, 5rem) 0; border-top: 1px solid var(--line); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group-heading > span { display: block; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; margin-bottom: .75rem; }
.faq-group-heading h2 { font-size: clamp(1.8rem, 2.7vw, 3rem); line-height: 1.1; }
.faq-group-content .qa:first-child { border-top: 1px solid var(--line); }
.faq-stork { width: 7rem; margin: -4.5rem 5% 1rem auto; position: relative; pointer-events: none; }
.faq-stork img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .city-hero-layout, .faq-group { grid-template-columns: 1fr; }
  .city-hero-layout { gap: 1.5rem; }
  .city-vignette { width: min(100%, 20rem); justify-self: end; }
  .city-vignette-vertical { width: 9rem; margin: -1rem 0 -2rem; }
  .faq-group { gap: 1.5rem; }
  .faq-stork { width: 4.5rem; margin: -2.5rem 0 1rem auto; }
}

/* ── guide routes ──────────────────────────────────────────────────── */

.guide-hero { padding-bottom: clamp(2.75rem, 5vw, 5rem); }
.phone-guide-hero { background: var(--chapter-models); }
.guide-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.guide-index a {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem .25rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.guide-index a:nth-child(odd) { margin-right: 1.5rem; }
.guide-index a span:first-child { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.guide-index a span:last-child { margin-left: auto; color: var(--accent); }
.guide-index a:hover, .guide-index a:focus-visible { color: var(--accent); }
.guide-layout { display: grid; grid-template-columns: minmax(14rem, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 7vw, 7rem); }
.guide-zone-heading h2 { font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.15; }
.guide-zone-heading > p:last-child { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.guide-zone-content .qa:first-child { border-top: 1px solid var(--line); }
/* Illustrated manuals share the site type and keep long instructions readable. */
.help-guide .wrap { max-width: 76ch; }
.help-guide .guide-zone-content { margin-top: 1.5rem; }
.help-guide ol { padding-left: 1.5rem; }
.help-guide li + li { margin-top: .75rem; }
.help-guide figure { margin: 2rem 0; }
.help-guide figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.help-guide .table-wrap { max-width: 100%; overflow-x: auto; }
.help-guide table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.help-guide th, .help-guide td { text-align: left; vertical-align: top; padding: .8rem; border-bottom: 1px solid var(--line); }
.help-guide th { background: var(--paper); }
.help-guide a { overflow-wrap: anywhere; }
.guide-next { margin-top: 2rem; color: var(--muted); }
.guide-next a { white-space: normal; }
@media (max-width: 900px) {
  .guide-index { grid-template-columns: 1fr; }
  .guide-index a:nth-child(odd) { margin-right: 0; }
  .guide-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── task-first model navigator ────────────────────────────────────── */

.models-hero { background: var(--chapter-models); }
.models-hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.models-hero h1 { max-width: 11ch; }
.model-path { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(19 53 45 / .32); }
.model-path li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .7rem; padding: 1.25rem 0; border-bottom: 1px solid rgb(19 53 45 / .32); }
.model-path li { position: relative; }
.model-path li > span { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--chapter-models); color: var(--ink); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.model-path li:not(:last-child)::before { content: ''; position: absolute; top: calc(1.25rem + 2rem); bottom: -1.25rem; left: 1rem; width: 1.5px; background: rgb(19 53 45 / .32); }
.model-path li:last-child > span { border-color: var(--accent); background: var(--accent); color: #fff; }
.model-path p a { font-weight: 600; white-space: nowrap; }
.model-task-number { color: var(--muted); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.model-path strong { font-size: 1.08rem; }
.model-path p { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: .35rem 0 0; }
.model-section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; padding-bottom: clamp(2rem, 5vw, 4rem); }
.model-section-intro h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); line-height: 1.1; }
.model-section-intro p { color: var(--muted); max-width: 39ch; }
.model-criteria { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.model-criteria:last-child { border-bottom: 1px solid var(--line); }
.model-criteria h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.5vw, 2.7rem); font-weight: 500; letter-spacing: -.03em; margin: .5rem 0 0; }
.model-criteria p { max-width: 58ch; margin: 0; }
.model-criteria ul { padding-left: 1.25rem; color: var(--muted); margin: 1.25rem 0 0; }
/* Where the task lives in the chat, and what it costs: the same calm figures as the examples. */
.model-criteria .model-where { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .2rem 1rem; max-width: 58ch; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .92rem; line-height: 1.55; }
.model-where > span { color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }
@media (max-width: 560px) { .model-criteria .model-where { grid-template-columns: 1fr; } }
.model-criteria li + li { margin-top: .35rem; }
.model-more { background: var(--paper); }
.model-more-layout { display: grid; grid-template-columns: minmax(14rem, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 7vw, 7rem); }
.model-more-intro h2 { max-width: 15ch; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.15; }
.model-more-intro p { max-width: 38ch; margin-top: 1.1rem; color: var(--muted); }
.model-more-list .qa:first-child { border-top: 1px solid var(--line); }
.model-more-list .qa > summary { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.model-more-list .answer p + p { margin-top: .8rem; }
.model-more-list .answer strong { color: var(--ink); }
.model-examples { background: var(--surface); }
/* Examples: source and answer side by side, then the unretouched Test captures. */
.model-example { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.model-example:last-child { border-bottom: 1px solid var(--line); }
.example-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.example-head h3 { max-width: 22ch; margin-top: .5rem; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1.15; }
.example-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.example-chips > span { padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .85rem; }
.example-chips strong { color: var(--ink); font-weight: 600; }
.example-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(1.75rem, 3.5vw, 2.75rem); align-items: start; }
.example-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.example-label span:last-child { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.example-paper { padding: clamp(1.25rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 8px 8px 0 var(--chapter-models); font-family: var(--font-display); font-size: 1.02rem; line-height: 1.75; }
.example-paper p + p, .example-paper ol + p { margin-top: .6rem; }
.example-paper ol { margin: .4rem 0 0; padding-left: 1.3rem; }
.example-paper li + li { margin-top: .35rem; }
.example-doc-note { color: var(--muted); font-family: var(--font); font-size: .8rem; }
.example-doc-title { font-size: 1.25rem; font-weight: 600; }
.example-doc-heading { margin-top: 1rem !important; font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact { padding: .05em .2em; border-radius: 3px; background: var(--fact); color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fact-lead { white-space: nowrap; }
/* Numbers are drawn, not text: copied or spoken facts stay clean ("14 октября", not "114 октября"). */
.fact-mark::before { content: attr(data-n); }
.fact-mark { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; margin-right: .3rem; padding: 0 .25rem; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font); font-size: .7rem; font-weight: 600; line-height: 1; vertical-align: .12em; font-variant-numeric: tabular-nums; }
.example-request { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; }
.example-request strong { color: var(--ink); }
.example-reply { padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 12px; background: var(--paper); font-size: .95rem; line-height: 1.65; }
.example-reply p + p { margin-top: .6rem; }
.example-reply-title { font-weight: 600; }
.example-reply .example-reply-title:not(:first-child) { margin-top: 1.1rem; }
.example-reply ol { margin: .4rem 0 0; padding-left: 1.3rem; }
.example-reply li + li { margin-top: .3rem; }
.example-flag { padding: 0 .15em; border-bottom: 2px dotted var(--flag-line); background: var(--flag); font-family: inherit; font-size: inherit; }
.example-table { margin: 0; }
.example-table > div { display: grid; grid-template-columns: minmax(6.5rem, .32fr) minmax(0, 1fr); gap: .3rem 1rem; padding: .7rem 0; border-top: 1px solid rgb(19 53 45 / .14); }
.example-table > div:first-child { padding-top: 0; border-top: 0; }
.example-table > div:last-child { padding-bottom: 0; }
.example-table dt { font-weight: 600; }
.example-table dd { margin: 0; }
@media (max-width: 560px) { .example-table > div { grid-template-columns: 1fr; } }
.example-check { margin-top: 1rem; padding: 1rem 1.25rem; border-left: 3px solid var(--positive); font-size: .92rem; }
.example-check-title { color: var(--positive); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.example-check p + p { margin-top: .45rem; }
.example-caveat { padding: .55rem .8rem; border-radius: 8px; background: var(--flag); color: #58380c; }
.example-evidence { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: start; }
.example-figure { min-width: 0; margin: 0; }
.example-shot { --shot-pad: clamp(.75rem, 2.2vw, 1.6rem); display: block; padding: var(--shot-pad); border-radius: 14px; background: var(--shot); color: #e9e9e9; box-shadow: 10px 10px 0 var(--chapter-models); transition: transform .2s ease, box-shadow .2s ease; }
.example-shot img { display: block; width: 100%; height: auto; }
.example-shot:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--chapter-models); text-decoration: none; }
.example-shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.example-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin-top: 1.2rem; color: var(--muted); font-size: .85rem; }
.example-open { color: var(--ink); font-weight: 600; }
.example-spend { min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 14px; background: var(--chapter-usage); }
.example-sum { margin-top: .4rem; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; }
.example-sum small { font-family: var(--font); font-size: 1rem; color: var(--muted); }
.example-tokens { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.example-shot-row { padding: .7rem .9rem; border-radius: 10px; background: var(--shot-row); }
/* In a story the history row overlaps the answer window like a second, smaller window. */
.example-figure .example-shot-row { position: relative; width: 88%; margin: calc(-1 * clamp(.75rem, 2.2vw, 1.6rem) + 2px) 0 0 auto; box-shadow: 8px 8px 0 var(--chapter-usage), 0 0 0 1px rgb(255 255 255 / .08); }
.example-figure .example-shot-row:hover { box-shadow: 10px 10px 0 var(--chapter-usage), 0 0 0 1px rgb(255 255 255 / .08); }
.example-spend-note { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.home-proof { display: grid; gap: .35rem; margin-top: 1.4rem; padding: 1rem 1.15rem; border: 1px solid rgb(19 53 45 / .2); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 6px 6px 0 rgb(19 53 45 / .08); transition: transform .2s ease, box-shadow .2s ease; }
.home-proof:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgb(19 53 45 / .1); text-decoration: none; }
.home-proof-label { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.home-proof-task { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.home-proof-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; color: var(--muted); font-size: .9rem; }
.home-proof-meta strong { color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.home-proof-go { color: var(--accent); font-weight: 600; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .example-shot, .home-proof { transition: none; } .example-shot:hover, .home-proof:hover { transform: none; } }
/* «Код»: three chat presets as a rising ladder, the model's five steps, and an example project tree. */
.code-projects { background: var(--chapter-usage); scroll-margin-top: 2rem; }
.code-levels { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; margin: 0; padding: 0; }
.code-levels > li { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.25rem, 2.4vw, 1.75rem); border: 1px solid rgb(19 53 45 / .18); border-radius: 14px; background: var(--surface); box-shadow: 8px 8px 0 rgb(19 53 45 / .07); }
.code-level-1 { margin-top: 3rem; }
.code-level-2 { margin-top: 1.5rem; }
.code-step-bar { --fill: 33.4%; display: block; width: 4.5rem; height: .45rem; border-radius: 999px; background: linear-gradient(90deg, var(--positive) var(--fill), rgb(19 53 45 / .14) var(--fill)); }
.code-level-2 .code-step-bar { --fill: 66.7%; }
.code-level-3 .code-step-bar { --fill: 100%; }
.code-level-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.2; }
.code-level-what { color: var(--ink); }
.code-levels ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.code-levels ul li + li { margin-top: .2rem; }
.code-level-note { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }
.code-run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.code-run h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; }
.code-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.code-steps li { position: relative; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .9rem; padding-bottom: 1.1rem; }
.code-steps li:not(:last-child)::before { content: ''; position: absolute; top: 1.6rem; bottom: .2rem; left: .8rem; width: 1px; background: rgb(19 53 45 / .3); }
.code-steps .fact-mark { width: 1.6rem; height: 1.6rem; margin: 0; font-size: .8rem; vertical-align: 0; }
.code-steps p { margin-top: .15rem; color: var(--muted); font-size: .95rem; }
.code-small { margin-top: .5rem; color: var(--muted); font-size: .9rem; max-width: 52ch; }
.code-tree-card { min-width: 0; margin: 0; }
.code-screen { padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 14px; background: var(--shot); color: #e9e9e9; box-shadow: 10px 10px 0 var(--chapter-models); }
.code-tree-request { color: #cfcfcf; font-size: .92rem; line-height: 1.55; }
.code-tree-request span { display: block; margin-bottom: .35rem; color: #9a9a9a; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.code-tree { margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / .12); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; font-size: clamp(.82rem, 1.4vw, .95rem); line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-dir { color: #a8d8b9; }
.code-zip { color: #f2c48d; }
.code-tree-card figcaption { margin-top: 1.1rem; color: var(--muted); font-size: .85rem; }
.code-limits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2.5vw, 2rem); margin: clamp(3rem, 6vw, 4.5rem) 0 0; }
.code-limits > div { padding-top: 1rem; border-top: 1px solid rgb(19 53 45 / .28); }
.code-limits dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.code-limits dd { margin: .45rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .code-levels, .code-run { grid-template-columns: 1fr; }
  .code-level-1, .code-level-2 { margin-top: 0; }
  .code-limits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .code-limits { grid-template-columns: 1fr; } }
.model-families { background: var(--chapter-usage); }
.model-family-list { border-top: 1px solid rgb(19 53 45 / .28); }
.model-family { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.55rem 0; border-bottom: 1px solid rgb(19 53 45 / .28); scroll-margin-top: 1.5rem; }
.model-family img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.model-family h3 { font-size: 1.2rem; margin: 0; }
.model-family h3 span { font-weight: 400; color: var(--muted); }
.model-family p { color: var(--muted); margin: .45rem 0 0; max-width: 60ch; }
.model-current { margin: 2rem 0 0; color: var(--muted); max-width: 68ch; }
@media (max-width: 900px) {
  .models-hero-layout, .model-section-intro, .model-criteria, .model-more-layout, .example-compare, .example-evidence { grid-template-columns: 1fr; }
  .models-hero-layout { gap: 2.5rem; }
  .model-section-intro { gap: .75rem; }
  .model-criteria { gap: 1rem; }
  .model-more-layout { gap: 1.5rem; }
  .model-more-intro h2 { max-width: 21ch; }
  .example-evidence { gap: 2rem; }
}
@media (max-width: 899px) {
  .business-proof-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .observed-spend-list article { grid-template-columns: 1fr; gap: .7rem; }
  .observed-spend-list .example-shot-row, .observed-spend-list p.spend-tokens { grid-column: 1; grid-row: auto; width: 100%; text-align: left; }
  .observed-spend-value { text-align: left; }
}

/* ── wordmark ───────────────────────────────────────────────────────── */

/*
 * Two words, set in the page's own type. Not an image and not an SVG: an
 * image cannot use the webfont, and an SVG whose width is pinned distorts
 * the letterforms to fit. This scales, stays crisp, and is four lines.
 */
.brand-mark {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.brand-mark .accent {
  color: var(--accent);
}

/* Good Company: three calm, illustrated chapters. */
.brand-mark { font-size: 1.72rem; letter-spacing: -0.055em; }
.home-chapter { padding-block: clamp(4rem, 6.5vw, 6.5rem); }
.home-kicker { color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .015em; margin-bottom: 1.25rem; }
.home-chapter h1, .home-chapter h2, .home-chapter h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.045em; }
.home-chapter h2 { font-size: clamp(2.15rem, 1.15rem + 2.55vw, 3.65rem); line-height: 1.12; }
.home-hero { padding-top: clamp(3.8rem, 7vw, 7.5rem); padding-bottom: 2rem; }
/* The side column holds the real app-window capture above the river drawing. */
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(36rem, .95fr); column-gap: 3rem; align-items: start; }
.home-hero-side { display: flex; flex-direction: column; gap: 1.6rem; }
.hero-cap { display: flex; flex-direction: column; gap: .9rem; margin: 0; }
.hero-cap img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 8px 8px 0 rgb(19 53 45 / .08); }
.home-hero-side .home-city img { max-width: 18rem; }
@media (max-width: 1100px) {
  /* one column, same order as the phone: copy, capture, drawing */
  .home-hero .wrap { display: block; }
  .home-hero-side { display: contents; }
  .hero-cap { margin: 2rem 0 0; }
}
@media (max-width: 899px) {
  /* no screenshot on a phone */
  .hero-cap { display: none; }
}
.home-hero-copy { align-self: start; padding-bottom: 1rem; }
.home-hero h1 { font-size: clamp(2.5rem, 1.1rem + 3.9vw, 4.55rem); max-width: 12ch; line-height: 1.1; }
.home-lead { margin-top: 1.5rem; font-size: clamp(1.12rem, 1vw + .85rem, 1.35rem); max-width: 33ch; line-height: 1.55; }
.home-support { margin-top: .45rem; color: var(--muted); font-size: 1.04rem; max-width: 43ch; }
.home-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.home-actions .btn { min-height: 3.25rem; padding-inline: 1.45rem; }
.btn-model { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-model:hover { background: rgb(19 53 45 / .06); }
.model-icon-slot { position: relative; display: inline-block; overflow: hidden; width: 1.625rem; height: 1.625rem; flex: 0 0 1.625rem; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.model-icon-slot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(110%); transition: transform 350ms cubic-bezier(.2, .8, .2, 1), opacity 350ms ease; }
.model-icon-slot img.is-visible { opacity: 1; transform: translateY(0); }
.model-icon-slot img.is-exiting { opacity: 0; transform: translateY(-110%); }
.home-city { margin: 0; align-self: end; }
.home-city img { display: block; width: 100%; height: auto; max-width: 34rem; margin-left: auto; }
.home-models { background: var(--chapter-models); overflow: clip; }
.home-models .wrap, .home-usage .wrap { position: relative; }
.home-section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; }
.home-section-heading > p { max-width: 27ch; color: var(--muted); font-size: 1.125rem; padding-bottom: .45rem; }
.home-model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); margin-top: 3.5rem; }
.home-model-grid h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.home-tasks a, .home-families a:not(.home-all-models) { display: flex; align-items: center; gap: 1rem; min-height: 5.75rem; border-top: 1px solid rgb(19 53 45 / .32); color: var(--ink); }
.home-tasks a:last-child, .home-families a:nth-last-child(2) { border-bottom: 1px solid rgb(19 53 45 / .32); }
.home-tasks a > span:first-child, .home-families a > span:nth-child(2) { flex: 1; }
.home-model-grid strong { display: block; font-weight: 600; font-size: 1.08rem; }
.home-model-grid small { display: block; font-size: .88rem; color: var(--muted); line-height: 1.4; margin-top: .16rem; }
.home-families img { width: 2rem; height: 2rem; object-fit: contain; }
/* Six tasks against three families: shorter task rows keep the two columns in balance. */
.home-tasks a { min-height: 4.6rem; }
.home-model-grid a:hover strong, .home-model-grid a:hover > span:last-child { color: var(--accent-hover); }
.home-all-models { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1.25rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.home-cornflower { display: block; width: 4.75rem; height: auto; margin: 2.25rem 4rem -6.5rem auto; }
.home-usage { background: var(--chapter-usage); }
.home-usage-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3.6rem; border-top: 1px solid rgb(19 53 45 / .3); }
.home-usage-grid article { padding-top: 2rem; max-width: 31rem; }
.home-usage-grid article + article { border-left: 1px solid rgb(19 53 45 / .3); padding-left: clamp(2rem, 5vw, 6rem); }
.home-usage-grid h3 { font-size: clamp(1.7rem, 2vw, 2rem); margin-bottom: 1rem; }
.home-usage-grid p { font-size: 1.025rem; max-width: 37ch; margin-top: 1rem; }
.home-usage-grid .text-link { margin-top: 1.65rem; }
.home-usage-grid .btn { margin-top: 1.5rem; }
.home-documents { font-weight: 600; }
.home-documents span { color: var(--accent); padding-inline: .3rem; }
.home-bison { display: block; width: min(15rem, 32vw); height: auto; margin: 3rem 2rem -6.5rem auto; }
.home-answers .wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 5rem; }
.home-answers .text-link { margin-top: 1.5rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); text-underline-offset: .2em; }
.text-link:hover { color: var(--accent-hover); }
.home-disclaimer { padding-block: 1.5rem 4rem; }
.home-disclaimer .note { max-width: 65rem; font-size: .8rem; background: transparent; }
.site-footer { background: var(--paper); }
.site-footer .nav a { font-size: .875rem; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgb(183 72 56 / .17); }

@media (max-width: 899px) {
  .home-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(13rem, .55fr); gap: 1rem; }
  .home-model-grid { gap: 2.5rem; }
  .home-answers .wrap { gap: 2rem; }
}
@media (max-width: 899px) {
  .site-header-top { min-height: 64px; gap: .5rem; }
  .site-header-top .brand { margin-inline-end: auto; }
  .header-tagline, .header-trial { display: none; }
  .header-login { margin-right: 5.375rem; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { position: absolute; top: 10px; right: clamp(1.5rem, 4vw, 4rem); display: flex; align-items: center; min-height: 44px; padding-inline: .35rem; cursor: pointer; font-weight: 600; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: ''; display: block; width: .5rem; height: .5rem; margin-left: .65rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.12rem) rotate(45deg); transition: transform .18s ease; }
  .mobile-menu[open] summary::after { transform: translateY(.12rem) rotate(225deg); }
  .mobile-menu-panel { background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-menu-panel .wrap { display: grid; gap: 1.25rem; padding-block: 1.25rem 1.5rem; }
  .mobile-menu-group { display: grid; align-content: start; }
  .mobile-menu-heading { margin: 0 0 .25rem; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
  .mobile-menu-group a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .94rem; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu-group a:hover,
  .mobile-menu-group a[aria-current="page"] { color: var(--accent); }
  .home-hero { padding-block: 3.5rem 2rem; }
  .home-hero .wrap, .home-section-heading, .home-model-grid, .home-usage-grid, .home-answers .wrap { display: block; }
  .home-hero h1, .home-lead, .home-support, .home-section-heading > p { max-width: none; }
  .home-hero h1 { font-size: clamp(2.35rem, 8.5vw, 3.3rem); }
  .home-hero .home-actions { flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: 1.5rem; }
  .home-hero .home-actions .btn { min-width: min(100%, 16.5rem); }
  /* .wrap is display:block here: display:contents lets the captures follow
     the trial conditions and precede the drawing in DOM order. */
  .home-hero-side { display: contents; }
  .hero-cap { margin: 2rem 0 0; }
  .home-city img { width: min(17rem, 72vw); margin: 2rem 0 0 auto; }
  .home-hero-side .home-city img { width: min(15rem, 60vw); }
  .home-section-heading > p { margin-top: 1rem; }
  .home-model-grid { margin-top: 2.5rem; }
  .home-families { margin-top: 2.5rem; }
  .home-cornflower { width: 3rem; margin: 1.5rem 1rem -4rem auto; }
  .home-usage-grid { margin-top: 2rem; }
  .home-usage-grid article { padding-block: 1.5rem; }
  .home-usage-grid article + article { border-left: 0; border-top: 1px solid rgb(19 53 45 / .3); padding-left: 0; }
  .home-bison { width: min(8rem, 32vw); margin: 1.5rem 0 -4rem auto; }
  .home-answers .qa:first-child { margin-top: 2rem; }
  .home-chapter { padding-block: 3.5rem; }
  .home-hero { padding-top: 3rem; }
}
@media (max-width: 380px) {
  .home-hero h1 { font-size: 2.25rem; }
  .home-lead { margin-top: 1.1rem; }
  .home-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu summary::after { transition: none; }
}

@media (max-width: 480px) {
  .brand img { height: 24px; }
}

/* Historical measurements retain readable text without obsolete UI captures. */
.example-evidence-historical { grid-template-columns: 1fr; }
.business-proof-copy { max-width: 72rem; }
