:root {
  --rose: #c9948f;
  --rose-deep: #a66e68;
  --rose-soft: #e5b8ad;
  --cream: #f1e5cf;
  --cream-soft: #fff7e8;
  --honey: #b67c26;
  --honey-light: #d4a65b;
  --cocoa: #5f3f32;
  --ink: #402d28;
  --muted: #7b5d56;
  --card: rgba(255, 247, 232, 0.72);
  --card-strong: rgba(255, 247, 232, 0.9);
  --line: rgba(95, 63, 50, 0.13);
  --shadow: 0 28px 90px rgba(87, 50, 44, 0.22);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--rose);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.18), rgba(255, 247, 232, 0.48)),
    url("assets/snoozy-background.jpg") center / cover no-repeat;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 247, 232, 0.26), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(182, 124, 38, 0.08), transparent 22%),
    radial-gradient(circle at 50% 86%, rgba(255, 247, 232, 0.28), transparent 36%);
  z-index: -2;
}

.painted-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,0.08) 47% 49%, transparent 50% 100%),
    repeating-linear-gradient(4deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 9px);
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  width: min(calc(100% - 32px), var(--max));
  margin: 22px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 16px;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(87, 50, 44, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.ticker {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--cream-soft);
  background: linear-gradient(135deg, var(--honey), var(--honey-light));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(255, 247, 232, 0.65);
  color: var(--ink);
}

main {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section-shell {
  margin: 36px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  min-height: calc(100vh - 126px);
  padding: clamp(24px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(26px, 5vw, 58px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(5.2rem, 14vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
  color: var(--cocoa);
  text-shadow: 0 5px 0 rgba(255,247,232,0.22);
}

h2 {
  margin-bottom: 15px;
  color: var(--cocoa);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.lead {
  margin-bottom: 28px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--cream-soft);
  background: linear-gradient(135deg, var(--cocoa), #80533e 48%, var(--honey));
  box-shadow: 0 18px 38px rgba(87, 50, 44, 0.2);
}

.button.ghost {
  color: var(--cocoa);
  background: rgba(255, 247, 232, 0.72);
}

.character-card {
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid rgba(95, 63, 50, 0.12);
  border-radius: 38px;
  background: rgba(255, 247, 232, 0.74);
  box-shadow: 0 34px 80px rgba(87, 50, 44, 0.22);
  transform: rotate(1deg);
}

.character-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(95, 63, 50, 0.12);
}

.character-card figcaption {
  padding: 14px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-align: center;
}

.slim {
  padding: clamp(30px, 6vw, 64px);
}

.story p,
.path p,
.final-card p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.token-grid {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact-card {
  padding: 20px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card-strong);
}

.fact-card span,
.step span {
  color: var(--rose-deep);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-card strong {
  color: var(--cocoa);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 247, 232, 0.68);
}

.step p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.55;
}

.final-card {
  margin-bottom: 54px;
  padding: clamp(34px, 7vw, 74px);
  text-align: center;
  background: rgba(255, 247, 232, 0.78);
}

.final-card p {
  margin-left: auto;
  margin-right: auto;
}

.final-card .button {
  margin-top: 12px;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 26px;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(64, 45, 40, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 24px);
  opacity: 0;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-soft);
  background: rgba(64, 45, 40, 0.92);
  box-shadow: 0 18px 48px rgba(87, 50, 44, 0.22);
  font-weight: 800;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .character-card {
    max-width: 520px;
    justify-self: center;
  }

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

@media (max-width: 540px) {
  main,
  .site-footer,
  .site-header {
    width: min(calc(100% - 22px), var(--max));
  }

  .section-shell {
    border-radius: 26px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(4.4rem, 28vw, 6rem);
  }
}
