/* Liquid Impulse Labs: shared styles */
:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --border: #2a2a2f;
  --text: #f2f2f0;
  --muted: #a3a3a8;
  --accent: #ffc936;
  --accent-deep: #b8860b;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-weight: 800; letter-spacing: 0.04em; font-size: 1rem; }
.brand-name span { color: var(--accent-deep); font-size: 0.7rem; letter-spacing: 0.45em; font-weight: 600; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Layout */
main { max-width: 1040px; margin: 0 auto; padding: 3rem 1rem 4rem; }
.narrow { max-width: 720px; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h2 { margin-top: 2.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; margin: 0 0 0.5rem; }

.hero { padding: 1rem 0 2rem; }
.hero-mark { width: 88px; margin-bottom: 1.25rem; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.app-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.app-panel > div { flex: 1 1 280px; }
.app-panel img { width: 84px; height: 84px; border-radius: 22.5%; }
.app-panel h2 { margin: 0 0 0.25rem; }
.app-panel p { margin: 0; color: var(--muted); }
.badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
}

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.5rem; }
.grid .panel h3 { margin: 0 0 0.4rem; color: var(--accent); font-size: 1.05rem; }
.grid .panel p { margin: 0; color: var(--muted); }

/* Legal pages */
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal .meta { color: var(--muted); }
.legal li { margin-bottom: 0.4rem; }
address { font-style: normal; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 0.75rem; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
.site-footer .inner { max-width: 1040px; margin: 0 auto; padding: 2rem 1rem; display: grid; gap: 0.75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.site-footer p { margin: 0; }

/* PPL Training page */
.app-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.app-hero > div { flex: 1 1 320px; }
.app-hero .app-icon { width: 112px; height: 112px; border-radius: 22.5%; }
.tagline { color: var(--accent); font-weight: 600; font-size: 1.15rem; margin: 0 0 0.75rem; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.5rem; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #111; font-weight: 800;
  margin-bottom: 0.6rem;
}
.steps strong { display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); }

.group-title { margin-top: 2.25rem; margin-bottom: 0; font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.grid .panel h3 + p { margin-top: 0; }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0 1rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.timeline li { border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 12px 12px; padding: 1rem 1.25rem; }
.timeline small { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.timeline strong { display: block; font-size: 1.1rem; }

.privacy-strip {
  margin-top: 3rem;
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: center;
}
.privacy-strip strong { color: var(--accent); }
.privacy-strip span::before { content: "✓ "; color: var(--accent); }

.app-details { margin-top: 3rem; color: var(--muted); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
