@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Playfair+Display:wght@900&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

/* The app's own paper and ink (mobile/src/components/RatingFlow.js). */
:root {
  --paper: #efe9dc;
  --card: #fbf8f1;
  --ink: #1a1714;
  --sub: #6b6258;
  --brown: #3b2a20;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: 1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Full width: the page uses the whole screen, with side padding that scales. */
.wrap { padding: 0 clamp(20px, 5vw, 96px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 22px var(--display); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--sub); }
.top nav a { text-decoration: none; }
.top nav a, .nav-links a { white-space: nowrap; }
@media (max-width: 480px) {
  .top nav, .nav-links { gap: 12px; font-size: 13px; }
  .brand { font-size: 20px; }
  .brand img { width: 28px; height: 28px; }
}
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--brown); color: var(--paper); padding: 12px 22px; border-radius: 6px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { opacity: .88; }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* hero */
/* The hero fills the screen under the header. The phone is as tall as the
   hero and runs off the bottom edge. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; min-height: calc(100vh - 92px); min-height: calc(100svh - 92px); padding-bottom: 32px; }
.hero .copy { padding: 24px 0; }
.kicker { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.hero h1 { font-size: clamp(56px, min(7.5vw, 12vh), 120px); margin: 16px 0 24px; }
.hero h1 span { display: block; }
.hero .lede { font-size: clamp(18px, 1.5vw, 24px); color: #4a443c; max-width: 520px; }
/* The spinning record behind the hero phone, carried over from the first
   site. Rings are a repeating radial gradient; the hub and the thin arm are
   what make the rotation visible (the rings alone look identical at every
   angle). The hero clips it, so it bleeds off the edge like a platter. */
.hero { position: relative; overflow: hidden; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; align-self: stretch; }
.platter {
  --d: clamp(420px, 58vw, 900px);
  position: absolute; top: 46%; left: 88%; width: var(--d); height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  border: 1px solid rgba(59, 42, 32, .22);
  background: repeating-radial-gradient(circle at center, rgba(59, 42, 32, .17) 0 1.5px, transparent 1.5px 13px);
  animation: platterSpin 24s linear infinite; pointer-events: none; z-index: 0;
}
.platter::before { content: ''; position: absolute; top: 50%; left: 50%; width: 15%; height: 15%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper); border: 1px solid rgba(59, 42, 32, .3); }
.platter::after { content: ''; position: absolute; top: 15%; left: 54%; width: 3px; height: 47%; background: rgba(59, 42, 32, .35); transform-origin: top center; transform: rotate(26deg); }
@keyframes platterSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .platter { animation: none; } }
@media (max-width: 860px) { .platter { --d: clamp(300px, 95vw, 520px); left: 84%; top: 42%; } }
.stage .phone { position: relative; z-index: 1; }

/* The hero phone is shown whole, sized to fit inside the screen height. */
.hero .phone.full { width: min(100%, calc((100svh - 92px) * .38), 380px); margin: 24px auto; border-bottom: 7px solid #111; border-radius: 44px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 32px; min-height: 0; padding-bottom: 8px; }
  .hero .lede { margin: 0 auto; }
  .hero .phone.full { width: min(70%, 300px); }
}
.waitlist { display: flex; gap: 10px; max-width: 440px; margin: 30px 0 0; }
@media (max-width: 860px) { .waitlist { margin: 30px auto 0; } }
.waitlist[hidden] { display: none; }
.waitlist input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 400 17px var(--body); }
.waitlist input::placeholder { color: var(--sub); }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .btn:disabled { opacity: .6; cursor: default; }
.msg { margin-top: 12px; font-size: 14px; color: var(--sub); min-height: 22px; }
.msg.error { color: #b42318; }
.msg.ok { color: #14532d; font-size: 16px; }
@media (max-width: 480px) { .waitlist { flex-direction: column; } }

/* three screenshot cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 28px); padding-bottom: clamp(48px, 6vw, 96px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.card { background: var(--brown); color: var(--paper); border-radius: 28px; padding: clamp(28px, 3vw, 56px) clamp(20px, 2vw, 40px) clamp(28px, 3vw, 56px); overflow: hidden; text-align: center; }
.card h2 { font-size: clamp(40px, 3.6vw, 72px); color: var(--paper); }
.card p { font-size: clamp(16px, 1.3vw, 21px); color: #d9cfbc; margin: 12px auto 0; max-width: 360px; line-height: 1.45; }
/* The phone is cut off by the bottom of the card. The screenshot's top
   6.5% (status bar and notch area) is cropped out so only the app shows. */
.phone { width: min(66%, 280px); margin: clamp(20px, 2.5vw, 36px) auto 0; border: 7px solid #111; border-radius: 40px; overflow: hidden; background: var(--paper); }
/* The whole screenshot, uncropped. Its own status bar (recording pill, odd
   clock, charging battery) is covered by a clean one: 9:41, signal, wifi and
   a full battery, drawn to match the app's paper color. */
.screen { position: relative; aspect-ratio: 1206 / 2622; overflow: hidden; }
.screen img { width: 100%; height: 100%; display: block; }
.screen::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1206 / 145; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1206 145'%3E%3Crect width='1206' height='145' fill='%23efe9dc'/%3E%3Ctext x='110' y='94' font-family='-apple-system,Helvetica,Arial,sans-serif' font-size='54' font-weight='600' fill='%231a1714'%3E9:41%3C/text%3E%3Crect x='438' y='28' width='330' height='90' rx='45' fill='%23000'/%3E%3Cg fill='%231a1714'%3E%3Crect x='846' y='76' width='13' height='20' rx='4'/%3E%3Crect x='868' y='66' width='13' height='30' rx='4'/%3E%3Crect x='890' y='56' width='13' height='40' rx='4'/%3E%3Crect x='912' y='46' width='13' height='50' rx='4'/%3E%3C/g%3E%3Cg fill='none' stroke='%231a1714' stroke-width='8' stroke-linecap='round'%3E%3Cpath d='M942 72A52 52 0 0 1 1008 72'/%3E%3Cpath d='M955 85A33 33 0 0 1 995 85'/%3E%3C/g%3E%3Ccircle cx='975' cy='97' r='8' fill='%231a1714'/%3E%3Crect x='1042' y='60' width='84' height='42' rx='12' fill='none' stroke='%231a1714' stroke-opacity='.45' stroke-width='4'/%3E%3Crect x='1049' y='67' width='70' height='28' rx='7' fill='%231a1714'/%3E%3Crect x='1132' y='74' width='7' height='15' rx='3' fill='%231a1714' fill-opacity='.45'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* new releases and collections, below the cards */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 28px); padding-bottom: clamp(48px, 6vw, 96px); }
@media (max-width: 860px) { .more { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.more-item { border: 1.5px solid var(--ink); border-radius: 28px; padding: clamp(28px, 3vw, 56px) clamp(24px, 3vw, 56px); overflow: hidden; }
.more-item h2 { font-size: clamp(32px, 3.4vw, 64px); margin: 12px 0 10px; }
.more-item > p:not(.kicker) { color: #4a443c; max-width: 480px; font-size: clamp(17px, 1.3vw, 21px); }
.more-item .phone { margin-top: clamp(20px, 2.5vw, 36px); width: min(58%, 300px); }

/* footer */
footer { border-top: 1px solid #d8d0bf; padding: 32px 0 48px; font-size: 15px; color: var(--sub); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.legal-line { margin-top: 16px; font-size: 13px; }

/* privacy, terms, support */
.doc { max-width: 720px; padding: 40px 24px 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 8px; }
.doc .meta { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sub); margin-bottom: 36px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: #3d372f; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.nav { border-bottom: 1px solid #d8d0bf; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.top { gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--sub); }
@media (max-width: 520px) { .hide-sm { display: none; } }
