:root {
  --bg: #efeeec;
  --bg-muted: #e7e4de;
  --surface: #f9f8f5;
  --text: #2f2d2a;
  --text-soft: #5e5a54;
  --heading: #1f1b17;
  --accent: #305f76;
  --accent-soft: #d8e5eb;
  --border: #d9d4cc;
  --shadow: 0 10px 24px rgba(36, 33, 28, 0.07);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 66rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Avenir Next", Avenir, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, #f5f4f1 0%, var(--bg) 100%);
  text-wrap: pretty;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, white);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -200px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  color: var(--heading);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.site-header {
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(2rem, 3vw, 3rem);
}

.hero {
  background:
    linear-gradient(135deg, rgba(48, 95, 118, 0.12) 0%, rgba(48, 95, 118, 0.02) 42%, transparent 72%),
    linear-gradient(180deg, #f7f6f2 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.45rem;
  background: linear-gradient(90deg, #23495d 0%, var(--accent) 45%, #6f8d9b 100%);
}

.hero-shell {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-lead {
  margin-bottom: 0.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: #2d3438;
  max-width: 65ch;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.2;
  text-wrap: balance;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin: 0.65rem 0 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.2rem, 2.25vw, 1.45rem);
  margin-bottom: 0.6rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: 82ch;
}

ul {
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.hero-context {
  margin-top: 0;
  color: var(--text-soft);
  max-width: 78ch;
  margin-bottom: 0;
}

.hero-proof {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, #f2f4f4 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 0.85rem;
  max-width: 28rem;
}

.hero-proof-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #334047;
}

.hero-proof ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.hero-proof li {
  margin-top: 0;
  color: #3f4649;
  position: relative;
  padding-left: 1.65rem;
}

.hero-proof-list li + li {
  margin-top: 0.4rem;
}

.hero-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 1rem;
  height: 1rem;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='1' width='14' height='14' rx='2' fill='%23ffffff' stroke='%231b1b1b' stroke-width='1.4'/%3E%3Cpath d='M4 8.3l2.2 2.2L12 4.9' fill='none' stroke='%231b1b1b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
}

.section {
  padding: clamp(1.75rem, 3vw, 2.8rem) 0;
}

.section-muted {
  background: color-mix(in srgb, var(--bg-muted) 85%, white);
  border-top: 1px solid rgba(84, 79, 72, 0.1);
  border-bottom: 1px solid rgba(84, 79, 72, 0.1);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
}

.split-grid {
  display: grid;
  gap: 1rem;
}

.link-list p:last-child {
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 2vw, 1.5rem);
}

.faq-card p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #e6e2db;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 2rem;
}

.footer-inner p {
  margin: 0;
  color: var(--text-soft);
}

@media (min-width: 48rem) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.9fr);
    gap: 1.5rem;
  }

  .split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

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

  .faq-grid .faq-card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 70rem) {
  .container {
    width: min(calc(100% - 5rem), var(--container));
  }
}
