:root {
  --bg: #0b0b14;
  --bg-raised: #13131f;
  --line: #262636;
  --text: #ecebf3;
  --muted: #a3a2b5;
  --faint: #6f6e84;
  --lilac: #c9b8ff;
  --pink: #ff739a;
  --radius: 16px;
  --max: 1080px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand img {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

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

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

/* Hero */

.hero {
  position: relative;
  padding: 120px 0 112px;
  overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 14%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 42%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 76%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 18%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 84%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 88%, #fff4 50%, transparent 51%),
    radial-gradient(60% 70% at 78% 10%, rgba(201, 184, 255, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(255, 115, 154, 0.1), transparent 70%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lilac);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero p.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.btn:hover {
  border-color: #3a3a4f;
  background: var(--bg-raised);
}

.btn-primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
}

/* Sections */

section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 48px;
  color: var(--muted);
}

/* Product */

.product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 115, 154, 0.12), transparent 60%),
    var(--bg-raised);
}

.product-logo {
  display: block;
  width: 168px;
  height: auto;
  margin-bottom: 20px;
}

.product .tagline {
  margin: 0 0 16px;
  color: var(--pink);
  font-weight: 600;
}

.product p {
  margin: 0 0 16px;
  color: var(--muted);
}

.product .actions {
  margin-top: 28px;
}

.facts {
  display: grid;
  gap: 14px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.facts span {
  color: var(--muted);
  font-size: 15px;
}

/* Principles */

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Company */

.company {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.registry {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.registry div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.registry div:last-child {
  border-bottom: 0;
}

.registry dt {
  color: var(--faint);
  font-size: 15px;
}

.registry dd {
  margin: 0;
  font-size: 15px;
}

.contact h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.contact a {
  color: var(--text);
}

/* Legal pages */

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.legal > * {
  max-width: 720px;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4.5vw, 44px);
  letter-spacing: -0.02em;
}

.legal .updated {
  margin: 0 0 40px;
  color: var(--faint);
  font-size: 15px;
}

.legal h2 {
  margin: 40px 0 10px;
  font-size: 21px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a {
  color: var(--text);
}

/* Footer */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

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

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .product,
  .company {
    grid-template-columns: 1fr;
  }

  .product {
    padding: 32px 24px;
  }

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

  .registry div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 80px 0 72px;
  }

  section {
    padding: 72px 0;
  }
}
