/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #2c2c2c;
  background: #faf9f7;
  line-height: 1.7;
}

/* ── CSS Variables ── */
:root {
  --sage:      #7a9e87;
  --sage-dark: #5a7d67;
  --cream:     #faf9f7;
  --warm:      #f3ede4;
  --text:      #2c2c2c;
  --muted:     #6b6b6b;
  --border:    #ddd8d0;
  --max:       1100px;
}

/* ── Top Bar ── */
.topbar {
  background: var(--sage-dark);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 24px;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.topbar a:hover { opacity: 1; }
.topbar-portal {
  background: #fff;
  color: var(--sage-dark) !important;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.topbar-portal:hover { background: var(--warm) !important; }

/* ── Navigation ── */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
}
.nav-logo span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Jost', sans-serif;
}
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a.active { color: var(--sage-dark); background: var(--warm); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--sage-dark); }

/* ── Page Hero Banner ── */
.page-hero {
  background: linear-gradient(135deg, #eaf0ec 0%, var(--warm) 100%);
  padding: 56px 24px 48px;
  text-align: center;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero .section-label {
  margin-bottom: 10px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}

/* ── Section Shared ── */
section { padding: 64px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 24px;
}
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── Utility: Link Button ── */
.link-btn {
  display: inline-block;
  border: 2px solid var(--sage-dark);
  color: var(--sage-dark);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.link-btn:hover { background: var(--sage-dark); color: #fff; }
.link-btn.filled {
  background: var(--sage-dark);
  color: #fff;
}
.link-btn.filled:hover { background: var(--sage); }

/* ── Prose Content ── */
.prose p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--sage-dark); }
.prose a:hover { text-decoration: none; }

/* ── Info Card ── */
.info-card {
  background: var(--warm);
  border-left: 3px solid var(--sage);
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
  margin: 24px 0;
}
.info-card p { color: var(--text); font-size: 0.93rem; margin: 0; }
.info-card strong { color: var(--sage-dark); }

/* ── Cost Table ── */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.93rem;
}
.cost-table th {
  background: var(--sage-dark);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cost-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.cost-table tr:nth-child(even) td { background: var(--warm); }
.cost-table tr:last-child td { border-bottom: none; }

/* ── Credentials List ── */
.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text);
}
.credential-list li:last-child { border-bottom: none; }
.credential-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 0.92rem;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 12px; }

/* ── Legal Page ── */
.legal-section { background: #fff; }
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.8;
}
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.8;
}
.legal-content ul li, .legal-content ol li { margin-bottom: 6px; }
.legal-content strong { color: var(--text); font-weight: 500; }
.legal-content a { color: var(--sage-dark); }

/* ── Footer ── */
footer {
  background: var(--sage-dark);
  color: #fff;
  padding: 56px 24px 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-brand h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.88rem; opacity: 0.8; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.7;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 0.88rem; opacity: 0.85; }
.footer-col a { color: #fff; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.65;
}
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .nav-inner { padding: 0 16px; }
  nav ul { display: none; }
  .hamburger { display: flex; }
  section { padding: 48px 16px; }
  .page-hero { padding: 40px 16px 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cost-table { font-size: 0.85rem; }
  .cost-table th, .cost-table td { padding: 10px 12px; }
}
