/* SEOdoc landing page, variant 1 (T-120): fonts, palette and the page CSS the taste-skill kit leaves to the page.
   The kit's own files sit unchanged in /static/assets (MIT). No inline style or script anywhere: the site runs
   under a CSP with style-src 'self' and no script-src, so every position and size the kit's demos set in style=""
   lives here, and the kit's "no script" rules are repeated where the browser still reports scripting on.
   Fonts: IBM Plex Sans and IBM Plex Mono (OFL, /static/fonts/OFL-plex.txt), latin subset, self-hosted. */

@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/plex-sans-latin-var.woff2?v=8a13f88") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/plex-mono-latin-400.woff2?v=8a13f88") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/plex-mono-latin-500.woff2?v=8a13f88") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }

/* the :root block exactly as start.mjs printed it (palette teal-on-paper, type plex) */
:root {
  --p-bg: #f7f8fb; --p-surface: #ebeff6; --p-ink: #163f8f; --p-muted: #3d5f9c;
  --p-accent: #163f8f; --p-accent-ink: #f7f8fb; --p-action: #163f8f; --p-action-ink: #f7f8fb;
  --p-inv-bg: #163f8f; --p-inv-surface: #2a54a3; --p-inv-ink: #f7f8fb; --p-inv-muted: #c3cfe4;
  --p-inv-accent: #f7f8fb; --p-inv-accent-ink: #163f8f; --p-inv-action: #f7f8fb; --p-inv-action-ink: #163f8f;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.98;
}

/* ---- the report's own look inside every drawn window (a white page, near-black text, its chips and badges) */
:root {
  --rp-bg: #ffffff; --rp-ink: #1b1d1e; --rp-muted: #555b5e; --rp-line: #dde3ee; --rp-soft: #f2f4f9;
  --rp-chip: #eceeee; --rp-impact: #e3edf5; --rp-impact-ink: #1f3d6b;
  --rp-fail: #fbe3e1; --rp-fail-ink: #8c1d14; --rp-warn: #fbf0d9; --rp-warn-ink: #6b4a00;
  --rp-ok: #e1f0e3; --rp-ok-ink: #1f5a2a;
}

/* ---- no script on this site (CSP): the phone sheet cannot open, so no menu button is written; under 1024 the bar
   keeps the name and the main button, the words live in the footer's columns */

/* ---- the hero (triptych): the words on span-3, the report pieces in the middle, the free-check form on the right */
.hero--triptych h1 { hyphens: manual; }
.hero--triptych .hero__grid > :first-child, .hero--triptych .hero__cta { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-form { display: grid; gap: var(--s-4); width: 100%; }
.hero-form .field { color: var(--ink); }
.hero-form .btn--primary { height: 64px; font-size: var(--t-lead); width: 100%; }
.hero-form .btn--secondary { width: 100%; }
.hero-form__note { font-size: var(--t-small); line-height: 1.5; color: var(--ink); margin: 0; }
@media (min-width: 640px) and (max-width: 1023px) {
  .hero--triptych .hero__cta { align-self: start; }
  .hero-form { max-width: 420px; }
}
@media (max-width: 639px) {
  .hero-form { gap: var(--s-3); }
  .hero-form .btn--primary { height: 48px; font-size: var(--t-body); }
  .hero-form .btn--secondary { display: none; }
  .hero--triptych .ly-collage { min-height: 200px; }
  .crawler__text a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero--triptych .hero__lead { margin-top: var(--s-3); }
}

/* the pieces: white report cards on the collage, each placed in % of it (the demos' style="" lives here) */
.pc { background: var(--rp-bg); color: var(--rp-ink); border: 1px solid var(--rp-line); border-radius: var(--r-md);
      box-shadow: 0 18px 40px -28px rgb(6 40 46 / .35); padding: var(--s-5); font: 400 14px/1.45 var(--font-text); }
.ly-collage .ly-piece.pc { display: flex; flex-direction: column; gap: var(--s-2); background: var(--rp-bg); }
.ly-collage .ly-piece.pc--head    { left: 4%;  top: 4%;  width: 92%; height: 30%; }
.ly-collage .ly-piece.pc--step    { left: 4%;  top: 37%; width: 55%; height: 59%; }
.ly-collage .ly-piece.pc--content { left: 62%; top: 37%; width: 34%; height: 38%; }
.ly-collage .ly-piece.pc--finding { left: 62%; top: 78%; width: 34%; height: 18%; }
.pc--step::after { content: ""; position: absolute; inset: auto 0 0 0; height: 56px; background: linear-gradient(transparent, var(--rp-bg)); }
.rp-brand { font: 500 12px/1 var(--font-mono); letter-spacing: .02em; color: var(--rp-muted); }
.rp-example { position: absolute; top: var(--s-4); right: var(--s-4); font: 500 12px/22px var(--font-text); font-style: normal;
               padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.hero__example { font-size: var(--t-small); line-height: 1.5; color: var(--ink); margin: var(--s-4) 0 0; max-width: 40ch; }
.hero__example a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rp-title { font: 500 20px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--rp-ink); }
.rp-meta { font-size: 13px; color: var(--rp-muted); }
.rp-kicker { font: 500 13px/1.3 var(--font-text); color: var(--rp-muted); }
.rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-2); }
.rp-kpis > div { display: grid; align-content: start; gap: 2px; padding: var(--s-3); border: 1px solid var(--rp-line); border-radius: var(--r-sm); }
.rp-kpis b { font: 500 24px/1.1 var(--font-display); color: var(--rp-ink); font-variant-numeric: tabular-nums; }
.rp-kpis span { font-size: 13px; line-height: 1.3; color: var(--rp-muted); }
.rp-step { font: 500 16px/1.35 var(--font-text); color: var(--rp-ink); }
.rp-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.rp-chips i, .fr--steps i, .rp-verdict i, .fr--topics i, .fr--verdicts i, .rp-badge {
  font-style: normal; font-size: 13px; line-height: 22px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
  background: var(--rp-chip); color: var(--rp-ink); }
i.is-impact { background: var(--rp-impact); color: var(--rp-impact-ink); }
i.is-ok { background: var(--rp-ok); color: var(--rp-ok-ink); }
i.is-issue { background: var(--rp-warn); color: var(--rp-warn-ink); }
i.is-fail, em.is-fail { background: var(--rp-fail); color: var(--rp-fail-ink); }
.rp-p { display: block; color: var(--rp-ink); }
.rp-verdict { display: grid; justify-items: start; gap: var(--s-1); padding: var(--s-2) 0; border-top: 1px solid var(--rp-line); }
.pc--finding { justify-content: center; }
.pc--finding b { font: 500 15px/1.35 var(--font-text); }
.pc--finding span { color: var(--rp-muted); font-size: 13px; }
.rp-badge { align-self: flex-start; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .ly-collage .ly-piece.pc--content { left: 62%; width: 34%; }
  .pc { padding: var(--s-4); }
  .rp-kpis span { font-size: 13px; }
}
@media (max-width: 1023px) {
  /* the head piece alone, filling the collage: the summary figures whole */
  .ly-collage .ly-piece.pc--step, .ly-collage .ly-piece.pc--content, .ly-collage .ly-piece.pc--finding { display: none; }
  .ly-collage .ly-piece.pc--head { left: 0; top: 0; width: 100%; height: 100%; justify-content: start; }
}
@media (max-width: 639px) {
  .pc { padding: var(--s-4); }
  .rp-title { font-size: 17px; }
  .ly-collage .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-collage .rp-kpis > div { padding: var(--s-2) var(--s-3); }
  .ly-collage .rp-kpis b { font-size: 20px; }
  .ly-collage .rp-kpis > div:nth-child(n+3) { display: none; }
}

/* ---- the report window (app-frame recipe, sections-library.md): its parts on the left, the open report right */
#report .grid { align-items: start; }
.report-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-5); }
.report-intro p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); margin: 0; max-width: 34ch; }
.report-links { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.report-intro p.report-sites { flex-basis: 100%; max-width: none; font-size: var(--t-small); color: var(--muted); }
.report-sites a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) {
  .report-intro .btn, .report-links { width: 100%; }
  .hero__example a { display: inline-block; min-height: 24px; }
  .ly-collage .rp-example { position: static; align-self: flex-start; }
}
.rw-in { position: relative; }
.rw-icon { width: 16px; height: 16px; flex: none; color: var(--rp-muted); }
.app.ui { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: var(--s-7); background: var(--rp-bg);
          border: 1px solid var(--rp-line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -36px rgb(6 40 46 / .4); overflow: hidden;
          color: var(--rp-ink); font: 400 15px/1.5 var(--font-text); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--rp-line); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--rp-bg)); pointer-events: none; }
.rw-side { background: var(--rp-soft); }
.rw-bar { display: flex; align-items: center; gap: var(--s-3); height: 48px; padding: 0 var(--s-4); border-bottom: 1px solid var(--rp-line); font-size: 13px; color: var(--rp-muted); }
.rw-bar b { color: var(--rp-ink); font-weight: 500; }
.rw-dots { display: flex; gap: 6px; } .rw-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e4; }
.rw-toc { list-style: none; margin: 0; padding: var(--s-3); display: grid; gap: 2px; }
.rw-toc li { display: flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-3); border-radius: var(--r-sm); font-size: 14px; }
.rw-toc li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.rw-toc li.is-on { background: var(--rp-bg); box-shadow: 0 0 0 1px var(--rp-line); font-weight: 500; }
.rw-toc em { font-style: normal; font-size: 12px; line-height: 20px; min-width: 24px; text-align: center; padding: 0 6px; border-radius: 999px; background: var(--rp-warn); color: var(--rp-warn-ink); }
.rw-doc { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6) var(--s-7); }
.rw-doc .rp-title { font-size: 26px; }
.rw-doc .rp-kicker { margin-top: var(--s-4); font: 500 18px/1.3 var(--font-display); color: var(--rp-ink); }
.rw-lead { display: block; max-width: 68ch; }
.rw-doc .rp-kpis { max-width: 720px; }
.rw-step { display: grid; gap: var(--s-2); padding: var(--s-4) var(--s-5); border: 1px solid var(--rp-line); border-radius: var(--r-sm); }
.rw-p { display: block; max-width: 68ch; }
@media (min-width: 1024px) and (max-width: 1279px) { .rw-doc { padding: var(--s-5); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--rp-line); }
  #report .grid > * { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); margin-top: var(--s-6); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
  .rw-doc { padding: var(--s-5) var(--s-4); }
  .rw-doc .rp-title { font-size: 20px; }
  .rw-doc .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #report .fill { min-height: 440px; }
}

/* ---- what the report contains (bento): one wide card and four small, each with a piece of the real report */
#contents .panel { --p-h: 216px; }
.bento { row-gap: var(--s-5); }
.fr { position: absolute; z-index: 1; left: var(--s-5); right: var(--s-5); top: var(--s-5); display: grid; gap: var(--s-2);
      padding: var(--s-4); background: var(--rp-bg); color: var(--rp-ink); border: 1px solid var(--rp-line); border-radius: var(--r-md);
      font: 400 14px/1.45 var(--font-text); box-shadow: 0 12px 30px -24px rgb(6 40 46 / .45); }

.fr--steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.fr--steps li { display: flex; align-items: center; gap: var(--s-2); min-height: 34px; border-top: 1px solid var(--rp-line); counter-increment: st; }
.fr--steps li:first-child { border-top: 0; }
.fr--steps li::before { content: counter(st); width: 20px; flex: none; font: 500 13px/1 var(--font-mono); color: var(--rp-muted); }
.fr--steps li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.fr--topics > div, .fr--verdicts > div { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 36px; border-top: 1px solid var(--rp-line); }
.fr--topics > div:first-child, .fr--verdicts > div:first-child { border-top: 0; }
.fr--topics span, .fr--verdicts span { min-width: 0; }
.fr--gsc { gap: var(--s-2); }
.fr-opt { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-2); }
.fr-check { width: 22px; height: 22px; border-radius: 6px; background: var(--p-action);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px; background-position: center; background-repeat: no-repeat; }
.fr--notchecked .rp-p + .rp-p { padding-top: var(--s-2); border-top: 1px solid var(--rp-line); }
.card > .card__lead { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--ink); max-width: 52ch; }
@media (min-width: 1024px) { .card--row > .card__lead { min-height: 2lh; } }
@media (max-width: 1023px) { .bento > .card { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  #contents { --hm: 2; }
  #contents .panel { --p-h: 168px; }
  .fr { left: var(--s-4); right: var(--s-4); top: var(--s-4); padding: var(--s-3); }
  .fr--steps li:nth-child(n+4), .fr--steps li i { display: none; }
  .fr--steps li span { white-space: normal; }
}

/* ---- how it works: three cards, each with the real form or page of that step */
#steps .panel { --p-h: clamp(260px, 100svh - 470px, 520px); }
.step-num + .card__lead { margin-top: var(--s-4); }
.fr--form, .fr--account { left: 50%; right: auto; width: min(300px, calc(100% - 2 * var(--s-5))); transform: translateX(-50%); top: var(--s-6); gap: var(--s-2); }
.fr-label { font-size: 13px; font-weight: 500; color: var(--rp-ink); }
.fr-input { display: flex; align-items: center; height: 40px; padding: 0 var(--s-3); border: 1px solid #c7cfce; border-radius: var(--r-sm); color: var(--rp-ink); font-size: 14px; }
.fr-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; margin-top: var(--s-2); border-radius: var(--r-sm); background: var(--p-action); color: var(--p-action-ink); font-weight: 500; font-size: 14px; }
.fr-radio { display: flex; align-items: center; gap: var(--s-2); min-height: 30px; font-size: 14px; }
.fr-radio::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1px solid #9aa6a5; background: #fff; }
.fr-radio.is-on::before { border: 5px solid var(--p-action); }
.fr--account b { font: 500 16px/1.3 var(--font-text); }
.fr-row { display: flex; justify-content: space-between; padding: var(--s-2) 0; border-top: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); color: var(--rp-muted); font-variant-numeric: tabular-nums; }
.fr-link { text-align: center; color: var(--p-action); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
@media (max-width: 1023px) { #steps .grid > .card { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  #steps { --hm: 2; }
  #steps .panel { --p-h: 290px; }
  .fr--form, .fr--account { top: var(--s-4); }
}

/* ---- prices: the plans as live rows on span-5, the real order form beside them on span-6 start-7 */
.prices { align-items: start; }
.prices__intro { display: flex; flex-direction: column; gap: var(--s-4); }
.prices__intro > p { margin: 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink); }
.prices__intro .refund { font-size: var(--t-body); color: var(--ink); }
.plans { list-style: none; margin: var(--s-4) 0 var(--s-2); padding: 0; display: grid; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.plan:last-child { border-bottom: 1px solid var(--line); }
.plan__name { font: 500 var(--t-card)/1.3 var(--font-text); }
.plan__price { font: var(--display-weight) var(--t-stat)/1 var(--font-display); letter-spacing: var(--display-tracking); text-align: right; grid-row: span 2; }
.plan__price small { display: block; font: 400 var(--t-small)/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); margin-top: var(--s-1); }
.plan__line { color: var(--ink); max-width: 40ch; }
.order-frame { position: relative; align-self: start; height: max(520px, 100svh - 192px); border-radius: var(--r-lg); overflow: hidden;
  background-color: var(--ground-bg);
  background-image: radial-gradient(70% 90% at 12% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 70%),
                    radial-gradient(60% 80% at 100% 100%, color-mix(in oklab, var(--ground-accent) 34%, var(--ground-bg)), transparent 72%); }
.order-frame { padding: var(--s-5); }
.order-frame::before { display: none; }
.frame > .fr--order { position: relative; inset: auto; width: min(400px, 100%); gap: var(--s-2); padding: var(--s-5); }
.fr-title { font: 500 20px/1.25 var(--font-display); margin-bottom: var(--s-2); }
.fr-select { justify-content: space-between; }
.fr-select::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--rp-muted); border-bottom: 1.5px solid var(--rp-muted); transform: rotate(45deg) translateY(-3px); }
.fr--order .fr-label { margin-top: var(--s-2); }
.fr--order .fr-opt { padding-top: var(--s-2); }
.fr-note { color: var(--rp-muted); font-size: 13px; }
@media (max-width: 1023px) { .prices > * { grid-column: 1 / -1; } .order-frame { height: 560px; margin-top: var(--s-6); } }
@media (max-width: 639px) {
  #prices { --hm: 2; }
  .plan__price { font-size: 28px; }
  .order-frame { height: 820px; }
  .prices__intro .btn-row .btn { width: 100%; }
}

/* ---- what we read: the words on span-5, the crawler's first requests on span-6 start-8 */
.crawler { align-items: stretch; }
.crawler__text { align-content: start; }
.crawler__text { display: grid; gap: var(--s-4); }
.crawler__text p { margin: 0; font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }
.log { position: relative; background: #0f1f3d; color: #d9e2f1; border-radius: var(--r-lg); overflow: hidden; font: 400 14px/1.5 var(--font-mono); min-height: 0; }
.log__in { background: #0f1f3d; }
.log::after { content: ""; position: absolute; inset: auto 0 0 0; height: 72px; background: linear-gradient(transparent, #0f1f3d); pointer-events: none; }
.log__bar { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid rgb(255 255 255 / .1); font-family: var(--font-text); font-size: 13px; color: #a9b8d6; }
.log__bar b { color: #ffffff; font-weight: 500; }
.log__rows { list-style: none; margin: 0; padding: var(--s-3) var(--s-5) var(--s-5); display: grid; }
.log__rows li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px 64px; gap: var(--s-3); align-items: center; min-height: 36px; border-top: 1px solid rgb(255 255 255 / .06); }
.log__rows li:first-child { border-top: 0; }
.log__rows i { font-style: normal; color: #8fd0c6; }
.log__rows span { overflow-wrap: anywhere; }
.log__rows em { font-style: normal; color: #9be0a8; }
.log__rows small { font-size: 13px; color: #a9b8d6; text-align: right; }
@media (max-width: 1023px) { .crawler > * { grid-column: 1 / -1; } #crawler .crawler.fill { flex: none; } .log { margin-top: var(--s-6); height: 560px; } }
@media (max-width: 639px) {
  .log { height: 380px; }
  .log__rows li { grid-template-columns: 44px minmax(0, 1fr) 32px; }
  .log__rows small { display: none; }
  .log__bar span { display: none; }
}

/* ---- questions (faq recipe, T-112): the h2 and the mail link on span-4, the kit's .faq on span-7 start-6;
   every answer open, no accordion, no script */
.faq-grid { align-items: start; row-gap: var(--s-6); }
.faq__head { display: grid; gap: var(--s-3); }
.faq__head p { margin: 0; font-size: var(--t-lead); line-height: 1.5; }
.faq__head h2 { margin-bottom: var(--s-2); }
.faq__item h3 { margin: 0; }
.faq__item p { margin: 0; }
.faq__item p a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px;
  transition: text-decoration-color var(--dur) var(--ease); }
.faq__item p a:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) { .faq-grid > * { grid-column: 1 / -1; } }
@media (max-width: 639px) { .faq__head .link { min-height: 44px; overflow-wrap: anywhere; } }

/* ---- the close (close-word) on the dark footer; the name across the .wrap */
.close--word .section-head--row p { margin: 0; color: var(--ink); font-size: var(--t-lead); max-width: 44ch; }
.close__word { line-height: 1; padding-bottom: .04em; }
.close--word .section-head--row .btn--primary { height: 64px; padding-inline: var(--s-6); font-size: var(--t-lead); }
.footer--dark .footer__lede { color: var(--ink); }
.footer--dark .footer__legal a { color: var(--ink); }
@media (max-width: 639px) {
  .close--word .section-head--row .btn--primary { width: 100%; height: 48px; font-size: var(--t-body); }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* ---- the nav panel: three cards, each a small piece of the product */
.menu-card .panel { --p-h: 160px; min-height: 160px; }
.mc { position: absolute; z-index: 1; left: var(--s-5); right: var(--s-5); top: var(--s-5); padding: var(--s-4); background: var(--rp-bg); color: var(--rp-ink);
      border: 1px solid var(--rp-line); border-radius: var(--r-md); font: 400 14px/1.4 var(--font-text); }
.mc--kpi { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-3); align-items: baseline; }
.mc--kpi b { font: 500 22px/1.1 var(--font-display); }
.mc--steps, .mc--mail { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.mc--steps span, .mc--mail span { flex-basis: 100%; font-weight: 500; }
.mc i { font-style: normal; font-size: 13px; line-height: 22px; padding: 0 10px; border-radius: 999px; background: var(--rp-chip); }
.mc--mail i { background: var(--p-action); color: var(--p-action-ink); border-radius: var(--r-sm); line-height: 32px; padding: 0 var(--s-3); }

/* ---- screens on a short desktop and on the tablet (layout-v4.md: a section is one or two screens wherever it stands) */
@media (min-width: 1024px) and (max-height: 860px) {
  #contents { --h: 2; }
  #contents .panel { --p-h: 300px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #contents, #steps { --h: 2; }
  #contents .panel { --p-h: 230px; }
  #steps .panel { --p-h: 300px; }
  /* the prices stay a split on the tablet: the plans left, the order form right */
  #prices .prices > .prices__intro { grid-column: 1 / span 6; }
  #prices .prices > .order-frame { grid-column: 7 / span 6; margin-top: 0; height: max(560px, 100svh - 240px); }
}

/* =================================================================================================
   Inner pages (T-120 step b): base.html and every page that extends it (legal, crawler, sign-in,
   account, order, payment, free check, messages). The landing's system, not its screen rhythm: these
   are documents and forms, so main holds no section of a screen each; the header bar, the type, the
   white report surface, the lit sky frame and the dark footer are the landing's own.
   ================================================================================================= */
.inner { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.inner > .page { flex: 1 0 auto; padding-top: calc(var(--nav) + var(--s-9)); }
.inner > .page > .wrap { padding-bottom: var(--s-10); }
.page h1 { font-size: var(--t-h2); line-height: 1.1; max-width: 22ch; }
.page p { max-width: 68ch; }
.page .lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink); max-width: 52ch; }
.page .refund { font-size: var(--t-body); color: var(--ink); }
@media (max-width: 639px) { .inner > .page { padding-top: calc(var(--nav) + var(--s-7)); } .inner > .page > .wrap { padding-bottom: var(--s-9); } }

/* the bar: the logo, then the page's few words at the right line; no menu sheet without script, so they
   stay in the bar at every width */
.nav--inner .nav__actions { margin-left: auto; }
@media (max-width: 1023px) {
  .nav.nav--inner:not(.is-open) .nav__actions > .nav__link { display: inline-flex; }
}
@media (max-width: 639px) {
  .nav--inner .nav__actions { gap: var(--s-2); }
  .nav--inner .nav__actions > .nav__link { height: 44px; padding-inline: var(--s-2); font-size: var(--t-small); }
}

/* the dark footer under a page: the landing's columns and legal row, one line of lede */
.page-foot .footer__lede { font-size: var(--t-lead); line-height: 1.4; max-width: 30ch; }
.page-foot .footer__legal { margin-top: var(--s-8); }
@media (max-width: 639px) { .page-foot .footer__legal { flex-direction: column; align-items: flex-start; gap: 0; } }

/* links: a quiet underline that fills on hover (the kit's p a look, for a link standing alone) */
.back, .link-quiet { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease); }
.back:hover, .link-quiet:hover { text-decoration-color: currentColor; }
.back::before { content: "\2190"; margin-right: var(--s-2); text-decoration: none; display: inline-block; transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .back:hover::before { transform: translateX(-3px); } }
.link-quiet { font-weight: 400; color: var(--muted); }
.btn--wide { width: 100%; }

/* messages: an error in the report's red, a notice on the surface, a done notice in the report's green */
.error { margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: var(--rp-fail); color: var(--rp-fail-ink);
  font-weight: 500; font-size: var(--t-body); line-height: 1.5; }
.error--big { font-size: var(--t-lead); padding: var(--s-4) var(--s-5); }
.notice { margin: 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--p-surface); color: var(--ink);
  font-size: var(--t-body); line-height: 1.5; max-width: none; }
.notice--ok { background: var(--rp-ok); color: var(--rp-ok-ink); }

/* ---- split: the words on span-5, the form as a white card on the lit sky frame on span-6 start-7 */
.split { align-items: start; row-gap: var(--s-7); }
.split__text { display: flex; flex-direction: column; gap: var(--s-5); }
.split__text > p { margin: 0; }
.form-frame { display: grid; place-items: center; min-height: 440px; padding: var(--s-8) var(--s-6); border-radius: var(--r-lg);
  background-color: var(--ground-bg);
  background-image: radial-gradient(70% 90% at 12% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 70%),
                    radial-gradient(60% 80% at 100% 100%, color-mix(in oklab, var(--ground-accent) 34%, var(--ground-bg)), transparent 72%); }
.form-card { display: grid; gap: var(--s-4); width: min(440px, 100%); padding: var(--s-6); background: var(--rp-bg); color: var(--p-ink);
  border: 1px solid var(--rp-line); border-radius: var(--r-md); box-shadow: 0 18px 40px -28px rgb(6 40 46 / .35);
  --bg: var(--rp-bg); }
.form-card p, .form-card form { margin: 0; }
.form-card > form { display: grid; gap: var(--s-4); }
.form-card__alt { text-align: center; }
.form-card .field select, .cabinet .field select { appearance: none; padding-right: var(--s-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23163f8f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.choice { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; }
.choice > legend { padding: 0; margin-bottom: var(--s-1); font-size: var(--t-small); font-weight: 500; }
.choice__row { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; font-size: var(--t-body); cursor: pointer; }
.choice__row input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--p-action); }
/* the order page: on a phone the form comes right after the heading, the plans under it */
.split--order { row-gap: var(--s-6); }
.split--order .plans { margin-top: 0; }
@media (min-width: 1024px) {
  .split--order > .split__head { grid-column: 1 / span 5; grid-row: 1; }
  .split--order > .split__more { grid-column: 1 / span 5; grid-row: 2; }
  .split--order > .form-frame { grid-column: 7 / span 6; grid-row: 1 / span 2; }
}
@media (max-width: 1023px) {
  .split > * { grid-column: 1 / -1; }
  .form-frame { min-height: 0; padding: var(--s-7) var(--s-5); }
}
@media (max-width: 639px) {
  .form-frame { padding: var(--s-5) var(--s-4); }
  .form-card { padding: var(--s-5); }
}

/* ---- a page that only says something: the words on span-7 */
.status__text { display: flex; flex-direction: column; gap: var(--s-5); }
.status__text > p { margin: 0; }

/* ---- documents: the text on span-8 at 68 characters, the legal pages' list on span-3 start-10 */
.doc { align-items: start; row-gap: var(--s-8); }
.prose { font-size: var(--t-body); line-height: 1.65; }
.prose > .notice { margin-bottom: var(--s-6); }
.prose h1 { margin-bottom: var(--s-6); }
.prose h2 { font-size: var(--t-h3); line-height: 1.2; margin: var(--s-7) 0 var(--s-4); }
.prose h1 + h2 { margin-top: 0; }
.prose p, .prose ul, .prose pre { margin: 0 0 var(--s-4); max-width: 68ch; }
/* hanging bullets: the text keeps the column's left line, the bullet sits in the margin */
.prose ul { list-style: disc outside; padding-left: 0; }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--muted); }
.prose li a:not([class]) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose li a:not([class]):hover { text-decoration-color: currentColor; }
.prose a { overflow-wrap: anywhere; }
.prose code { font-family: var(--font-mono); font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--p-surface); overflow-wrap: anywhere; }
/* a robots.txt rule: the landing's crawler log ground */
.prose pre { padding: var(--s-5); border-radius: var(--r-md); background: #0f1f3d; color: #d9e2f1; font: 400 15px/1.6 var(--font-mono); overflow-x: auto; }
.doc-nav ul { display: grid; border-left: 1px solid var(--line); }
.doc-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); margin-left: -1px; border-left: 2px solid transparent;
  color: var(--muted); font-size: var(--t-body); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.doc-nav a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.doc-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; border-left-color: var(--p-action); }
@media (max-width: 1023px) {
  .doc > * { grid-column: 1 / -1; }
  .doc-nav { padding-top: var(--s-5); border-top: 1px solid var(--line); }
  .doc-nav ul { border-left: 0; }
  .doc-nav a { padding: 0; margin: 0; border-left: 0; }
  .doc-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--p-action); }
}

/* ---- the account: the head row, the sites as white report boxes on span-8, the forms on span-4 start-9 */
.cabinet__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.cabinet > .notice { margin-bottom: var(--s-5); }
.cabinet__grid { align-items: start; }
.cabinet__main, .cabinet__side { display: grid; gap: var(--card-gap); align-content: start; }
.box { display: grid; gap: var(--s-5); min-width: 0; padding: var(--s-6); background: var(--rp-bg); color: var(--p-ink);
  border: 1px solid var(--rp-line); border-radius: var(--r-lg); --bg: var(--rp-bg); }
.box > h2, .box__title { font: var(--display-weight) 24px/1.25 var(--font-display); letter-spacing: var(--display-tracking); overflow-wrap: anywhere; }
.inline-form .box__title { flex: 1 0 100%; }
.box p, .box form { margin: 0; }
.box form { display: grid; gap: var(--s-4); justify-items: start; }
.box form > p { width: 100%; }
.box--lit { border: 0; background-color: var(--ground-bg);
  background-image: radial-gradient(80% 100% at 0% 0%, color-mix(in oklab, var(--ground-surface) 92%, white), transparent 72%); --bg: #ffffff; }
.box--lit .field input { background: #ffffff; }
.box--empty p { font-size: var(--t-lead); line-height: 1.5; }
.site__sub, .site__gsc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5);
  padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--rp-soft); }
.site__sub p, .site__gsc p { flex: 1 1 280px; overflow-wrap: anywhere; }
.site__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.site__gsc p.gsc-tick { flex-basis: 100%; margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm, 8px); font-weight: 500;
  background: var(--rp-fail); color: var(--rp-fail-ink); border-left: 4px solid currentColor; }
.alerts { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--rp-fail); color: var(--rp-fail-ink); }
.alerts__head { font-weight: 500; margin-bottom: var(--s-2) !important; }
.alerts ul { display: grid; gap: var(--s-1); list-style: disc; padding-left: 1.25em; }
.unpaid li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--rp-line); }
.unpaid li:first-child { border-top: 0; padding-top: 0; }
.inline-form { display: flex !important; flex-wrap: wrap; align-items: end; gap: var(--s-3) !important; }
.inline-form .field { flex: 1 1 160px; }
.audits { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.audits th { padding: 0 var(--s-3) var(--s-2); border-bottom: 1px solid var(--rp-line); text-align: left; font: 500 var(--t-label)/1.4 var(--font-text); color: var(--rp-muted); white-space: nowrap; }
.audits td { padding: var(--s-3); border-bottom: 1px solid var(--rp-line); vertical-align: middle; }
.audits :is(th, td):first-child { padding-left: 0; }
.audits :is(th, td):last-child { padding-right: 0; }
.audits .num { text-align: right; }
.audits__links { text-align: left; white-space: nowrap; }
.audits__links a + a { margin-left: var(--s-4); }
.audits__open, .audits__pdf { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease); }
.audits__open { font-weight: 500; }
.audits__pdf { color: var(--muted); }
.audits__open:hover, .audits__pdf:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) {
  .cabinet__grid > * { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .box { padding: var(--s-5) var(--s-4); }
  .cabinet__head .btn { width: 100%; }
  /* the table as one block a row: each value under its column's name */
  .audits thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .audits tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--rp-line); }
  .audits td { display: grid; gap: 2px; padding: 0; border: 0; text-align: left !important; }
  .audits td[data-label]::before { content: attr(data-label); font: 500 var(--t-label)/1.4 var(--font-text); color: var(--rp-muted); }
  .audits__links { grid-column: 1 / -1; display: flex !important; flex-wrap: wrap; gap: 0 var(--s-5); white-space: normal; }
  .audits__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .audits__links a + a { margin-left: 0; }
}

/* T-108: the language switch. On a page without a language prefix it is a POST form whose buttons
   look like the footer's links; the current language is marked on both kinds. */
.lang-switch button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.lang-switch button:hover { color: var(--action); }
.lang-switch [aria-current] { font-weight: 600; }
@media (max-width: 639px) { .lang-switch button { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; } }
