/* Postdated site: warm paper, one soft serif, a lot of air. The app screens carry the colour. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/Caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #FAF5EE;
  --card: #F3EBE0;
  --text: #2B211A;
  --muted: #86776A;
  --line: #E8DDCF;
  --accent: #C96F4A;
  --glow: #F8D9C0;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 28px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 26px; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.top nav { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding-top: clamp(40px, 7vw, 96px); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.025em; }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; box-shadow: 0 1px 2px rgba(70, 45, 20, 0.05); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(48px, 7vw, 88px); padding-bottom: 40px; overflow: hidden; }
.phones::before { content: ""; position: absolute; left: 50%; top: 8%; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 72%); pointer-events: none; }
.shot { position: relative; border-radius: clamp(20px, 3.6vw, 42px); border: 1px solid rgba(43, 33, 26, 0.10); box-shadow: 0 40px 70px -34px rgba(90, 55, 25, 0.45), 0 12px 24px -16px rgba(90, 55, 25, 0.25); background: #fff; }
.phones .shot { width: min(300px, 46vw); z-index: 1; }
.phones .side { width: min(250px, 38vw); margin-top: clamp(28px, 5vw, 64px); z-index: 0; }
.phones .side:first-child { margin-right: clamp(-28px, -2.5vw, -12px); }
.phones .side:last-child { margin-left: clamp(-28px, -2.5vw, -12px); }

/* Sections */
section { padding-block: clamp(72px, 10vw, 136px); }

.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 17em; font-family: var(--hand); font-size: clamp(34px, 5.2vw, 60px); line-height: 1.12; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 15px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: 28px; padding: 34px 30px 0; overflow: hidden; text-align: center; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; letter-spacing: -0.015em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.card .crop { margin: 30px auto 0; width: 80%; aspect-ratio: 690 / 1080; overflow: hidden; border-radius: 30px 30px 0 0; box-shadow: 0 -10px 40px -20px rgba(90, 55, 25, 0.35); }
.card .shot { border: 0; border-radius: 0; box-shadow: none; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.facts div { padding: 34px 16px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.015em; }
.facts span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

.close { text-align: center; }
.close h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.02em; }

/* Footer */
footer { padding-block: 30px 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: baseline; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .wordmark { font-size: 18px; color: var(--text); }

/* Text pages */
.doc { max-width: 680px; margin-inline: auto; padding-block: clamp(32px, 6vw, 72px) 88px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 10px; }
.doc h2 { font-size: 18px; font-weight: 600; margin-top: 40px; }
.doc p, .doc ul { margin-top: 12px; }
.doc > p { color: var(--muted); }
.doc ul { padding-left: 20px; }
.doc li { margin-top: 6px; }
.doc .sheet { margin-top: 36px; padding-top: 4px; border-top: 1px solid var(--line); }
.doc strong { font-weight: 600; }
.label { font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 24px 16px; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  footer .wrap { flex-direction: column; }
}
.card { display: flex; flex-direction: column; }
.card .crop { margin-top: auto; }
.card p { margin-bottom: 30px; }
