/* Years — the website in the app's own design language (pebble facelift, 2026-11):
   true black, white ink at a few fixed opacities, Geologica heavy, one big pebble per section,
   as little text as will do. No scripts anywhere on the site. */

@font-face {
  font-family: "Geologica";
  src: url("/fonts/geologica-extrabold.woff2") format("woff2");
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("/fonts/geologica-semibold.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}

:root {
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, .7);   /* Theme.yearsTextSecondary */
  --ink-3: rgba(255, 255, 255, .5);   /* Theme.yearsTextTertiary */
  --card: #141416;                    /* the Today sheet */
  --hair: rgba(255, 255, 255, .1);
  --younger: #409cff;                 /* GapPalette.younger */
  --older: #ffa626;                   /* GapPalette.older */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #000; }
body {
  background: #000; color: var(--ink);
  font-family: "Geologica", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-weight: 600; font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: min(1040px, 100% - 48px); margin: 0 auto; }

/* Type — the app's pebble scale (Theme.swift): display 44, statement 30, lead 20, meta 14. */
.display { font-weight: 800; font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -.02em; }
.statement { font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); }
.meta { font-size: 14px; color: var(--ink-3); }

/* The pebble: a flat tinted disc with its figure in black ink. */
.pebble {
  display: grid; place-items: center; border-radius: 50%; color: #000;
  font-weight: 800; letter-spacing: -.04em; flex: none;
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 64px 0 112px;
        display: grid; align-items: center;
        gap: clamp(40px, 7vw, 96px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
/* The Years mark, big, as on the first site: it breathes, slowly (CSS only). */
.logo-mark { width: 100%; max-width: 420px; height: auto; justify-self: end; opacity: .85;
             pointer-events: none; user-select: none; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .logo-mark { animation: none; } }
.hero .display { font-size: clamp(44px, 5.6vw, 72px); }
.hero .lead { margin-top: 18px; max-width: 26ch; }
/* The way down: the old scroll hint, in Geologica. A plain anchor, no script. */
.more { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
        font-weight: 800; font-size: 28px; line-height: 1; color: var(--ink-3);
        text-decoration: none; padding: 8px 14px; }
.more:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .more { animation: nudge 2.4s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
}
.soon { display: inline-block; margin-top: 28px; padding: 10px 18px; border-radius: 999px;
        background: rgba(255, 255, 255, .1); font-size: 15px; }

/* Sections: a phone and two lines */
.feature { padding: 72px 0; display: grid; gap: 56px; align-items: center;
           grid-template-columns: minmax(0, 300px) 1fr; border-top: 1px solid var(--hair); }
.feature:nth-of-type(even) { grid-template-columns: 1fr minmax(0, 300px); }
.feature:nth-of-type(even) .phone { order: 2; }
.feature .lead { margin-top: 16px; max-width: 30ch; }
.phone { border-radius: 40px; overflow: hidden; border: 1px solid var(--hair); width: 100%;
         max-width: 300px; justify-self: center; }

/* Promises: four small pebbles */
.promises { padding: 72px 0; border-top: 1px solid var(--hair);
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.promise { font-weight: 800; font-size: 22px; line-height: 1.2; }
.promise .meta { display: block; margin-top: 6px; font-weight: 600; }

/* Questions: native disclosure, no script */
.faq { padding: 72px 0; border-top: 1px solid var(--hair); }
.faq .statement { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--hair); padding: 20px 0; }
summary { cursor: pointer; list-style: none; font-size: 20px; display: flex;
          justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--ink-2); max-width: 60ch; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--hair); display: flex;
         gap: 20px; flex-wrap: wrap; align-items: center; }
footer .meta { margin-right: auto; }
footer a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
footer a:hover { color: var(--ink); }

/* Text pages (privacy, support) */
.page { padding: 72px 0 48px; max-width: 720px; }
.page .lead { margin-top: 16px; }
.page h2 { font-weight: 800; font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink-2); margin-top: 10px; }
.page ul { padding-left: 20px; }
.page strong { color: var(--ink); font-weight: 600; }
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.back img { width: 40px; height: 40px; opacity: .85; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 36px; align-content: center; }
  .more { bottom: 64px; }   /* clear of Safari's floating toolbar */
  .logo-mark { justify-self: start; max-width: clamp(150px, 46vw, 220px); }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 32px; }
  .feature:nth-of-type(even) .phone { order: 0; }
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.page .card { background: var(--card); border-radius: 28px; padding: 24px; margin-top: 32px; }
.page .card a { font-size: 20px; color: var(--ink); }
.page .note { font-size: 15px; color: var(--ink-3); }

/* Your Trend, drawn as the app draws it (BioAgeTrendChartView): the calendar line in white, the
   gap filled amber while older, blue once younger. An example, and it says so. */
.mock { background: #000; aspect-ratio: 300 / 650; padding: 96px 22px 28px; display: flex;
        flex-direction: column; position: relative; }
.mock-eyebrow { font-weight: 800; font-size: 15px; }
.mock-statement { font-weight: 800; font-size: 30px; line-height: 1.05; margin-top: 40px; }
.mock-sub { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.mock svg { width: 100%; height: auto; margin-top: auto; }
.mock-dates { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2);
              margin-top: 24px; margin-bottom: auto; }
.mock-note { position: absolute; top: 24px; right: 22px; font-size: 12px; color: var(--ink-3); }
