:root {
  color-scheme: dark;
  --bg: #161310;
  --bg-deep: #0f0d0b;
  --ink: #f3ece3;
  --mute: #a39686;
  --line: rgba(243, 236, 227, 0.14);
  --accent: #e0b07a;
  --accent-soft: rgba(224, 176, 122, 0.18);
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Sora", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(243, 236, 227, 0.06);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(120, 90, 60, 0.2), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, #1a1612 100%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

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

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

main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  display: grid;
  gap: 1rem;
  padding: 2.5rem 0 3.5rem;
  animation: rise 0.8s var(--ease) both;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--mute);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a140e;
}

.btn-primary:hover {
  background: #ebc08e;
  color: #1a140e;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  margin: 1.75rem 0 0;
  justify-self: start;
  animation: rise 0.9s var(--ease) 0.12s both;
}

.hero-visual img {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.band {
  max-width: 38rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  animation: rise 0.7s var(--ease) both;
}

.band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.band p {
  margin: 0;
  color: var(--mute);
}

.band em {
  font-style: normal;
  color: var(--ink);
}

.steps {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  color: var(--mute);
  padding-left: 1rem;
  border-left: 2px solid var(--accent-soft);
}

.steps strong {
  color: var(--ink);
  font-weight: 600;
}

.note {
  margin-top: 1.25rem !important;
  font-size: 0.95rem;
}

.band h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.foot {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--mute);
}

.foot p {
  margin: 0;
}

.foot a {
  color: var(--mute);
  text-decoration: none;
}

.foot a:hover {
  color: var(--accent);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero,
  .hero-visual,
  .band {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    grid-template-areas:
      "eyebrow visual"
      "title visual"
      "lede visual"
      "cta visual";
    column-gap: 3rem;
    align-items: end;
    padding-top: 4rem;
  }

  .eyebrow {
    grid-area: eyebrow;
  }

  .hero h1 {
    grid-area: title;
  }

  .lede {
    grid-area: lede;
  }

  .cta-row {
    grid-area: cta;
  }

  .hero-visual {
    grid-area: visual;
    margin: 0;
    justify-self: end;
    align-self: center;
  }
}
