/* MVPN landing (/) — own visual identity within the existing palette.
 *
 * Inherits brand variables, fonts, and topbar from /legal/style.css. The
 * landing itself is NOT a legal-document layout — the doc-header,
 * effective-row, clause-list, and doc-footer classes are intentionally
 * unused. Sections here are full-bleed bands stacked vertically:
 *   1. Hero        — asymmetric left-aligned title + lede + CTA, with a
 *                    soft gradient panel on the right.
 *   2. Features    — three icon-led cards, equal weight.
 *   3. How-it-works— three numbered steps with chevrons.
 *   4. CTA strip   — accent-tinted band with a single Open-bot button.
 */

/* The legal CSS pins <main> to a narrow doc column. The landing wants
 * the full viewport so each band can breathe. */
main.home {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-band {
  width: 100%;
  padding: 56px 32px;
}

.home-band > .home-inner {
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .home-band { padding: 40px 18px; }
}

/* ── Band 1: Hero ─────────────────────────────────────────────── */
.home-hero {
  padding-top: 64px;
  padding-bottom: 72px;
}

.home-hero .home-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 880px) {
  .home-hero .home-inner { grid-template-columns: 1fr; gap: 36px; }
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.home-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

.home-h1 {
  font-family: "Inter Tight", "Inter", -apple-system, sans-serif;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--fg);
  text-wrap: balance;
}

.home-h1 .accent { color: var(--accent); }

.home-lede {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 540px;
  text-wrap: balance;
}

.home-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 80ms ease;
  white-space: nowrap;
}

.home-btn:active { transform: translateY(1px); }

.home-btn.primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}

.home-btn.primary:hover { background: #000; }

.home-btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule);
}

.home-btn.ghost:hover { border-color: var(--fg); }

.home-actions .home-meta {
  color: var(--muted);
  font-size: 13px;
  margin-left: 6px;
}

/* Right column — soft gradient panel with stat tiles. */
.home-panel {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, #f1ecde 0%, transparent 55%),
    radial-gradient(120% 110% at 100% 100%, #ecdfd6 0%, transparent 50%),
    #fbf8ef;
  border: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 880px) {
  .home-panel { padding: 22px; }
}

.home-stat {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  padding: 16px 18px;
  backdrop-filter: blur(2px);
}

.home-stat .num {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: block;
  font-variant-numeric: tabular-nums;
}

.home-stat .lbl {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.home-stat.wide { grid-column: 1 / -1; }

/* ── Band 2: Features ─────────────────────────────────────────── */
.home-features {
  background:
    linear-gradient(180deg, transparent 0%, #f5f2e6 28%, #f5f2e6 72%, transparent 100%);
  padding: 80px 32px;
}

@media (max-width: 720px) {
  .home-features { padding: 56px 18px; }
}

.home-section-head {
  text-align: center;
  margin-bottom: 36px;
}

.home-section-head h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  color: var(--fg);
}

.home-section-head p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 880px) {
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .home-grid { grid-template-columns: 1fr; }
}

.home-feature {
  background: #ffffff;
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.home-feature:hover {
  border-color: var(--rule);
  transform: translateY(-2px);
}

.home-feature .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3efe6;
  color: var(--accent);
}

.home-feature .ic svg { width: 22px; height: 22px; }

.home-feature h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.home-feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}

/* ── Band 3: How it works ─────────────────────────────────────── */
.home-how { padding: 80px 32px; }

@media (max-width: 720px) {
  .home-how { padding: 56px 18px; }
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 720px) {
  .home-steps { grid-template-columns: 1fr; gap: 18px; }
}

.home-step {
  position: relative;
  padding-left: 0;
}

.home-step .num {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
  color: var(--bg);
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.home-step h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--fg);
}

.home-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}

.home-step a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(201, 100, 66, 0.45);
}

.home-step a:hover { text-decoration-color: currentColor; }

/* ── Band 4: CTA strip ────────────────────────────────────────── */
.home-cta-band {
  background: var(--fg);
  color: var(--btn-fg);
  padding: 56px 32px;
}

.home-cta-band .home-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.home-cta-band h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--bg);
  text-wrap: balance;
}

.home-cta-band p {
  margin: 6px 0 0;
  color: rgba(250, 249, 245, 0.7);
  font-size: 15px;
}

.home-cta-band .home-btn.primary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
}

.home-cta-band .home-btn.primary:hover {
  background: #fff;
}

/* ── Band 5: Footer ───────────────────────────────────────────── */
.home-footer {
  padding: 32px;
  border-top: 1px solid var(--rule-soft);
  background: var(--bg);
}

.home-footer .home-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.home-footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.home-footer .links a {
  color: var(--muted);
  text-decoration: none;
}

.home-footer .links a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

.home-footer .lang {
  font-size: 13px;
}

.home-footer .lang .active { color: var(--fg); font-weight: 600; }

.home-footer .lang .sep { color: var(--rule); margin: 0 6px; }

.home-footer .lang a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }

.home-footer .lang a:hover { color: var(--fg); }
