:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f5f2ea;
  color: #172024;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, #fbf7ee 0%, #eef5f2 52%, #f4e7df 100%);
}

a {
  color: inherit;
}

.hero {
  min-height: 96vh;
  padding: 22px clamp(18px, 4vw, 58px) 60px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  max-width: 1220px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #172024;
  color: #f8d96b;
  font-weight: 950;
}

.brand b {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border: 1px solid rgba(23, 32, 36, 0.16);
  border-radius: 8px;
  color: #3e4a4f;
  font-size: 0.9rem;
  font-weight: 760;
  padding: 9px 13px;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  max-width: 1220px;
  min-height: calc(96vh - 74px);
  margin: 0 auto;
  padding-top: 44px;
}

.eyebrow,
.launch-heading span,
.section-heading span,
.reader-call span {
  color: #1f7a73;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
}

.launch-pack {
  max-width: 760px;
  margin: 0 0 26px;
  border-block: 2px solid rgba(23, 32, 36, 0.14);
  padding: 18px 0;
}

.launch-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.launch-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.post-board {
  display: grid;
  gap: 0;
  border: 1px solid rgba(23, 32, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.post-panel {
  border-left: 5px solid #e25748;
  padding: 17px 18px;
}

.post-panel + .post-panel {
  border-top: 1px solid rgba(23, 32, 36, 0.1);
}

.post-panel:nth-child(2) {
  border-left-color: #2a6faa;
}

.post-panel:nth-child(3) {
  border-left-color: #1f7a73;
}

.post-panel h3 {
  margin: 0 0 9px;
  color: #172024;
  font-size: 0.95rem;
}

.post-panel p {
  margin-bottom: 10px;
  color: #405056;
  font-size: 0.96rem;
  line-height: 1.55;
}

.post-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #172024;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 850;
  margin-top: 4px;
  padding: 0 16px;
  text-decoration: none;
}

.post-link:hover,
.post-link:focus-visible {
  background: #1f7a73;
}

.lead {
  max-width: 740px;
  color: #4b575c;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions,
.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
  padding: 0 20px;
  text-decoration: none;
}

.button.primary {
  background: #172024;
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(23, 32, 36, 0.24);
  background: rgba(255, 255, 255, 0.6);
  color: #172024;
}

.button:hover,
.button:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: #1f7a73;
  background: #1f7a73;
  color: #fff;
}

.note {
  max-width: 620px;
  margin: 22px 0 0;
  color: #718086;
  font-size: 0.92rem;
  line-height: 1.55;
}

.artifact-preview {
  display: grid;
  gap: 18px;
  align-self: stretch;
  min-height: 620px;
  place-content: center;
}

.domain-card {
  border: 1px solid rgba(23, 32, 36, 0.14);
  border-radius: 8px;
  background: #172024;
  color: #fff;
  padding: 24px;
}

.domain-card small {
  color: #f8d96b;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-card h2 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.96;
}

.domain-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.preview-frame {
  width: min(100%, 500px);
  border: 1px solid rgba(23, 32, 36, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(23, 32, 36, 0.18);
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border-bottom: 1px solid rgba(23, 32, 36, 0.1);
  background: #f7f5ee;
  padding: 0 13px;
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e25748;
}

.preview-bar span:nth-child(2) {
  background: #f8d96b;
}

.preview-bar span:nth-child(3) {
  background: #1f7a73;
}

.preview-bar b {
  margin-left: 7px;
  color: #465257;
  font-size: 0.78rem;
}

.preview-frame iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 32, 36, 0.12);
  border-bottom: 1px solid rgba(23, 32, 36, 0.12);
  background: #172024;
  color: #fff;
}

.metric-band article {
  min-height: 150px;
  padding: clamp(24px, 4vw, 42px);
}

.metric-band article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-band strong {
  display: block;
  color: #f8d96b;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.metric-band span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.story-section,
.evidence-section,
.cloud-section,
.reader-call {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 58px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(30px, 5vw, 56px);
  text-align: center;
}

.section-heading h2,
.reader-call h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.section-heading p,
.reader-call p {
  color: #536066;
  font-size: 1.06rem;
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  border: 1px solid rgba(23, 32, 36, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 22px;
}

.timeline time {
  display: inline-flex;
  min-width: 64px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e25748;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.timeline h3 {
  margin: 18px 0 10px;
  font-size: 1.08rem;
}

.timeline p,
.evidence-grid p,
.cloud-grid p {
  color: #59656a;
  font-size: 0.96rem;
  line-height: 1.58;
}

.evidence-section {
  background: #fbf8f0;
}

.evidence-grid,
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1220px;
  margin: 0 auto;
}

.evidence-grid article,
.cloud-grid article {
  border: 1px solid rgba(23, 32, 36, 0.13);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.evidence-grid b,
.cloud-grid span {
  color: #1f7a73;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-grid strong {
  display: block;
  margin: 12px 0 10px;
  color: #172024;
  font-size: 1.9rem;
  line-height: 1;
}

.cloud-section {
  background:
    linear-gradient(90deg, rgba(248, 217, 107, 0.28), transparent 55%),
    #eff4ee;
}

.cloud-grid h3 {
  margin: 12px 0 10px;
  font-size: 1.45rem;
}

.reader-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  background: #e8efe7;
}

.reader-call > div:first-child {
  max-width: 850px;
}

.call-actions {
  justify-content: flex-end;
  min-width: 260px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .reader-call {
    grid-template-columns: 1fr;
  }

  .artifact-preview {
    min-height: auto;
  }

  .preview-frame {
    width: 100%;
  }

  .metric-band,
  .timeline,
  .evidence-grid,
  .cloud-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .call-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .launch-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions,
  .call-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .preview-frame iframe {
    height: 460px;
  }

  .metric-band,
  .timeline,
  .evidence-grid,
  .cloud-grid {
    grid-template-columns: 1fr;
  }

  .metric-band article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* ---------- project index (yellow box under the archive preview) ---------- */
.project-index {
  margin-top: 18px;
  border-radius: 12px;
  padding: 20px 22px;
  background: #f8d96b;
  border: 1px solid rgba(23, 32, 36, 0.28);
  color: #172024;
}

.project-index__title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.project-index li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 32, 36, 0.16);
}

.project-index li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.project-index li a {
  font-weight: 850;
  font-size: 0.98rem;
  text-decoration: none;
}

.project-index li a:hover,
.project-index li a:focus-visible {
  text-decoration: underline;
}

.project-index small {
  color: rgba(23, 32, 36, 0.74);
  font-size: 0.84rem;
  line-height: 1.4;
}

.project-index span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(23, 32, 36, 0.6);
}

.project-index__more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.project-index__more:hover,
.project-index__more:focus-visible {
  text-decoration: underline;
}

/* ---------- elapsed-style sequence (no wall-clock column) ---------- */
.seq--elapsed::before { left: 6px; }
.seq--elapsed li { grid-template-columns: 1fr; padding-left: 30px; }
.seq--elapsed li::before { left: 0; }

/* ---------- all-sites footer ---------- */
.all-sites {
  margin-top: 40px;
  background: #172024;
  color: rgba(255, 255, 255, 0.82);
}

.all-sites__inner {
  margin: 0 auto;
  max-width: 1240px;
  padding: 58px clamp(18px, 4vw, 58px) 44px;
}

.all-sites .brand b { color: #fff; }

.all-sites__lede p {
  max-width: 560px;
  margin: 14px 0 40px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.96rem;
  line-height: 1.6;
}

.all-sites__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

@media (max-width: 820px) {
  .all-sites__cols { grid-template-columns: 1fr; gap: 30px; }
}

.all-sites h4 {
  margin: 0 0 16px;
  color: #f8d96b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.all-sites ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}

.all-sites li { display: grid; gap: 3px; }

.all-sites li a {
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
}

.all-sites li a:hover,
.all-sites li a:focus-visible { color: #f8d96b; text-decoration: underline; }

.all-sites small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  line-height: 1.45;
}

.all-sites__note {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
}
