/* StepCert site. Tokens come from the product itself: the editor's slate header, its grey canvas,
   and the recorder's yellow highlight box, which is used for one job only: marking what was clicked. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --ink: #1F2937;        /* editor header */
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --paper: #FFFFFF;
  --canvas: #F3F4F6;     /* editor background */
  --line: #E5E7EB;
  --line-strong: #CBD5E1;
  --highlight: #FFD400;  /* StepCert's yellow highlight */
  --highlight-edge: #E0BB00;
  --link: #1D4ED8;
  --pass: #15803D;
  --no: #9CA3AF;
  --font: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-weight: 760; letter-spacing: -0.012em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 66ch; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fine { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ------------------------------------------------------------------ Buttons */
.btn { display: inline-block; text-align: center; font: 650 1rem/1.2 var(--font); border-radius: 8px; padding: .8em 1.25em; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--highlight); border-color: var(--highlight-edge); color: var(--ink); }
.btn-primary:hover { background: #FFDD33; }
.btn-primary:active { transform: translateY(1px); }
.btn-quiet { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { font-size: .9rem; padding: .55em .9em; }
.btn-wide { width: 100%; font-size: 1.1rem; padding: 1em; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ------------------------------------------------------------------ Header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .98rem; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 900px) { .site-nav { display: none; } .head-row > .btn { margin-left: auto; } }

/* ------------------------------------------------------------------ Hero */
/* Headline across the page, then the product itself at full width: the screenshot is the proof. */
.hero { padding-top: 52px; padding-bottom: 80px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: 40px; }
.hero-copy h1 { grid-column: 1 / -1; max-width: 19ch; margin-bottom: 28px; }
.hero-copy .lede, .hero-copy .cta-row, .hero-copy .fine { grid-column: 1; }
.lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero-copy .fine { margin-bottom: 0; }
.hero-shot { margin: 0; }
.hero-shot img { border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -24px rgba(31, 41, 55, .35); cursor: zoom-in; }
.hero-shot figcaption, .shot figcaption, .outputs figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
@media (max-width: 900px) { .hero { padding-top: 40px; } .hero-copy { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; } }

/* ------------------------------------------------------------------ Problem */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.problem-body p:first-child { font-size: 1.2rem; }
@media (max-width: 900px) { .problem { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ------------------------------------------------------------------ Shared blocks */
.shot { margin: 0; }
.shot img, .outputs img { border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff; cursor: zoom-in; }
.section-intro { max-width: 760px; margin-bottom: 40px; }
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { font-size: 1.12rem; color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 16px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: .5em; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pair-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.pair-text h2 { margin-bottom: 18px; }
@media (max-width: 900px) { .pair, .pair-text { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ How it works (a real sequence, so it is numbered) */
.how { background: var(--canvas); padding: 88px 0; }
.how > .wrap > h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 88px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.step h3 { display: flex; align-items: center; gap: 14px; font-size: 1.6rem; margin-bottom: 14px; }
.badge { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--highlight); color: var(--ink); font-size: 1.05rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2.5px var(--ink); }
.outputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.outputs figure { margin: 0; }
@media (max-width: 1000px) { .step { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .outputs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how { padding: 64px 0; } .steps { gap: 64px; } }

/* ------------------------------------------------------------------ Courses */
.courses { padding: 96px 0; }
.levels { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; margin-bottom: 44px; }
.level-list { margin: 0; display: grid; gap: 4px 0; }
.level-list dt { font-weight: 760; font-size: 1.15rem; margin-top: 18px; }
.level-list dt:first-child { margin-top: 0; }
.level-list dd { margin: 2px 0 0; color: var(--ink-soft); }
.lms-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.lms-grid h3 { margin: 0 0 12px; }
.lms-grid h3 + .ticks { margin-bottom: 32px; }
.standards { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0 0 18px; }
.standards dt { font-weight: 760; }
.standards dd { margin: 0; color: var(--ink-soft); }
.aside-note { margin-top: 48px; padding: 20px 24px; border-left: 4px solid var(--ink); background: var(--canvas); border-radius: 0 var(--radius) var(--radius) 0; max-width: 78ch; }
@media (max-width: 900px) { .levels, .lms-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ Privacy */
.private { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.private-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.facts { margin: 0; }
.facts dt { font-weight: 760; margin-top: 20px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 4px 0 0; color: var(--ink-soft); }
@media (max-width: 900px) { .private-grid { grid-template-columns: minmax(0, 1fr); } }

.branding { background: var(--canvas); padding: 88px 0; }

/* ------------------------------------------------------------------ Compare */
.compare { padding-top: 96px; padding-bottom: 88px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .97rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { font-size: 1.02rem; font-weight: 760; background: var(--canvas); }
.compare-table thead small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.compare-table tbody th { font-weight: 650; width: 22%; }
.compare-table .us { background: #FFFBEB; box-shadow: inset 3px 0 0 var(--highlight), inset -3px 0 0 var(--highlight); }
.compare-table thead .us { box-shadow: inset 3px 0 0 var(--highlight), inset -3px 0 0 var(--highlight), inset 0 3px 0 var(--highlight); background: #FFF4B8; }
.compare-table .no { color: var(--no); }
.compare-table .part { color: var(--ink-soft); }
.compare-table .yes::before { content: "✓ "; font-weight: 800; color: var(--pass); }
.compare .fine { margin-top: 14px; max-width: 90ch; }
.compare .swipe-hint { display: none; margin: 0 0 8px; }
@media (max-width: 900px) { .compare .swipe-hint { display: block; } }
.honest { margin-top: 36px; max-width: 78ch; }
.honest h3 { margin-bottom: 10px; }

/* ------------------------------------------------------------------ Calculator */
.value { background: var(--canvas); padding: 80px 0; }
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; }
.calc label { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; align-content: start; }
.calc input { font: 650 1.25rem/1.2 var(--font); padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px; width: 100%; color: var(--ink); }
.calc input:focus-visible { border-color: var(--link); outline-offset: 1px; }
.calc-out { grid-column: 1 / -1; display: block; border-top: 1px solid var(--line); padding-top: 18px; font-size: 1.1rem; }
.calc-out b { font-size: 1.6rem; }
@media (max-width: 700px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ Pricing: selected the way the Files tab marks the chosen format */
.pricing { padding-top: 96px; padding-bottom: 96px; }
.price-card { max-width: 620px; margin: 0 auto; border: 1.5px solid var(--ink); outline: 4px solid var(--highlight); outline-offset: 5px; border-radius: 14px; padding: 36px 36px 28px; }
.price-head h2 { font-size: 1.9rem; margin-bottom: 18px; }
.price { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0 0 10px; }
.price small { font-size: 1.15rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); margin-left: 8px; }
.price-for { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 22px; }
.price-list { margin: 0 0 28px; }
.checkout-status { min-height: 1.4em; margin: 12px 0 4px; font-size: .95rem; }
.checkout-status.bad, .form-status.bad, .error { color: #B91C1C; }
@media (max-width: 560px) { .price-card { padding: 26px 20px 20px; } }

/* ------------------------------------------------------------------ FAQ */
.faq { padding-top: 40px; padding-bottom: 88px; }
.faq h2 { margin-bottom: 26px; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

.closing { padding-top: 72px; padding-bottom: 104px; border-top: 1px solid var(--line); text-align: center; }
.closing h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.closing .cta-row { justify-content: center; }

/* ------------------------------------------------------------------ Other pages */
.page { padding-top: 64px; padding-bottom: 96px; max-width: 860px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.page h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.licence { border: 1.5px solid var(--ink); outline: 4px solid var(--highlight); outline-offset: 5px; border-radius: 12px; padding: 24px; margin: 8px 0 12px; }
.key-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0; }
.key { font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; background: var(--canvas); padding: 10px 14px; border-radius: 8px; word-break: break-all; }
.next { padding-left: 1.3em; }
.next li { margin: 8px 0; }
.manage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.panel { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.panel h2 { margin: 0; font-size: 1.25rem; }
.panel p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.panel label { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; }
.panel input { font: 500 1.05rem/1.2 var(--font); padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px; width: 100%; }
.panel .btn { justify-self: start; }
.form-status { min-height: 1.3em; font-size: .95rem; }
.legal h2 { font-size: 1.25rem; }
@media (max-width: 760px) { .manage-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ Footer */
.site-foot { background: var(--ink); color: #D1D5DB; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot-row p { margin: 0; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot a { color: #F3F4F6; }

.manage-note { padding: 12px 16px; border: 1px solid var(--line-strong); border-left: 4px solid var(--highlight); border-radius: var(--radius); background: var(--paper); max-width: 70ch; }

/* ------------------------------------------------------------------ Screenshot zoom */
.zoom { border: 0; padding: 0; max-width: min(1500px, 96vw); width: 96vw; background: transparent; }
.zoom::backdrop { background: rgba(17, 24, 39, .82); }
.zoom img { width: 100%; border-radius: 10px; background: #fff; }
.zoom p { color: #F3F4F6; margin: 12px 4px 0; max-width: none; }
.zoom-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; font: 650 .95rem/1 var(--font); background: #fff; color: var(--ink); border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer; }

@media print { .site-head { display: none !important; } }