/* The front door: the splash (/) and the privacy page (/privacy/). Their own small sheet, not the
   app's (public/guide/studio.css), so neither page loads anything of the portal. The colours are
   the portal's (studio.css :root). */
/* D99: the model's colours, dark by default; light follows the device (these pages carry no script, so no switch). */
:root {
  --bg: #121826; --panel: #1A2234; --panel-2: #232E45; --line: rgba(255,255,255,.08);
  --text: #F1F5FF; --muted: #9AA8C7; --accent: #3FB7FF; --accent-2: #B6F54B; --on-accent: #0B1220; --on-accent-2: #0B1220; --ok: #4ade80; --warn: #fbbf24;
  --bar: rgba(18,24,38,.9);
  --radius: 14px;
}
@media (prefers-color-scheme: light) { :root {
  --bg: #F4F7FF; --panel: #FFFFFF; --panel-2: #E4EBFA; --line: rgba(18,24,38,.12);
  --text: #121826; --muted: #56657F; --accent: #1479C9; --accent-2: #3F8F1A; --on-accent: #FFFFFF; --on-accent-2: #FFFFFF; --ok: #1E8E4A; --warn: #A66A00;
  --bar: rgba(244,247,255,.9);
} }
* { box-sizing: border-box; }
html { color-scheme: dark; } @media (prefers-color-scheme: light) { html { color-scheme: light; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { line-height: 1.2; margin: 0 0 .6rem; }
img { max-width: 100%; height: auto; display: block; }

.bar, main, .foot, .doc { max-width: 1100px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-weight: 800; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .65rem 1.1rem; font-weight: 600; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn.small { padding: .35rem .75rem; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

.hero { padding: 2.5rem 0 2rem; max-width: 46rem; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

.pictures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 3rem; }
.pictures figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pictures figcaption { padding: .7rem .9rem; color: var(--muted); font-size: .95rem; }

.how { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 3rem; }
.how ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .9rem; }
.how li::marker { color: var(--accent); font-weight: 800; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* the privacy page */
.doc { max-width: 46rem; padding-bottom: 3rem; }
.doc h1 { font-size: 2rem; margin-top: 1rem; }
.doc h2 { font-size: 1.2rem; margin-top: 2rem; }
.doc li { margin: .3rem 0; }
.doc .muted { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 1.25rem; }
  .pictures { grid-template-columns: minmax(0, 1fr); }
  .how { padding: 1.1rem; }
}
