/* Core pages (home, pricing, company, legal, industries): the few parts the HQ.ai design lacks.
   Built on the custom properties at the top of site.css. No script: every part reads the same without motion. */

/* Home hero: one h1 that holds the big outline lines and the category line under them */
.hero__h1 { margin: 0; font-size: inherit; font-weight: 500; }
.hero__h1 > span { display: block; }
.hero__h1 .hero__title { font-size: clamp(40px, 10.8vw, 188px); }
@media (max-width: 640px) { .hero__h1 .hero__title { font-size: clamp(36px, 11vw, 64px); } }

/* Results strip: four figures in a row */
.figs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figs--4 > div { align-content: start; }
.figs--4 b { font-size: clamp(44px, 5vw, 84px); }
@media (max-width: 1100px) {
  .figs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs--4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figs--4 > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.figs__src { margin-top: 18px; color: var(--muted); }
.figs__src a { color: var(--accent); }

/* Services by line: two columns of rows, each with its from price */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); align-items: start; }
.line__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line-2); }
.line__h .mono { color: var(--accent); }
.line__h a { font-size: 15px; color: var(--muted); }
.line__h a:hover { color: var(--accent); }
.line__h--sub { margin-top: 28px; }
.lrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding-block: 16px 18px; border-bottom: 1px solid var(--line); transition: padding-left .3s cubic-bezier(.2, .7, .2, 1); }
.lrow:hover { padding-left: 8px; }
.lrow__n { color: var(--accent); }
.lrow__t { font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.lrow:hover .lrow__t { color: var(--accent); }
.lrow__p { color: var(--ink-2); white-space: nowrap; }
.lrow__d { grid-column: 2 / -1; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) {
  .lines { grid-template-columns: minmax(0, 1fr); }
  .lines .line + .line { margin-top: 40px; }
}
@media (max-width: 480px) {
  .lrow { grid-template-columns: 28px minmax(0, 1fr); }
  .lrow__p { grid-column: 2; white-space: normal; }
}

/* A four-step ladder (the growth rhythm) */
.ladder--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ladder--4 { grid-template-columns: minmax(0, 1fr); } }

/* Data table: the pricing table and the fact sheet. Rows stack with their labels on narrow screens. */
.dtab-wrap { border-top: 1px solid var(--line-2); }
.dtab { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.dtab th { text-align: left; vertical-align: bottom; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dtab td { vertical-align: top; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.dtab td:first-child { color: var(--ink); }
.dtab td:first-child a, .dtab td:first-child b { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.dtab td:first-child a:hover { color: var(--accent); }
.dtab .num { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtab .big-n { line-height: 1.1; font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.dtab .ln { font: 400 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.chip--ok { border-color: color-mix(in srgb, var(--ok) 55%, transparent); color: var(--ok); }
.chip--acc { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
@media (max-width: 900px) {
  .dtab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dtab, .dtab tbody, .dtab tr, .dtab td { display: block; }
  .dtab tr { display: grid; gap: 8px; padding-block: 18px; border-bottom: 1px solid var(--line); }
  .dtab td { position: relative; padding: 0 0 0 132px; border: 0; }
  .dtab td::before { content: attr(data-label); position: absolute; left: 0; top: 0; width: 120px; padding-top: 3px; font: 400 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .dtab td:first-child { padding-left: 0; margin-bottom: 2px; }
  .dtab td:first-child::before { content: none; }
  .dtab .num, .dtab .big-n { white-space: normal; }
}

/* Results readout drawn as a blueprint panel, used where there is no app screen to show */
.stage--rd { --glow: radial-gradient(28% 32% at 26% 30%, rgba(236, 72, 153, .42), transparent 70%), radial-gradient(26% 30% at 76% 70%, rgba(91, 91, 246, .5), transparent 70%), radial-gradient(20% 22% at 72% 16%, rgba(245, 158, 11, .34), transparent 70%); }
.rd { width: min(100%, 600px); margin: 30px auto 0; display: grid; gap: 18px; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line-2); border-radius: 14px; background: color-mix(in srgb, var(--bg) 82%, transparent); }
.rd__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.rd__head .mono { color: var(--muted); }
.rd__head b { font-size: clamp(40px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.rd__rows { display: grid; gap: 12px; }
.rd__rows li { display: grid; grid-template-columns: minmax(0, 13.5em) minmax(0, 1fr) 4.2em; gap: 12px; align-items: center; font-size: 14.5px; line-height: 1.3; color: var(--ink-2); }
.rd__rows i { position: relative; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rd__rows i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v, .5) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ec4899); }
.rd__rows b { text-align: right; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.rd__note { color: var(--muted); }
@media (max-width: 480px) {
  .rd__rows li { grid-template-columns: minmax(0, 1fr) 4em; }
  .rd__rows i { grid-column: 1 / -1; grid-row: 2; }
}

/* Reading pages (legal, facts for AI assistants): lists and tables in the legal-doc column */
.legal-doc.article--post { gap: 18px; }
.legal-doc p.mono { font-size: 12px; }
.legal-doc .lede-doc { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.legal-doc h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }
.legal-doc section > :is(ul, ol) { font-size: 17px; }
.legal-doc .note-tbc { color: var(--warn); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* Contact rows */
.crows { border-top: 1px solid var(--line-2); }
.crow { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 24px; padding-block: 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.crow dt { color: var(--muted); }
.crow dd { font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.crow dd a { color: var(--accent); }
@media (max-width: 640px) { .crow { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Industry and partner pages: a one-line note under a card grid */
.grid-note { margin-top: 18px; color: var(--muted); }
.grid-note a { color: var(--accent); }
