@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --deep-space: #0b1020;
  --charcoal: #1a2233;
  --teal: #00e5c7;
  --violet: #7c6bff;
  --sky: #60a5fa;
  --stone: #e5e7f0;
  --gradient: linear-gradient(90deg, var(--teal), var(--sky) 45%, var(--violet));
}

* { box-sizing: border-box; }

html { color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(ellipse 70% 50% at 100% 100%, rgb(124 107 255 / 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 0%, rgb(0 229 199 / 0.08), transparent 70%),
    var(--deep-space);
  color: #f4f5fa;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(16px, 5vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 7px; }

.login {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  transition: background-color 0.2s ease;
}
.login:hover { background-color: rgb(255 255 255 / 0.08); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 32px clamp(16px, 5vw, 64px) 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  max-width: 40ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgb(229 231 240 / 0.8);
}

.soon {
  margin: 28px 0 0;
  font-size: 15px;
  color: rgb(229 231 240 / 0.55);
}

.visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 480px);
  aspect-ratio: 362 / 440;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 40px 120px -40px rgb(96 165 250 / 0.35);
}
.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.foot {
  display: flex;
  gap: 24px;
  padding: 24px clamp(16px, 5vw, 64px);
  font-size: 14px;
  color: rgb(229 231 240 / 0.5);
}

.foot a { text-decoration: none; }
.foot a:hover { color: #f4f5fa; }

.doc {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px clamp(16px, 5vw, 64px) 64px;
}
.doc h1 {
  font-size: clamp(36px, 5vw, 52px);
}
.doc .doc-sub {
  margin: 12px 0 40px;
  color: rgb(229 231 240 / 0.7);
  line-height: 1.6;
}
.doc h2 {
  margin: 40px 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc p {
  margin: 0 0 12px;
  max-width: 65ch;
  line-height: 1.65;
  color: rgb(229 231 240 / 0.8);
}
.doc a { color: var(--teal); text-underline-offset: 3px; }

.doc ul {
  margin: 0 0 12px;
  padding-left: 20px;
  max-width: 65ch;
  line-height: 1.65;
  color: rgb(229 231 240 / 0.8);
}
.doc li { margin: 4px 0; }
.doc p, .doc li, .doc dd { overflow-wrap: anywhere; }
.toc li { break-inside: avoid; }
.doc strong { color: #f4f5fa; font-weight: 600; }
.doc section { scroll-margin-top: 24px; }
.doc .stand { margin-top: 48px; font-size: 14px; color: rgb(229 231 240 / 0.5); }

.toc {
  margin: 0 0 8px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgb(26 34 51 / 0.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
}
.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
  line-height: 1.9;
  font-size: 15px;
}
.toc a { color: rgb(229 231 240 / 0.85); text-decoration: none; }
.toc a:hover { color: var(--teal); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 0;
  padding: 28px;
  border-radius: 20px;
  background: rgb(26 34 51 / 0.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
}
.facts dt {
  font-size: 13px;
  color: rgb(229 231 240 / 0.55);
}
.facts dd {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .doc ul {
  margin: 0 0 12px;
  padding-left: 20px;
  max-width: 65ch;
  line-height: 1.65;
  color: rgb(229 231 240 / 0.8);
}
.doc li { margin: 4px 0; }
.doc p, .doc li, .doc dd { overflow-wrap: anywhere; }
.toc li { break-inside: avoid; }
.doc strong { color: #f4f5fa; font-weight: 600; }
.doc section { scroll-margin-top: 24px; }
.doc .stand { margin-top: 48px; font-size: 14px; color: rgb(229 231 240 / 0.5); }

.toc {
  margin: 0 0 8px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgb(26 34 51 / 0.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
}
.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
  line-height: 1.9;
  font-size: 15px;
}
.toc a { color: rgb(229 231 240 / 0.85); text-decoration: none; }
.toc a:hover { color: var(--teal); }

.facts { grid-template-columns: 1fr; padding: 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .visual { justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .copy, .visual { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .visual { animation-delay: 0.12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}
