:root {
  --bg: #120f0c;
  --bg-soft: #1b1612;
  --ink: #f6efe4;
  --muted: #c9bbaa;
  --line: rgba(246, 239, 228, 0.12);
  --accent: #e8b07a;
  --pine: #8a9a7d;
  --tg: #2aabee;
  --tg-deep: #1e96d4;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 176, 122, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(138, 154, 125, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.6;
}

.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  z-index: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
}

.skip:focus {
  top: 1rem;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top,
main {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: #171410;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: Fraunces, Georgia, serif;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.75rem, 6.4vw, 4.2rem);
}

h2 {
  margin: 0.3rem 0 1.2rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.2rem 0 4rem;
  animation: rise 0.8s ease both;
}

.hero-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  transform: rotate(1.2deg);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-frame figcaption {
  padding: 0.85rem 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}

.cta-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #34b8f0, var(--tg-deep));
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(42, 171, 238, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

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

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.panel,
.features article,
.steps,
.faq,
.invite,
.lost-card {
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.steps,
.faq,
.invite {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.prose {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose a,
.faq a,
.steps a,
.foot a {
  color: var(--accent);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.features article {
  padding: 1.3rem 1.2rem 1.4rem;
}

.features p {
  margin: 0;
  color: var(--muted);
}

.steps ol {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps li span {
  color: var(--pine);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq summary:hover {
  color: var(--accent);
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.invite {
  text-align: center;
  margin: 2rem 0 3.5rem;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(232, 176, 122, 0.16), transparent 70%),
    color-mix(in srgb, var(--bg-soft) 88%, transparent);
}

.invite p {
  max-width: 34rem;
  margin: 0 auto 1.4rem;
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot p {
  margin: 0;
}

.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.lost-card {
  width: min(36rem, calc(100% - 2rem));
  padding: 2.2rem 1.6rem;
  text-align: center;
}

.lost-card .lede,
.lost-card .cta-row {
  margin-inline: auto;
  justify-content: center;
}

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

@media (max-width: 900px) {
  .hero,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.8rem;
    padding: 1.6rem 0 2.6rem;
  }

  .hero-frame {
    transform: none;
  }

  .lede {
    font-size: 1.02rem;
  }
}

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

  .hero,
  .btn {
    animation: none;
    transition: none;
  }
}
