:root {
  --navy: #071525;
  --navy-2: #0d2744;
  --ink: #122033;
  --muted: #5b6b7c;
  --gold: #c9a227;
  --gold-2: #e4c35a;
  --paper: #f4f7fb;
  --white: #fff;
  --line: #d7e0ea;
  --shadow: 0 22px 50px rgba(7, 21, 37, 0.16);
  --font: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.util-bar {
  background: var(--navy);
  color: #dce6f0;
  font-size: 13px;
  letter-spacing: .02em;
}
.util-bar .container { padding: 8px 0; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo img { width: 42px; height: 42px; }
.logo strong { display: block; font-size: 1.05rem; }
.logo span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 13px 22px;
  font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }

.hero {
  position: relative;
  color: #fff;
  padding: 72px 0 88px;
  background:
    linear-gradient(115deg, rgba(7,21,37,.92) 8%, rgba(13,39,68,.72) 48%, rgba(7,21,37,.55)),
    radial-gradient(circle at 80% 20%, rgba(201,162,39,.28), transparent 40%),
    linear-gradient(180deg, #0d2744, #071525);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -80px; bottom: -40px;
  width: 520px; height: 220px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 18px, transparent 18px 36px);
  transform: skewY(-8deg);
  opacity: .35;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.kicker { color: var(--gold-2); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin: 0 0 12px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; margin: 0 0 16px; color: #fff; }
.hero p { color: #d5deea; max-width: 540px; }
.hero-points { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: #e8eef6; }
.hero-points li::before { content: "▸ "; color: var(--gold); }

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-family: var(--serif); margin: 0 0 6px; font-size: 1.45rem; }
.form-card .sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
input, select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; font: inherit; background: #fbfdff;
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.45; }
.consent input { width: auto; margin-top: 3px; }
.form-card .btn { width: 100%; }

.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.disclaimer, .legal-content { color: var(--muted); font-size: 14px; }
.site-footer { background: var(--navy); color: #c5d0dc; padding: 28px 0; font-size: 13px; }
.site-footer a { color: #fff; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

#tpmSuccessModal {
  display: none; position: fixed; inset: 0; background: rgba(7,21,37,.55);
  align-items: center; justify-content: center; z-index: 50;
}
#tpmSuccessModal.open { display: flex; }
.tpm-success-card {
  background: #fff; border-radius: 20px; padding: 28px; width: min(420px, 90%); text-align: center;
}
.tpm-success-icon { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: #ecfdf3; color: #166534; display: grid; place-items: center; font-size: 24px; }
body.tpm-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .hero-grid, .cards, .form-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); }
  .hero { padding: 40px 0 48px; }
}
