/*
  Galdr — the website's one stylesheet (site pass, 2026-11-05).
  Colours and type come from the app's design system (design-system/tokens.css): cool milk ground,
  pine ink, woad for the one main action, gold only where something is earned or paid, no blur and
  no glow on a light page, motion once and quiet. Pictures are the app's own paintings.
*/

@font-face { font-family: Literata; src: url(/assets/fonts/literata-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Literata; src: url(/assets/fonts/literata-400i.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Literata; src: url(/assets/fonts/literata-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Ogham; src: url(/assets/fonts/ogham.woff2) format('woff2'); font-display: swap; unicode-range: U+1680-169C; }

:root {
  --milk: #F8F9F6;
  --paper: #FFFFFF;
  --quiet: #EFF1EC;
  --sage-wash: #E6EDE0;
  --mist: #E0F1F3;
  --vellum: #F7EFDF;
  --vellum-rule: #DCC9A5;
  --ink: #293C35;
  --ink2: #405047;
  --pencil: #5E6B62;
  --line: #D1DACB;
  --soft-line: #E4E8E1;
  --woad: #25728A;
  --woad-deep: #1E5F73;
  --woad-ink: #2C6D7E;
  --woad-wash: #D5EEF2;
  --pine: #25483B;
  --fern: #1E7848;
  --cloudberry: #F7C58E;
  --cloudberry-mist: #FFF1DB;
  --cloudberry-ink: #8C4F0E;
  --gilt-line: #A98525;
  --gold-ink: #59481F;
  --focus: #334E79;
  --radius-card: 18px;
  --radius-control: 14px;
  --gutter: 16px;
  --wrap: 1120px;
  --serif: Literata, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--serif);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--woad-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--woad-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ogham { font-family: Ogham, var(--serif); font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); }
.skip:focus { top: 12px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--milk); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--soft-line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.375rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: none; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--ink2); text-decoration: none; font-size: 1rem; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-size: .9375rem; color: var(--pencil); text-decoration: none; }
.lang:hover { color: var(--ink); text-decoration: underline; }

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--woad); color: #fff; text-decoration: none;
  font: 600 1rem/1 var(--serif); border: 0; cursor: pointer;
  transition: background-color .15s;
}
.button:hover { background: var(--woad-deep); color: #fff; }
.button-small { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.button-quiet { background: var(--paper); color: var(--pine); border: 1.5px solid var(--pine); }
.button-quiet:hover { background: var(--sage-wash); color: var(--pine); }

/* ── Store badges ───────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store { display: inline-block; line-height: 0; border-radius: 10px; }
.store img { height: 52px; width: auto; }
/* Google's badge carries its own clear margin: a taller box draws the same visible height. */
.store[data-store='android'] img { height: 58px; margin: -3px 0; }
.store[aria-disabled='true'] { opacity: .45; cursor: default; }
.stores-note { margin-top: 12px; color: var(--ink2); font-size: .9375rem; }
.stores-note strong { color: var(--ink); font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 28px 0 8px; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.eyebrow { font-style: italic; color: var(--woad-ink); font-size: 1.0625rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.25rem, 7.4vw, 3.9rem); max-width: 14ch; }
.hero .lead { margin-top: 18px; font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.55; color: var(--ink2); max-width: 34rem; }
.hero .stores { margin-top: 28px; }
.hero-art { position: relative; margin: 0; display: grid; place-items: center; padding: 12px 0 28px; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; z-index: -1; width: min(92%, 440px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--mist); }
.hero-phone { position: relative; width: min(62%, 270px); }
.hero-stones { position: absolute; left: 2%; bottom: 6%; width: min(30%, 150px); }

/* A phone around a real screen of the app. */
.phone {
  position: relative; aspect-ratio: 390 / 844; width: 100%;
  border-radius: 38px; padding: 9px; background: #1F2A26;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 18px 40px -18px rgba(37,72,59,.45);
}
.phone img, .phone .screen { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; background: var(--milk); }

/* ── Facts strip ────────────────────────────────────────── */
.facts { padding: 32px 0 8px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts li { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 16px 16px 14px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.facts img { width: 44px; height: 44px; object-fit: contain; }
.facts b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.facts span { display: block; color: var(--ink2); font-size: .9375rem; line-height: 1.4; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.875rem, 4.6vw, 2.75rem); }
.section-head p { margin-top: 14px; color: var(--ink2); font-size: 1.125rem; }
.wash-sage { background: var(--sage-wash); }
.wash-mist { background: var(--mist); }
.wash-vellum { background: var(--vellum); }

/* How a lesson goes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
.step { display: grid; gap: 16px; }
.step .phone { max-width: 250px; margin-inline: auto; }
.step { align-content: start; }
.step h3 { font-size: 1.375rem; display: flex; align-items: baseline; gap: 10px; }
.step h3::before { counter-increment: step; content: counter(step); flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--woad-wash); color: var(--woad-ink); font-size: 1rem; transform: translateY(-2px); }
.step p { margin-top: 8px; color: var(--ink2); }
.step-art { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 20px; display: grid; place-items: center; min-height: 200px; }
.step-art img { max-height: 180px; width: auto; }

/* Courses */
.tradition { margin-top: 40px; }
.tradition:first-of-type { margin-top: 0; }
.tradition > h3 { font-size: 1.25rem; color: var(--ink2); font-weight: 400; font-style: italic; margin-bottom: 16px; }
.courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.course { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 80px; }
.course-cover { aspect-ratio: 5 / 2; background: var(--quiet); }
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-cover.is-ogham { background: var(--mist); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 8% 0 10%; }
.course-cover.is-ogham .ogham { font-size: clamp(1.75rem, 5vw, 2.5rem); color: var(--woad-ink); letter-spacing: .1em; }
.course-cover.is-ogham img { width: auto; height: 86%; object-fit: contain; }
.course-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-hook { font-style: italic; color: var(--woad-ink); }
.course h4 { font-size: 1.375rem; font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.course-tag { color: var(--ink2); }
.course-meta { margin-top: auto; padding-top: 10px; color: var(--pencil); font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.badge-free { color: var(--fern); font-weight: 600; }
.course.is-first { border-color: var(--woad); box-shadow: 0 0 0 1px var(--woad); }

/* Runes strip */
.runes-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.runes-strip a { display: grid; justify-items: center; gap: 4px; padding: 12px 6px 10px; background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-control); color: var(--ink); text-decoration: none; text-align: center; }
.runes-strip a:hover { border-color: var(--woad); }
.runes-strip img { width: 76px; height: 76px; object-fit: contain; }
.runes-strip img.glyph, .rune-grid img.glyph { width: 22px; height: 22px; opacity: .9; }
.runes-strip b { font-weight: 600; font-size: .9375rem; }
.runes-strip small { color: var(--pencil); font-size: .8125rem; line-height: 1.3; }
.more-link { margin-top: 24px; }

/* The guide */
.guide { display: grid; gap: 24px; align-items: center; }
.guide-art { max-width: 340px; margin-inline: auto; }
.bubble { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 18px; font-style: italic; color: var(--ink); }
.bubble::after { content: ''; position: absolute; left: 46%; bottom: -9px; width: 16px; height: 16px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.guide h2 { font-size: clamp(1.875rem, 4.6vw, 2.75rem); }
.guide p + p { margin-top: 12px; }
.guide .copy p { color: var(--ink2); font-size: 1.125rem; margin-top: 14px; }

/* Certificate */
.certificate { display: grid; gap: 28px; align-items: center; }
.cert-card { background: var(--vellum); border: 1px solid var(--vellum-rule); border-radius: 6px; padding: 28px 24px; text-align: center; box-shadow: 0 1px 0 #fff inset; }
.cert-card img { width: 120px; margin: 0 auto 10px; }
.cert-card .small { color: var(--gold-ink); font-style: italic; }
.cert-card .name { font-size: 1.5rem; font-weight: 600; margin: 6px 0; }
.cert-card .title { color: var(--ink2); }
.cert-card .motto { margin-top: 14px; font-size: 1.25rem; color: var(--gold-ink); letter-spacing: .08em; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink2); }
.checks li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--fern); border-bottom: 2px solid var(--fern); transform: rotate(-45deg); }

/* Between lessons */
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.extras li { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 18px 16px; text-align: center; }
.extras img { height: 96px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.extras b { display: block; font-weight: 600; }
.extras span { display: block; color: var(--ink2); font-size: .9375rem; margin-top: 4px; line-height: 1.45; }

/* Price */
.price { display: grid; gap: 16px; }
.price-card { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 22px 22px 24px; }
.price-card h3 { font-size: 1.25rem; }
.price-card p { margin-top: 8px; color: var(--ink2); }
.price-card.is-gold { border-color: var(--gilt-line); }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--woad); border-bottom: 2px solid var(--woad); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--ink2); }

/* Last call */
.last-call { text-align: center; padding: 72px 0 0; }
.last-call h2 { font-size: clamp(2rem, 5vw, 3rem); }
.last-call p { margin: 14px auto 0; max-width: 34rem; color: var(--ink2); font-size: 1.125rem; }
.last-call .stores { justify-content: center; margin-top: 26px; }
.last-call .qr { display: none; }
.last-call-art { margin-top: 40px; }
.last-call-art img { width: 100%; max-width: 1170px; margin: 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--soft-line); padding: 36px 0 48px; color: var(--ink2); font-size: .9375rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer p { max-width: 30rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--ink2); }
.copyright { color: var(--pencil); margin-top: 10px; }
.footer-line { margin-top: 10px; }
.certificate .section-head { margin-bottom: 0; }

/* Mobile bar: the one action, once the hero's badges have scrolled away. */
.get-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px -14px rgba(37,72,59,.45); transform: translateY(140%); transition: transform .3s ease; }
.get-bar.is-shown { transform: none; }
.get-bar img { width: 36px; height: 36px; }
.get-bar p { font-size: .9375rem; line-height: 1.3; flex: 1; }
.get-bar b { display: block; font-weight: 600; }

/* ── Plain pages (runes, legal, soon, 404) ──────────────── */
.page { padding: 32px 0 72px; }
.page-head { max-width: 44rem; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.page-head p { margin-top: 14px; color: var(--ink2); font-size: 1.125rem; }
.crumbs { font-size: .9375rem; color: var(--pencil); margin-bottom: 14px; }
.crumbs a { color: var(--pencil); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.prose h3 { font-size: 1.1875rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; }

/* Rune index */
.rune-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rune-grid a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-control); color: var(--ink); text-decoration: none; height: 100%; }
.rune-grid a:hover { border-color: var(--woad); }
.rune-grid img { width: 64px; height: 64px; object-fit: contain; }
.rune-grid b { font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.rune-grid small { display: block; color: var(--ink2); font-size: .875rem; line-height: 1.35; margin-top: 2px; }
.family { margin-top: 36px; }
.family h2 { font-size: 1.5rem; margin-bottom: 14px; }
.family > p { color: var(--ink2); margin: 6px 0 16px; max-width: 40rem; }

/* One rune */
.rune-page { display: grid; gap: 28px; }
.rune-figure { margin: 0; background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 20px; display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; }
.rune-figure .glyph { display: grid; justify-items: center; gap: 4px; }
.rune-figure .glyph span { font-size: 3.5rem; line-height: 1; color: var(--ink); }
.rune-figure .glyph small { color: var(--pencil); font-size: .875rem; }
.keywords { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.keywords li { background: var(--woad-wash); color: var(--woad-ink); border-radius: 999px; padding: 4px 12px; font-size: .9375rem; }
.sides { display: grid; gap: 14px; margin-top: 24px; }
.side { background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 18px 20px; }
.side h2 { font-size: 1.1875rem; }
.side p { margin-top: 6px; color: var(--ink2); }
.poem { margin: 28px 0 0; padding: 20px 22px; background: var(--vellum); border-left: 3px solid var(--vellum-rule); border-radius: 4px; }
.poem .old { font-style: italic; color: var(--gold-ink); }
.poem p + p { margin-top: 6px; }
.poem footer { margin-top: 10px; color: var(--pencil); font-size: .9375rem; }
.in-app { margin-top: 28px; background: var(--mist); border-radius: var(--radius-card); padding: 22px; }
.in-app h2 { font-size: 1.3125rem; }
.in-app ul { margin: 10px 0 18px; padding-left: 20px; color: var(--ink2); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.pager a { text-decoration: none; }

/* Legal drafts (privacy, terms) */
.legal .legal-title { max-width: 44rem; margin-bottom: 24px; }
.legal .legal-title h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .meta { color: var(--pencil); font-size: .9375rem; margin-top: 10px; }
.legal-draft { background: var(--vellum); border-left: 3px solid var(--vellum-rule); border-radius: 4px; padding: 12px 16px; margin-bottom: 20px; color: var(--ink2); font-size: .9375rem; }
.legal-contents { max-width: 44rem; background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 18px 22px; margin-bottom: 8px; }
.legal-contents h2 { font-size: 1.1875rem; margin: 0 0 8px; }
.legal-contents ol { list-style: none; padding: 0; margin: 0; columns: 2 18rem; column-gap: 28px; }
.legal-contents li { padding: 3px 0; break-inside: avoid; font-size: .9375rem; }
.legal-prose h2 { scroll-margin-top: 80px; }
.legal-prose li + li { margin-top: 8px; }
.placeholder { background: var(--cloudberry-mist); color: var(--cloudberry-ink); border-radius: 3px; padding: 0 3px; }

/* /app — one link for every phone */
.app-link { padding: 28px 0 72px; }
.app-link .wrap { display: grid; gap: 32px; align-items: center; }
.app-link h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
.app-link .lead { margin-top: 12px; color: var(--ink2); font-size: 1.1875rem; max-width: 30rem; }
.app-link .stores { margin-top: 24px; }
.app-link .status { margin-top: 14px; color: var(--ink2); }
.app-link .more { margin-top: 22px; }
.app-qr { justify-self: center; text-align: center; background: var(--paper); border: 1px solid var(--soft-line); border-radius: var(--radius-card); padding: 22px 26px; }
.app-qr img { width: 200px; height: 200px; margin: 0 auto; }
.app-qr p { margin-top: 10px; color: var(--ink2); font-size: .9375rem; max-width: 15rem; }
.app-link .raven { width: 120px; margin-bottom: 8px; }
@media (min-width: 820px) { .app-link .wrap { grid-template-columns: 1fr auto; } }
@media (hover: none) and (pointer: coarse) { .app-qr { display: none; } }

/* Soon / 404 */
.soon { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 32px var(--gutter); }
.soon main { max-width: 34rem; }
.soon img.raven { width: 150px; margin: 0 auto 18px; }
.soon h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
.soon p { margin-top: 14px; color: var(--ink2); font-size: 1.125rem; }
.soon .small { font-size: .9375rem; color: var(--pencil); margin-top: 26px; }

/* ── Wider screens ──────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { grid-template-columns: 1fr; text-align: left; align-content: start; }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .runes-strip { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rune-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; }
  .site-nav { display: flex; }
  .header-end { margin-left: 8px; }
  .hero { padding: 56px 0 24px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-phone { width: min(56%, 290px); }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .courses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide { grid-template-columns: 340px 1fr; gap: 56px; }
  .certificate { grid-template-columns: 1fr 380px; gap: 64px; }
  .last-call .qr { display: inline-grid; justify-items: center; gap: 6px; margin-left: 20px; vertical-align: middle; font-size: .875rem; color: var(--pencil); }
  .last-call .qr img { width: 112px; height: 112px; background: #fff; padding: 6px; border: 1px solid var(--soft-line); border-radius: 12px; }
  .get-bar { display: none; }
  .rune-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rune-page { grid-template-columns: 1fr 340px; align-items: start; }
  .rune-page aside { position: sticky; top: 88px; }
  .rune-figure { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; }
}

/* Motion once and quiet; none at all when asked. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .get-bar, .stores, .last-call, .site-footer nav { display: none !important; }
  body { background: #fff; }
}
