:root {
  color-scheme: light dark;
  --ink: #111619;
  --ink-soft: #263139;
  --paper: #f4f1ea;
  --paper-strong: #fffdf7;
  --line: #d9d2c7;
  --steel: #64717a;
  --teal: #0f766e;
  --amber: #f2b84b;
  --moss: #4f6f52;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.coming-soon-body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper-strong);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(17, 22, 25, 0.82);
  color: var(--paper-strong);
  border-bottom: 1px solid rgba(244, 241, 234, 0.15);
  backdrop-filter: blur(12px);
}

.coming-soon-body .site-header {
  border-bottom-color: rgba(244, 241, 234, 0.1);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--paper-strong);
  border-radius: 6px;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.nav-links {
  gap: clamp(12px, 2vw, 28px);
  color: rgba(244, 241, 234, 0.78);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper-strong);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 6vw, 72px);
  padding: 132px clamp(20px, 6vw, 76px) 78px;
  overflow: hidden;
  background: #111619;
  color: var(--paper-strong);
}

#os-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#os-canvas {
  z-index: 0;
}

.hero-shade {
  z-index: 1;
  background: rgba(17, 22, 25, 0.46);
}

.hero-content,
.hero-status {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 8.8rem);
  line-height: 0.9;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(244, 241, 234, 0.88);
  font-size: clamp(1.12rem, 2.2vw, 1.7rem);
  line-height: 1.36;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
}

.button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.button-secondary {
  background: rgba(244, 241, 234, 0.08);
  color: var(--paper-strong);
  border-color: rgba(244, 241, 234, 0.28);
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.coming-soon-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.05);
  color: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-status {
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 22, 25, 0.58);
  backdrop-filter: blur(14px);
}

.coming-soon-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 132px clamp(20px, 6vw, 76px) 72px;
  overflow: hidden;
  background: #111619;
  color: var(--paper-strong);
}

.coming-soon-content {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  text-align: center;
}

.coming-soon-content h1 {
  margin: 0;
}

.coming-soon-copy {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(244, 241, 234, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.52rem);
  line-height: 1.45;
}

.coming-soon-links {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 30px;
}

.coming-soon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 6px;
  background: rgba(244, 241, 234, 0.06);
  color: var(--paper-strong);
  font-size: 0.98rem;
  font-weight: 700;
  word-break: break-word;
}

.coming-soon-link:hover,
.coming-soon-link:focus-visible {
  border-color: rgba(242, 184, 75, 0.48);
  color: var(--amber);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.16);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row span {
  color: rgba(244, 241, 234, 0.68);
}

.status-row strong {
  color: var(--paper-strong);
}

.intro-band {
  padding: clamp(28px, 5vw, 54px) clamp(20px, 6vw, 76px);
  background: var(--amber);
  color: #1f1b14;
}

.intro-band p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: clamp(1.18rem, 2.2vw, 1.82rem);
  line-height: 1.36;
  font-weight: 670;
}

.section {
  padding: clamp(66px, 9vw, 116px) clamp(20px, 6vw, 76px);
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--paper-strong);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-section p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 1.08rem;
  line-height: 1.62;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(244, 241, 234, 0.7);
}

.module-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  min-height: 258px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.module-index {
  display: block;
  margin-bottom: 44px;
  color: var(--teal);
  font-weight: 800;
}

.module-card h3,
.timeline-step h3,
.build-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.module-card p,
.timeline-step p,
.build-copy p,
.check-list {
  color: var(--steel);
  line-height: 1.58;
}

.build-feature {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.build-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 241, 234, 0.18);
  background: #222a2f;
}

.build-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.build-copy {
  max-width: 570px;
}

.build-copy h3 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.build-copy p,
.build-copy .check-list {
  color: rgba(244, 241, 234, 0.72);
}

.check-list {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 2px;
}

.text-link {
  display: inline-flex;
  color: var(--paper-strong);
  border-bottom: 1px solid rgba(244, 241, 234, 0.44);
  font-weight: 760;
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline-step {
  padding: 28px 22px 0 0;
  border-right: 1px solid var(--line);
}

.timeline-step:last-child {
  border-right: 0;
}

.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--white);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 76px);
  background: var(--teal);
  color: var(--paper-strong);
}

.contact-section > div {
  max-width: 880px;
}

.contact-section p {
  color: rgba(244, 241, 234, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 6vw, 76px);
  background: var(--ink);
  color: rgba(244, 241, 234, 0.7);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .hero,
  .build-feature,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-status {
    max-width: 520px;
  }

  .module-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    border-top: 0;
    gap: 14px;
  }

  .timeline-step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--paper-strong);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 91svh;
    padding-top: 108px;
    padding-bottom: 48px;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .module-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }

  .module-index {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .button:focus-visible,
  .text-link:hover,
  .text-link:focus-visible {
    transform: none;
  }
}
