/* iretrophone.com — one page, no build step. The page is black like the app; type is the
   system sans with a typewriter face for the small printed labels, as on the dial's card. */
:root {
  --bg: #000;
  --ink: #f2f0ea;
  --ink-2: #b8b5ad;
  --ink-3: #7a7770;
  --rule: #26262a;
  --card: #111113;
  --btn-bg: #141416;
  --btn-border: #3a3a3e;
  --btn-border-hover: #6a6a70;
  --bar-bg: rgba(8,8,10,.92);
  --frame-shadow: 0 30px 80px rgba(0,0,0,.7);
  --brass: #c9a44a;
  --green: #30b457;
  --scheme: dark;
  --mono: "American Typewriter", "Courier Prime", "Courier New", Courier, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1080px;
}
/* Light: warm paper, dark ink. Follows the system unless the toggle says otherwise. */
:root[data-theme="light"],
:root:not([data-theme="dark"]) { --light-ready: 1; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f1ea; --ink: #14130f; --ink-2: #4a4841; --ink-3: #7d7a72; --rule: #e2ded3; --card: #fbfaf6;
    --btn-bg: #fbfaf6; --btn-border: #cfcac0; --btn-border-hover: #8f8a80; --bar-bg: rgba(248,246,240,.92);
    --frame-shadow: 0 30px 70px rgba(20,19,15,.28); --scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f1ea; --ink: #14130f; --ink-2: #4a4841; --ink-3: #7d7a72; --rule: #e2ded3; --card: #fbfaf6;
  --btn-bg: #fbfaf6; --btn-border: #cfcac0; --btn-border-hover: #8f8a80; --bar-bg: rgba(248,246,240,.92);
  --frame-shadow: 0 30px 70px rgba(20,19,15,.28); --scheme: light;
}
* { box-sizing: border-box; }
html { color-scheme: var(--scheme); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; color: var(--ink-3); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand span { display: block; font-size: 12px; color: var(--ink-3); margin-top: -2px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 24px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 18px; font-weight: 650; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta img { height: 48px; width: auto; }
.cta .price { font-size: 14px; color: var(--ink-3); }

/* the phone frame */
.phone { position: relative; width: min(330px, 78vw); margin: 0 auto; }
.phone .body {
  position: relative; border-radius: 52px; padding: 12px; background: #1a1a1c;
  box-shadow: 0 0 0 1.5px #3a3a3e, var(--frame-shadow), inset 0 0 0 1px #000;
}
.phone .screen { border-radius: 42px; overflow: hidden; background: #000; }
.phone .island { position: absolute; top: 24px; left: 50%; width: 27%; height: 30px; background: #000; border-radius: 20px; transform: translateX(-50%); }
.phone figcaption { text-align: center; margin-top: 14px; }

/* sections */
section { padding: 56px 0; border-top: 1px solid var(--rule); }
section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.12; margin: 8px 0 14px; font-weight: 650; }
section p { color: var(--ink-2); max-width: 40em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li > div { min-width: 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #ecebe4; color: #111; font: 600 20px/1 var(--sans);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.6);
}
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 26px; }
.features h3 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.features p { font-size: 15px; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.gallery .phone { width: 100%; }

/* history */
.timeline { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; max-width: 46em; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; }
.timeline .when { font-family: var(--mono); font-size: 13px; color: var(--brass); letter-spacing: 0.04em; }
blockquote { margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--brass); background: var(--card); color: var(--ink); font-size: 18px; max-width: 40em; }
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--ink-3); }

/* spec table */
table { border-collapse: collapse; width: 100%; max-width: 46em; margin-top: 22px; font-size: 15px; }
th, td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); width: 38%; }
td { color: var(--ink-2); }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 34px 0 48px; color: var(--ink-3); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink-2); }

/* privacy page */
.prose { max-width: 42em; padding: 24px 0 64px; }
.prose h1 { font-size: 34px; letter-spacing: -0.02em; margin: 24px 0 6px; }
.prose h2 { font-size: 19px; margin: 28px 0 6px; }
.prose p { color: var(--ink-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero .phone { order: -1; }
  .grid2, .features, .gallery { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone .screen img { transition: transform .5s ease; }
}

/* marketing pass */
.top nav a.store { color: var(--ink); border: 1px solid var(--btn-border); padding: 7px 14px; border-radius: 999px; line-height: 1; }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme-toggle .sun { display: block; } :root:not([data-theme="dark"]) .theme-toggle .moon { display: none; } }
.hero { padding-top: 40px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); }
.cta { gap: 16px; }
.badge img { height: 48px; width: auto; }
.badge.inline { display: inline-block; margin-top: 26px; }
.fine { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.hear {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 12px;
  border-radius: 999px; border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--ink);
  font: 500 15px var(--sans); cursor: pointer;
}
.hear:hover { border-color: var(--btn-border-hover); }
.hear .play { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); position: relative; }
.hear .play::after { content: ""; position: absolute; left: 10px; top: 7px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--bg); }
.hear.playing .play { background: var(--brass); }
.hear.playing .play::after { border-color: transparent transparent transparent #000; }
.phone .screen video { display: block; width: 100%; height: auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 18px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; }
.card p { font-size: 15px; margin: 0; }
.gallery.four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
#yours .grid2 { margin-bottom: 8px; }
#yours .grid2 .phone { order: 0; }
em { color: var(--ink); font-style: normal; font-family: var(--mono); }
.faq { margin: 22px 0 0; max-width: 46em; }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); }
details.specs { margin-top: 34px; max-width: 46em; }
details.specs summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
details.specs table { margin-top: 14px; }
section.final { text-align: center; padding: 70px 0 60px; }
section.final h2 { font-size: clamp(32px, 5vw, 52px); }
section.final p { margin: 0 auto 24px; }
section.final .badge { display: inline-block; }
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--bar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2);
}
.sticky-cta img:first-child { border-radius: 8px; }
.sticky-cta span { flex: 1; line-height: 1.25; }
.sticky-cta strong { color: var(--ink); font-size: 15px; }
.sticky-cta .badge img { height: 40px; }
@media (max-width: 820px) {
  .cards, .gallery.four { grid-template-columns: 1fr; }
  .gallery.four { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero { padding-top: 12px; }
  .hero .phone { width: min(300px, 74vw); }
  .top nav { display: flex; }
  .top nav a:not(.store) { display: none; }
  .top nav { gap: 10px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  #yours .grid2 .phone { order: -1; }
}
