:root {
  color-scheme: dark;
  --ink: #f8f7ff;
  --muted: #aaaec4;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(16, 20, 41, 0.78);
  --panel-strong: #12162d;
  --accent: #ffc75c;
  --accent-2: #6ce0ba;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(65, 54, 153, 0.25), transparent 36rem),
    radial-gradient(circle at 94% 20%, rgba(17, 127, 115, 0.18), transparent 34rem),
    #070916;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.hero,
.section,
.legal-shell {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 9px 30px rgba(30, 44, 137, 0.34);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  padding-block: 70px 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

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

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(54px, 8vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  color: #19140a;
  background: linear-gradient(135deg, #ffe492, var(--accent));
  box-shadow: 0 14px 36px rgba(255, 188, 66, 0.18);
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  width: 58%;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: var(--panel-strong);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42);
}

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

.hero-card:nth-child(1) {
  top: 0;
  left: 5%;
  transform: rotate(-7deg);
}

.hero-card:nth-child(2) {
  top: 7%;
  right: 0;
  transform: rotate(7deg);
}

.hero-mark {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -12px;
  width: 150px;
  height: 150px;
  transform: translateX(-50%);
  border-radius: 34px;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.46);
}

.section {
  padding-block: 80px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading p,
.feature p,
.release-note p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature,
.release-note {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.feature-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 12px;
  color: #091313;
  background: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.feature h3,
.release-note h2 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.release-note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
}

.release-note p {
  max-width: 680px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-block: 36px 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.legal-shell {
  max-width: 850px;
  padding-block: 54px 90px;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.legal-document {
  padding: clamp(26px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(11, 14, 30, 0.86);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}

.legal-document h1 {
  margin: 14px 0 8px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 13px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #c7cadb;
}

.legal-content a {
  color: #ffe08a;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 9px;
}

.summary-box {
  margin: 28px 0 38px;
  padding: 22px 24px;
  border: 1px solid rgba(108, 224, 186, 0.24);
  border-radius: 18px;
  background: rgba(108, 224, 186, 0.07);
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 800px) {
  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero-art {
    min-height: min(126vw, 590px);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .release-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .legal-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    min-height: 70px;
  }

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

  .hero {
    min-height: auto;
    padding-block: 42px 70px;
  }

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

  .hero-art {
    min-height: 122vw;
  }

  .hero-mark {
    width: 112px;
    height: 112px;
    border-radius: 27px;
  }

  .section {
    padding-block: 58px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .legal-shell {
    padding-block: 24px 60px;
  }

  .legal-top {
    margin-bottom: 28px;
  }

  .legal-document {
    border-radius: 22px;
  }
}

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