/* OnboardingHero landing — calm, trustworthy, card-based. Palette and feel
   follow the v1 product UI so landing and app read as one product.
   No JS, no external fonts: everything self-contained. */

:root {
  --bg: #f4f6f5;
  --bg-accent: #eef3f1;
  --card: #ffffff;
  --ink: #1c2b29;
  --ink-soft: #5a6b68;
  --ink-faint: #93a09d;
  --primary: #1f7a6d;
  --primary-dark: #186055;
  --primary-soft: #e6f1ef;
  --primary-tint: #f1f8f6;
  --line: #e3e8e6;
  --line-strong: #cfd8d5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 43, 41, 0.04), 0 12px 32px rgba(28, 43, 41, 0.07);
  --maxw: 920px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg-accent), var(--bg));
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────────────────── */

header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 8px rgba(31, 122, 109, 0.35);
}

.lang-switch {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 1px 2px rgba(28, 43, 41, 0.04);
}

.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(31, 122, 109, 0.3);
}

.lang-switch a:not(.active):hover {
  color: var(--primary);
  background: var(--primary-tint);
}

/* ── Layout ─────────────────────────────────────────────────── */

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

section { margin-top: 56px; }
section:first-child { margin-top: 16px; }

h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
  max-width: 700px;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

p { margin: 0 0 14px; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--primary); }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero { padding-top: 32px; }
.hero p { max-width: 640px; font-size: 1.05rem; }

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.cta {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.04s ease;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(31, 122, 109, 0.28);
}
.cta:hover { background: var(--primary-dark); }
.cta:active { transform: translateY(1px); }

/* ── Steps as cards ─────────────────────────────────────────── */

ol.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
}

ol.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  color: var(--ink-soft);
}

ol.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

ol.steps li strong { display: block; margin-bottom: 4px; }

/* ── Security panel ─────────────────────────────────────────── */

.security {
  background: var(--primary-tint);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px 26px;
}

.security p { max-width: 680px; }

.security ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.security ul li {
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}

.security ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── Quiet cards (broker, contact) ──────────────────────────── */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 34px 22px;
}

.panel p { max-width: 680px; }

.contact { text-align: center; padding: 40px 24px 36px; }
.contact p { max-width: none; }
.contact .cta { margin-top: 4px; }

/* ── Footer ─────────────────────────────────────────────────── */

footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 20px 44px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

footer a { color: var(--ink-faint); }
footer a:hover { color: var(--primary); }

/* ── Legal pages ────────────────────────────────────────────── */

.stand { color: var(--ink-faint); font-size: 0.85rem; margin-top: 32px; }

/* ── Small screens ──────────────────────────────────────────── */

@media (max-width: 560px) {
  header { padding: 16px 14px; }
  main { padding: 8px 14px 56px; }
  section { margin-top: 40px; }
  .security, .panel { padding: 24px 20px 18px; }
  .hero p { font-size: 1rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta { text-align: center; }
  ol.steps li { padding: 18px 18px 16px; }
  .security ul { gap: 12px; }
  .security ul li { font-size: 0.95rem; }
}
