:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5c667a;
  --line: #d9e1ec;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #e0f2fe;
  --mint: #ccfbf1;
  --paper: #ffffff;
  --soft: #f6f9fc;
}

* {
  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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  border-radius: 10px;
}

.top-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 26%, rgba(125, 211, 252, 0.26), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #eef7ff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(70px, 15vw, 168px);
  font-weight: 950;
  line-height: 0.86;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 920;
  line-height: 1.04;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.stage {
  position: absolute;
  inset: 6% 0 0;
  transform: perspective(1000px) rotateX(58deg) rotateZ(-38deg);
  transform-style: preserve-3d;
}

.floor {
  position: absolute;
  left: 18%;
  top: 54%;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background:
    linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
    rgba(255, 255, 255, 0.54);
  background-size: 42px 42px;
  box-shadow: 0 40px 80px rgba(30, 64, 175, 0.16);
}

.cube {
  position: absolute;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, #e0f2fe, #3b82f6 52%, #172554);
  box-shadow: 0 22px 46px rgba(30, 64, 175, 0.25);
}

.cube-a { left: 37%; top: 18%; }
.cube-b { left: 48%; top: 29%; background: linear-gradient(135deg, #dcfce7, #14b8a6 56%, #0f766e); }
.cube-c { left: 28%; top: 41%; background: linear-gradient(135deg, #fef3c7, #f59e0b 58%, #92400e); }
.cube-d { left: 40%; top: 53%; }
.cube-e { left: 51%; top: 65%; background: linear-gradient(135deg, #fae8ff, #a855f7 56%, #4c1d95); }
.cube-f { left: 30%; top: 66%; background: linear-gradient(135deg, #ffe4e6, #f43f5e 56%, #881337); }

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section.pale {
  background: var(--soft);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split,
.columns {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.choice-list {
  display: grid;
  gap: 12px;
}

.choice {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.choice:not(.muted):hover {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.choice.muted {
  color: var(--muted);
  background: #f8fafc;
}

.choice-title {
  font-size: 18px;
  font-weight: 900;
}

.choice-text,
.section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-page {
  max-width: 860px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.96;
}

.legal-list {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 1px;
  margin: 32px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.legal-list dt,
.legal-list dd {
  margin: 0;
  padding: 16px 18px;
  background: #ffffff;
}

.legal-list dt {
  color: var(--ink);
  font-weight: 900;
}

.legal-list dd {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-brand {
  font-weight: 900;
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 300px;
    margin-top: 24px;
  }

  .stage {
    inset: -8% 0 0;
  }

  .cube {
    width: 58px;
  }

  .floor {
    background-size: 30px 30px;
  }

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

  .legal-list {
    grid-template-columns: 1fr;
  }

  .legal-list dd {
    padding-top: 0;
  }

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

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