/* Sonfold site. Colours match the app (lib/app/theme.dart). System fonts
   only, so the pages load nothing from other servers. */
:root {
  --ink: #111218;
  --ink-deep: #0d0e13;
  --panel: #171922;
  --surface: #1b1d27;
  --surface-2: #232633;
  --line: #2e3242;
  --text: #f3f0e8;
  --text-soft: #d5d3cc;
  --muted: #a7aab8;
  --accent: #f4b740;
  --accent-hover: #ffd27a;
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 var(--body);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 700 24px/1 var(--display); letter-spacing: -0.01em;
}
.brand svg { flex-shrink: 0; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Home */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center; padding: 72px 0 56px;
}
.eyebrow {
  margin: 0 0 14px; color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
h1 {
  margin: 0; font: 700 clamp(40px, 6vw, 64px)/1.04 var(--display);
  letter-spacing: -0.02em; text-wrap: balance;
}
.lead { margin: 20px 0 0; max-width: 34em; color: var(--muted); font-size: 19px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding: 10px 16px; border-radius: 999px; background: var(--surface-2);
  font-size: 15px; font-weight: 600;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.shot {
  justify-self: center; width: min(320px, 100%);
  border-radius: 40px; border: 8px solid #262938;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden; background: var(--ink);
}
.shot img { display: block; width: 100%; height: auto; }

.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; padding: 24px 0 72px; margin: 0; list-style: none;
}
.feature {
  padding: 22px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
}
.feature h2 { margin: 0 0 8px; font: 700 19px/1.3 var(--display); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.promise {
  display: flex; gap: 16px; align-items: flex-start;
  margin: 0 0 72px; padding: 22px 24px; border-radius: 20px; background: var(--panel);
}
.promise p { margin: 0; color: var(--text-soft); }
.promise-icon { flex-shrink: 0; margin-top: 2px; }

/* Policy pages */
.doc { padding-top: 56px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .updated { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 10px; font: 700 22px/1.3 var(--display); }
.doc h3 { margin: 24px 0 6px; font-size: 17px; }
.doc p, .doc li { color: var(--text-soft); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); }
.summary {
  margin-top: 28px; padding: 20px 24px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line);
}
.summary ul { margin: 0; }
.callout {
  margin: 16px 0; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 14px 14px 0;
}
.callout p { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding-top: 28px; padding-bottom: 40px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.fine { margin: 0; max-width: 46em; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-nav { gap: 14px; }
  .site-nav .hide-small { display: none; }
}
