:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --panel: #131316;
  --raised: #1b1b20;
  --line: #26262d;
  --text: #e8e8ec;
  --muted: #a1a1ab;
  --accent: #ff4d2e;
  --mono: Consolas, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
}
button, a, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(22px, 5vw, 78px); }

.header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: 740;
  letter-spacing: -.05em;
}
.header nav { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.header nav a:hover, .footer a:hover { color: var(--text); }

.light-button {
  --light: 217, 215, 227;
  --surface: #18181d;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(var(--light), .29);
  border-radius: 5px;
  background:
    radial-gradient(ellipse 60% 110% at 50% -26%, rgba(var(--light), .3), transparent 82%),
    linear-gradient(#fff1, transparent 65%),
    var(--surface);
  color: #fff5f1;
  box-shadow: inset 0 1px rgba(var(--light), .32), inset 0 -1px #0007, 0 6px 16px #0006;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.light-button::before, .light-button::after {
  position: absolute;
  pointer-events: none;
  content: "";
}
.light-button::before {
  z-index: -1;
  inset: -27px 11% auto;
  height: 26px;
  background: conic-gradient(from 154deg at 50% -5px, transparent, rgba(var(--light), .19) 24deg, transparent 52deg);
  mask-image: linear-gradient(transparent, #000);
}
.light-button::after {
  inset: 0 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--light), .9), transparent);
  box-shadow: 0 1px 10px rgba(var(--light), .42);
}
.light-button:hover {
  border-color: rgba(var(--light), .58);
  box-shadow: inset 0 1px rgba(var(--light), .44), 0 7px 19px #0008;
}
.light-button:active { transform: translateY(1px); }
.light-button span { font-size: 17px; line-height: 1; }
.light-button.primary {
  --light: 255, 135, 108;
  --surface: #3d1712;
  min-height: 48px;
  padding-inline: 18px;
}
.nav-download { min-height: 37px; padding: 5px 12px; font-size: 13px; }
.nav-download::before { opacity: .56; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(590px, min(66vw, calc(100svh - 110px)), 810px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 72% 48%, #251519, #0b0b0d 66%);
}
.hero-ribbon {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .9;
  pointer-events: none;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse 60% 42% at 50% 44%, #0b0b0ded, #0b0b0d7a 53%, transparent 90%),
    linear-gradient(to top, var(--bg), transparent 19%, transparent 81%, #0b0b0d7a);
}
.hero-copy {
  width: 100%;
  padding-block: 98px 153px;
  text-align: center;
}
h1, h2 { font-weight: 660; line-height: .97; letter-spacing: -.072em; margin: 0; }
.hero h1 {
  font-size: clamp(65px, 10.6vw, 154px);
  text-wrap: balance;
  color: #f6f3f2;
  text-shadow: 0 8px 40px #090809;
}
em {
  color: var(--accent);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.077em;
}
.hero p {
  margin: 23px auto 27px;
  color: #c4bec3;
  font-size: clamp(16px, 2vw, 20px);
  text-wrap: balance;
  text-shadow: 0 2px 12px #000;
}
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; }
.text-link { font-size: 14px; font-weight: 600; text-shadow: 0 2px 7px #000; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link span { margin-left: 4px; color: #ff806a; }

@media (max-width: 740px) {
  .header { min-height: 64px; }
  .header nav { display: none; }
  .hero { min-height: 530px; }
  .hero-copy { padding-block: 82px 132px; }
  .hero h1 { max-width: 520px; margin-inline: auto; font-size: clamp(61px, 12.5vw, 96px); }
  .hero-ribbon { object-position: 53% 50%; }
  .hero::after {
    background: radial-gradient(ellipse 85% 40% at 49% 40%, #0b0b0dd9, #0b0b0d54 72%, transparent),
      linear-gradient(to top, var(--bg), transparent 22%);
  }
  .hero-actions { gap: 17px; }
}

@media (max-width: 470px) {
  .hero-actions { flex-direction: column; }
  .hero { min-height: 510px; }
  .hero-copy { padding-block: 72px 102px; }
  .hero h1 { max-width: 330px; }
  .hero p { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .light-button { transition: none; }
}
