:root {
  color-scheme: light;
  --canvas: #f4f7f6;
  --canvas-alt: #e8efed;
  --ink: #0f172a;
  --ink-soft: #344256;
  --muted: #647082;
  --line: #d6dfdf;
  --surface: #ffffff;
  --surface-muted: #edf5f2;
  --teal: #0f766e;
  --teal-bright: #2dd4bf;
  --cyan: #67e8f9;
  --amber: #b7791f;
  --green: #257253;
  --shadow: rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--canvas) 0%, #ffffff 52%, var(--canvas-alt) 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem max(1rem, calc((100vw - 74rem) / 2));
  border-bottom: 1px solid rgba(214, 223, 223, 0.76);
  background: rgba(244, 247, 246, 0.9);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.5rem;
  font-weight: 850;
}

.brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(15, 118, 110, 0.95)),
    var(--teal);
  box-shadow: inset 0 0 0 0.38rem rgba(255, 255, 255, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 760;
}

.site-nav a {
  min-height: 2.5rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line);
  background: var(--surface);
  outline: none;
}

main {
  width: 100%;
}

.hero-band {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  padding: 5rem max(1.1rem, calc((100vw - 74rem) / 2)) 4.5rem;
  overflow: hidden;
  background: #08111f;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.96) 0%, rgba(8, 17, 31, 0.78) 35%, rgba(8, 17, 31, 0.22) 72%, rgba(8, 17, 31, 0.46) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.42) 0%, rgba(8, 17, 31, 0.12) 55%, rgba(8, 17, 31, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  color: #ffffff;
}

.eyebrow,
.module-index {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--teal-bright);
}

.hero-copy h1 {
  margin: 0.85rem 0 0.9rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
  font-weight: 780;
}

.hero-detail {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 820;
  line-height: 1.2;
}

.button-primary {
  color: #061016;
  background: var(--teal-bright);
  box-shadow: 0 1rem 2.2rem -1.25rem rgba(103, 232, 249, 0.72);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--cyan);
  outline: none;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(103, 232, 249, 0.8);
  outline: none;
}

.status-strip,
.platform-band,
.migration-band,
.proof-band,
.contact-band,
.page-band,
.site-footer {
  width: 100%;
  padding-right: max(1.1rem, calc((100vw - 74rem) / 2));
  padding-left: max(1.1rem, calc((100vw - 74rem) / 2));
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.status-strip span {
  min-height: 4.25rem;
  padding: 1.1rem 1rem;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 780;
}

.platform-band,
.migration-band,
.proof-band,
.page-band {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-copy {
  max-width: 46rem;
}

.section-copy h2,
.contact-band h2,
.page-band h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy p,
.module p,
.timeline-item p,
.proof-item p,
.contact-band p,
.page-band p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.section-copy p {
  max-width: 42rem;
  font-size: 1.04rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.module,
.proof-item,
.timeline-item {
  background: rgba(255, 255, 255, 0.9);
}

.module {
  min-height: 19rem;
  padding: 1.25rem;
}

.module-index {
  color: var(--teal);
}

.module h3,
.proof-item strong,
.timeline-item strong {
  display: block;
  margin: 1.1rem 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.migration-band {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 118, 110, 0.07) 1px, transparent 1px),
    var(--surface-muted);
  background-size: 56px 56px;
}

.migration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1fr);
  gap: 3rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item span {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 850;
}

.timeline-item strong {
  margin: 0;
}

.timeline-item p {
  margin: 0.35rem 0 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proof-item {
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1.5rem 3.5rem -3rem var(--shadow);
}

.proof-item strong {
  margin-top: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ffffff;
}

.contact-band p {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-band {
  max-width: 50rem;
  margin-right: auto;
}

.page-band a {
  color: var(--teal);
  font-weight: 780;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 2rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--ink-soft);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  font-weight: 740;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: 78svh;
    padding-top: 4rem;
  }

  .hero-image {
    object-position: 62% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 17, 31, 0.96) 0%, rgba(8, 17, 31, 0.82) 58%, rgba(8, 17, 31, 0.55) 100%),
      linear-gradient(180deg, rgba(8, 17, 31, 0.4) 0%, rgba(8, 17, 31, 0.75) 100%);
  }

  .status-strip,
  .module-grid,
  .migration-layout,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .module {
    min-height: auto;
  }

  .contact-band .button {
    width: 100%;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
