/* ------------------------------------------------------------------
   Yorix Digital Partners — provisional palette
   Light, quiet, high-contrast. Colours to be finalised from final logo.
   ------------------------------------------------------------------ */
:root {
  --paper:      #f7f6f3;   /* soft warm off-white background        */
  --paper-2:    #ffffff;   /* pure white for raised surfaces        */
  --ink:        #16202b;   /* deep ink-navy — primary text          */
  --ink-soft:   #47515c;   /* secondary text, still high-contrast   */
  --line:       #e2e0d9;   /* hairline dividers                     */
  --accent:     #16706b;   /* quiet deep teal — provisional accent  */
  --accent-ink: #0e5450;   /* darker teal for hover / emphasis      */
  --alert:      #9a5b23;   /* muted amber for the deadline, not red */

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* ---------- Deadline strip ---------- */
.deadline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: var(--ink);
  color: #eef0ee;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.deadline-label { font-weight: 400; opacity: 0.9; }
.deadline-sep { opacity: 0.4; }
.deadline-count {
  font-weight: 600;
  color: #f2c99a;           /* warm amber tint — the quiet urgency */
  letter-spacing: 0.01em;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
}
.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-sub { color: var(--ink-soft); font-weight: 500; }

.topnav { display: flex; align-items: center; gap: 28px; }
.topnav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.topnav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 132px);   /* fills the window, no scroll to "get it" */
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--pad) 64px;
}
.hero-inner { max-width: 820px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 26px;
}
.hero-title .accent { color: var(--accent); }

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }

.hero-foot {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.scroll-hint {
  margin-top: 40px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ---------- Shared panel scaffold ---------- */
.panel {
  border-top: 1px solid var(--line);
}
.panel-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vh, 110px) var(--pad);
}
.panel-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 780px;
}
.panel-lede {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 46px;
}
.panel-foot {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 720px;
}
.panel-foot { font-weight: 500; }

/* ---------- Why now ---------- */
.panel-stakes { background: var(--paper-2); }
.stakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 42px;
}
.stake {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.stake-lead {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.stake-body { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Stage list (how it works) ---------- */
.stage-list { list-style: none; display: grid; gap: 30px; }
.stage {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.stage:last-child { border-bottom: none; padding-bottom: 0; }
.stage-no {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stage-name {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.stage-desc { color: var(--ink-soft); max-width: 620px; }

/* ---------- Roadmap (stages 4-5) ---------- */
.panel-road { background: var(--paper-2); }
.road-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.road-col {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.road-col .stage-no { display: block; margin-bottom: 14px; }
.road-col .stage-name { margin-bottom: 20px; }
.road-steps { list-style: none; display: grid; gap: 13px; }
.road-steps li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
}
.road-steps li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Accessibility floor ---------- */
a:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Mobile: gentle scroll allowed ---------- */
@media (max-width: 720px) {
  .topnav { display: none; }          /* nav simplified on phones for now */
  .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .deadline-strip { font-size: 0.76rem; }
  .stakes-grid { grid-template-columns: 1fr; gap: 16px; }
  .road-cols { grid-template-columns: 1fr; gap: 20px; }
  .stage { grid-template-columns: 44px 1fr; gap: 16px; }
  .stage-no { font-size: 1.5rem; }
  .road-col { padding: 24px; }
}
