/* =========================================================
   CSS PART 1 — BASE, TYPOGRAPHY, BUTTONS, HEADER/NAV
   ========================================================= */

:root {
  --bg: #f6f1ea;
  --bg-soft: #fffdf9;
  --bg-muted: #e6ebe4;
  --bg-panel: #f1eee7;
  --text: #263838;
  --muted: #526464;
  --accent: #74806f;
  --accent-dark: #5f6b5b;
  --accent-soft: #dfe5dc;
  --border: rgba(38, 56, 56, 0.12);
  --border-strong: rgba(38, 56, 56, 0.18);
  --shadow: 0 24px 70px rgba(38, 56, 56, 0.09);
  --shadow-soft: 0 14px 38px rgba(38, 56, 56, 0.055);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 34px;
  --radius-md: 26px;
  --radius-sm: 20px;
  --pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

main {
  min-height: 70vh;
}

section {
  padding: 96px 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.skip-link {
  display: none;
}

/* Typography */

h1,
h2,
.card h3,
.step h3,
.fee-card h3,
.footer-title {
  font-family: var(--serif);
  font-weight: 500;
}

.hero h1,
h2 {
  letter-spacing: -0.035em;
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(3.35rem, 4.6vw, 5.35rem);
  line-height: 1.02;
}

h2 {
  margin: 0;
  color: #65705e;
  font-size: clamp(2.15rem, 3vw, 3.25rem);
  line-height: 1.12;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subtext {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.about-copy p,
.panel p,
.cta p,
.card p,
.step p,
.fee-card p,
.footer-copy,
.footer-meta p {
  color: var(--muted);
}

.about-copy p,
.panel p,
.cta p,
.fee-card p {
  margin: 0 0 18px;
}

.card p,
.step p,
.footer-copy,
.footer-meta p {
  margin: 0;
}

/* Links and buttons */

a {
  color: inherit;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  border-radius: var(--pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 28px rgba(38, 56, 56, 0.12);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 253, 249, 0.75);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(38, 56, 56, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-image {
  width: 255px;
  height: auto;
  display: block;
}

/* Menu button */

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.95);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 18px;
  height: 2px;
  display: block;
  position: relative;
  background: var(--text);
  border-radius: var(--pill);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -6px;
}

.menu-button span::after {
  top: 6px;
}

.menu-open .menu-button span {
  transform: rotate(45deg);
}

.menu-open .menu-button span::before {
  transform: translateY(6px) rotate(90deg);
}

.menu-open .menu-button span::after {
  opacity: 0;
}

/* Navigation */

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

.main-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-dark);
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--accent-dark);
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 24px;
  border-radius: var(--pill);
  background: var(--accent);
  color: white !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--accent-dark);
}
/* =========================================================
   CSS PART 2 — MAIN SECTIONS
   ========================================================= */

/* Hero */

.hero {
  padding: 88px 0 104px;
  background:
    radial-gradient(circle at 76% 36%, rgba(223, 229, 220, 0.55), transparent 28%),
    var(--bg-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 84px;
}

.hero-copy {
  max-width: 700px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-row span {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--bg-panel);
  color: var(--muted);
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  background: rgba(116, 128, 111, 0.12);
  border-radius: var(--radius-lg);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(500px, 42vw, 620px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* About */

.about-section {
  background: var(--bg-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap::before {
  display: none;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-copy {
  max-width: 650px;
}

.about-copy h2 {
  margin-bottom: 24px;
}

/* Quote */

.quote-section {
  background: var(--bg-soft);
}

.quote-section blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.035em;
}

/* Support */

.support {
  background: var(--bg);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.card h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.card-link,
.step-link {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.card-link:hover,
.step-link:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/* How */

.how {
  background: var(--bg-soft);
}

.how-grid,
.fees-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: start;
}

.panel {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-panel);
}

.panel h2 {
  margin-bottom: 22px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
}

.step span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
}

/* Fees */

.fees {
  background: var(--bg);
}

.fee-card {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.fee-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fee-line span {
  color: var(--muted);
  font-weight: 700;
}

.fee-line strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.fee-list {
  margin: 24px 0 22px;
  padding-left: 18px;
}

.fee-list li {
  margin-bottom: 8px;
  color: var(--muted);
}

.small-note {
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

/* Image break */

.image-break {
  padding: 0 0 104px;
  background: var(--bg);
}

.wide-photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* CTA */

.cta {
  background: linear-gradient(180deg, #e5ebe3, #f6f1ea);
}

.cta h2 {
  margin-bottom: 18px;
}

.cta .btn-primary {
  margin-top: 16px;
}

.email-note {
  margin-top: 18px !important;
  font-size: 0.95rem;
}

.email-note a {
  color: var(--accent-dark);
  font-weight: 700;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 20%, rgba(223, 229, 220, 0.7), transparent 28%),
    var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 68px;
  align-items: start;
  padding: 100px 32px;
}

.footer-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-title {
  max-width: 440px;
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.footer-copy {
  max-width: 430px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-email {
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer-nav {
  display: grid;
  gap: 13px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent-dark);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.88rem;
}
/* =========================================================
   CSS PART 3 — TABLET AND MOBILE
   ========================================================= */

/* Tablet */

@media (max-width: 940px) {
  html {
    scroll-padding-top: 86px;
  }

  .header-inner {
    min-height: 80px;
  }

  .logo-image {
    width: 210px;
  }

  .main-nav {
    gap: 20px;
  }

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

  .hero-grid,
  .about-grid,
  .how-grid,
  .fees-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy,
  .about-copy {
    max-width: 760px;
  }

  .hero-photo {
    height: 460px;
  }

  .about-image-wrap {
    max-width: 560px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
    padding: 80px 32px;
  }

  .footer-title,
  .footer-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-meta {
    text-align: center;
  }
}

/* Mobile */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 52px 0;
  }

  .site-header {
    z-index: 500;
  }

  .header-inner {
    min-height: 70px;
  }

  .logo-image {
    width: 166px;
  }

  .menu-button {
    position: relative;
    z-index: 700;
    display: inline-flex;
    width: 40px;
    height: 40px;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 600;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 104px 24px 40px;
    background: #fffdf9;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
    overflow-y: auto;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .main-nav a:not(.nav-cta)::after,
  .main-nav .nav-cta::after {
    display: none;
  }

  .main-nav .nav-cta {
    width: 100%;
    max-width: 420px;
    min-height: 58px;
    justify-content: center;
    margin: 36px auto 0;
    border: 0;
    border-radius: var(--pill);
    background: var(--accent);
    color: white !important;
    font-size: 0.9rem !important;
  }

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

  .hero-grid {
    gap: 20px;
  }

  .hero h1 {
    max-width: 430px;
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 10.2vw, 2.62rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: clamp(1.9rem, 8.6vw, 2.35rem);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .subtext {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 48px;
    padding: 12px 22px;
    font-size: 0.74rem;
  }

  .trust-row {
    display: flex;
    gap: 8px;
    margin-top: 18px;
  }

  .trust-row span {
    padding: 6px 10px;
    font-size: 0.8rem;
    background: transparent;
  }

  .hero-image-wrap::before {
    display: none;
  }

  .hero-photo {
    height: 300px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
  }

  .about-grid,
  .how-grid,
  .fees-grid {
    gap: 24px;
  }

  .about-photo {
    max-width: 330px;
    margin: 0 auto;
    aspect-ratio: 4 / 4.65;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
  }

  .quote-section blockquote {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
  }

  .about-copy p,
  .panel p,
  .cta p,
  .fee-card p {
    margin-bottom: 14px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .cards {
    gap: 10px;
  }

  .card {
    padding: 20px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .card h3 {
    margin-bottom: 6px;
    font-size: 1.18rem;
  }

  .card p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .card-link:hover {
    box-shadow: none;
    transform: none;
  }

  .panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .steps {
    gap: 10px;
  }

  .step {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
  }

  .step span {
    width: 32px;
    height: 32px;
    font-size: 0.68rem;
  }

  .step h3 {
    margin-bottom: 4px;
    font-size: 1.12rem;
  }

  .step p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .step-link:hover {
    box-shadow: none;
    transform: none;
  }

  .fee-card {
    padding: 24px;
  }

  .fee-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .image-break {
    padding: 0 0 52px;
  }

  .wide-photo {
    max-height: 340px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
  }

  .cta {
    padding: 56px 0;
  }

  .email-note {
    font-size: 0.9rem;
  }

  .footer-inner {
    gap: 30px;
    padding: 64px 22px;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-title {
    font-size: 1.72rem;
  }

  .footer-copy {
    font-size: 0.95rem;
  }
}