/* ═══════════════════════════════════════════════════════════════════════════
   REYIA website — the app's design system, carried over.

   The tokens are copied from the platform's stylesheet
   (Reyia/Platform/crates/api/src/admin_page/admin.css), which copies them from the app
   (Reyia/Core/Extensions/Color+Theme.swift, Font+Theme.swift). Change a token in all three
   together, or they drift. Fonts are the app's own files, served from this origin.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Bebas Neue"; src: url("/assets/fonts/BebasNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface2: #181818;
  --surface3: #1C1C1C;
  --line: rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .10);
  --text: #FFFFFF;
  --text-body: rgba(255, 255, 255, .85);
  --muted: rgba(255, 255, 255, .5);
  --dim: rgba(255, 255, 255, .3);
  --micro: rgba(255, 255, 255, .2);
  --gold: #C49A38;
  --gold-light: #E0C070;
  --gold-base: #A07828;
  --gold-accent: #D4AE58;
  --gold-dim: rgba(196, 154, 56, .40);
  --gold-strong: rgba(196, 154, 56, .50);
  --gold-surface: rgba(196, 154, 56, .10);
  --gold-surface-active: rgba(196, 154, 56, .15);
  --gold-gradient: linear-gradient(90deg, #A07828, #E0C070);
  --ok: #4ADE80;
  --bad: #F87171;
  --warn: #FBBF24;
  --info: #60A5FA;
  --ok-surface: rgba(74, 222, 128, .10);
  --ok-border: rgba(74, 222, 128, .30);
  --bad-surface: rgba(248, 113, 113, .10);
  --bad-border: rgba(248, 113, 113, .30);
  --warn-surface: rgba(251, 191, 36, .10);
  --warn-border: rgba(251, 191, 36, .30);
  --font-display: "Bebas Neue", "Barlow Condensed", Impact, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-label: "Barlow Condensed", "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 12px;
  --r-button: 12px;
  --r-input: 12px;
  --r-small: 8px;
  --r-badge: 5px;
  --top-h: 64px;
  --gutter: 20px;
  --measure: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
html, body { margin: 0; background: var(--bg); color: var(--text-body); }
body { font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, .foot a { color: var(--gold-light); }
p a:hover, li a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: var(--r-small); z-index: 99; }
.skip:focus { left: 8px; }

/* ── type: Bebas for titles, Barlow Condensed capitals for labels, Barlow for text ── */
h1 { font: 400 clamp(44px, 7vw, 84px)/.98 var(--font-display); letter-spacing: .02em; color: var(--text); }
h2 { font: 400 clamp(30px, 4.2vw, 46px)/1.02 var(--font-display); letter-spacing: .03em; color: var(--text); }
h3 { font: 400 24px/1.1 var(--font-display); letter-spacing: .04em; color: var(--text); }
.eyebrow, h4.eyebrow { font: 600 12px/1.3 var(--font-label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--text-body); max-width: 40em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.micro { font-size: 12px; color: var(--dim); line-height: 1.5; }
.gold { color: var(--gold-light); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose h2 { margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }

/* ── the bar: the app's wordmark (Bebas, gold, tracking 12 %) and the eye ── */
.top { position: sticky; top: 0; z-index: 10; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); background: rgba(13, 13, 13, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { font: 400 30px/1 var(--font-display); letter-spacing: .12em; color: var(--gold); padding-top: 3px; }
.brand .eye { width: 56px; height: 30px; }
.brand.small .mark { font-size: 24px; }
.brand.small .eye { width: 45px; height: 24px; }

/* ── buttons (reyiaButtonText; the primary one is the sign-in screen's gold gradient) ── */
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 13px/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text); background: var(--surface2); border: 1px solid var(--line-strong); border-radius: var(--r-button); padding: 12px 18px; min-height: 42px; cursor: pointer; white-space: nowrap; }
.button:hover, button:hover { border-color: var(--gold-dim); color: var(--gold-light); }
.button.primary, button.primary { background: var(--gold-gradient); color: #000; border-color: transparent; }
.button.primary:hover, button.primary:hover { color: #000; filter: brightness(1.08); }
.button.outline { background: var(--gold-surface); color: var(--gold-light); border-color: var(--gold-dim); }
.button.outline:hover { background: var(--gold-surface-active); }
.button.lg, button.lg { font-size: 14px; padding: 15px 24px; min-height: 48px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── sections ── */
section { padding: 72px var(--gutter); }
.wrap { max-width: var(--measure); margin: 0 auto; }
.narrow { max-width: 760px; }
.tint { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.head { max-width: 760px; margin-bottom: 40px; }
.head p { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 24px; }
.tint .card { background: var(--surface2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .eyebrow { margin-bottom: 10px; }
.card.gold { border-color: var(--gold-dim); background: var(--gold-surface); }
.card.gold p { color: var(--text-body); }
.card .tag { display: inline-block; margin-top: 14px; }
.tag { font: 600 10px/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--r-badge); border: 1px solid var(--gold-dim); background: var(--gold-surface); color: var(--gold-light); }
.tag.ok { border-color: var(--ok-border); background: var(--ok-surface); color: var(--ok); }
.tag.warn { border-color: var(--warn-border); background: var(--warn-surface); color: var(--warn); }
.tag.dim { border-color: var(--line-strong); background: var(--surface2); color: var(--muted); }

/* ── the hero: the sign-in screen's composition, the eye above the wordmark ── */
.hero { position: relative; padding: 88px var(--gutter) 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(ellipse at 50% 0%, rgba(196, 154, 56, .14), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: 12em; }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 36px; }
.hero .glow { width: 150px; height: 80px; margin-bottom: 28px; filter: drop-shadow(0 0 22px rgba(224, 192, 112, .35)); }

/* ── the proof strip (reyiaTabPageTitle for the figure, SectionLabel beneath) ── */
.proof { display: flex; flex-wrap: wrap; gap: 16px; }
.proof .pt { flex: 1 1 160px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); }
.proof .v { font: 400 44px/1 var(--font-display); letter-spacing: .02em; color: var(--gold-light); }
.proof .l { margin-top: 8px; font: 600 11px/1.3 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* ── capability rows ── */
.caps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.cap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; background: var(--surface); }
.cap h3 { font-size: 22px; }
.cap .k { font: 600 11px/1.4 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.cap p { color: var(--muted); }
.cap p + p { margin-top: .6em; }
.cap .status { margin-top: 12px; }

/* ── steps ── */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { counter-increment: s; padding: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 400 36px/1 var(--font-display); color: var(--gold); margin-bottom: 12px; letter-spacing: .04em; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ── a quote, a band ── */
.quote { border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; font-size: 22px; line-height: 1.4; color: var(--text); max-width: 34em; }
.quote cite { display: block; margin-top: 12px; font: 600 11px/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-style: normal; }
.band { background: var(--gold-surface); border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { max-width: 16em; }

/* ── facts table (what is true, stated plainly) ── */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font: 600 11px/1.3 var(--font-label); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.facts td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
.facts td { color: var(--muted); }

/* ── forms (ReyiaMetrics inputs, Barlow Condensed labels) ── */
form.inq { display: grid; gap: 16px; }
form.inq .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font: 600 11px/1.4 var(--font-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
label span.req { color: var(--gold); }
input, select, textarea { display: block; width: 100%; margin-top: 8px; font: 16px/1.3 var(--font-body); color: var(--text); background: var(--surface2); border: 1px solid var(--line-strong); border-radius: var(--r-input); padding: 11px 14px; min-height: 44px; letter-spacing: normal; text-transform: none; }
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 1px; border-color: var(--gold-dim); }
label.bad input, label.bad textarea { border-color: var(--bad-border); }
.why { display: block; margin-top: 6px; font: 400 13px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--bad); }
.consent { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-body); }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; flex: none; accent-color: var(--gold); }
.notice { padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--warn-border); background: var(--warn-surface); color: var(--warn); }
/* The honeypot: present for a script, absent for a person. Not display:none, which some scripts honour. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.aside { position: sticky; top: calc(var(--top-h) + 24px); }
.aside .card + .card { margin-top: 16px; }
.aside .card p + p { margin-top: .6em; }

/* ── footer ── */
.foot { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { max-width: var(--measure); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h3 { font: 600 11px/1.3 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot a { display: block; color: var(--text-body); padding: 4px 0; font-size: 15px; }
.foot a:hover { color: var(--gold-light); }
.foot .muted { margin-top: 12px; font-size: 14px; max-width: 24em; }
.foot .micro { margin-top: 14px; }

/* ── admin ── */
.adm-nav { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.adm-nav a { font: 600 12px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-radius: var(--r-small); }
.adm-nav a[aria-current="page"] { color: var(--gold-light); background: var(--gold-surface); }
.adm-nav a:hover { color: var(--gold-light); }
form.settings { max-width: 860px; }
form.settings h3 { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
form.settings h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.notice.ok { border-color: var(--ok-border); background: var(--ok-surface); color: var(--ok); }
body.admin main { padding: 24px var(--gutter); max-width: var(--measure); margin: 0 auto; }
.adm-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.adm-head h1 { font-size: 34px; }
.filters a { font: 600 12px/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-radius: var(--r-small); border: 1px solid transparent; }
.filters a[aria-current="true"] { color: var(--gold-light); border-color: var(--gold-dim); background: var(--gold-surface); }
.inq-row { display: grid; grid-template-columns: 1fr 320px; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.inq-row .who { color: var(--text); font-size: 17px; }
.inq-row .who small { color: var(--muted); font-size: 14px; }
.inq-row .meta { margin-top: 4px; font: 600 11px/1.6 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.inq-row .msg { margin-top: 10px; white-space: pre-wrap; color: var(--text-body); max-width: 60em; }
.inq-row form { display: grid; gap: 8px; }
.inq-row textarea { min-height: 60px; margin-top: 0; font-size: 14px; }
.inq-row select { margin-top: 0; }
.inq-row button { min-height: 38px; }
.badge { font: 600 10px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; padding: 4px 7px; border-radius: var(--r-badge); border: 1px solid var(--line-strong); background: var(--surface2); color: var(--muted); }
.badge.new { border-color: var(--gold-dim); background: var(--gold-surface); color: var(--gold-light); }
.badge.contacted { border-color: var(--info); background: rgba(96, 165, 250, .10); color: var(--info); }
.badge.closed { border-color: var(--ok-border); background: var(--ok-surface); color: var(--ok); }
.badge.investor { border-color: var(--warn-border); background: var(--warn-surface); color: var(--warn); }

/* ── phones ── */
@media (max-width: 900px) {
  .grid.three, .grid.four, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .cap { grid-template-columns: 1fr; gap: 10px; }
  .inq-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --top-h: 56px; --gutter: 16px; }
  section { padding: 52px var(--gutter); }
  .hero { padding: 56px var(--gutter) 48px; }
  .grid.two, .grid.three, .grid.four, .steps, form.inq .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .lede { font-size: 18px; }
  .quote { font-size: 19px; }
  .facts td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── spacing utilities (the CSP forbids style attributes, so templates use these) ── */
.strip { padding-top: 40px; padding-bottom: 40px; }
.hero.tight { padding-bottom: 28px; }
.after-hero { padding-top: 24px; }
.mt-4 { margin-top: 4px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }

/* ── the one long page, the six features and the scenarios (owner, 2026-11-22: the mockup, ported) ── */
.eyebrow .n { color: var(--dim); margin-right: 12px; letter-spacing: .12em; }
.button.wrapok { white-space: normal; text-align: center; height: auto; line-height: 1.3; padding-top: 12px; padding-bottom: 12px; }
.head.wide { max-width: none; }
.eye-hero h1 { max-width: 900px; }
.pull { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--gold-dim); }
.pull p:last-child { color: var(--text-body); font-size: 18px; }
.swaps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.swap { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 16px 18px; }
.tint .swap { background: var(--surface2); }
.swap h3 { font: 600 14px/1.25 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.swap p { margin-top: 6px; font-size: 14.5px; color: var(--text-body); }
.swap span { display: block; margin-top: 8px; font: 400 12.5px/1.3 var(--font-label); letter-spacing: .08em; color: var(--muted); }
.roles { display: grid; gap: 10px; margin-top: 28px; }
.roles div, .pts div { padding: 12px 0 12px 16px; border-left: 2px solid var(--gold-dim); }
.roles h3, .pts h3 { font: 600 13px/1.25 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.roles p, .pts p { margin-top: 4px; font-size: 15px; color: var(--text-body); }
.pts { display: grid; gap: 8px; margin-top: 24px; }
figure { margin: 0; }
.phone, .shot { display: flex; justify-content: center; flex-direction: column; align-items: center; gap: 10px; }
.phone img, img.ph { width: 100%; max-width: 300px; height: auto; border-radius: 34px; border: 6px solid #1A1A1A; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px rgba(0, 0, 0, .55); }
.shot img { width: 100%; height: auto; border-radius: var(--r-card); }
.shot.center { margin: 8px auto 0; max-width: 940px; }
img.dash { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.feats .feat { display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: border-color .2s, transform .2s; }
.feats .feat:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.feat .n, .mission .more, .feat .more { font: 600 12px var(--font-label); letter-spacing: .2em; color: var(--gold); }
.feat h3 { font: 400 28px/1 var(--font-display); letter-spacing: .03em; color: var(--text); }
.feat p { color: var(--text-body); }
.feat .more { margin-top: auto; padding-top: 10px; }
.tint.red { background: radial-gradient(60% 80% at 75% 40%, rgba(120, 20, 20, .28), transparent 75%), var(--surface); }
.sos figure { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sos img.ph { max-width: 240px; }
.sos figcaption { font-size: 15px; color: var(--text-body); text-align: center; }
.sos figcaption b, .day .t, .scenes .t { display: block; font: 600 12.5px/1.3 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.day, .scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.day li, .scenes li { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.day li.hot .t, .scenes li.hot .t, .scenes li.hot h3 { color: var(--bad); }
.day h3, .scenes h3 { font: 400 32px/1.02 var(--font-display); letter-spacing: .03em; margin-bottom: 12px; }
.day .txt p + p, .scenes .txt p + p { margin-top: 10px; }
.day .txt b { color: var(--gold-light); font-weight: 400; font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-right: 6px; }
.vis { display: flex; gap: 16px; justify-content: center; }
.vis img.ph { max-width: 230px; }
.vis.wide { display: grid; gap: 14px; }
.offduty p + p { margin-top: 8px; }
.layers { display: grid; gap: 10px; }
.layers div { position: relative; padding: 16px 18px 16px 58px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: var(--surface2); }
.layers span { position: absolute; left: 18px; top: 18px; font: 400 13px var(--font-label); color: var(--dim); }
.layers h3 { font: 400 24px/1 var(--font-display); letter-spacing: .04em; }
.layers p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.layers .core { border-color: var(--gold-dim); background: var(--gold-surface); }
.layers .core h3 { color: var(--gold-light); }
.abq { margin: 0; padding: 36px 40px; border-radius: 20px; border: 1px solid var(--gold-dim); background: linear-gradient(180deg, rgba(216, 170, 69, .08), rgba(216, 170, 69, .02)); }
.abq p { font: 400 40px/1.05 var(--font-display); letter-spacing: .02em; color: var(--text); }
.abq span { display: block; margin-top: 16px; color: var(--muted); }
.nsteps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.nsteps li { counter-increment: s; position: relative; padding-left: 58px; }
.nsteps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; font: 400 15px var(--font-label); color: var(--gold-light); }
.nsteps h3 { font: 600 17px var(--font-body); }
.nsteps p { margin-top: 4px; color: var(--text-body); font-size: 15px; }
.faq { padding-top: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--text-body); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 18px; font: 600 12px var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text-body); text-decoration: none; }
.jump a:hover { border-color: var(--gold-dim); color: var(--gold-light); }
.asks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; justify-content: center; }
.asks .eyebrow { margin: 0 8px 0 0; }
.asks span { padding: 8px 14px; border-radius: 18px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-body); }
.missions .mission { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.missions .mission:hover { border-color: var(--gold-dim); }
.mission h3 { font: 400 30px/1 var(--font-display); letter-spacing: .03em; color: var(--text); }
.mission p:not(.eyebrow) { color: var(--text-body); }
.mission .more { margin-top: auto; padding-top: 8px; }
.team { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 12px; }
.team div { display: grid; grid-template-columns: 30px auto; column-gap: 10px; align-items: center; }
.team .av { grid-row: span 2; }
.team b { font-weight: 400; font-size: 15px; }
.team i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.av { width: 30px; height: 30px; border-radius: 50%; background: rgba(51, 166, 89, .95); display: inline-flex; align-items: center; justify-content: center; font: 600 10px var(--font-label); letter-spacing: .04em; color: #fff; flex: none; }
.inreyia { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--gold-dim); background: var(--gold-surface); }
.inreyia .av { margin-right: 8px; }
.inreyia b { font: 600 12px var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.inreyia p { margin-top: 8px; color: var(--text-body); font-size: 15px; }
.sum div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum b { font: 400 22px/1 var(--font-display); color: var(--gold-light); min-width: 60px; }
.sum .eyebrow { margin: 16px 0 0; }
@media (max-width: 900px) {
  .swaps { grid-template-columns: 1fr; }
  .day li, .scenes li { grid-template-columns: 1fr; gap: 14px; }
  .vis { justify-content: flex-start; }
  .abq p { font-size: 32px; }
}
@media (max-width: 600px) {
  .vis img.ph { max-width: 46%; }
  .sos img.ph { max-width: 70%; }
  .abq { padding: 26px 24px; }
}

/* ── the header and the eye, as in the design mockup (owner, 2026-11-22: "the top header, the reyia eye icon and
   animation" must be the right ones). The eye is the app's own glow picture (ReyiaEyeGlow) with its lids; the blink
   uses the app's numbers (close 0.09 s, hold 0.06 s, open 0.14 s). No script: CSS animations only. ── */
.top { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; background: rgba(9, 9, 9, .9); border-bottom: 1px solid var(--line); z-index: 20; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #A07828, #E4C677); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) { .top::after { animation: rv-prog linear both; animation-timeline: scroll(root); } }
@keyframes rv-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.brand { gap: 14px; text-decoration: none; }
.brand .mark { font: 400 22px/1 var(--font-body); letter-spacing: .42em; color: #D8AA45; padding-top: 0; }
.brand.small .mark { font-size: 20px; }
.hg-eye { display: inline-block; width: 40px; height: 28px; background: #D8AA45; -webkit-mask: url("/assets/eye.svg") center / contain no-repeat; mask: url("/assets/eye.svg") center / contain no-repeat; }
.brand.small .hg-eye { width: 34px; height: 24px; }
.menus { display: flex; align-items: center; gap: 40px; padding-top: 6px; }
.nd { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
.hg-nav { font: 600 13px/1 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none; padding-bottom: 6px; border-bottom: 1.5px solid transparent; }
.hg-nav i { font-style: normal; font-size: 9px; margin-left: 6px; opacity: .6; }
.nd:hover > .hg-nav, .hg-nav[aria-current="page"] { color: #D8AA45; border-bottom-color: #D8AA45; }
.nd-m { position: absolute; top: 100%; left: -20px; min-width: 250px; padding: 10px; border-radius: 16px; background: rgba(14, 14, 14, .97); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.nd:hover .nd-m, .nd:focus-within .nd-m { opacity: 1; transform: none; pointer-events: auto; }
.nd-m a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nd-m a:hover { background: rgba(216, 170, 69, .08); }
.nd-m b { display: block; font: 600 13px var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: #E4C677; }
.top-r { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.hg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font: 600 15px/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hg-btn.sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.hg-gold { background: rgba(196, 154, 56, .10); color: #E4C677; border: 1px solid rgba(196, 154, 56, .6); }
.hg-gold:hover { color: #F0D58A; background: rgba(196, 154, 56, .18); border-color: #D8AA45; }
.hg-dark { background: #181818; color: #fff; border: 1px solid rgba(255, 255, 255, .10); }
.hg-dark:hover { color: #E0C070; border-color: rgba(196, 154, 56, .40); }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; font: 600 13px var(--font-label); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); padding: 10px 12px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav div { position: absolute; right: 0; top: 100%; min-width: 220px; padding: 10px; border-radius: 14px; background: rgba(14, 14, 14, .98); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.mnav div a { display: block; padding: 10px 12px; font: 600 13px var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: #E4C677; text-decoration: none; }
/* the first screen: the eye, alone, then the words */
.hx1 { position: relative; min-height: calc(100vh - 76px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px var(--gutter) 60px; }
.hx-eye { position: relative; width: min(440px, 78vw); aspect-ratio: 440 / 308; opacity: 0; animation: hx-fade 1.2s .3s ease-in-out forwards; }
.hx-eye img, .hx-lids { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx-lids { overflow: hidden; }
.hx-ou { animation: hx-opu 1.2s 1.5s cubic-bezier(.45, 0, .2, 1) both; }
.hx-ol { animation: hx-opl 1.2s 1.5s cubic-bezier(.45, 0, .2, 1) both; }
.hx-bu { transform: translateY(-160px); animation: hx-blu 7s 4.1s linear infinite; }
.hx-bl { transform: translateY(80px); animation: hx-bll 7s 4.1s linear infinite; }
.hx-cu { transform: translateY(-160px); }
.hx-cl { transform: translateY(80px); }
.hx-eye { display: block; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 16px; background: none; cursor: pointer; }
.hx-eye:hover { background: none; }
.hx-eye:focus-visible { outline: 2px solid #E0C070; outline-offset: 6px; }
/* a blink on hover, and on every tap or click (:active), with the app's timings */
.hx-eye:hover .hx-cu { animation: hx-tu .29s linear; }
.hx-eye:hover .hx-cl { animation: hx-tl .29s linear; }
.hx-eye:active .hx-cu { animation: hx-tu2 .29s linear; }
.hx-eye:active .hx-cl { animation: hx-tl2 .29s linear; }
@keyframes hx-tu2 { 0% { transform: translateY(-160px); animation-timing-function: ease-in; } 31% { transform: translateY(0); } 52% { transform: translateY(0); animation-timing-function: ease-out; } 100% { transform: translateY(-160px); } }
@keyframes hx-tl2 { 0% { transform: translateY(80px); animation-timing-function: ease-in; } 31% { transform: translateY(0); } 52% { transform: translateY(0); animation-timing-function: ease-out; } 100% { transform: translateY(80px); } }
@keyframes hx-fade { to { opacity: 1; } }
@keyframes hx-opu { from { transform: translateY(0); } to { transform: translateY(-160px); } }
@keyframes hx-opl { from { transform: translateY(0); } to { transform: translateY(80px); } }
@keyframes hx-blu { 0% { transform: translateY(-160px); animation-timing-function: ease-in; } 1.29% { transform: translateY(0); } 2.14% { transform: translateY(0); animation-timing-function: ease-out; } 4.14%, 100% { transform: translateY(-160px); } }
@keyframes hx-bll { 0% { transform: translateY(80px); animation-timing-function: ease-in; } 1.29% { transform: translateY(0); } 2.14% { transform: translateY(0); animation-timing-function: ease-out; } 4.14%, 100% { transform: translateY(80px); } }
@keyframes hx-tu { 0% { transform: translateY(-160px); animation-timing-function: ease-in; } 31% { transform: translateY(0); } 52% { transform: translateY(0); animation-timing-function: ease-out; } 100% { transform: translateY(-160px); } }
@keyframes hx-tl { 0% { transform: translateY(80px); animation-timing-function: ease-in; } 31% { transform: translateY(0); } 52% { transform: translateY(0); animation-timing-function: ease-out; } 100% { transform: translateY(80px); } }
.hx-wm { margin: 36px 0 0; padding-left: .42em; text-align: center; font: 400 clamp(32px, 5vw, 46px)/1 var(--font-body); letter-spacing: .42em; color: #D8AA45; opacity: 0; animation: hx-rise 1.2s 2.7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hx-tag { margin: 22px 0 0; padding-left: .3em; text-align: center; font: 600 14px/1.3 var(--font-label); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .72); opacity: 0; animation: hx-rise 1.2s 3.4s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes hx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hx-arrow { margin-top: 56px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(216, 170, 69, .55); color: #E4C677; display: flex; align-items: center; justify-content: center; opacity: 0; animation: hx-fade .8s 4.8s ease forwards, hx-bob 2.4s 5.6s ease-in-out infinite; }
.hx-arrow:hover { background: rgba(216, 170, 69, .1); }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hx2 { padding-top: 30px; text-align: center; }
.hx-h { margin: 0 auto; max-width: none; font: 400 clamp(48px, 5.4vw, 82px)/.98 var(--font-display); letter-spacing: .02em; color: #fff; }
.hx-h span { color: #E4C677; }
.hx-p { margin: 28px auto 0; max-width: 768px; font: 400 20px/1.55 var(--font-body); color: rgba(255, 255, 255, .85); }
.hx-btns { display: flex; gap: 14px; margin-top: 36px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 1100px) { .menus { gap: 24px; } }
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr; padding: 0 var(--gutter); }
  .menus { display: none; }
  .mnav { display: block; }
}
@media (max-width: 600px) { .top { height: 60px; } .brand .mark { font-size: 18px; letter-spacing: .32em; } .hg-btn.sm { padding: 0 12px; } .hx-p { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) {
  .hx-eye, .hx-arrow, .hx-wm, .hx-tag { opacity: 1; animation: none; }
  .hx-ou { transform: translateY(-160px); animation: none; }
  .hx-ol { transform: translateY(80px); animation: none; }
  .hx-bu, .hx-bl, .hx-eye:hover .hx-cu, .hx-eye:hover .hx-cl, .hx-eye:active .hx-cu, .hx-eye:active .hx-cl { animation: none; }
}
/* ── coming soon: the sign-in screen's composition alone on the page ── */
body.soon { min-height: 100vh; min-height: 100dvh; display: grid; }
body.soon main { display: grid; place-items: center; text-align: center; }
body.soon .glow { margin-left: auto; margin-right: auto; }
body.soon .mark { font: 400 clamp(40px, 6vw, 60px)/1 var(--font-display); letter-spacing: .12em; color: var(--gold); margin-bottom: 20px; }
body.soon h1 { max-width: none; }

/* ── One day as a timeline the visitor steps through (web/site makes [data-stepper] interactive; with scripts off the
   rail and the Next buttons stay hidden and every step shows, one after another) ── */
[data-step-rail][hidden], [data-step-next][hidden] { display: none !important; }
.stepper.is-stepper { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; border-top: 1px solid var(--line); padding-top: 32px; }
.day-rail { display: flex; flex-direction: column; position: sticky; top: 100px; }
.day-rail button { display: block; width: 100%; min-height: 0; margin: 0; padding: 12px 0 12px 26px; position: relative; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; background: none; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; color: rgba(255, 255, 255, .55); font: 400 14.5px/1.35 var(--font-body); cursor: pointer; }
.day-rail button:first-child { border-top: 0; }
.day-rail button::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.day-rail button.on::before { border: 0; background: #D8AA45; box-shadow: 0 0 0 6px rgba(216, 170, 69, .18); }
.day-rail button.hot.on::before { background: var(--bad); box-shadow: 0 0 0 6px rgba(248, 113, 113, .18); }
.day-rail button:hover, .day-rail button.on { color: #fff; border-color: var(--line-soft); }
.day-rail button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.day-rail .tt { display: block; font: 600 12px/1.3 var(--font-label); letter-spacing: .18em; color: rgba(255, 255, 255, .4); }
.day-rail button.on .tt { color: #D8AA45; }
.day-rail button.hot.on .tt { color: var(--bad); }
.is-stepper :is(.day, .scenes) > li:not(.on) { display: none; }
.is-stepper :is(.day, .scenes) > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-top: 0; padding-top: 0; }
.is-stepper :is(.day, .scenes) > li .t { grid-column: 1 / -1; margin-bottom: -20px; }
.is-stepper :is(.day, .scenes) > li.on { animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.day-next { display: inline-flex; align-items: center; margin-top: 24px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid rgba(216, 170, 69, .6); background: rgba(216, 170, 69, .12); font: 600 12px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: #E4C677; cursor: pointer; }
.day-next:hover { background: rgba(216, 170, 69, .22); color: #F0D58A; }
@media (max-width: 900px) {
  .stepper.is-stepper { grid-template-columns: 1fr; gap: 20px; }
  .day-rail { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .day-rail button { flex: 0 0 150px; border-top: 0; border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 12px 10px 30px; }
  .day-rail button::before { left: 12px; top: 14px; }
  .is-stepper :is(.day, .scenes) > li { grid-template-columns: 1fr; }
  .is-stepper :is(.day, .scenes) > li .t { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .is-stepper :is(.day, .scenes) > li.on { animation: none; } }

/* ── the desktop blocks ported from the design mockup (assets/parts.css): the mockup's own layout at 1440 px, scaled
   to the window down to 900 px; below that the responsive version of the same section (.mb) ── */
.dk { display: none; }
/* the data page's first section holds two phone blocks, the opening and the promises, each with its own padding */
.sd-top { padding: 0; }
.sd-top > .mb.tint { padding: 72px var(--gutter); }
@media (min-width: 900px) {
  .has-dk { padding: 0; overflow: hidden; }
  .has-dk > .dk { display: block; }
  .has-dk > .mb { display: none; }
  .fx { position: relative; width: 1440px; margin: 0 auto; }
  .fx.kfw, .fx.esw { height: 900px; }
  .fx.adw { height: 1620px; }
}
@media (min-width: 900px) and (max-width: 1439px) { .fx { zoom: .9; } }
@media (min-width: 900px) and (max-width: 1290px) { .fx { zoom: .8; } }
@media (min-width: 900px) and (max-width: 1150px) { .fx { zoom: .7; } }
@media (min-width: 900px) and (max-width: 1005px) { .fx { zoom: .625; } }

/* ── the mockup's scroll motion (its smooth(): "scrolling should be smooth and look like one long page"): each section
   rises in as it enters, its headline wipes in, and it dims and drifts up as it leaves. CSS scroll timelines; where a
   browser has none, the browser program adds the rise-in (html.rv-js, below). Reduce motion: everything stays put. ── */
@keyframes rv-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes rv-leave { to { opacity: .25; transform: translateY(-50px); } }
@keyframes rv-wipe { from { clip-path: inset(0 0 100% 0); transform: translateY(30px); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main > section:not(.hx1) > .wrap, main > section > .dk > .fx, main > section > .mb > .wrap, .scw > section > .wrap {
      animation: rv-rise linear both, rv-leave linear forwards; animation-timeline: view(), view();
      animation-range: entry 5% entry 75%, exit 25% exit 100%;
    }
    main > section:not(.hx1):not(.hx2) h2 { animation: rv-wipe linear both; animation-timeline: view(); animation-range: entry 30% entry 95%; }
  }
}
html.rv-js main > section:not(.hx1) > .wrap, html.rv-js main > section > .dk > .fx, html.rv-js main > section > .mb > .wrap, html.rv-js .scw > section > .wrap {
  opacity: 0; transform: translateY(70px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
}
html.rv-js main > section.rv-in > .wrap, html.rv-js main > section.rv-in > .dk > .fx, html.rv-js main > section.rv-in > .mb > .wrap, html.rv-js .scw > section.rv-in > .wrap { opacity: 1; transform: none; }

/* ── the scenarios page: a mission picker (hidden radios and labels; works with scripts off) and each mission a
   scene-by-scene stepper ([data-stepper], the browser program). Without CSS every mission shows in full. ── */
.scw label { font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.scw .missions .mission { cursor: pointer; }
.scw .mission-sec { display: none; }
.scw .mission-sec:target { display: block; }
.scw:has(#sc-syn:checked) #syn, .scw:has(#sc-cp:checked) #cp, .scw:has(#sc-dc:checked) #dc { display: block; }
.scw:has(#sc-syn:checked) label.mission[for="sc-syn"], .scw:has(#sc-cp:checked) label.mission[for="sc-cp"],
.scw:has(#sc-dc:checked) label.mission[for="sc-dc"] { border-color: var(--gold-dim); background: var(--gold-surface); }
.mchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.scw .mchip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); font: 600 11.5px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); cursor: pointer; }
.scw .mchip:hover { color: #fff; }
.scw .mchip.on { color: #E4C677; border-color: rgba(216, 170, 69, .6); background: rgba(216, 170, 69, .1); }
.scw .mchip.end { color: #FCA5A5; border-color: rgba(248, 113, 113, .4); margin-left: auto; }
.scw label.day-next { cursor: pointer; font: 600 12px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: #E4C677; }
.scenes .txt > .day-next { margin-top: 20px; }

/* ── the phone (owner, 2026-11-22, on the phone review: "not the smoothest ... the reyia eye is too big on the hero
   page") ── */
@media (max-width: 600px) {
  .hx1 { min-height: calc(88vh - 60px); padding-top: 24px; }
  .hx-eye { width: min(230px, 58vw); }
  .hx-wm { margin-top: 26px; font-size: 30px; }
  .hx-tag { font-size: 11.5px; letter-spacing: .24em; margin-top: 16px; padding: 0 12px; }
  .hx-arrow { margin-top: 40px; width: 44px; height: 44px; }
  .hx-h { font-size: clamp(40px, 10.5vw, 52px); }
  /* the tools that Reyia replaces: a compact list, as in the mockup (name, what it is, what it takes over) */
  .swaps { gap: 0; margin-top: 8px; }
  .swap { background: none !important; border: 0; border-left: 2px solid var(--gold-dim); border-radius: 0; padding: 10px 0 10px 16px; margin: 6px 0; }
  .swap h3 { font-size: 13px; }
  .swap p { margin-top: 3px; font-size: 15px; }
  .swap span { margin-top: 4px; font-size: 12px; }
  section h2 { font-size: clamp(34px, 9.6vw, 42px); }
  .head { margin-bottom: 28px; }
  .card { padding: 20px; }
}

/* ── the phone's "every tool, replaced by one" (owner, 2026-11-22: "it has to be shown, not told"): the app in the
   centre, the tools it replaces around it, each with its icon and name only. They fly in towards the phone as the
   section scrolls in (CSS scroll timelines; without them, and with reduce motion, they are simply in place). ── */
.tlm { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); gap: 10px; align-items: center; margin: 30px 0 34px; position: relative; }
.tlm-col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tlm-r { padding-top: 22px; }
.tch { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 8px; border-radius: 10px; border: 1px solid rgba(216, 170, 69, .32); background: rgba(20, 20, 20, .92); position: relative; }
.tch-i { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(216, 170, 69, .1); display: flex; align-items: center; justify-content: center; color: #D8AA45; }
.tch-i svg { width: 14px; height: 14px; }
.tch-n { font: 600 10.5px/1.15 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: #E4C677; }
.tch::after { content: ""; position: absolute; top: 50%; width: 10px; border-top: 1px dashed rgba(216, 170, 69, .5); }
.tch-l::after { right: -11px; }
.tch-r::after { left: -11px; }
.tlm-c { position: relative; display: flex; justify-content: center; }
.tlm-c img { width: 100%; height: auto; border-radius: 16px; border: 3px solid #1a1a1a; box-shadow: 0 0 0 1px rgba(216, 170, 69, .35), 0 20px 40px rgba(0, 0, 0, .6), 0 0 40px rgba(216, 170, 69, .12); position: relative; }
.tlm-ring { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 1px dashed rgba(216, 170, 69, .28); animation: tlm-spin 24s linear infinite; }
.tlm-ring2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; border-style: solid; border-color: rgba(216, 170, 69, .1); animation-duration: 40s; animation-direction: reverse; }
@keyframes tlm-spin { to { transform: rotate(360deg); } }
@keyframes tlm-in-l { from { opacity: 0; transform: translateX(-46px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes tlm-in-r { from { opacity: 0; transform: translateX(46px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes tlm-in-c { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tlm-c img { animation: tlm-in-c linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .tch-l { animation: tlm-in-l linear both; animation-timeline: view(); }
    .tch-r { animation: tlm-in-r linear both; animation-timeline: view(); }
    .tch-0, .tch-5 { animation-range: entry 0% entry 80%; }
    .tch-1, .tch-6 { animation-range: entry 10% entry 90%; }
    .tch-2, .tch-7 { animation-range: entry 20% entry 100%; }
    .tch-3, .tch-8 { animation-range: entry 30% cover 30%; }
    .tch-4, .tch-9 { animation-range: entry 40% cover 35%; }
  }
}
@media (prefers-reduced-motion: reduce) { .tlm-ring { animation: none; } }
@media (max-width: 360px) { .tlm { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); } .tch-n { font-size: 9.5px; } }

/* nothing that flies in from the side may widen the page (overflow-x: clip keeps sticky elements working) */
main { overflow-x: clip; }

/* ── the watermark (base.html): one diagonal text pattern behind the whole page, as in the design mockup. Sections
   that had a solid tint get the same tint as a see-through layer, so the pattern runs through them. ── */
body { position: relative; }
.wm-all { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
.tint, .foot { background: rgba(255, 255, 255, .029); }
.tint.red { background: radial-gradient(60% 80% at 75% 40%, rgba(120, 20, 20, .28), transparent 75%), rgba(255, 255, 255, .029); }

/* Moving between pages: the browser paints dark from the first frame (color-scheme in base.html) and fades from one
   page to the next instead of flashing white. Links within a page slide (scroll-behavior on html). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* ── the Platform page: one panel per capability (a promise, a paragraph, three proofs, a real screen) ── */
.fp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fp-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-strong); color: var(--text-body); text-decoration: none; font: 600 12px/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; }
.fp-jump a b { color: var(--gold); font-weight: 600; }
.fp-jump a:hover { border-color: var(--gold-dim); color: var(--text); }
.fp-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.fp-g.rev .fp-t { order: 2; }
.fp-t h2 { max-width: 14em; }
.fp-pr { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fp-pr li { display: flex; gap: 14px; align-items: flex-start; }
.fp-pr b { display: block; font: 600 15px/1.3 var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.fp-pr span { display: block; margin-top: 4px; color: var(--text-body); }
.fp-ic { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--gold-surface); stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fp-dots { display: flex; gap: 6px; margin-top: 30px; }
.fp-dots i { width: 14px; height: 3px; border-radius: 2px; background: var(--line-strong); }
.fp-dots i.on { width: 34px; background: var(--gold); }
.fp-v { margin: 0; display: flex; justify-content: center; gap: 18px; }
.fp-ph img.ph { width: min(300px, 70vw); height: auto; border-radius: 34px; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.fp-ph.two img.ph { width: min(240px, 42vw); }
.fp-ph.two img.ph + img.ph { margin-top: 60px; }
.fp-prom .card { max-width: 520px; }
.fp-prom ul { margin: 14px 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.fp-prom li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.fp-prom li span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.fp-cta { padding-top: 56px; padding-bottom: 56px; }
.fp-cards .card .fp-ic { margin-bottom: 14px; }
@media (max-width: 899px) {
  .fp-g { grid-template-columns: 1fr; gap: 36px; }
  .fp-g.rev .fp-t { order: 0; }
  .fp-dots { display: none; }
}

/* the twelve capabilities on a phone: a compact two-column grid of names (section 03) */
@media (max-width: 700px) {
  .feats.caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feats.caps .feat { padding: 16px 14px; }
  .feats.caps .feat h3 { font-size: 19px; line-height: 1.05; margin-top: 6px; }
  .feats.caps .feat p, .feats.caps .feat .more { display: none; }
}
