:root {
  --bg: #f6f2ec;
  --bg-alt: #efe8de;
  --surface: #ffffff;
  --surface-soft: #f8f6f2;
  --text: #182235;
  --muted: #5f6b7a;
  --border: #d8d0c7;
  --brand: #7f3b3b;
  --brand-dark: #6d3232;
  --navy: #24446f;
  --navy-dark: #1d385c;
  --shadow: 0 10px 30px rgba(24, 34, 53, 0.06);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: #fff;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(246, 242, 236, 0.96);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.7rem;
  line-height: 1;
}

.site-nav ul,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 78px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero-text,
.hero-description,
.trust-note,
.section p,
.section li,
.faq-item p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-text,
.hero-description {
  max-width: 850px;
  margin: 0 0 24px;
}

.hero-actions,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.button-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.button-secondary:hover {
  background: #f3eee7;
}

.trust-note {
  margin: 14px 0 0;
  max-width: 820px;
}

.hero-panel {
  display: block;
}

.panel-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.panel-card h2 {
  margin: 0 0 18px;
  font-size: 2.1rem;
  line-height: 1.1;
}

.check-list {
  margin: 0;
  padding-left: 24px;
}

.check-list li {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(216, 208, 199, 0.55);
  border-bottom: 1px solid rgba(216, 208, 199, 0.55);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.section h3 {
  font-size: 1.42rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.section p {
  margin: 0 0 18px;
}

.section ul,
.section ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.section li {
  margin-bottom: 10px;
}

.content-stack > * + * {
  margin-top: 30px;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin-bottom: 0;
}

.card a {
  color: var(--text);
  font-weight: 800;
}

.card a:hover {
  color: var(--brand);
}

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 36px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-item h3 {
  margin: 0 0 8px;
}

.feature-item p {
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 20px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 18px 0;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #eee7dc;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

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

/* Simple content page helpers */
.page-intro {
  max-width: 900px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.inline-links a {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1080px) {
  .card-grid,
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

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

  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 18px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .hero {
    padding: 54px 0 34px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .section h2 {
    font-size: 2rem;
  }

  .panel-card {
    padding: 24px;
  }
}