/* Layout concept: a builder's schedule. Plain ruled tables, real workbook screenshots on white "sheets", left-aligned text on a single 1120px column.
   Costright colours: teal #125E68, orange #B4532A, ink #121C1E. One light theme only: white page, light tinted bands, near-black text, 18px body. */
@font-face{font-family:'Rubik';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/rubik-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Rubik';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/rubik-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/atkinson-hyperlegible-next-latin-400-italic.woff2) format('woff2')}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2) format('woff2')}
:root {
  --paper: #FFFFFF;
  --band: #F2F6F6;
  --sheet: #FFFFFF;
  --ink: #121C1E;
  --ink-2: #374850;
  --rule: #D3DDDE;
  --rule-strong: #8FA3A7;
  --teal: #125E68;
  --teal-hover: #0C4A52;
  --teal-wash: #E1EDEE;
  --teal-solid: #E1EDEE;
  --foot: #F2F6F6;
  --on-teal: #FFFFFF;
  --brick: #B4532A;
  --brick-hover: #9A4422;
  --brick-text: #8E3F1F;
  --on-brick: #FFFFFF;
  --brick-bright: #DB7C4E;
  --brick-wash: #FBEAE1;
  --logo-mark: #B4532A;
  --logo-word: #125E68;
  --focus: #1A6FD8;
  color-scheme: light;
  --font-display: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, sans-serif;
  --radius: 6px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.65 var(--font-body);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
h4 { font-size: 1.05rem; }
p { margin: 0; max-width: 65ch; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
small, .small { font-size: 0.9rem; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brick); color: var(--on-brick); padding: 8px 14px; z-index: 50; border-radius: var(--radius); }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

/* ---------- layout ---------- */
.wrap {
  max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 72px; }
.band.tight { padding-block: 48px; }
.band.sheet { background: var(--band); border-block: 1px solid var(--rule); }
.band.teal { background: var(--teal-wash); color: var(--ink); border-block: 1px solid var(--rule); }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 68ch; }
.sec-head p { font-size: 1.125rem; color: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stack { display: grid; gap: 20px; }
.stack-l { display: grid; gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ---------- header ---------- */
.site-head { background: var(--sheet); border-bottom: 1px solid var(--rule); position: relative; z-index: 30; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { height: 34px; width: auto; flex: none; display: block; }
.brand svg { --lg-m: var(--logo-mark); --lg-w: var(--logo-word); }
.lg-m { fill: var(--lg-m); }
.lg-w { fill: var(--lg-w); }
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); }
.nav-main a:hover { background: var(--teal-wash); color: var(--ink); }
.nav-main a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--brick-bright); border-radius: 0; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 500; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-strong); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); display: grid; z-index: 40; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); }
.menu nav a { padding: 12px 14px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; border-radius: var(--radius); }
.menu nav a:hover { background: var(--teal-wash); }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 500; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn.primary { background: var(--brick); color: var(--on-brick); }
.btn.primary:hover { background: var(--brick-hover); color: var(--on-brick); }
.btn.ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn.ghost:hover { background: var(--teal-wash); color: var(--teal-hover); }
.btn.small { min-height: 40px; padding: 6px 16px; font-size: 0.95rem; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: 0.8rem; line-height: 1; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--brick); color: var(--brick-text); background: var(--brick-wash); white-space: nowrap; }
.tag.teal { border-color: var(--teal); color: var(--teal); background: var(--teal-wash); }

/* ---------- hero ---------- */
.hero { padding-top: 64px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); margin-top: 22px; max-width: 54ch; }
.hero .cta { margin-top: 30px; }
.glance { margin: 0; border: 1px solid var(--rule-strong); background: var(--sheet); border-radius: var(--radius); }
.glance div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.glance div:last-child { border-bottom: 0; }
.glance dt { color: var(--ink-2); font-size: 0.95rem; }
.glance dd { margin: 0; font-weight: 600; }
.hero-shot { margin-top: 48px; }
.page-hero { padding-top: 56px; padding-bottom: 8px; }
.page-hero .lead { font-size: 1.2rem; color: var(--ink-2); margin-top: 18px; max-width: 58ch; }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }

/* ---------- screenshots ---------- */
.shot { margin: 0; }
.shot a.zoom { display: block; background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 0 var(--rule); }
.shot img { width: 100%; }
.shot figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-2); max-width: 70ch; }
.shot.narrow { max-width: 520px; }

/* ---------- feature rows ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.feat.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.flip > :first-child { order: 2; }
.feat h3 { margin-bottom: 14px; }
.feat + .feat { margin-top: 72px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 22px; max-width: 60ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.link-more { display: inline-block; margin-top: 18px; font-family: var(--font-display); font-weight: 500; }

/* ---------- schedule tables ---------- */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table.sched { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.sched th, .sched td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sched th { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--ink-2); background: transparent; }
.sched td.num, .sched th.num { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 16px; }
.sched td strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.sched .sub { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 2px; }
.sched tr.total td { border-bottom: 2px solid var(--ink); font-weight: 600; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

/* ---------- is / is not ---------- */
.panel { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 28px; }
.panel h2, .panel h3 { margin-bottom: 14px; }
.panel h2 { font-size: 1.25rem; line-height: 1.2; }
.panel.warn { background: var(--brick-wash); border-color: var(--brick-bright); }
.crosses { list-style: none; display: grid; gap: 10px; }
.crosses li { position: relative; padding-left: 22px; }
.crosses li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 2px; background: var(--brick); }

/* ---------- steps ---------- */
ol.steps { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 2px solid var(--ink); }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
ol.steps > li::before { content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--teal); }
ol.steps h2, ol.steps h3 { font-size: 1.15rem; margin-bottom: 6px; line-height: 1.2; }
ol.steps .shot { margin-top: 16px; }
ol.steps .btn { margin-top: 14px; }

/* ---------- note ---------- */
.note { background: var(--brick-wash); border: 1px solid var(--brick-bright); border-radius: var(--radius); padding: 18px 22px; max-width: 78ch; }
.note strong:first-child { font-family: var(--font-display); }
.note.teal { background: var(--teal-wash); border-color: var(--teal); }
.draft-banner { background: var(--brick-wash); border-bottom: 1px solid var(--brick-bright); padding: 10px 0; font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; line-height: 1; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 20px; display: grid; gap: 10px; max-width: 70ch; }

/* ---------- guides index ---------- */
.guide-list { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.guide-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.guide-list h2 { font-size: 1.25rem; line-height: 1.2; }
.guide-list h2 a { color: var(--ink); text-decoration: none; }
.guide-list h2 a:hover { color: var(--teal); text-decoration: underline; }
.guide-list p { color: var(--ink-2); margin-top: 4px; }
.guide-list .time { color: var(--ink-2); font-size: 0.95rem; white-space: nowrap; }

/* ---------- prose pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.55rem; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose code, code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.92em; background: var(--teal-wash); padding: 1px 6px; border-radius: 4px; }
kbd { font-family: inherit; font-size: 0.92em; border: 1px solid var(--rule-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 6px; background: var(--sheet); }

/* ---------- footer ---------- */
.site-foot { background: var(--foot); color: var(--ink); border-top: 1px solid var(--rule); padding-block: 56px 36px; margin-top: 0; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--teal); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid .foot-h { font-family: var(--font-display); font-size: 1rem; margin-bottom: 12px; color: var(--ink-2); font-weight: 500; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid p { font-size: 1rem; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(30, 44, 48, 0.62); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); gap: 10px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-size: 0.95rem; padding-top: env(safe-area-inset-top, 0px); }
.lb-bar button { font: 500 1rem var(--font-display); color: #0F1A1C; background: #fff; border: 0; border-radius: var(--radius); min-height: 44px; padding: 8px 18px; cursor: pointer; }
.lb-scroll { overflow: auto; background: #fff; border-radius: var(--radius); }
.lb-scroll img { width: 100%; max-width: none; min-width: min(100%, 900px); }

/* ---------- additions ---------- */
[hidden] { display: none !important; }
.shot.mid { max-width: 780px; }
.shot.mid.center { margin-inline: auto; }
.feat-wide { display: grid; gap: 28px; }
.feat-wide .feat-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px; align-items: start; }
.feat-wide .feat-text .ticks { margin-top: 4px; }
.feat-wide h3 { margin-bottom: 14px; }
.feat-wide + .feat-wide, .feat + .feat-wide, .feat-wide + .feat { margin-top: 72px; }
.prelaunch { background: var(--teal-wash); color: var(--ink); border-bottom: 1px solid var(--rule); font-size: 1rem; padding: 9px 0; }
.prelaunch a { color: var(--teal); }
.prelaunch p { max-width: none; }
.price-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.price-big small { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.buy-note { font-size: 0.9rem; color: var(--ink-2); margin-top: 10px; max-width: 46ch; }
.sched td.num + td, .sched th.num + th { padding-left: 24px; }
.sched td.act { white-space: nowrap; text-align: right; padding-right: 0; }
.sched td.prod { min-width: 15rem; }
.sched td.prod a { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.sched td.prod a:hover { color: var(--teal); text-decoration: underline; }
.lic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.lic-list { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.lic-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.lic-list .amt { font-family: var(--font-display); font-weight: 700; }
.lic-list .why { grid-column: 1 / -1; color: var(--ink-2); font-size: 0.95rem; }
.bundle { border: 2px solid var(--teal); background: var(--sheet); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.bundle h3 { font-size: 1.4rem; }
.save { display: inline-block; font-family: var(--font-display); font-weight: 500; color: var(--teal); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: 12px; }
.two-col-list { columns: 2; column-gap: 40px; }
.two-col-list li { break-inside: avoid; }
.kv { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.kv dt, .kv dd { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.kv dt { font-family: var(--font-display); font-weight: 500; }
.kv dd { color: var(--ink); padding-left: 20px; }
.disclose { font-size: 0.9rem; color: var(--ink-2); max-width: 78ch; }
.foot-grid .foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand { color: var(--ink); }
.foot-brand .brand:hover { color: var(--ink); }
.mono-email { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.95em; user-select: all; }
.tick-lead { font-family: var(--font-display); font-weight: 500; }
.hero-note { margin-top: 12px; font-size: 0.9rem; color: var(--ink-2); max-width: 80ch; }
.notfound { padding-block: 96px; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.split > .shot { position: sticky; top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-top, .feat, .feat.flip, .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feat.flip > :first-child { order: 0; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-main { display: none; }
  .menu { display: block; }
  .hero h1 { max-width: none; }
  .feat-wide .feat-text, .lic, .cta-band, .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split > .shot { position: static; }
  .feat-wide + .feat-wide, .feat + .feat-wide, .feat-wide + .feat { margin-top: 56px; }
  .shot.mid { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 1.03rem; }
  .band { padding-block: 52px; }
  .band.tight { padding-block: 36px; }
  .hero { padding-top: 40px; }
  .glance div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .feat + .feat { margin-top: 52px; }
  .guide-list li { grid-template-columns: minmax(0, 1fr); }
  ol.steps > li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .panel { padding: 20px; }
  .bundle { padding: 20px; }
  .two-col-list { columns: 1; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .kv dd { padding-left: 0; padding-top: 2px; }
  .btn { width: 100%; }
  .table-wrap { border-top: 2px solid var(--ink); }
  table.sched, .sched tbody, .sched tr, .sched td { display: block; min-width: 0; width: 100%; }
  .sched thead { display: none; }
  .sched tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .sched td, .sched td.num, .sched td.num + td { border: 0; padding: 3px 0; text-align: left; white-space: normal; }
  .sched td.prod { min-width: 0; }
  .row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.checks { list-style: none; display: grid; gap: 14px; border-top: 2px solid var(--ink); }
.checks li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 1.25rem; width: 18px; height: 18px; border: 2px solid var(--teal); border-radius: 4px; }
