:root {
  --paper: #f6f1e7;
  --paper-deep: #ede5d6;
  --card: #fbf8f2;
  --ink: #1f2933;
  --ink-soft: #4b5560;
  --muted: #7a7f86;
  --line: #ddd3c2;
  --sage: #6f7f63;
  --sage-soft: #e3e7da;
  --gold: #a8834a;
  --night: #1c2747;
  --rose: #b4675b;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --text: "Newsreader", Georgia, serif;
  --gutter: clamp(20px, 5.5vw, 32px);
  --column: 620px;
  --radius: 14px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18.5px;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

strong {
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(38px, 10vw, 54px);
  margin-bottom: 22px;
}

h3 {
  font-size: clamp(29px, 7.6vw, 38px);
}

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

.eyebrow {
  font-family: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 12px;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

.amp {
  color: var(--gold);
}

.small {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Hero: article cover */

.hero {
  background: var(--paper);
}

.hero__cover {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}

@media (min-width: 901px) {
  .hero__cover {
    -webkit-mask-image: radial-gradient(70% 75% at 50% 45%, #000 60%, transparent);
    mask-image: radial-gradient(70% 75% at 50% 45%, #000 60%, transparent);
  }
}

.hero__text {
  max-width: calc(var(--column) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 30px var(--gutter) 6px;
}

.hero h1 {
  font-size: clamp(48px, 13.5vw, 80px);
  line-height: 0.98;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-family: var(--display);
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.22;
  color: var(--ink-soft);
  max-width: 24ch;
  margin: 0;
}

/* Layout */

main {
  padding-bottom: 24px;
}

.letter,
.chapter,
.closing {
  max-width: calc(var(--column) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.letter {
  padding-top: 36px;
  padding-bottom: 32px;
}

.chapter {
  padding-top: 48px;
  padding-bottom: 28px;
  position: relative;
}

.letter::before,
.chapter::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
  opacity: 0.7;
}

.greeting {
  font-size: clamp(46px, 12vw, 60px);
  margin-bottom: 18px;
}

.asks {
  list-style: none;
  counter-reset: ask;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
}

.asks li {
  counter-increment: ask;
  position: relative;
  padding-left: 46px;
}

.asks li::before {
  content: counter(ask);
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--display);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}

.time {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 20px;
}

.time__lead {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 12px;
}

.time__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time__steps li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.time__steps span {
  font-weight: 500;
}

.time__steps small {
  font-size: 13.5px;
  color: var(--muted);
}

.pull {
  font-family: var(--display);
  font-size: clamp(27px, 7vw, 34px);
  line-height: 1.2;
  color: var(--night);
  margin: 1.2em 0;
}

.subhead {
  font-size: clamp(27px, 7vw, 32px);
  margin: 36px 0 14px;
}

/* Feature: Edoardo & Angelica */

.feature {
  margin-top: 30px;
}

.feature h3 {
  font-size: clamp(32px, 8.6vw, 42px);
  margin-bottom: 16px;
}

.strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  margin: 0 calc(-1 * var(--gutter)) 26px;
  padding: 4px var(--gutter) 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip figure {
  margin: 0;
  flex: 0 0 min(58vw, 240px);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.08), 0 12px 28px -14px rgba(31, 41, 51, 0.35);
}

.strip img {
  width: 100%;
  aspect-ratio: 9 / 15.3;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button::after {
  content: "→";
  transition: transform 0.2s ease;
}

.button:hover {
  background: #26345c;
}

.button:hover::after {
  transform: translateX(3px);
}

.button:active {
  transform: scale(0.98);
}

.feature .button {
  width: 100%;
}

.ask {
  margin-top: 8px;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: var(--night);
  color: #fff;
}

.ask__title {
  font-family: var(--display);
  font-size: clamp(27px, 7.4vw, 34px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.ask p:not(.ask__title) {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}

.button--light {
  background: #f6f1e7;
  color: var(--night);
}

.button--light:hover {
  background: #fff;
}

/* Experiments */

.experiments {
  margin-top: 56px;
}

.experiments__title {
  font-size: clamp(27px, 7vw, 32px);
  margin-bottom: 10px;
}

.experiments__grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mini {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini:hover {
  border-color: var(--gold);
}

.mini:active {
  transform: scale(0.99);
}

.mini img {
  width: 96px;
  aspect-ratio: 9 / 15.3;
  object-fit: cover;
  border-radius: 10px;
}

.mini__body {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.mini__name {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.mini__text {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.mini__fact {
  font-size: 15px;
  color: var(--sage);
}

.mini__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--night);
}

/* Market */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 26px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--display);
  font-size: clamp(30px, 8.4vw, 40px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.stat__label {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.stat--accent {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.stat--accent .stat__label {
  color: rgba(255, 255, 255, 0.78);
}

.bullets {
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullets li {
  position: relative;
  padding-left: 22px;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.examples {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.examples a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.examples__price small {
  font-family: var(--text);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.examples__what {
  font-size: 16.5px;
  line-height: 1.4;
}

.examples__what::after {
  content: " ↗";
  color: var(--muted);
  font-size: 0.9em;
}

.examples__price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--rose);
}

/* Price list */

.prices {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  border-top: 1px solid var(--line);
}

.prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}

.prices__name {
  font-weight: 500;
}

.prices__what {
  grid-column: 1;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.prices__value {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  color: var(--night);
}

/* Comparison */

.rivals {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.rival {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.rival:hover {
  border-color: var(--gold);
}

.rival__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.rival__title {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.rival__price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--rose);
}

.rival__price small {
  font-family: var(--text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

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

.rival__shots img {
  width: 100%;
  aspect-ratio: 9 / 15.3;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

.rival__desc {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Idea */

.flow {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 26px;
  display: grid;
  gap: 0;
}

.flow li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.flow li:first-child {
  border-top: 1px solid var(--line);
}

.flow li::before {
  content: counter(step);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}

.pair {
  display: grid;
  gap: 12px;
}

.pair > div {
  background: var(--sage-soft);
  border-radius: var(--radius);
  padding: 16px 18px 4px;
}

.pair .eyebrow {
  margin-bottom: 6px;
}

/* Road */

.road {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  position: relative;
}

.road::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}

.road__step {
  position: relative;
  padding: 0 0 26px 38px;
}

.road__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
}

.road__step--now::before {
  background: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 18%, transparent);
}

.road__when {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.road__step--now .road__when {
  color: var(--gold);
  font-weight: 600;
}

.road h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.road p:last-child {
  margin-bottom: 0;
}

/* Offer */

.lead {
  font-size: 20.5px;
  line-height: 1.5;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 4px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  font-size: 15px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}

.chips li:last-child {
  border-style: dashed;
  color: var(--ink-soft);
}

.dashboard {
  background: var(--night);
  color: #fff;
  border-radius: 20px;
  padding: 24px 20px 20px;
  margin: 0 0 32px;
  display: grid;
  gap: 20px;
}

.dashboard .eyebrow {
  color: #d9bd8c;
}

.dashboard__text p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.mock {
  background: var(--card);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.mock__count {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: right;
}

.mock__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eee6d8;
}

.mock__row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.tag {
  flex: none;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag--yes {
  background: var(--sage-soft);
  color: #4c5a42;
}

.tag--wait {
  background: #f2e7d2;
  color: #8a6a35;
}

.tag--draft {
  max-width: 100%;
  white-space: normal;
  align-self: flex-start;
  background: #f2e7d2;
  color: #8a6a35;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--no {
  background: #f1dfdb;
  color: #8f4d43;
}

.timing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 10px;
}

.timing > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
}

.timing__value {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.timing__label {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Answers */

.chapter--answers h2 {
  margin-bottom: 14px;
}

.form {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 4px;
  min-height: 120px;
}

.form iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 400px;
}

.form__pending {
  margin: 0;
  padding: 36px 8px;
  text-align: center;
  color: var(--muted);
}

.form__fallback {
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 10px 0 14px;
}

/* Closing */

.closing {
  padding-top: 56px;
  padding-bottom: 40px;
  text-align: center;
}

.closing p {
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

.signature {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--night);
  margin-top: 18px;
}

.footer {
  text-align: center;
  padding: 26px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Larger screens */

@media (min-width: 701px) {
  body {
    font-size: 19.5px;
  }

  .strip figure {
    flex-basis: 220px;
  }

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

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

  .mini img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-position: 50% 30%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dashboard {
    padding: 28px;
  }

  .feature .button {
    width: auto;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 17.5px;
  }

  .stats,
  .timing {
    grid-template-columns: 1fr;
  }

  .time__steps small {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
