@font-face { font-family: Bricolage; src: url(/fonts/bricolage-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

/* Wine / butter, the home palette in docs/branding/close-range/palettes.json */
:root {
  --night: #2c121c;
  --wine: #4b1d2c;
  --butter: #e8cd83;
  --paper: #f8f1df;
  --soft: #d6b0a0;
  --muted: #765b55;
  --rim: #1c0a11;
  --side: max(clamp(1rem, 5vw, 5rem), (100% - 76rem) / 2);
  font: 400 1rem/1.6 Manrope, Arial, sans-serif;
  /* Manrope's x-height, so Arial takes the same space until the font arrives */
  font-size-adjust: 0.54;
  background: var(--night);
  color: var(--paper);
}

body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus, var(--butter)); outline-offset: 4px; border-radius: 4px; }

h1, h2, dt {
  font-family: Bricolage, Arial, sans-serif;
  font-weight: 600;
  font-size-adjust: 0.522;
  text-wrap: balance;
}

.top, .hero, .closing { --focus: var(--wine); background: var(--butter); color: var(--wine); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--side) 0;
}
.top img { width: 9.5rem; }
.top nav { display: flex; gap: 1.25rem; font-size: 0.9375rem; }
.top nav a { padding-block: 0.75rem; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5rem) var(--side) clamp(3.5rem, 8vw, 6rem);
}
@media (min-width: 60rem) { .hero { grid-template-columns: 1fr auto; } }

h1 { font-size: clamp(3rem, 1.6rem + 6vw, 7rem); line-height: 0.95; letter-spacing: -0.04em; margin: 0; }
h1 span { display: block; }
/* The app's lyric pair: the line being sung, then the next one */
h1 .next { color: var(--muted); }

.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); max-width: 34ch; margin: 1.75rem 0 2.25rem; text-wrap: pretty; }
.play { display: inline-block; border-radius: 0.75rem; }
.play img { width: auto; height: 4rem; }
.note { font-size: 0.875rem; margin-top: 0.75rem; }

.phone {
  --w: 20rem;
  width: min(var(--w), 78vw);
  padding: 0.5rem;
  border-radius: 2.5rem;
  background: var(--rim);
}
.phone img { border-radius: 2rem; }
.hero .phone { justify-self: center; }

/* Overtone contours cropped from the corner, as in the campaign feeds */
.overtone {
  position: absolute;
  z-index: -1;
  width: 36rem;
  right: -14rem;
  bottom: -12rem;
}
@media (min-width: 60rem) { .overtone { width: 60rem; right: calc(var(--side) - 24rem); bottom: -26rem; } }

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }

.screens, .details { padding-inline: var(--side); }

.screens {
  display: grid;
  gap: 4.5rem 3rem;
  padding-block: clamp(4rem, 10vw, 8rem);
}
@media (min-width: 48rem) { .screens { grid-template-columns: 1fr 1fr; } }
.screens .phone { --w: 17.5rem; margin-bottom: 2rem; }
.screens h2 { margin-bottom: 0.75rem; }
.screens p, dd { color: var(--soft); max-width: 36ch; text-wrap: pretty; }

.details { padding-bottom: clamp(4rem, 10vw, 8rem); }
dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 2rem 3rem;
  margin: 2.5rem 0 0;
}
dt { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
dd { margin: 0.375rem 0 0; }

.closing { padding: clamp(3.5rem, 8vw, 6rem) var(--side); }
.closing h2 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4.5rem); margin-bottom: 2rem; }
.closing h2 span { display: block; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 2rem var(--side) 2.5rem;
  font-size: 0.875rem;
  color: var(--soft);
}
