/* middle place — site styles
   Dark, intimate, lamplit — built to echo the app icon: a single warm light
   in the dark. Deep warm espresso ground, cream ink, one brass-amber glow.
   Native serif headlines, no web fonts (privacy-friendly, no external calls). */

:root {
  --paper: #15130e;        /* deep warm espresso — the dark */
  --paper-2: #1d1a13;      /* a half-step up: raised surfaces, rules */
  --ink: #efe7d6;          /* warm cream — the lit page */
  --ink-soft: #b6ac98;     /* muted warm grey */
  --ink-faint: #837a68;
  --line: #2b2619;
  --line-soft: #221e14;
  --accent: #c9a05f;       /* brass / lamplight — used sparingly */
  --accent-deep: #e6c486;  /* brighter gold for links on the dark ground */
  --rule: #322c1e;
  --glow: rgba(214, 166, 96, .16);  /* the pool of warm light */
  --maxw: 720px;
  --maxw-wide: 940px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Hoefler Text", Georgia, ui-serif, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* The lamplight: a soft pool glowing from the upper right — where the hero
     icon sits — fading into the dark. Anchored to the top; scrolls away. */
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 760px at 82% -8%, var(--glow), transparent 58%);
  background-repeat: no-repeat;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 26px; }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.kicker {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-faint); margin: 0 0 18px;
}
.display { font-size: clamp(34px, 6vw, 52px); line-height: 1.06; margin: 0 0 22px; }
p { margin: 0 0 18px; }
.measure { max-width: 33em; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap-wide {
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink);
  white-space: nowrap; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 19px; height: 19px; flex: none; color: var(--accent); display: block; }
.nav { display: flex; gap: 26px; font-family: var(--sans); font-size: 15px; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---- Hero ---- */
.hero { padding: 92px 0 30px; }
.hero .display { max-width: 16ch; }
.hero .lede { font-size: 21px; color: var(--ink-soft); max-width: 30em; margin: 0 0 34px; }
.hero .lede em { font-style: italic; color: var(--ink); }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 60px;
}
.hero-copy { min-width: 0; }
.hero-art { justify-self: end; }

/* The app icon already carries its own squircle shape (a transparent-cornered
   PNG), so we don't re-round it in CSS — that would clip the superellipse with
   a circular radius and leave a fringe. drop-shadow (not box-shadow) follows
   the real alpha edge: a warm halo bleeds from it, a soft shadow grounds it. */
.app-icon {
  display: block;
  width: clamp(132px, 18vw, 176px);
  height: auto; aspect-ratio: 1;
  filter:
    drop-shadow(0 26px 34px rgba(0, 0, 0, .7))
    drop-shadow(0 0 46px var(--glow));
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { justify-self: start; order: -1; }
  .app-icon { width: clamp(104px, 26vw, 132px); }
}

.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  padding: 13px 22px; border-radius: 7px; border: 1px solid var(--ink);
}
.btn:hover { text-decoration: none; opacity: .9; }
.text-link {
  font-family: var(--sans); font-size: 16px; color: var(--ink-soft);
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
}
.text-link:hover { color: var(--ink); text-decoration: none; border-color: var(--ink-faint); }
.meta-line { color: var(--ink-faint); font-size: 14.5px; margin-top: 28px; }

/* ---- Sections ---- */
section { padding: 36px 0; }
.divider-top { border-top: 1px solid var(--rule); }
h2.section-h { font-size: clamp(26px, 4vw, 33px); line-height: 1.12; margin: 0 0 8px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 54px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; gap: 26px; } }
.two-col h2 { font-size: 25px; margin: 0 0 10px; }
.two-col p { color: var(--ink-soft); margin: 0; }
.muted { color: var(--ink-soft); }
.lede-p { font-size: 20px; color: var(--ink-soft); max-width: 32em; }

/* ---- Feature list (editorial, hairline rules — not cards) ---- */
.feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 30px;
}
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.feature .num {
  font-family: var(--serif); font-size: 15px; color: var(--accent);
  padding-top: 3px; font-feature-settings: "tnum"; letter-spacing: .02em;
}
.feature h3 { font-size: 18.5px; margin: 0 0 5px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; }

/* ---- Privacy points ---- */
.points { list-style: none; padding: 0; margin: 22px 0; }
.points li {
  padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-soft);
}
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { color: var(--ink); font-weight: 600; }

/* ---- Note (crisis / disclaimer) — left rule, not an alert box ---- */
.note-block, .callout {
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: 18px 22px; margin: 30px 0; border-radius: 0 7px 7px 0;
}
.note-block p, .callout p { margin: 0 0 9px; color: var(--ink-soft); font-size: 16px; }
.note-block p:last-child, .callout p:last-child { margin: 0; }
.note-block strong, .callout strong { color: var(--ink); }
.note-block a, .callout a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

.note { font-size: 14.5px; color: var(--ink-faint); }

/* ---- Legal / long-form ---- */
.legal { padding-top: 48px; padding-bottom: 44px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); margin: 0 0 8px; line-height: 1.1; }
.legal .updated { font-family: var(--sans); color: var(--ink-faint); font-size: 14.5px; margin: 0 0 30px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.25em; }
.legal li { margin: 8px 0; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.legal th { background: var(--paper-2); color: var(--ink); font-weight: 600; font-family: var(--sans); font-size: 14px; }
.toc {
  border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; margin: 0 0 32px;
  background: var(--paper-2);
}
.toc h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc li { margin: 5px 0; }
.toc a { color: var(--ink-soft); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 40px 0 64px; }
.site-footer .wrap-wide { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: baseline; }
.site-footer .brand-foot { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-footer .links a { color: var(--ink-soft); }
.site-footer .copy { color: var(--ink-faint); font-size: 13.5px; width: 100%; margin-top: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip-link:focus { left: 0; z-index: 50; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  .site-header .wrap-wide { height: 58px; }
  .nav { gap: 18px; font-size: 14px; }
  .brand { font-size: 18px; }
  .hero { padding: 60px 0 24px; }
  .hero .lede { font-size: 19px; }
}
