/* Atrium landing page (#1449: static, same design tokens as the app, no scripts, no tracking,
   nothing loaded from other sites). Tokens = packages/ui/src/styles.css; dark is the app default,
   here the page follows the device. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --line: #dde1e8;
  --fg: #14171d;
  --muted: #5d6573;
  --accent: #2457e8;
  --on-accent: #ffffff;
  --radius: 14px;
  --radius-control: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a20;
    --surface-2: #1e222a;
    --line: #2a2f39;
    --fg: #e7e9ee;
    --muted: #9aa1ad;
    --accent: #6b8cff;
    --on-accent: #0b1220;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; border-radius: 8px; z-index: 2; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.15rem; color: var(--fg); text-decoration: none; margin-right: auto; }
.bar nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.bar nav a:hover { color: var(--fg); }
.bar nav a.signin { color: var(--fg); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-control); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.btn.secondary { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 5vw, 64px); }
.label { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 20px 0 0; }
.part { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.intro { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

/* Screenshot placeholders until real screenshots exist (#1450) */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--surface), var(--surface-2)); aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px; }

/* Feature grid */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }

/* Privacy promise */
.promise { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; max-width: 70ch; }
.promise li { padding-left: 28px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 75ch; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .bar nav a.hide-s { display: none; }
}
.note { margin-top: 16px; }
.shot-wrap { margin-top: clamp(32px, 5vw, 56px); }
