/* babel.meridianide.com. Matches the app and its App Store screenshots:
   white page, warm near-black ink, and the coral accent from lib/theme.ts.
   Always light, like the screenshots, so the page and the app read as one. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #faf9f5;       /* theme.ts canvas */
  --ink: #141413;           /* theme.ts ink */
  --ink-2: #3d3d3a;         /* inkSecondary */
  --muted: #6c6a64;         /* inkTertiary */
  --line: #ebe6df;          /* separator */
  --accent: #cc785c;        /* accent: fills and icons */
  --accent-ink: #a9583e;    /* accentInk: text and links, 4.5:1 on white */
  --accent-soft: #f4e7e0;   /* accentSoft */
  --radius: 20px;
  --max: 1080px;
  --text: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.text { max-width: var(--text); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 12px 36px rgba(204, 120, 92, 0.32); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; margin: 0 auto 28px; max-width: 16ch; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: 15px; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 20px 48px; margin: 0 auto; max-width: 1240px; }
.shots img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 10px 30px rgba(20, 20, 19, 0.10); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .shots img { border-radius: 16px; } }


/* Documents (privacy, terms, support) */
.doc { padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 0 0 6px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 0 24px; }
.callout p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink); }
td { color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 520px) {
  .nav { gap: 14px; font-size: 14px; }
}
