/* zoryia.com (SITE-1). Built into site/assets/ under a content hash by tools/build-site.cjs.
   The logo's night and gold; system fonts only (no web fonts, nothing third-party); no inline style anywhere
   (the site's CSP allows styles from this origin only). Light and dark follow the reader's device, unless they
   chose one with the header's switch (2026-10-25, the owner): site-src/theme.js then sets data-theme on <html>
   before the first paint, and the rules below honour it in both directions. The light values are written twice
   (for a light device with no choice made, and for a chosen light) because plain CSS cannot share a block.
   Rules from CLAUDE.md that hold here too: .hidden wins, and nothing but the focus rule sets outline. */
:root {
  --bg: #0f1424;
  --surface: #161d31;
  --raise: #1d2640;
  --line: #2b3552;
  --ink: #f4ecdd;
  --muted: #b9bccb;
  --gold: #f0bf66;
  --gold-ink: #1b1404;
  --ember: #e07a4f;
  --focus: #8cc4ff;
  --scrim: rgba(10, 13, 24, 0.72);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f2e8;
    --surface: #ffffff;
    --raise: #fbf7ef;
    --line: #e2d8c6;
    --ink: #1c2030;
    --muted: #535868;
    --gold: #8a5a10;
    --gold-ink: #ffffff;
    --ember: #a8401c;
    --focus: #1a5fb4;
    --shadow: 0 10px 28px rgba(60, 40, 10, 0.12);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f7f2e8;
  --surface: #ffffff;
  --raise: #fbf7ef;
  --line: #e2d8c6;
  --ink: #1c2030;
  --muted: #535868;
  --gold: #8a5a10;
  --gold-ink: #ffffff;
  --ember: #a8401c;
  --focus: #1a5fb4;
  --shadow: 0 10px 28px rgba(60, 40, 10, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 44px; letter-spacing: -0.01em; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
.lede { font-size: 20px; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* ---- header ------------------------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; min-height: 68px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; margin-right: auto; }
.brand svg { width: 42px; height: 32px; margin-right: 12px; color: var(--gold); }   /* the Dawn Bloom, small cut, drawn inline */
.brand { letter-spacing: 0.04em; }
.nav-wide ul { list-style: none; display: flex; margin: 0 18px 0 0; padding: 0; }
.nav-wide li { margin: 0 0 0 4px; }
.nav-wide a, .menu-panel a { color: var(--ink); text-decoration: none; display: block; padding: 10px 12px; border-radius: 8px; }
.nav-wide a:hover, .menu-panel a:hover { background: var(--raise); }
.nav-wide a[aria-current="page"], .menu-panel a[aria-current="page"] { color: var(--gold); }
.button { display: inline-block; background: var(--gold); color: var(--gold-ink); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--gold); line-height: 1.2; }
.button:hover { filter: brightness(1.06); text-decoration: none; }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.bar .button { padding: 10px 16px; font-size: 15px; }
.theme-toggle { margin-left: 10px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0; line-height: 0; }
.theme-toggle:hover { background: var(--raise); }
.theme-toggle svg { width: 20px; height: 20px; }
.menu { display: none; margin-left: 10px; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { margin: 0; }
.menu-panel a { padding: 14px 12px; font-size: 18px; }

/* ---- sections ------------------------------------------------------------------------------ */
main { display: block; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.page-head { padding-top: 56px; padding-bottom: 24px; }
.grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.grid > * { margin: 0 12px 24px; flex: 1 1 260px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { margin-top: 0; }
.kicker { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 20px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--raise); border: 1px solid var(--line); color: var(--gold); font-weight: 700; text-align: center; line-height: 34px; }
.actions { margin-top: 24px; }
.actions .button { margin: 0 12px 12px 0; }

/* ---- the hero: a scene, its quiet centre behind the words ---------------------------------- */
.hero { position: relative; overflow: hidden; background: #0b0d16; color: #f6efe2; }
/* Ken Burns (the owner, 2026-10-25): a slow zoom and pan over 40 s, there and back; the 3840 source keeps it sharp */
.hero-art { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; will-change: transform; animation: kenburns 40s ease-in-out infinite alternate; }
.hero-body { position: relative; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.hero-copy { display: inline-block; max-width: 640px; background: var(--scrim); border-radius: 20px; padding: 28px 28px 20px; }
.hero h1 { color: #f6efe2; }
.hero p { color: #e2dccd; font-size: 19px; }
.hero .button.ghost { color: #f6efe2; border-color: rgba(246, 239, 226, 0.5); }
.hero .note { font-size: 15px; color: #d8d0bf; margin-top: 6px; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, 1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }

/* ---- art strips ---------------------------------------------------------------------------- */
.strip { display: flex; flex-wrap: wrap; margin: 0 -6px; }
.strip img { width: calc(25% - 12px); margin: 0 6px 12px; border-radius: 10px; border: 1px solid var(--line); }
.figure img { border-radius: 14px; border: 1px solid var(--line); }
/* collection tiles: three across, two on a phone */
.tiles { display: flex; flex-wrap: wrap; margin: 8px -8px 16px; }
.tile { width: calc(33.333% - 16px); margin: 0 8px 16px; }
.tile img { border-radius: 12px; border: 1px solid var(--line); }
.tile figcaption { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tile a { display: block; text-decoration: none; padding-bottom: 4px; }
.tile a figcaption { color: var(--ink); }
.tile a:hover figcaption { color: var(--gold); }
.scene h2 { margin-top: 32px; }
.scene ol li { word-break: break-word; }
.scene-nav { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 32px; }
.scene-nav a { display: inline-block; padding: 8px 0; margin-right: 16px; }
.figure figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }
figure { margin: 0 0 24px; }

/* ---- pricing and tables -------------------------------------------------------------------- */
.plans .card { display: flex; flex-direction: column; }
.price { font-family: var(--serif); font-size: 40px; color: var(--ink); margin: 4px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-family: var(--sans); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--surface); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 15px; color: var(--muted); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.note-box { border-left: 4px solid var(--gold); background: var(--surface); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 20px 0; }

/* ---- visualizers ---------------------------------------------------------------------------- */
.styles .card h3 { color: var(--gold); }

/* ---- FAQ ------------------------------------------------------------------------------------ */
.faq h2 { margin-top: 40px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; }
.faq details > div { padding: 0 20px 6px; }

/* ---- legal ---------------------------------------------------------------------------------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal h3 { font-size: 19px; margin-top: 22px; }
.legal .effective { color: var(--muted); }

/* ---- footer --------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 32px; }
.cols { display: flex; flex-wrap: wrap; padding-top: 40px; padding-bottom: 16px; }
.cols > div { flex: 1 1 140px; margin-bottom: 20px; }   /* two columns side by side on a phone, four on a desktop */
.cols h2 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cols ul { list-style: none; padding: 0; margin: 0; }
.cols li { margin: 0; }
.cols a { color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; }
.cols a:hover { color: var(--gold); }
.fine { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px; color: var(--muted); font-size: 15px; }
.fine p { margin: 0 0 4px; }
.fine a { display: inline-block; padding: 4px 0; }   /* a 24 px tap target (site-render-test.cjs: it was 20) */

/* ---- narrow screens ------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .nav-wide { display: none; }
  .menu { display: block; }
  .bar .button { display: none; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero-body { padding-top: 72px; padding-bottom: 72px; }
  .hero-copy { padding: 22px 18px 14px; }
  .strip img { width: calc(50% - 12px); }
  .tile { width: calc(50% - 16px); }
  .section { padding-top: 44px; padding-bottom: 44px; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  .lede { font-size: 18px; }
}

/* ---- live visualizer previews (2026-10-25): shown only once their script runs (.viz-live.on) -------- */
.viz-controls, .viz-stage { display: none; }
.viz-live.on .viz-controls { display: block; margin-bottom: 24px; }
.viz-live.on .viz-stage { display: block; }
.viz-group { margin-bottom: 10px; }
.viz-label { display: inline-block; min-width: 86px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: 6px; }
.viz-group button { font: 500 15px/1 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; margin: 0 6px 8px 0; cursor: pointer; }
.viz-group button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.viz-group button:hover { background: var(--raise); }
.viz-screens { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.viz-screen { width: calc(50% - 20px); margin: 0 10px 28px; }
.viz-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; }
.viz-stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.viz-screen h3 { color: var(--gold); }
.badge { display: inline-block; vertical-align: middle; font: 600 12px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; margin-left: 8px; }
.badge.free { color: var(--gold); border-color: var(--gold); }
/* the Visualizers page on a large screen: three across, two rows, in the page's own container (the owner, 2026-10-25:
   "can all be within same container?") */
@media (min-width: 1200px) { .viz-screen { width: calc(33.333% - 20px); } }
@media (max-width: 899px) { .viz-screen { width: calc(100% - 20px); } }
