@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blush: #F3E3E6;
  --blush-deep: #E9CDD3;
  --paper: #FCF6F1;
  --cocoa: #2B1A14;
  --cocoa-soft: #5E4840;
  --pink: #C8166F;
  --pink-hot: #E0218A;
  --olive: #4F5126;
  --gold: #A9843A;
  --rule: #E3C3CA;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--blush);
  color: var(--cocoa);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.top nav { display: flex; gap: 22px; font-weight: 500; }
.top nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.top nav a:hover { border-bottom-color: currentColor; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 48px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 96;
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 34em;
  margin: 0 0 34px;
  color: var(--cocoa-soft);
}
.cta, button[type="submit"] {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.cta:hover, button[type="submit"]:hover { background: #A90F5C; }
.disclosure {
  margin: 22px 0 0;
  font-size: .92rem;
  color: var(--cocoa-soft);
  max-width: 30em;
}

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  border-radius: 220px 220px 6px 6px;
  aspect-ratio: 1100 / 1356;
  object-fit: cover;
  box-shadow: 0 30px 60px -30px rgba(43, 26, 20, .45);
}
.fact-card {
  position: absolute;
  left: -40px;
  bottom: 36px;
  width: min(300px, 78%);
  background: var(--paper);
  padding: 18px 20px 20px;
  border-top: 6px solid var(--olive);
  transform: rotate(-2.5deg);
  box-shadow: 0 14px 30px -12px rgba(43, 26, 20, .35);
  font-size: .95rem;
  line-height: 1.45;
  /* index-card ruling */
  background-image: repeating-linear-gradient(to bottom, transparent 0 26px, var(--rule) 26px 27px);
  background-position: 0 44px;
}
.fact-card p { margin: 0; }
.fact-head {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px !important;
  color: var(--olive);
}
.fact-card cite { font-style: italic; }

/* Sources */
.sources, .pricing, .list {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.sources { border-top: 1px solid var(--rule); }
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 36px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.source-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cocoa);
}
.source-grid p { margin: 0; max-width: 32em; }
.sources-note {
  margin: 48px 0 0;
  max-width: 40em;
  font-size: 1.15rem;
  color: var(--cocoa-soft);
}

/* Pricing */
.pricing {
  background: var(--cocoa);
  color: var(--blush);
  max-width: none;
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.pricing-sub { color: #D9C2BF; max-width: 40em; margin-top: -16px; margin-bottom: 40px; }
.price-list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #5E4840;
}
.price-list div {
  padding: 26px 24px 8px 0;
  border-right: 1px solid #5E4840;
  margin-right: 24px;
}
.price-list div:last-child { border-right: 0; margin-right: 0; }
.price-list dt { font-size: .98rem; color: #D9C2BF; }
.price-list dd {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  font-weight: 500;
}
.price-list dd span { font-family: var(--body); font-size: 1rem; color: #D9C2BF; margin-left: 4px; }
.price-list .monthly dd { color: #F7A9CF; }

/* Waitlist card */
.list { display: flex; justify-content: center; }
.card {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--paper);
  padding: clamp(28px, 5vw, 48px) clamp(22px, 5vw, 48px) clamp(24px, 4vw, 36px) clamp(36px, 7vw, 72px);
  box-shadow: 0 24px 50px -28px rgba(43, 26, 20, .45);
  /* library card: red margin rule + ruled lines */
  background-image:
    linear-gradient(to right, transparent calc(clamp(36px, 7vw, 72px) - 18px), #D7849E calc(clamp(36px, 7vw, 72px) - 18px) calc(clamp(36px, 7vw, 72px) - 16px), transparent calc(clamp(36px, 7vw, 72px) - 16px));
}
.card-head h2 { margin-bottom: 8px; }
.card-head p { margin: 0 0 28px; color: var(--cocoa-soft); }

.line {
  display: block;
  border: 0;
  border-bottom: 1px solid var(--rule);
  margin: 0 0 22px;
  padding: 0 0 12px;
  min-width: 0;
}
.line-label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--cocoa-soft);
  margin-bottom: 6px;
  padding: 0;
}
.line input[type="email"] {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--cocoa);
  padding: 4px 0;
}
.line input[type="email"]::placeholder { color: #8A706B; }
.line input[type="email"]:focus-visible { outline: none; }
.line:focus-within { border-bottom-color: var(--pink); }

.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choices input { accent-color: var(--pink); width: 18px; height: 18px; margin: 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button[type="submit"] { margin-top: 6px; }
button[disabled] { opacity: .6; cursor: progress; }

.form-msg { min-height: 1.5em; margin: 14px 0 0; font-weight: 500; }
.form-msg.error { color: #A3123F; }

.privacy { font-size: .88rem; color: var(--cocoa-soft); margin: 18px 0 0; max-width: 34em; }

/* Stamp: the one moment of motion, answering a signup */
.stamp {
  position: absolute;
  right: clamp(16px, 5vw, 44px);
  top: clamp(90px, 14vw, 120px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  border: 3px solid var(--pink);
  border-radius: 6px;
  color: var(--pink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp-date { font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.card.done .stamp { display: flex; animation: stamp .42s cubic-bezier(.2, 1.4, .4, 1) both; }
.card.done .line, .card.done button { opacity: .55; }
@keyframes stamp {
  from { transform: rotate(-9deg) scale(1.8); opacity: 0; }
  to { transform: rotate(-9deg) scale(1); opacity: .92; }
}

/* Footer */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 56px;
  border-top: 1px solid var(--rule);
  color: var(--cocoa-soft);
  font-size: .92rem;
}
.foot p { margin: 0 0 6px; }
.signoff {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--cocoa);
  margin-bottom: 14px !important;
}

/* Small screens */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .fact-card { left: -6px; bottom: 20px; }
  .source-grid { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr 1fr; }
  .price-list div:nth-child(2) { border-right: 0; margin-right: 0; }
  .price-list div { padding-bottom: 22px; border-bottom: 1px solid #5E4840; }
}
@media (max-width: 420px) {
  .price-list { grid-template-columns: 1fr; }
  .price-list div { border-right: 0; margin-right: 0; }
  .stamp { top: 70px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card.done .stamp { animation: none; opacity: .92; }
  .cta, button[type="submit"] { transition: none; }
}
