/* SchoolCAD marketing site
   Layout concept: a drafting sheet. Cool paper ground, white "sheets" for content,
   one live guided-step demo as the hero; dimension lines and sketch points are the
   only ornament, and they always mean something.
   Light only by design: the marketing site does not follow the device's dark mode. */

@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("../fonts/atkinson-hyperlegible-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* colour: Drafting Blue (primary, matches the app), Defined Ink, Timber, Paper, Check Green, Next-step Amber */
  --paper: #f3f5f9;
  --sheet: #ffffff;
  --ink: #161b26;
  --muted: #566073;
  --line: #d9dee7;
  --line-strong: #7d8696;
  --blue: #2a55c9;
  --blue-strong: #1f44a8;
  --blue-weak: #e4eafb;
  --on-blue: #ffffff;
  --timber: #a1583a;
  --timber-weak: #f5e8e1;
  --ok: #23703f;
  --ok-weak: #e1f1e7;
  --amber: #8f5600;
  --amber-weak: #fbefd9;
  --grid: rgba(42, 85, 201, 0.07);
  --shadow: 0 1px 2px rgba(22, 27, 38, 0.06), 0 10px 30px rgba(22, 27, 38, 0.07);

  /* type */
  --display: "Lexend", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --t-xs: 0.8125rem; --t-sm: 0.9375rem; --t-md: 1.0625rem; --t-lg: 1.25rem;
  --t-xl: 1.625rem; --t-2xl: 2.125rem; --t-3xl: clamp(2.25rem, 4.6vw, 3.5rem); --t-hero: clamp(2.75rem, 7vw, 5rem);

  /* space and shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --r-sm: 6px; --r: 10px; --r-lg: 16px;
  --wrap: 1160px;
  --measure: 66ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--t-md); line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--sheet); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: var(--t-3xl); font-weight: 650; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); letter-spacing: -0.005em; }
p { margin: 0; }
p, li { max-width: var(--measure); }
ul, ol { margin: 0; padding-left: 1.2em; }
code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
code { background: var(--blue-weak); color: var(--blue-strong); padding: 0.05em 0.35em; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 16px; }

/* wrappers */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: var(--s8); }
.band + .band { padding-top: 0; }
.band.sheet { background: var(--sheet); border-block: 1px solid var(--line); padding-block: var(--s8); }
.band.sheet + .band { padding-top: var(--s8); }
.stack { display: grid; gap: var(--s4); align-content: start; }
.stack-lg { display: grid; gap: var(--s6); }
.lede { font-size: var(--t-lg); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 760px; }
.section-head p { color: var(--muted); font-size: var(--t-lg); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--sheet) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 68px; flex-wrap: wrap; padding-block: var(--s2); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: var(--s1); flex: 1; justify-content: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: var(--t-sm); padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.nav a:hover { background: var(--blue-weak); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-weak); font-weight: 700; }
.header-cta { flex: none; }
@media (max-width: 900px) {
  .site-header .wrap { gap: var(--s2) var(--s4); }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -6px; padding-bottom: 4px; scrollbar-width: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 420px) { .header-cta .btn { padding: 9px 12px; } .brand svg { height: 30px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: var(--t-sm); line-height: 1.2; padding: 12px 18px; border-radius: var(--r-sm); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-strong); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { font-size: var(--t-md); padding: 14px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* status tags */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.4; white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-live { color: var(--ok); background: var(--ok-weak); }
.tag-soon { color: var(--amber); background: var(--amber-weak); }
.tag-plain { color: var(--blue); background: var(--blue-weak); }
.tag-plain::before { display: none; }

/* hero */
.hero { background: var(--sheet); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px; mask-image: linear-gradient(105deg, transparent 30%, #000 70%); -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s7); align-items: center; padding-block: var(--s8) var(--s8); }
.hero h1 { font-size: var(--t-hero); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; }
.hero .lede { margin-top: var(--s5); max-width: 34ch; color: var(--ink); opacity: .82; }
.hero .btn-row { margin-top: var(--s6); }
.hero-notes { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); padding: 0; list-style: none; font-size: var(--t-sm); color: var(--muted); }
.hero-notes li { display: inline-flex; gap: 8px; align-items: center; }
.hero-notes svg { color: var(--ok); flex: none; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; padding-block: var(--s7); } }

.page-hero { background: var(--sheet); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: var(--s8) var(--s7); display: grid; gap: var(--s4); }
.page-hero .lede { max-width: 60ch; }
.crumb { font-family: var(--mono); font-size: var(--t-xs); color: var(--blue); letter-spacing: 0.02em; }

/* the guided-step demo */
.demo { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: var(--s3); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sheet); font-size: var(--t-xs); color: var(--muted); }
.demo-bar b { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: var(--t-sm); }
.demo-bar .tools { margin-left: auto; display: flex; gap: 4px; }
.demo-bar .tools span { font-family: var(--mono); padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); background: var(--paper); transition: background-color .3s, color .3s, border-color .3s; }
.demo-bar .tools span.on { background: var(--amber-weak); border-color: var(--amber); color: var(--amber); font-weight: 700; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.demo-stage { position: relative; min-height: 300px; border-right: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
.demo-stage svg { display: block; width: 100%; height: 100%; }
.demo-stage .geo { fill: none; stroke: #2463d9; stroke-width: 2.25; transition: stroke .5s; }
.demo[data-step="3"] .geo, .demo[data-step="4"] .geo, .demo[data-step="5"] .geo { stroke: var(--ink); }
.demo-stage .pt { fill: var(--sheet); stroke: #2463d9; stroke-width: 1.75; transition: stroke .5s; }
.demo[data-step="3"] .pt, .demo[data-step="4"] .pt, .demo[data-step="5"] .pt { stroke: var(--ink); }
.demo-stage .dim { stroke: var(--muted); stroke-width: 1; fill: none; }
.demo-stage .dim-text { font-family: var(--mono); font-size: 12px; fill: var(--ink); }
.demo-stage .dims, .demo-stage .thick { opacity: 0; transition: opacity .5s; }
.demo[data-step="3"] .dims, .demo[data-step="4"] .dims, .demo[data-step="5"] .dims { opacity: 1; }
.demo[data-step="4"] .thick, .demo[data-step="5"] .thick { opacity: 1; }
.demo-stage .thick path { fill: var(--blue-weak); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.demo-stage .origin { fill: #c0362b; }
.demo-stage .state { position: absolute; left: 12px; bottom: 10px; font-size: var(--t-xs); font-family: var(--mono); padding: 3px 8px; border-radius: 5px; background: var(--sheet); border: 1px solid var(--line); }
.demo-stage .state .free { color: #2463d9; }
.demo-stage .state .def { color: var(--ok); display: none; }
.demo[data-step="3"] .state .free, .demo[data-step="4"] .state .free, .demo[data-step="5"] .state .free { display: none; }
.demo[data-step="3"] .state .def, .demo[data-step="4"] .state .def, .demo[data-step="5"] .state .def { display: inline; }
.demo-card { background: var(--sheet); padding: 16px; display: grid; gap: 12px; align-content: start; }
.demo-card .card-kicker { font-size: var(--t-xs); color: var(--muted); }
.demo-card h3 { font-size: var(--t-md); }
.demo-card .also { font-size: var(--t-xs); color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: c; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: var(--t-sm); line-height: 1.4; padding: 6px 8px; border-radius: var(--r-sm); transition: background-color .3s; }
.checklist .box { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; margin-top: 1px; transition: background-color .3s, border-color .3s; }
.checklist .box svg { opacity: 0; transition: opacity .25s; }
.checklist li.done .box { background: var(--ok); border-color: var(--ok); color: var(--sheet); }
.checklist li.done .box svg { opacity: 1; }
.checklist li.done span:last-child { color: var(--muted); }
.checklist li.now { background: var(--amber-weak); }
.checklist li.now .box { border-color: var(--amber); }
.demo-card .hint { font-size: var(--t-xs); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
@media (max-width: 560px) { .demo-body { grid-template-columns: 1fr; } .demo-stage { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; } .demo-bar .tools span:nth-child(n+3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .demo *, .demo { transition: none !important; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.fact { display: grid; gap: var(--s2); align-content: start; padding-top: var(--s4); border-top: 2px solid var(--ink); }
.fact .n { font-family: var(--display); font-size: var(--t-2xl); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* two-column text blocks */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s7); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s5); } }

/* support ladder: modes ordered from most to least support */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; }
.rung { padding: var(--s5); display: grid; gap: var(--s3); align-content: start; border-left: 1px solid var(--line); }
.rung:first-child { border-left: 0; }
.rung .level { display: flex; gap: 3px; }
.rung .level i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.rung .level i.f { background: var(--blue); }
.rung h3 { font-size: var(--t-md); }
.rung p { font-size: var(--t-sm); color: var(--muted); }
.ladder-axis { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--muted); margin-top: var(--s3); font-family: var(--mono); }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } .rung:nth-child(3) { border-left: 0; } .rung:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .ladder { grid-template-columns: 1fr; } .rung { border-left: 0; border-top: 1px solid var(--line); } .rung:first-child { border-top: 0; } }

/* term chips */
.terms { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.terms li { font-family: var(--mono); font-size: var(--t-sm); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--sheet); }

/* cut list / data tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; font-family: var(--body); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); white-space: nowrap; }
td .yes { color: var(--ok); font-weight: 700; }
td .no { color: var(--muted); }
caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: var(--t-xs); color: var(--muted); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; }
.compare td:first-child { min-width: 220px; }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.grid-3 > *, .grid-2 > * { min-width: 0; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.feature { display: grid; gap: var(--s2); align-content: start; }
.feature .ico { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--blue-weak); color: var(--blue); margin-bottom: var(--s2); }
.feature h3 { font-size: var(--t-md); }
.feature p, .feature li { color: var(--muted); font-size: var(--t-sm); }
.feature ul { display: grid; gap: 4px; }

/* panels */
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.panel-blue { background: var(--blue); color: var(--on-blue); border-color: var(--blue); }
.panel-blue a { color: var(--on-blue); }
.panel-blue .muted, .panel-blue p { color: color-mix(in srgb, var(--on-blue) 86%, transparent); }
.panel-timber { background: var(--timber-weak); border-color: color-mix(in srgb, var(--timber) 35%, transparent); }

/* founding schools CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s6); align-items: center; }
.cta h2 { color: inherit; }
.cta .btn-primary { background: var(--on-blue); color: var(--blue); }
.cta .btn-primary:hover { background: var(--paper); color: var(--blue-strong); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* numbered process (a real sequence) */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
.process li { counter-increment: step; display: grid; gap: var(--s2); align-content: start; position: relative; padding-top: var(--s6); }
.process li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); font-family: var(--mono); font-weight: 700; font-size: var(--t-sm); display: grid; place-items: center; background: var(--sheet); }
.process li::after { content: ""; position: absolute; top: 13px; left: 36px; right: -16px; border-top: 1.5px dashed var(--line-strong); }
.process li:last-child::after { display: none; }
.process h3 { font-size: var(--t-md); margin-top: var(--s3); }
.process p { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } .process li::after { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); align-items: stretch; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s4); }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .who { font-size: var(--t-sm); color: var(--muted); min-height: 2.8em; }
.plan .price { font-family: var(--display); font-size: var(--t-2xl); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: var(--t-sm); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: var(--t-sm); align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li svg { color: var(--ok); margin-top: 3px; }
.plan .plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan h3 { font-size: var(--t-lg); }
@media (max-width: 1040px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan .who { min-height: 0; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: var(--t-md); list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--blue); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: var(--s3); color: var(--muted); }

/* quote and evidence */
.quote { border-left: 3px solid var(--timber); padding: var(--s2) 0 var(--s2) var(--s5); display: grid; gap: var(--s2); }
.quote p { font-family: var(--display); font-size: var(--t-xl); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.quote cite { font-style: normal; font-size: var(--t-sm); color: var(--muted); }
.cite { font-size: 0.78em; vertical-align: super; line-height: 0; }
.cite a { text-decoration: none; font-family: var(--mono); }
.refs { font-size: var(--t-sm); color: var(--muted); display: grid; gap: var(--s2); padding-left: 1.4em; }
.note { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); font-size: var(--t-sm); padding: var(--s4); border-radius: var(--r); background: var(--amber-weak); }
.note svg { color: var(--amber); margin-top: 2px; }

/* email block */
.email-line { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.email-line .addr { font-family: var(--mono); font-size: var(--t-lg); padding: 8px 12px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); user-select: all; color: var(--ink); }
.panel-blue .email-line .addr { background: color-mix(in srgb, var(--on-blue) 12%, transparent); border-color: transparent; color: var(--on-blue); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--sheet); font-size: var(--t-sm); color: var(--muted); }
.site-footer .wrap { padding-block: var(--s7) var(--s6); display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.site-footer h4 { font-family: var(--body); font-size: var(--t-sm); color: var(--ink); margin-bottom: var(--s3); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: var(--t-xs); }
.site-footer .brand svg { height: 30px; margin-bottom: var(--s3); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* dimension-line divider: a real drafting mark used between major parts of a page */
.dimline { display: flex; align-items: center; gap: 10px; color: var(--line-strong); font-family: var(--mono); font-size: var(--t-xs); }
.dimline::before, .dimline::after { content: ""; flex: 1; border-top: 1px solid currentColor; }
.dimline span { color: var(--muted); }
.demo-stage .rect { transition: opacity .4s; }
.demo[data-step="1"] .rect { opacity: 0; }
.tag { justify-self: start; align-self: start; width: max-content; }
.demo-bar { flex-wrap: wrap; row-gap: 6px; }
.demo-bar b, .demo-bar > span { white-space: nowrap; }
.demo-bar .tools span { font-size: 11px; }
@media (min-width: 961px) and (max-width: 1180px) { .demo-bar .tools { margin-left: 0; flex-basis: 100%; } }
