:root {
  color-scheme: light;
  --ink: #101820;
  --ink-soft: #40505a;
  --muted: #6d7b82;
  --paper: #f7f4ee;
  --panel: #fffaf1;
  --line: rgba(16, 24, 32, 0.14);
  --teal: #12a9a6;
  --teal-dark: #0d7776;
  --amber: #d69b3f;
  --red: #b94336;
  --charcoal: #182228;
  --white: #ffffff;
  --shadow: 0 22px 80px rgba(16, 24, 32, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(18, 169, 166, 0.24);
}

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

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

.site-header {
  align-items: center;
  background: rgba(16, 24, 32, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  inset: 0 0 auto;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  position: fixed;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(16, 24, 32, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.26);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 7px;
  color: var(--white);
  display: inline-flex;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 14px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.language-switch {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  display: inline-flex;
  overflow: hidden;
}

.language-switch button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  min-height: 34px;
  min-width: 42px;
  padding: 7px 10px;
}

.language-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero {
  isolation: isolate;
  min-height: 86vh;
  overflow: hidden;
  padding: 148px clamp(20px, 6vw, 76px) 72px;
  position: relative;
}

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

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
  z-index: -3;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 15, 20, 0.9) 0%, rgba(9, 15, 20, 0.66) 38%, rgba(9, 15, 20, 0.12) 72%),
    linear-gradient(180deg, rgba(9, 15, 20, 0.36) 0%, rgba(9, 15, 20, 0.04) 52%, rgba(9, 15, 20, 0.44) 100%);
  z-index: -2;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(68px, 11vw, 148px);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0 0 28px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  margin: 0;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: #061113;
}

.button-primary:hover {
  background: #23c3bf;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0;
  max-width: 640px;
  padding-top: 28px;
}

.hero-metrics div {
  min-width: 0;
}

.hero-metrics dt {
  color: var(--amber);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 780;
  line-height: 1;
}

.hero-metrics dd {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin: 8px 0 0;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-inline: clamp(20px, 4vw, 40px);
  width: 100%;
}

.intro-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0;
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
}

.intro-grid h2,
.section-heading h2,
.service-copy h2,
.join-panel h2 {
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.intro-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  margin: 36px 0 0;
}

.system-section,
.roadmap-section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.section-kicker) {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 18px 0 0;
}

.pillar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.pillar,
.service-card,
.timeline-item {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.pillar-number,
.service-tag,
.timeline-item span {
  color: var(--red);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pillar h3,
.service-card h3,
.timeline-item h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 12px;
}

.pillar p,
.service-card p,
.timeline-item p {
  color: var(--ink-soft);
  margin: 0;
}

.services-section {
  background: #ebe7df;
  padding: clamp(76px, 9vw, 120px) 0;
}

.service-feature {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.service-copy p:not(.section-kicker) {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 22px 0 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 24px;
  padding: 0;
}

.feature-list li {
  align-items: start;
  color: var(--ink-soft);
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.feature-list li::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 8px;
  margin-top: 9px;
  width: 8px;
}

.inline-link {
  border-bottom: 1px solid rgba(18, 169, 166, 0.46);
  color: var(--teal-dark);
  font-weight: 760;
  padding-bottom: 2px;
}

.service-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.muted-link {
  color: var(--ink-soft);
}

.service-visual {
  background: var(--panel);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.service-visual img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
}

.service-card {
  background: rgba(255, 255, 255, 0.56);
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.timeline-item {
  background: transparent;
  min-height: 220px;
  position: relative;
}

.timeline-item::before {
  background: linear-gradient(180deg, var(--teal), var(--amber));
  content: "";
  height: 4px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: -3px;
}

.join-section {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(76px, 9vw, 112px) 0;
}

.join-panel {
  align-items: end;
  display: grid;
  gap: clamp(32px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.join-panel p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  margin: 22px 0 0;
  max-width: 680px;
}

.waitlist-form {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
}

.waitlist-form label {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.form-row input {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}

.form-row input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(18, 169, 166, 0.22);
}

.form-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  margin: 12px 0 0;
}

.site-footer {
  background: #11191e;
  color: rgba(255, 255, 255, 0.74);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 128px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 15, 20, 0.9) 0%, rgba(9, 15, 20, 0.62) 58%, rgba(9, 15, 20, 0.26) 100%),
      linear-gradient(180deg, rgba(9, 15, 20, 0.16) 0%, rgba(9, 15, 20, 0.28) 100%);
  }

  .intro-grid,
  .service-feature,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    margin-top: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    font-size: 15px;
  }

  .language-switch button {
    min-width: 38px;
  }

  .hero {
    min-height: 88vh;
    padding: 108px 20px 56px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .hero-lede {
    font-size: 17px;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .service-grid,
  .timeline,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pillar,
  .service-card,
  .timeline-item {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
