
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --surface: #f4f6f9;
  --surface-elevated: #ffffff;
  --surface-inset: #e8edf3;
  --navy: #1a2744;
  --navy-soft: #2d4367;
  --amber: #d4882c;
  --amber-soft: #f3dfc0;
  --teal: #1f8a70;
  --text: #1a2744;
  --text-muted: #64748b;
  --border: #d8dee8;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 67, 103, 0.12), transparent),
    var(--surface);
  min-height: 100dvh;
}

.shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
  background: rgba(244, 246, 249, 0.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-pill:hover {
  border-color: var(--amber);
  transform: translateY(-1px);
}

.hero-band {
  margin: 16px 20px 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy) 0%, #243656 100%);
  color: #f0f4fa;
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.02) 3px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.hero-band > * { position: relative; z-index: 1; }

.hero-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.hero-band h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.hero-updated {
  font-size: 13px;
  opacity: 0.75;
}

.content {
  padding: 20px 20px 40px;
}

.section-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 24px 0 10px;
}

.section-label:first-child { margin-top: 8px; }

.card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(26, 39, 68, 0.04);
}

.card h2 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  white-space: pre-line;
}

.card p:last-child { margin-bottom: 0; }

.legal-footer {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-inset);
  text-align: center;
}

.legal-footer-app {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.legal-footer-contact {
  font-size: 13px;
  color: var(--text-muted);
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0f1520;
    --surface-elevated: #171f2e;
    --surface-inset: #1e2838;
    --text: #e8edf5;
    --text-muted: #8b9bb0;
    --border: #2a3548;
  }
  body {
    background:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 160, 64, 0.06), transparent),
      var(--surface);
  }
  .app-header { background: rgba(15, 21, 32, 0.88); }
}
