@font-face{font-family:"Cinzel";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/cinzel-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2")}

/* Layout: a navy band opens the page and ends in a road running to the horizon;
   below it, plain left-aligned sections on a cool off-white, one dark panel for the app. */
:root {
  --bg: #F5F6F9;
  --surface: #FFFFFF;
  --ink: #14213D;
  --muted: #4A5568;
  --rule: #D9DDE6;
  --gold: #C9A227;
  --gold-ink: #7A5F0A;
  --band: #14213D;
  --band-road: #1C2C52;
  --band-ink: #FFFFFF;
  --band-muted: #C9CFDA;
  --night: #070B18;
  --flame: #F3C263;
  --font-mark: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220; --surface: #131D33; --ink: #F2F4F8; --muted: #B4BDCC; --rule: #26324D;
    --gold-ink: #E0B84F; --band: #14213D; --band-road: #1C2C52; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1220; --surface: #131D33; --ink: #F2F4F8; --muted: #B4BDCC; --rule: #26324D;
  --gold-ink: #E0B84F; --band: #14213D; --band-road: #1C2C52; color-scheme: dark;
}

body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 1040px; margin-inline: auto; box-sizing: border-box;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Band */
.band { background: var(--band); color: var(--band-ink); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 22px; }
.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.lockup svg { flex: none; }
.lockup-name { font-family: var(--font-mark); font-weight: 700; font-size: 20px; letter-spacing: 2px; line-height: 1.1; }
.lockup-sub { font-family: var(--font-head); font-weight: 600; font-size: 10px; letter-spacing: 5px; color: var(--band-muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px clamp(14px, 3vw, 26px); font-family: var(--font-head); font-weight: 500; font-size: clamp(14px, 3.6vw, 15px); }
.nav a { text-decoration: none; color: var(--band-muted); padding-block: 10px; }
.nav a:hover { color: var(--band-ink); }

.hero { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(36px, 7vw, 76px) clamp(20px, 4vw, 36px); }
.hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(34px, 6.2vw, 62px); line-height: 1.08; letter-spacing: -0.01em; max-width: 15ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--flame); }
.hero p { max-width: 54ch; color: var(--band-muted); font-size: clamp(17px, 2vw, 19px); }
.road { display: block; width: 100%; height: clamp(110px, 17vw, 200px); }

/* Sections */
.section { padding-block: clamp(44px, 7vw, 80px); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; text-wrap: balance; }


/* Nicodemus panel: the one object on the page */
.app { background: var(--night); color: #FFFFFF; border: 1px solid #1B2540; border-radius: 18px; padding: clamp(24px, 4.5vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.app img { width: clamp(84px, 16vw, 148px); height: auto; aspect-ratio: 1; border-radius: 22%; display: block; }
.app-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app .eyebrow { color: var(--flame); }
.app-name { font-family: var(--font-head); font-weight: 600; line-height: 1.15; font-size: clamp(30px, 4.4vw, 44px); }
.app-tag { font-family: var(--font-head); font-weight: 500; font-size: clamp(18px, 2.2vw, 21px); color: var(--flame); }
.app-body > p { color: #C9CFDA; max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 4px; }
.facts li { font-size: 14px; color: #E6E9F0; border: 1px solid #2B3552; border-radius: 999px; padding: 5px 13px; }
.app-link { align-self: flex-start; margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--night); background: var(--flame); text-decoration: none; padding: 12px 20px; border-radius: 10px; }
.app-link:hover { background: #FFD98A; }
.app-soon { margin-top: 6px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--flame); }
@media (max-width: 560px) { .app { grid-template-columns: minmax(0, 1fr); } }
.next { margin-top: 22px; color: var(--muted); max-width: 66ch; }
.next strong { color: var(--ink); font-weight: 600; }

.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 56px; align-items: start; }
.about p { color: var(--muted); max-width: 62ch; }
.about p + p { margin-top: 14px; }
.verse { border-left: 3px solid var(--gold); padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.verse q { quotes: none; font-family: var(--font-head); font-weight: 500; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.4; color: var(--ink); }
.verse cite { font-style: normal; font-size: 14px; color: var(--muted); }

.contact { display: flex; flex-direction: column; gap: 6px; }
.contact a { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 3.4vw, 30px); color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact span { color: var(--muted); }

.foot { border-top: 1px solid var(--rule); padding-block: 26px 34px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }

html { scroll-behavior: smooth; color-scheme: light dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; }
.foot a { color: inherit; text-underline-offset: 3px; }
.legal { padding-block: clamp(36px, 6vw, 64px); display: flex; flex-direction: column; gap: 14px; max-width: 70ch; }
.legal h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(30px, 4.6vw, 42px); line-height: 1.12; }
.legal h2 { font-size: clamp(20px, 2.6vw, 24px); margin-top: 18px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.legal .updated { font-size: 14px; }
