:root {
  --bg: #f4f1ea;
  --bg-elevated: #ffffff;
  --surface: #efeae1;
  --ink: #1a1f28;
  --muted: #5d6673;
  --line: #ddd6ca;
  --navy: #12263f;
  --navy-deep: #0b1828;
  --blue: #1e4d7b;
  --gold: #c4a056;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(196, 160, 86, 0.14), transparent 45%),
    radial-gradient(700px 360px at 0% 0%, rgba(30, 77, 123, 0.08), transparent 40%),
    var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 38, 63, 0.08);
}

.header-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
}

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--navy), #1e4d7b);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(18, 38, 63, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  background: rgba(18, 38, 63, 0.06);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 38, 63, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.cta.ghost {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero,
.page-hero {
  padding: 72px 0 40px;
}

.kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.12;
  max-width: 16ch;
}

.lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.stat,
.card,
.panel,
.step,
.form-card {
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 26px;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 12px 0 80px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  max-width: 70ch;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 12px;
}

.card,
.panel {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(18, 38, 63, 0.12);
}

.card h3,
.step h3,
.panel h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card p,
.step p,
.panel p {
  color: var(--muted);
  margin: 0 0 14px;
}

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

.quote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--navy);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(196, 160, 86, 0.35);
  border-color: var(--gold);
}

.success {
  display: none;
  padding: 12px 0;
}

.success.show { display: block; }
.form-card.done form { display: none; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .header-inner,
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .menu-btn { display: block; }

  .site-header { position: relative; }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .grid-3,
  .grid-2,
  .stats {
    grid-template-columns: 1fr;
  }

  .header-cta { display: none; }
}
