/* The public front door, matched to Daniel's Framer design ("Right Result"):
   Void/Night/Gold/Ivory/Mist palette, Cinzel Decorative display type over
   Chakra Petch, photographic hero. Standalone from style.css on purpose. */

/* Self-hosted latin subsets; first-party, so the no-third-party promise and
   the CSP's font-src 'self' both hold. */
@font-face {
  font-family: "Cinzel Decorative";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cinzel-decorative-700.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/chakra-petch-400.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/chakra-petch-600.woff2") format("woff2");
}

:root {
  --bg: #090a12;      /* Void */
  --panel: #101326;   /* Night */
  --panel-2: #141936;
  --ink: #f7f0dc;     /* Ivory */
  --muted: #b5bacb;   /* Mist */
  --accent: #e3a719;  /* Gold */
  --up: #46d46c;      /* Online */
  --down: #f85149;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body.landing {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Chakra Petch", system-ui, sans-serif;
}
main { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--accent); }

h1, h2 { font-family: "Cinzel Decorative", serif; font-weight: 700; }
h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .02em; }
/* Only the content sections space themselves; the hero is a <section> too,
   and a margin on it opens a bare strip of page colour above the photo. */
main > section { margin-top: 4.5rem; }

/* Small uppercase eyebrow labels, straight from the reference. */
.eyebrow {
  color: var(--accent); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem;
}
.section-sub { color: var(--muted); margin: 0 0 1.6rem; }

/* The hero bleeds the full viewport width; the gradient stops are the
   reference design's, sinking the photo into the page colour so a crop
   never shows a hard edge. */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(4,5,13,.24) 0%, rgba(9,10,18,.7) 70%, var(--bg) 100%),
    url("hero.jpg") center / cover no-repeat,
    var(--panel);
}
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem 4.5rem;
}
.hero h1 {
  margin: 1.2rem 0 .5rem;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.7);
}
.hero .accent { color: var(--accent); display: block; font-size: .62em; letter-spacing: .18em; }
.pitch {
  color: var(--muted); margin: 0 auto 2.5rem; max-width: 34em;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}

.landing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(180deg, rgba(4,5,13,.65), rgba(4,5,13,0));
  font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.landing-top .brand { color: var(--ink); letter-spacing: .18em; }
.top-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.top-links a { text-decoration: none; color: var(--ink); }
.top-links a:hover { color: var(--accent); }
.top-links .top-cta {
  border: 1px solid var(--accent); border-radius: .3em;
  padding: .4em 1em; color: var(--accent);
}
.top-links .top-download {
  background: var(--accent); border-radius: .3em;
  padding: .45em 1.1em; color: #14100a;
}
.top-links .top-download:hover { color: #14100a; filter: brightness(1.1); }

.realm-chip {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em 1.2em; border-radius: 999px;
  background: rgba(9,10,18,.65); border: 1px solid rgba(247,240,220,.14);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.realm-chip .dot { width: .6em; height: .6em; border-radius: 50%; }
.realm-chip.is-up .dot { background: var(--up); box-shadow: 0 0 8px var(--up); }
.realm-chip.is-down .dot { background: var(--down); }

.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta {
  display: inline-block; padding: 1em 2.2em; border-radius: .3em;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.cta-primary { background: var(--accent); color: #14100a; }
.cta-secondary { border: 1px solid var(--accent); color: var(--accent); background: rgba(9,10,18,.5); }

/* Stat tiles overlap the hero's fade, like the reference's status panels. */
.glance {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: -3.5rem;
}
.stat {
  background: linear-gradient(135deg, var(--panel-2) 0%, var(--panel) 72%);
  border: 1px solid rgba(247,240,220,.1); border-radius: .5em;
  padding: 1.2rem 2.4rem; text-align: center; min-width: 180px;
}
.stat-num {
  display: block; font-family: "Cinzel Decorative", serif;
  font-size: 2.1rem; font-weight: 700; color: var(--ink);
}
.stat-label {
  color: var(--muted); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}

.steps ol { padding-left: 0; list-style: none; counter-reset: quest; }
.steps li {
  margin: .9em 0; padding: 1rem 1.3rem;
  background: var(--panel); border: 1px solid rgba(247,240,220,.08); border-radius: .5em;
}
.steps li strong {
  display: block; font-size: .85rem; font-weight: 600; color: var(--accent);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .2em;
}
.manual-note { color: var(--muted); margin-top: 1.2rem; font-size: .95rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.feature {
  background: var(--panel); border: 1px solid rgba(247,240,220,.08);
  border-radius: .5em; padding: 1.2rem 1.4rem;
}
.feature h3 {
  margin: 0 0 .5em; font-size: .9rem; font-weight: 600; color: var(--ink);
  letter-spacing: .12em; text-transform: uppercase;
}
.feature p { margin: 0; color: var(--muted); }

.road { text-align: center; }
.road-list {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; gap: 2.2rem; justify-content: center; flex-wrap: wrap;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  letter-spacing: .14em; text-transform: uppercase;
}
.road-list li::before { content: "\2022\00a0\00a0"; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.landing-news article {
  background: var(--panel); border: 1px solid rgba(247,240,220,.08);
  border-left: 3px solid var(--accent);
  border-radius: .5em; padding: 1.2rem 1.4rem; margin: 0;
}
.landing-news h3 { margin: 0; font-size: 1.05rem; }
.when {
  color: var(--muted); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin: .4em 0;
}

.community { text-align: center; }
/* The community's own tiles sit in normal flow; only the strip under the
   hero pulls up over the fade. */
.community-glance { margin: 1.6rem 0; }
.community-link {
  display: inline-block; padding: .8em 1.8em;
  border: 1px solid var(--accent); border-radius: .3em; text-decoration: none;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
}
.muted { color: var(--muted); }

.landing-foot {
  margin-top: 5rem; padding: 2.5rem 1.5rem; text-align: center;
  border-top: 1px solid rgba(247,240,220,.1);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.landing-foot nav { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.landing-foot a { text-decoration: none; }
