:root {
  --bg: #f4f1ea;
  --bg-strong: #e5ddd0;
  --panel: rgba(255, 252, 247, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.72);
  --ink: #182327;
  --muted: #526267;
  --muted-soft: #708186;
  --line: rgba(24, 35, 39, 0.1);
  --accent: #2d5b67;
  --accent-strong: #163840;
  --accent-soft: #d8e5e3;
  --gold: #b58944;
  --gold-soft: #ead9b8;
  --shadow: 0 16px 40px rgba(24, 32, 35, 0.08);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(22, 56, 64, 0.018) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(181, 137, 68, 0.012) 0 1px, transparent 1px 120px),
    radial-gradient(circle at top left, rgba(181, 137, 68, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 91, 103, 0.13), transparent 26%),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 46%, #efe8dc 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(24px);
  opacity: 0.28;
}

.site-shell::before {
  top: -12rem;
  right: -12rem;
  background: rgba(216, 229, 227, 0.95);
}

.site-shell::after {
  bottom: -15rem;
  left: -10rem;
  background: rgba(181, 137, 68, 0.18);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 244, 237, 0.84);
  border-bottom: 1px solid rgba(31, 42, 46, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #284f59, #3a6e79);
  color: #f8f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7d83;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  color: #415258;
  font-size: 0.96rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(45, 91, 103, 0.08);
  color: var(--accent-strong);
  outline: none;
}

.page-hero {
  padding: 4.6rem 0 2.2rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.82fr);
  gap: 1.3rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(45, 91, 103, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(181, 137, 68, 0.14);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 4.9vw, 4.35rem);
  max-width: 11ch;
  margin-top: 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.lead {
  font-size: 1.12rem;
  color: #314045;
}

.page-sub {
  max-width: 40rem;
  margin-top: 1.15rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3f4f55;
}

.page-aside {
  padding: 1.35rem;
  border-radius: 1.2rem;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(24, 32, 35, 0.05);
}

.page-aside strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
}

section {
  padding: 2rem 0 4.2rem;
}

.section-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.section-header {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.7rem;
}

.panel,
.card,
.note,
.quote,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(24, 32, 35, 0.05);
  border-radius: 1.2rem;
}

.panel {
  padding: 1.65rem;
}

.card {
  padding: 1.3rem;
}

.card h3,
.faq-item h3 {
  color: var(--accent-strong);
  margin-bottom: 0.55rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem 1.4rem;
  align-items: start;
}

.cards {
  display: grid;
  gap: 1rem;
}

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

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

.quote {
  padding: 1.4rem 1.4rem 1.4rem 1.2rem;
  border-left: 4px solid var(--gold);
}

.quote strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
}

.note {
  padding: 1rem 1.05rem;
}

.note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
}

.list-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

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

.list-grid li {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 42, 46, 0.08);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1.2rem 1.15rem;
  border-radius: 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(24, 32, 35, 0.05);
}

.timeline-step span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

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

.faq-item {
  padding: 1.2rem 1.15rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f8f4ed;
  box-shadow: 0 12px 24px rgba(25, 59, 68, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-strong);
  border-color: rgba(45, 91, 103, 0.18);
}

.cta-wrap {
  padding: 2.1rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: linear-gradient(140deg, rgba(25, 59, 68, 0.96), rgba(57, 95, 86, 0.94));
  color: #f3f7f6;
  box-shadow: 0 16px 38px rgba(24, 32, 35, 0.1);
}

.cta-wrap h2,
.cta-wrap p,
.cta-wrap strong {
  color: #f3f7f6;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.cta-links a {
  color: rgba(243, 247, 246, 0.88);
  border-bottom: 1px solid rgba(243, 247, 246, 0.2);
}

footer {
  padding: 1.8rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 42, 46, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  padding: 0.4rem 0.1rem;
  color: #526166;
}

.footer-note {
  color: #68787d;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards.two-up,
  .cards.three-up,
  .list-grid.two-up {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 0.7rem 0 0.85rem;
    align-items: start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

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

  .page-hero {
    padding-top: 3.9rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

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

  .button {
    width: 100%;
  }

  .panel,
  .card,
  .faq-item,
  .page-aside,
  .cta-wrap {
    padding: 1.15rem;
  }
}
