:root {
  --bg: #ffffff;
  --paper: #fafaf9;
  --paper-2: #f4f3f1;
  --ink: #1a1f26;
  --ink-soft: #4a5563;
  --navy: #1e3347;
  --navy-soft: #5a6d7d;
  --line: rgba(26, 31, 38, 0.08);
  --line-strong: rgba(26, 31, 38, 0.14);
  --max: 1140px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(18, 26, 34, 0.05);
  --shadow-sm: 0 4px 16px rgba(18, 26, 34, 0.04);
  --serif: "Source Serif 4", Iowan Old Style, Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 500;
}

p {
  margin: 0;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--navy-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--paper);
}

.nav-links .nav-cta {
  margin-left: 4px;
  padding: 9px 16px;
  color: #fff;
  background: var(--navy);
  font-weight: 500;
}

.nav-links .nav-cta:hover {
  background: #162a3a;
  color: #fff;
}

.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: end;
  margin-top: 28px;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.98;
  max-width: 11ch;
}

.hero-copy {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.hero-copy + .hero-copy {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  font-family: var(--sans);
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
}

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

.btn.primary:hover {
  box-shadow: var(--shadow);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--navy);
}

.panel-label,
.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mini-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.mini-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mini-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.mini-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

section {
  padding: 72px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.section-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-soft);
  letter-spacing: 0.12em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.08;
  max-width: 20ch;
}

.lede {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 68ch;
  font-size: 1.02rem;
}

.lede + .lede {
  margin-top: 12px;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p,
.card li {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.quote {
  background: var(--navy);
  color: #f4f7fb;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.quote small {
  display: block;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.65);
}

.quote p {
  color: rgba(244, 247, 251, 0.95);
  font-size: 1.05rem;
  line-height: 1.72;
}

.quote footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 247, 251, 0.15);
  font-family: var(--sans);
  font-size: 0.875rem;
}

.quote cite {
  font-style: normal;
  font-weight: 600;
}

.quote .location {
  color: rgba(244, 247, 251, 0.65);
}

.quote .location::before {
  content: "·";
  margin: 0 0.65rem;
}

.list-stack {
  display: grid;
}

.list-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.list-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.98rem;
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(30, 51, 71, 0.08);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.form-note {
  color: var(--ink-soft);
  font-size: 0.875rem;
  max-width: 42ch;
  line-height: 1.5;
}

.contact-note {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--paper-2);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.text-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30, 51, 71, 0.25);
}

.text-link:hover {
  text-decoration-color: var(--navy);
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer {
  padding: 32px 0 56px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.footer-tagline {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  color: var(--navy-soft);
  letter-spacing: 0.04em;
}

.footer-legal {
  max-width: 56ch;
  line-height: 1.65;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--navy);
}

.copyright {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--navy-soft);
}

@media (max-width: 1040px) {
  .hero-grid,
  .section-head,
  .grid-3,
  .split,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: 100%;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a:not(.nav-cta) {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  .hero {
    padding-top: 56px;
  }

  section {
    padding: 52px 0;
  }

  .btn {
    width: 100%;
  }

  h1 {
    max-width: 100%;
  }

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

  .footer-row {
    flex-direction: column;
  }
}
