:root {
  --bg: #121420;
  --surface: #181b29;
  --raised: #20243a;
  --content: #eceaf4;
  --muted: #a3a6bd;
  --line: #2a2e44;
  --line-strong: #6e7391;
  --accent: #f0a742;
  --on-accent: #241503;
  --glow: rgba(240, 167, 66, 0.12);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5fa;
    --surface: #ffffff;
    --raised: #ffffff;
    --content: #1b1d2b;
    --muted: #5b5f78;
    --line: #e2e4ee;
    --line-strong: #7a7f99;
    --accent: #9a5405;
    --on-accent: #ffffff;
    --glow: rgba(240, 167, 66, 0.18);
    --shadow: 0 24px 64px rgba(27, 29, 43, 0.18);
    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--content);
  font: 400 16px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

.center {
  justify-content: center;
  text-align: center;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--content);
  font: 600 18px/1 var(--display);
  text-decoration: none;
}

.top nav {
  display: flex;
  gap: 24px;
}

.top nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms;
}

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

.hero {
  padding: 80px 0 32px;
  text-align: center;
  background: radial-gradient(60% 50% at 50% 0%, var(--glow), transparent 70%);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14em;
  margin: 0 auto;
}

.lead {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--content);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms, border-color 150ms;
}

.button:hover {
  background: color-mix(in srgb, var(--content) 6%, transparent);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.button.primary:hover {
  background: color-mix(in srgb, var(--accent) 90%, var(--bg));
}

.button.large {
  height: 52px;
  padding: 0 28px;
  font-size: 17px;
}

.button.kofi {
  background: #ff5e5b;
  border-color: #ff5e5b;
  color: #2a0b0a;
  font-weight: 600;
}

.button.kofi:hover {
  background: #ff726f;
}

.fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-shot {
  margin-top: 56px;
}

section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
}

.section-lead {
  max-width: 36em;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.features {
  padding-top: 64px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  align-items: center;
  margin-top: 96px;
}

.feature:nth-of-type(even) {
  grid-template-columns: 1.7fr 1fr;
}

.feature:nth-of-type(even) .text {
  order: 2;
}

.feature > * {
  min-width: 0;
}

.feature .shot {
  justify-self: center;
  max-width: 100%;
}

.feature .shot img {
  max-height: 640px;
  width: auto;
}

.feature .shot.tall img {
  max-height: none;
}

.feature h3 {
  font-size: 26px;
  line-height: 1.2;
}

.feature p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 96px 0 0;
  padding: 0;
  list-style: none;
}

.extras li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

.extras strong,
.points strong {
  color: var(--content);
  font-weight: 600;
}

.privacy,
.support {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.points {
  display: grid;
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.note {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}

.note strong {
  color: var(--content);
}

.footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer p + p {
  margin-top: 12px;
}

.footer a {
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 72px;
  }

  .feature:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .feature:nth-of-type(even) .text {
    order: 0;
  }

  .extras {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .top nav a:not(:last-child) {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .lead {
    font-size: 17px;
  }

  section {
    padding: 72px 0;
  }

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

  .actions .button {
    width: 100%;
    justify-content: center;
  }
}

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

  * {
    transition: none !important;
  }
}
