/* Engineering Drawing Checker. Tokens taken from the findings report:
   ink, sheet lines, and the three priorities (Must fix red, Please check amber, Suggestion blue). */
:root {
  --paper: #ffffff;
  --sheet-line: #cdd5de;
  --ink: #1c2633;
  --ink-soft: #4a5767;
  --must: #c2182b;
  --check: #a86a12;
  --suggest: #3d6894;
  --tint: #f4f6f8;
  --navy: #13233a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Barlow", system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--suggest); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { font-weight: 700; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-top { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; line-height: 1; }
.brand-main { font-weight: 700; font-size: 29px; line-height: .95; letter-spacing: -.015em; }
.topnav { display: flex; gap: 24px; align-items: center; font-size: 16px; }
.topnav a { text-decoration: none; color: var(--ink-soft); }
.topnav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 600 17px/1 "Barlow", sans-serif; text-decoration: none; border-radius: 3px; border: 2px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c3a4c; border-color: #2c3a4c; }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--tint); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; margin: 0 0 22px; }
.lede { font-size: 20px; color: var(--ink-soft); margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scope-line { margin: 22px 0 0; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.scope-line::before { content: ""; width: 4px; align-self: stretch; background: var(--must); border-radius: 2px; }

/* The sheet */
.sheet-figure { margin: 0; }
.sheet { width: 100%; height: auto; display: block; }
.sheet .zl { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 13px; fill: var(--ink-soft); }
.sheet .part { fill: none; stroke: var(--ink); stroke-width: 2; }
.sheet .thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.sheet .faint { fill: none; stroke: var(--sheet-line); stroke-width: 1; }
.sheet .tb { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 11px; fill: var(--ink); }
.sheet .dt { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 12px; fill: var(--ink); }
.mark { opacity: 0; transform-box: fill-box; transform-origin: center; animation: mark-in .5s ease-out forwards; }
.mark circle { fill: none; stroke-width: 2.5; }
.mark text { font: 700 13px "Barlow", sans-serif; }
.mark.must { stroke: var(--must); } .mark.must text { fill: var(--must); stroke: none; }
.mark.check { stroke: var(--check); } .mark.check text { fill: var(--check); stroke: none; }
.mark.suggest { stroke: var(--suggest); } .mark.suggest text { fill: var(--suggest); stroke: none; }
.fix-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.fix-list li { opacity: 0; animation: line-in .45s ease-out forwards; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; line-height: 1.4; }
.fix-num { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.fix-list .where { font-weight: 600; }
.fix-list .txt { color: var(--ink); }
@keyframes mark-in { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: scale(1); } }
@keyframes line-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mark, .fix-list li { animation: none; opacity: 1; } }
.must { color: var(--must); } .check { color: var(--check); } .suggest { color: var(--suggest); }

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid var(--sheet-line); }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.soft { color: var(--ink-soft); }

/* Scope: we check / we don't check */
.scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--sheet-line); border-radius: 4px; }
.scope > div { padding: 28px 32px; }
.scope > div + div { border-left: 1px solid var(--sheet-line); background: var(--tint); }
.scope ul { margin: 10px 0 0; padding-left: 20px; }
.scope li { margin: 8px 0; }
.scope .yes h3 { color: var(--ink); }
.scope .no h3 { color: var(--must); }

/* Process */
.process-art { margin: 32px 0 0; border-radius: 6px; overflow: hidden; background: var(--navy); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 34px; line-height: 1; margin-bottom: 12px; }
.steps p { font-size: 17px; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 28px; }
.checks > div { padding: 18px 0; border-bottom: 1px solid var(--sheet-line); }
.checks p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* Sample report */
.report { margin-top: 32px; border: 1px solid var(--sheet-line); border-radius: 4px; padding: 28px 32px; background: var(--paper);
  box-shadow: 0 1px 0 var(--sheet-line), 0 18px 40px -28px rgba(28, 38, 51, .35); max-width: 820px; }
.report-head { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.report-scope { font-size: 14px; color: var(--ink-soft); border-left: 3px solid var(--sheet-line); padding-left: 10px; margin: 12px 0 0; }
.report-group { margin-top: 22px; }
.report-group h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.swatch { width: 12px; height: 12px; border-radius: 2px; background: currentColor; display: inline-block; }
.report ol { margin: 6px 0 0; padding-left: 26px; font-size: 16px; color: var(--ink); }
.report li { margin: 4px 0; }

/* Reviewer */
.reviewer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border: 2px dashed var(--check); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--check); font-weight: 600; padding: 12px; background: #fdf6ea; }

/* Placeholders to fill before launch */
.tbd { display: inline-block; border: 2px dashed var(--check); color: var(--check); background: #fdf6ea; padding: 0 8px; border-radius: 3px; font-weight: 700; }

.handling { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.handling ul { margin: 0; padding-left: 20px; }
.handling li { margin: 8px 0; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; margin-top: 20px; }
.price strong { font-size: 44px; line-height: 1; }

details { border-bottom: 1px solid var(--sheet-line); padding: 16px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

.closing { padding: 80px 0; border-top: 1px solid var(--sheet-line); }
footer { border-top: 1px solid var(--sheet-line); padding: 28px 0 40px; font-size: 15px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .checks, .handling, .scope { grid-template-columns: 1fr; }
  .scope > div + div { border-left: 0; border-top: 1px solid var(--sheet-line); }
  .handling { gap: 28px; }
  .reviewer { grid-template-columns: 1fr; gap: 24px; }
  .portrait { max-width: 220px; }
  .topnav .hide-sm { display: none; }
  section.block { padding: 56px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .scope > div { padding: 22px 20px; }
  .report { padding: 22px 20px; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--sheet-line); border-radius: 4px; }
.plan { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--sheet-line); }
.plan h3 { margin: 0; font-size: 22px; }
.plan-sub { margin: 2px 0 14px; color: var(--ink-soft); font-size: 16px; }
.plan-price { font-size: 44px; line-height: 1; font-weight: 700; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0; padding-left: 20px; font-size: 17px; }
.plan li { margin: 6px 0; }
.plan-note { margin: 20px 0 24px; font-size: 16px; }
.plan-rush { margin-top: auto; padding: 14px 16px; background: #fdf3e2; border-left: 4px solid var(--check); border-radius: 0 4px 4px 0; }
.plan ul { margin-bottom: 20px; }
.rush-tag { display: inline-block; font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--check); padding: 2px 8px; border-radius: 3px; }
.plan-rush p { margin: 8px 0 0; font-size: 16px; line-height: 1.3; }
.plan-rush .rush-offer { margin-top: 2px; font-size: 22px; font-weight: 700; }
.rush-fee { color: var(--check); white-space: nowrap; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--sheet-line); }
}

/* Privacy and terms pages */
.legal { max-width: 72ch; padding: 24px 0 64px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 6px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin: 6px 0; }

@media (max-width: 560px) {
  .brand { gap: 8px; }
  .brand svg { width: 40px; height: 40px; }
  .brand-top { font-size: 10px; }
  .brand-main { font-size: 23px; }
}
