:root {
  color-scheme: light;
  --ink: #171411;
  --paper: #f7f2ea;
  --paper-soft: #eee4d6;
  --line: rgba(23, 20, 17, 0.18);
  --accent: #b83b2f;
  --accent-dark: #6f211b;
  --white: #fffaf3;
  --shadow: 0 24px 60px rgba(23, 20, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  align-items: center;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 24px clamp(18px, 5vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
}

.nav {
  display: flex;
  font-size: 0.9rem;
  gap: clamp(14px, 3vw, 28px);
}

.nav a {
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  position: relative;
}

.hero__image,
.hero__shade {
  inset: 0;
  position: absolute;
}

.hero__image {
  animation: slowReveal 1200ms ease-out both;
  background: url("./hero.png") center / cover no-repeat;
  transform-origin: center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 13, 10, 0.88) 0%, rgba(16, 13, 10, 0.62) 36%, rgba(16, 13, 10, 0.08) 74%),
    linear-gradient(0deg, rgba(16, 13, 10, 0.42), rgba(16, 13, 10, 0.12));
}

.hero__content {
  animation: riseIn 760ms 220ms ease-out both;
  color: var(--white);
  max-width: 720px;
  padding: 126px clamp(18px, 5vw, 64px) 80px;
  position: relative;
  z-index: 1;
}

.kicker,
.section-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.kicker {
  color: #f4b6a7;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4.3rem, 13vw, 9.6rem);
  line-height: 0.86;
  margin-bottom: 26px;
  max-width: 860px;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin-bottom: 0;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.promise {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 34px;
  max-width: 520px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button--primary {
  background: var(--white);
  color: var(--ink);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
  width: 100%;
}

.button--dark:hover {
  background: var(--accent-dark);
}

.intro,
.steps,
.beta {
  padding: clamp(72px, 11vw, 132px) clamp(18px, 5vw, 64px);
}

.intro {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(32px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.intro p:last-child {
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
  margin-bottom: 0;
}

.section-label {
  color: var(--accent);
}

.steps {
  border-bottom: 1px solid var(--line);
}

.steps h2 {
  margin-bottom: clamp(30px, 5vw, 56px);
}

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

.step-list article {
  background: rgba(255, 250, 243, 0.62);
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  transition: background 180ms ease, transform 180ms ease;
}

.step-list article:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.step-list span {
  color: var(--accent);
  display: block;
  font-weight: 900;
  margin-bottom: 56px;
}

.step-list p {
  line-height: 1.55;
  margin-bottom: 0;
}

.beta {
  align-items: start;
  background: var(--paper-soft);
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
}

.beta__copy {
  position: sticky;
  top: 42px;
}

.beta__copy > p:not(.section-label) {
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 580px;
}

.privacy {
  border-top: 1px solid var(--line);
  color: rgba(23, 20, 17, 0.7);
  font-size: 0.95rem !important;
  margin-top: 34px;
  padding-top: 20px;
}

.album-form,
.results {
  background: var(--white);
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.album-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.hidden-field {
  display: none;
}

input,
textarea {
  background: #fffdf8;
  border: 1px solid rgba(23, 20, 17, 0.2);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 59, 47, 0.12);
  outline: none;
}

textarea {
  resize: vertical;
}

.check {
  align-items: start;
  display: grid;
  font-size: 0.9rem;
  font-weight: 650;
  gap: 10px;
  grid-template-columns: 18px 1fr;
  line-height: 1.4;
}

.check input {
  min-height: 18px;
  padding: 0;
}

.form-note {
  color: var(--accent-dark);
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
  min-height: 22px;
}

.results {
  grid-column: 2;
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.results[hidden] {
  display: none;
}

.results h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.recommendations {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recommendations li {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.recommendations strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.recommendations span {
  color: var(--accent-dark);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.recommendations p {
  line-height: 1.5;
  margin-bottom: 10px;
}

.recommendations a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.share-prompt {
  border-top: 1px solid var(--line);
  color: rgba(23, 20, 17, 0.74);
  line-height: 1.5;
  margin: 24px 0 0;
  padding-top: 18px;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 64px);
}

.footer p {
  margin: 0;
}

.footer p:last-child {
  color: rgba(255, 250, 243, 0.68);
  font-size: 0.9rem;
}

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

@keyframes slowReveal {
  from {
    filter: saturate(0.8);
    transform: scale(1.04);
  }
  to {
    filter: saturate(1);
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(16, 13, 10, 0.9) 0%, rgba(16, 13, 10, 0.55) 70%, rgba(16, 13, 10, 0.16) 100%),
      linear-gradient(0deg, rgba(16, 13, 10, 0.52), rgba(16, 13, 10, 0.06));
  }

  .hero__content {
    padding-top: 112px;
  }

  .intro,
  .beta {
    grid-template-columns: 1fr;
  }

  .results {
    grid-column: 1;
  }

  .beta__copy {
    position: static;
  }

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

  .step-list article {
    min-height: auto;
  }

  .step-list span {
    margin-bottom: 34px;
  }

  .footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
