@font-face {
  font-family: "Dream Serif";
  src: url("/assets/fonts/DreamSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dream Serif";
  src: url("/assets/fonts/DreamSerif-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dream Serif";
  src: url("/assets/fonts/DreamSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("/assets/fonts/PinyonScript-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #FFF6EC;
  --card: #FCE4E2;
  --raised: #FFFBF6;
  --line: #F3D6D2;
  --ink: #2B1712;
  --muted: #8C6A62;
  --cherry: #C2412D;
  --cherry-dark: #9E2E1C;
  --butter: #FFF0B3;
  --blush: #FBD9DA;
  --mint: #D9EFD6;
  --lilac: #E9DEF7;
  --sky: #D8E9F7;

  --serif: "Dream Serif", ui-serif, Georgia, serif;
  --script: "Pinyon Script", "Dream Serif", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --margin: 20px;
  --gap: 24px;
  --section: 88px;
  --r-card: 20px;
  --r-panel: 26px;
  --max: 1120px;

  color-scheme: light;
}

@media (min-width: 900px) {
  :root {
    --margin: 40px;
    --gap: 32px;
    --section: 128px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
}

h2 {
  font-size: 32px;
  line-height: 1.12;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.script {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.32em;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--cherry);
  padding: 0 0.04em;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--margin));
  margin: 0 auto;
  padding: 0 var(--margin);
}

.section {
  padding-top: var(--section);
}

.section > h2 {
  margin-bottom: var(--gap);
}

.panel {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
}

.panel .stars {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  opacity: 0.55;
}

.butter { background: var(--butter); }
.blush { background: var(--blush); }
.mint { background: var(--mint); }
.lilac { background: var(--lilac); }
.sky { background: var(--sky); }

.badge {
  display: inline-block;
  border-radius: 9px;
  line-height: 0;
  transition: transform 0.2s ease;
}

.badge img {
  width: 162px;
  height: 54px;
}

.badge:active {
  transform: scale(0.97);
}

.badge:focus-visible,
.button:focus-visible,
.foot a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 3px;
}

.fine {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--cherry);
  color: var(--canvas);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

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

.hero {
  display: grid;
  gap: 40px;
  padding-top: 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy .wordmark {
  width: 236px;
}

.hero-copy h1 {
  margin-top: 20px;
  max-width: 13em;
}

.hero-copy .badge {
  margin-top: 28px;
}

.hero-copy .fine {
  margin-top: 12px;
}

.hero-art {
  position: relative;
  margin: 0;
  padding: 24px;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-card);
  background: var(--card);
}

.shot.main {
  grid-column: 1 / -1;
}

.shot.main img {
  border-radius: 22px;
}

.shot .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.hero-art .fine {
  margin-top: 14px;
  text-align: center;
}

.hero-art > .stars {
  width: 40px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step .panel {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-card);
}

.step .panel img {
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.step .num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cherry);
  color: var(--canvas);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 28px;
  text-align: center;
}

.step h3 {
  margin-top: 14px;
  font-size: 18px;
}

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

.perks li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 14px 20px 14px 16px;
  border-radius: var(--r-card);
  background: var(--card);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.perks img {
  flex: none;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--r-card);
  background: var(--card);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px 20px 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  text-wrap: balance;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--cherry), var(--cherry)) center / 12px 2px no-repeat,
    linear-gradient(var(--cherry), var(--cherry)) center / 2px 12px no-repeat,
    var(--raised);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.55;
}

.faq details a {
  color: var(--cherry);
  font-weight: 600;
  text-underline-offset: 3px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  text-align: center;
}

.cta .icon {
  width: 88px;
  height: 88px;
  border-radius: 22.4%;
}

.cta h2 {
  margin-top: var(--gap);
}

.cta .badge {
  margin-top: 28px;
}

.cta .stars-end {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  opacity: 0.55;
  transform: scaleX(-1);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

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

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.topbar .wordmark {
  width: 112px;
}

.topbar .badge img {
  width: 120px;
  height: 40px;
}

.lost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
}

.lost .panel {
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
}

.lost .panel .art {
  height: 180px;
  width: auto;
}

.lost h1 {
  margin-top: var(--gap);
}

.lost .button {
  margin-top: var(--gap);
}

.prose {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  font-size: 28px;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose a {
  color: var(--cherry);
  text-underline-offset: 3px;
}

.prose img {
  border-radius: var(--r-card);
}

.prose blockquote {
  margin-left: 0;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--card);
  font-family: var(--serif);
  font-size: 20px;
}

@media (min-width: 600px) {
  :root {
    --margin: 32px;
  }

  h1 {
    font-size: 46px;
    line-height: 1.08;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy .wordmark {
    width: 280px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

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

@media (min-width: 900px) {
  h1 {
    font-size: 60px;
    line-height: 1.06;
  }

  h2 {
    font-size: 46px;
    line-height: 1.08;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding-top: 48px;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-copy .wordmark {
    width: 320px;
    margin-left: -6px;
  }

  .hero-copy h1 {
    margin-top: 28px;
    max-width: 9.5em;
  }

  .hero-copy .badge {
    margin-top: 36px;
  }

  .hero-art {
    width: 100%;
    max-width: 440px;
    justify-self: end;
    padding: 28px;
  }

  .showcase {
    gap: 12px;
  }

  .panel .stars,
  .hero-art > .stars {
    top: 24px;
    left: 24px;
    width: 56px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .step .num {
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    font-size: 17px;
    line-height: 32px;
  }

  .step h3 {
    margin-top: 18px;
    font-size: 21px;
  }

  .split {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: var(--gap);
    align-items: start;
  }

  .split > h2 {
    margin-bottom: 0;
  }

  .perks {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .perks li {
    min-height: 96px;
    padding: 18px 24px 18px 20px;
    font-size: 19px;
  }

  .perks img {
    width: 60px;
    height: 60px;
  }

  .faq summary {
    padding: 22px 22px 22px 24px;
    font-size: 19px;
  }

  .faq details p {
    padding: 0 24px 24px;
    font-size: 17px;
  }

  .cta {
    padding: 88px 40px;
  }

  .cta .icon {
    width: 104px;
    height: 104px;
  }

  .cta .stars-end {
    right: 24px;
    bottom: 24px;
    width: 56px;
  }

  .foot {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .topbar {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .topbar .wordmark {
    width: 132px;
  }

  .lost {
    padding-top: 48px;
  }

  .lost .panel {
    height: 340px;
  }

  .lost .panel .art {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.fill {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.fill main {
  flex: 1;
}
