:root {
  color-scheme: dark;
  --ink: #f6f7f8;
  --muted: #aeb5bf;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(16, 18, 22, 0.78);
  --orange: #ff7c00;
  --lime: #b2e100;
  --green: #00a66e;
  --blue: #0a63dd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% -10%, rgba(69, 81, 105, 0.52), transparent 36rem),
    radial-gradient(circle at 8% 42%, rgba(95, 86, 39, 0.24), transparent 30rem),
    #090a0d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans",
    "Yu Gothic UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.platform-badge {
  padding: 5px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: 690px;
  padding-block: 54px 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #c8ced8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 35rem;
  margin-bottom: 30px;
  color: #c5cad2;
  font-size: clamp(17px, 2.2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-weight: 650;
}

.button.primary {
  color: #08111e;
  border-color: #95c9ff;
  background: linear-gradient(135deg, #d7ecff, #7abaff);
}

.product-stage {
  position: relative;
  isolation: isolate;
}

.product-stage::before {
  position: absolute;
  z-index: -1;
  inset: 12% 0;
  border-radius: 50%;
  background: rgba(62, 129, 221, 0.26);
  filter: blur(56px);
  content: "";
}

.product-stage img {
  width: min(100%, 650px);
  margin-inline: auto;
  border-radius: 34px;
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.10);
}

.section {
  padding-block: 84px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 42px;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.section-heading p,
.card p,
.document p,
.document li {
  color: var(--muted);
}

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

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.card {
  min-height: 220px;
  padding: 28px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card-number {
  display: block;
  margin-bottom: 32px;
  color: #8590a0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bar-sample {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
  height: 52px;
  margin-bottom: 24px;
}

.bar-sample span {
  border-radius: 2px;
}

.bar-sample span:nth-child(-n + 5) {
  background: var(--orange);
}

.bar-sample span:nth-child(n + 6):nth-child(-n + 10) {
  background: var(--lime);
}

.bar-sample span:nth-child(n + 11):nth-child(-n + 15) {
  background: var(--green);
}

.bar-sample span:nth-child(n + 16) {
  background: var(--blue);
}

.skin-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 24px;
}

.skin-row span {
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
}

.skin-row span:nth-child(1) {
  background: linear-gradient(#f2f4f7, #8c9199);
}

.skin-row span:nth-child(2) {
  background: linear-gradient(#f1d5d5, #8d686d);
}

.skin-row span:nth-child(3) {
  background: linear-gradient(#ebec91, #838137);
}

.skin-row span:nth-child(4) {
  background: linear-gradient(#64728c, #252d3c);
}

.document-wrap {
  width: min(840px, calc(100% - 40px));
  margin: 46px auto 90px;
}

.document-header {
  margin-bottom: 34px;
}

.document-header h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 62px);
}

.document {
  padding: clamp(26px, 5vw, 54px);
}

.document section + section {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.document ul,
.document ol {
  padding-left: 1.4em;
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgba(122, 186, 255, 0.28);
  border-radius: 16px;
  background: rgba(47, 113, 190, 0.13);
  color: #cfe8ff;
}

.text-link {
  color: #91c8ff;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 32px 44px;
  color: #8e96a3;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-underline-offset: 0.2em;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 42px 70px;
  }

  .product-stage {
    order: -1;
  }

  .product-stage img {
    border-radius: 24px;
  }

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

  .card {
    min-height: 0;
  }
}

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