/* Public landing page: navy and gold, after the developer's reference (11 Oct 2026). Portal pages use rstf.css. */

:root {
  color-scheme: dark;
  --navy: #0a1f44;
  --surface: #11295a;        /* raised circles and ground in the art */
  --line: rgba(255, 255, 255, 0.13);
  --ink: #ffffff;
  --muted: #b6c3dc;          /* 9.3:1 on --navy */
  --gold: #f5c451;           /* 10.9:1 on --navy */
  --gold-2: #e0a92f;
  --gold-hover: #ffd470;
  --leaf: #3b82f6;
  --leaf-2: #2563c9;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, sans-serif;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 400 1rem/1.55 var(--font); color: var(--ink); background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; outline: none; }
a { color: inherit; }
p { margin: 0; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.l-head {
  max-width: var(--page); margin: 0 auto; width: 100%;
  padding: 1.25rem var(--gutter); display: flex; align-items: center; gap: 2.5rem;
}
.l-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; }
.l-mark { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 10px; }
.l-sub { font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.l-nav { display: flex; gap: 2rem; margin-left: auto; font-size: 0.9375rem; }
.l-nav a { color: var(--muted); text-decoration: none; padding: 0.4rem 0; transition: color 150ms var(--ease); }
.l-nav a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 12px;
  font: 650 1rem var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 100ms var(--ease);
}
.l-btn:active { transform: scale(0.98); }
.l-btn svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 150ms var(--ease); }
.l-btn:hover svg { transform: translateX(3px); }
.l-btn-gold { background: var(--gold); color: var(--navy); }
.l-btn-gold:hover { background: var(--gold-hover); }
.l-btn-line { border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--ink); }
.l-btn-line:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.l-btn-sm { min-height: 2.5rem; padding: 0 1.25rem; font-size: 0.9375rem; border-radius: 10px; flex: none; }

/* ---------- Hero ---------- */
.l-hero {
  max-width: var(--page); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 2.5rem; align-items: center;
}
.l-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.l-hero h1 {
  margin: 1.25rem 0 0; font: 850 clamp(2.25rem, 0.9rem + 4.4vw, 4.5rem)/0.98 var(--display);
  letter-spacing: -0.04em; text-transform: uppercase;
}
.l-hero h1 span { color: var(--gold); }
.l-lead { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.l-status { margin-top: 1.5rem; display: inline-flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9375rem; color: var(--ink); }
.l-dot { width: 0.5rem; height: 0.5rem; margin-top: 0.5em; border-radius: 50%; background: var(--muted); flex: none; }
.l-nowrap { white-space: nowrap; }
.l-status.is-open .l-dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
.l-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.875rem; }
.l-note { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); max-width: 52ch; }
.l-art { width: 100%; height: auto; max-width: 28rem; justify-self: center; }

/* ---------- Roles ---------- */
.l-roles { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.l-roles ul { list-style: none; margin: 0; padding: 2.25rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-roles li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; padding: 0.25rem 1rem; }
.l-roles li + li { border-left: 1px solid var(--line); }
.l-roles svg { width: 2.25rem; height: 2.25rem; margin-bottom: 0.6rem; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.l-roles b { font: 700 1.0625rem var(--display); letter-spacing: -0.01em; }
.l-roles span { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Key dates ---------- */
.l-dates { max-width: var(--page); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter); }
.l-dates h2 { margin: 0; font: 750 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--display); letter-spacing: -0.03em; }
.l-muted { margin-top: 0.4rem; color: var(--muted); max-width: 60ch; }
.l-dates ol { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l-dates li { position: relative; padding: 1.75rem 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.15rem; }
.l-dates li::before { content: ""; position: absolute; top: 5px; left: 1.25rem; right: 0.5rem; height: 1px; background: var(--line); }
.l-dates li:last-child::before { display: none; }
.l-step-dot { position: absolute; top: 0; left: 0; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.l-dates .is-done .l-step-dot { background: var(--muted); border-color: var(--muted); }
.l-dates .is-current .l-step-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(245, 196, 81, 0.2); }
.l-dates b { font: 750 1.25rem var(--display); letter-spacing: -0.02em; }
.l-dates .is-current b { color: var(--gold); }
.l-dates .is-done b, .l-dates .is-done > span { color: var(--muted); }
.l-dates li > span:not(.l-step-dot) { font-weight: 600; }
.l-dates small { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

/* ---------- Footer ---------- */
.l-foot {
  max-width: var(--page); margin: 0 auto; width: 100%; padding: 1.75rem var(--gutter) 2.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted);
}
.l-foot a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 0.2em; }
.l-foot a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  .l-nav { display: none; }
  .l-head { justify-content: space-between; gap: 1rem; }
  .l-hero { grid-template-columns: 1fr; }
  .l-art { display: none; }
  .l-dates ol { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .l-dates li:nth-child(2)::before { display: none; }
}
@media (max-width: 560px) {
  .l-actions .l-btn { flex: 1 1 100%; }
  .l-roles ul { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .l-roles li + li { border-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .l-dates ol { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .l-dates li { padding: 0 0 0 1.75rem; }
  .l-dates li::before { display: none; }
  .l-step-dot { top: 0.45rem; }
}
@media (pointer: coarse) { .l-btn-sm { min-height: 2.75rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Demo site ---------- */
.demo-banner { margin: 0; max-width: none; width: 100%; box-sizing: border-box; padding: 0.5rem 1rem; text-align: center; font-size: 0.8125rem; background: #fff7e8; color: #7c3d06; border-bottom: 1px solid #f6d9a8; }
