/* Colors mirror config/tailwind.config.js in the Rails app. */
:root {
  --brand: #023EAB;
  --brand-hover: #01318A;
  --cyan: #00AEEF;
  --ink: #0A0A0A;
  --ink-2: #525252;
  --line: #E5E5E5;
  --surface: #FFFFFF;
  --surface-2: #FAFAFA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .cta { justify-content: center; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: 1.1rem; margin-right: auto; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }

.btn { display: inline-block; padding: 10px 18px; border-radius: 4px; font-weight: 500; text-decoration: none; font-size: .95rem; border: 1px solid transparent; transition: background .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }

.hero { padding: 96px 0 72px; background: radial-gradient(ellipse at 80% 0%, #E6F7FE 0%, transparent 60%); }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.zones { display: flex; gap: 4px; margin-top: 56px; max-width: 420px; }
.zones span { flex: 1; height: 8px; border-radius: 2px; background: var(--c); }

.section { padding: 80px 0; }
.section.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.card p { color: var(--ink-2); font-size: .95rem; }
.dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px 14px 44px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--cyan); }

.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); }
.legal strong { color: var(--ink); }
.muted { color: var(--ink-2); font-size: .9rem; margin-bottom: 24px !important; }

.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--ink-2); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer a { text-decoration: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
}
