/* ==========================================================================
   Greenshield & Company – main stylesheet
   ========================================================================== */

/* ---------- Font (self-hosted, no Google connection needed) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens (change colours here) ---------- */
:root {
  --brand:     #005525;   /* MAIN brand green: dark sections, footer, buttons */
  --green-900: #003a19;   /* deeper shade of the brand green: headings */
  --green-700: #005525;   /* = brand green (links, icons) */
  --green-500: #00834e;   /* lighter green: hover */
  --green-50:  #ebf8f1;   /* mint – ACCENT ONLY (tags, active states, small highlights) */
  --mint-text: #9fe0bd;   /* mint for text on dark green */
  --gray-50:   #f8f9fa;
  --gray-200:  #e3e6e8;
  --text:      #4f5560;
  --text-soft: #6b717b;
  --white:     #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(28, 63, 58, 0.08);
  --container: 1180px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); }
a:hover { color: var(--green-500); }

h1, h2, h3, h4 {
  color: var(--green-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--green-700);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-500); color: var(--white); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-900); }
.btn-light:hover { background: var(--green-50); color: var(--green-900); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo img { width: 170px; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--green-900);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.main-nav a:hover,
.submenu-toggle:hover { color: var(--green-700); background: var(--green-50); }
.main-nav a[aria-current="page"],
.has-submenu.is-current > .submenu-toggle { color: var(--green-700); }

.has-submenu { position: relative; }
.submenu-toggle svg { transition: transform 0.2s; }
.has-submenu.open .submenu-toggle svg { transform: rotate(180deg); }

.main-nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.main-nav .submenu a { display: block; padding: 10px 14px; }
.has-submenu.open .submenu { display: flex; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green-900);
  background: var(--green-50);
}
.social-link:hover { background: var(--green-700); color: var(--white); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--green-900);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-open { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }

/* Mobile navigation */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn,
  .header-actions .social-link { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 12px 20px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a,
  .submenu-toggle { width: 100%; padding: 12px 10px; justify-content: space-between; }
  .main-nav .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .main-nav .mobile-only { display: block; margin-top: 12px; }
  .main-nav .mobile-only .btn { width: 100%; justify-content: center; color: var(--white); background: var(--green-700); }
  .main-nav .mobile-only .btn:hover { background: var(--green-500); }
}
@media (min-width: 961px) {
  .main-nav .mobile-only { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-mint { background: var(--gray-50); }
.section-gray { background: var(--gray-50); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--text-soft); font-size: 1.075rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--green-500);
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 131, 78, 0.10), transparent 45%),
    var(--green-50);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-lead { font-size: 1.15rem; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.5em; }
.card .card-lead { color: var(--green-900); font-weight: 500; }
.card .link-arrow { margin-top: auto; padding-top: 12px; }

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list.small li { font-size: 0.95rem; margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- FAQ (uses native <details>) ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--green-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--green-700); color: var(--white); }
.faq-item p { padding: 0 24px 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
  font-size: 0.95rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .btn-light,
.site-footer .btn-light:hover { color: var(--green-900); }

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cta h2 { color: var(--white); margin: 0; }
.footer-cta .eyebrow { color: var(--mint-text); }
.footer-cta .eyebrow::before { background: var(--mint-text); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-logo img { width: 170px; margin-bottom: 18px; }
.footer-contact dt { color: var(--white); font-weight: 600; margin-top: 12px; }
.footer-contact dd { margin: 0; }
.footer-social { margin-top: 18px; }
.footer-social .social-link { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.footer-social .social-link:hover { background: var(--green-500); }

.footer-bottom {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 80px 0 72px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 131, 78, 0.55), transparent 50%),
    var(--brand);
}
.page-hero h1 { margin-bottom: 0.4em; color: var(--white); }

/* Sub page header with a photo, tinted in the brand green */
.page-hero-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 104px;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Same look as the home page: strong green on the left, fading to the right */
.page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0, 85, 37, 0.94) 20%, rgba(0, 85, 37, 0.66) 60%, rgba(0, 85, 37, 0.42));
}

/* Photos with the brand-green fade (same look everywhere) */
.photo-green {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand);
}
.photo-green img { display: block; }
.photo-green::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 85, 37, 0.82) 0%, rgba(0, 85, 37, 0.4) 50%, rgba(0, 85, 37, 0.08) 100%);
  pointer-events: none;
}
.page-hero .lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.125rem;
}
.page-hero .breadcrumb ol { color: rgba(255, 255, 255, 0.7); }
.page-hero .breadcrumb a { color: var(--mint-text); }
.page-hero .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.35); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gray-200); }
.breadcrumb a { text-decoration: none; }

/* ---------- Split layout: text + media ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.split-top { align-items: start; }
.split.split-intro { margin-bottom: 56px; }
.split.split-intro p { font-size: 1.075rem; color: var(--text-soft); }
.split.split-reverse > :first-child { order: 2; }
.split-intro .split-media img { aspect-ratio: 3 / 2; object-fit: cover; }
.split-media { margin: 0; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-media figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-align: center;
}
.prose p { font-size: 1.05rem; }

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

/* ---------- Transfer fee chart (PPS page, drawn in HTML/CSS) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.fee-figure { margin: 0; }
.fee-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.fee-stat {
  padding: 18px 18px 16px;
  background: var(--brand);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.8);
}
.fee-stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--white);
  margin-bottom: 6px;
}
.fee-stat-label { display: block; font-size: 0.85rem; line-height: 1.35; }
.fee-chart {
  padding: 26px 26px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.fee-chart-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.fee-chart-title span { font-weight: 400; color: var(--text-soft); }
.fee-chart-title + .fee-split { margin-top: 0; }
.fee-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  height: 210px;
  align-items: end;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray-200);
  background: repeating-linear-gradient(to top, transparent 0 41px, var(--gray-50) 41px 42px);
}
.fee-bar {
  position: relative;
  height: var(--h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.fee-col {
  flex: 1;
  background: #9fcfb5;
  border-radius: 4px 4px 0 0;
  transition: background-color 0.15s;
}
.fee-bar:hover .fee-col { background: var(--green-500); }
.fee-bar.is-latest .fee-col { background: var(--brand); }
.fee-val {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.fee-bar.is-latest .fee-val { color: var(--green-900); font-size: 0.8rem; }
.fee-year {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--text-soft);
}
.fee-split {
  display: flex;
  gap: 2px;
  height: 28px;
  margin-bottom: 14px;
}
.fee-seg:first-child { border-radius: 4px 0 0 4px; }
.fee-seg:last-child { border-radius: 0 4px 4px 0; }
.seg-fixed { background: var(--brand); }
.seg-cond { background: #3fbf7f; }
.seg-release { background: #9aa3ab; min-width: 3px; }
.fee-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}
.fee-legend li { display: flex; align-items: center; gap: 8px; }
.fee-legend i { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.fee-legend .is-key { font-weight: 600; color: var(--green-900); }
.fee-figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- Explainer video (product pages) ---------- */
.video-frame {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand);
  box-shadow: 0 20px 50px rgba(0, 85, 37, 0.18);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--brand);
}

/* ---------- Numbered steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step, decimal-leading-zero) ".";
  display: block;
  margin-bottom: 14px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-700);
}
.steps h3 { margin-bottom: 0.4em; }
.steps p { margin: 0; }

/* ---------- Team ---------- */
/* Flexbox instead of grid so an incomplete last row is centred */
.team-grid,
.grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.team-grid > *,
.grid-center > * { flex: 0 1 calc((100% - 56px) / 3); }
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.team-card-body {
  padding: 20px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.team-card h3 { margin: 0 0 2px; font-size: 1.15rem; }
.team-card p { margin: 0; font-size: 0.95rem; color: var(--text-soft); }

/* ---------- Partner (logo card) ---------- */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 200px;
  padding: 44px 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
  box-shadow: 0 16px 36px rgba(0, 85, 37, 0.12);
}
.partner-card img {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  width: 100%;
  justify-content: center;
  border-top: 1px solid var(--gray-200);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-700);
}
.prose .partner-card { margin-top: 8px; }

/* ---------- Legal pages (imprint, terms, privacy) ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.legal .meta { color: var(--text-soft); font-size: 0.95rem; }
.legal ul:not([class]) { padding-left: 1.3em; margin: 0 0 1em; }
.legal ul:not([class]) li { margin-bottom: 0.35em; }

.legal-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 32px;
  margin: 0 0 2em;
  padding: 28px 32px;
  background: var(--green-50);
  border-radius: var(--radius);
}
.legal-facts dt { font-weight: 600; color: var(--green-900); }
.legal-facts dd { margin: 0; }

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal;
}
.legal-list > li {
  counter-increment: legal;
  position: relative;
  padding: 0 0 8px 52px;
}
.legal-list > li::before {
  content: counter(legal) ".";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-700);
}
.legal-list h2 { font-size: 1.2rem; margin: 0 0 0.4em; }

.notice {
  margin: 0 0 2em;
  padding: 20px 24px;
  border-left: 4px solid #c98a00;
  background: #fff7e0;
  border-radius: var(--radius-sm);
  color: #5c4300;
}
.notice strong { color: #3f2e00; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.contact-item .card-icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.contact-item h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; }

.form-card { padding: 40px; }
.form-card h2 { font-size: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label { font-weight: 600; color: var(--green-900); font-size: 0.95rem; }
.field .optional { font-weight: 400; color: var(--text-soft); }
.field input,
.field textarea {
  font: inherit;
  color: var(--green-900);
  padding: 12px 14px;
  border: 1px solid #cfd5d9;
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0, 85, 37, 0.15);
}
.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.field-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green-700); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form-status:empty { display: none; }
.form-status.is-success { background: var(--green-50); color: var(--green-700); }
.form-status.is-error { background: #fdecec; color: #a12020; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 120px 0;
}
.error-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 0.15em;
}
.error-page .hero-actions { justify-content: center; }

/* ==========================================================================
   Home page
   ========================================================================== */

/* ---------- Header over the start image ---------- */
.header-overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.header-overlay.is-scrolled,
.header-overlay.nav-open {
  background: var(--brand);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.header-overlay .main-nav > ul > li > a,
.header-overlay .submenu-toggle { color: var(--white); }
.header-overlay .main-nav > ul > li > a:hover,
.header-overlay .submenu-toggle:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.header-overlay .social-link { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.header-overlay .social-link:hover { background: var(--white); color: var(--brand); }
.header-overlay .header-actions .btn-primary { background: var(--white); color: var(--brand); }
.header-overlay .header-actions .btn-primary:hover { background: var(--green-50); }
.header-overlay .menu-toggle { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- 1. Full-screen start area ---------- */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand);
  isolation: isolate;
}
.hero-full-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(0, 40, 18, 0.85) 0%, rgba(0, 40, 18, 0) 55%),
    linear-gradient(100deg, rgba(0, 85, 37, 0.9) 20%, rgba(0, 85, 37, 0.45) 70%, rgba(0, 85, 37, 0.3));
}
.hero-full .hero-full-content { padding-bottom: clamp(104px, 16vh, 160px); }
.hero-full h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Left-aligned section heading ---------- */
.section-head-left { text-align: left; margin-left: 0; margin-bottom: 48px; }
.section-head-left h2 { margin: 0; }

/* ---------- 2. Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.intro-grid h2 { margin: 0; }
.intro-text p { font-size: 1.15rem; }
.intro-text p:last-child { margin-bottom: 0; }

/* ---------- 3. Tabs ---------- */
.tab-list {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.tab {
  flex-shrink: 0;
  padding: 14px 4px;
  margin-right: 28px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-soft);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.tab:hover { color: var(--green-900); }
.tab[aria-selected="true"] { color: var(--green-900); border-bottom-color: var(--green-500); }
.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tab-panel[hidden] { display: none; }
.tabs:not(.tabs-ready) .tab-panel + .tab-panel { margin-top: 56px; }
.tab-lead {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--green-900);
  font-weight: 500;
  margin-bottom: 1.2em;
}
.tab-panel-media { margin: 0; }
.tab-panel-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- 4. Dark green section + transaction cards ---------- */
.section-dark {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.8);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--mint-text); }
.section-dark .eyebrow::before { background: var(--mint-text); }

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deal-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s, border-color 0.2s;
}
.deal-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }
.deal-tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--green-50);
  border-radius: 6px;
}
.deal-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.deal-card p { margin: 0 0 1em; }
.deal-meta {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  color: var(--mint-text);
}

/* ---------- Capabilities (dark green, reuses .deal-card) ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--green-50);
}
.cap-list {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.93rem;
}
.cap-list li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-text);
}

/* ---------- 5. Team with biographies ---------- */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.people-grid > * { flex: 0 1 calc((100% - 56px) / 3); }
.person {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.person:hover img { filter: grayscale(0%); }
.person-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 6px;
}
.person h3 { margin: 0 0 2px; font-size: 1.2rem; }
.person-head p { margin: 0; font-size: 0.95rem; color: var(--text-soft); }
.bio summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 0;
  font-weight: 600;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.bio[open] summary::after { content: "\2212"; }
.bio p { margin: 4px 0 12px; font-size: 0.97rem; }

/* ---------- 6. Insights ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight {
  padding-top: 22px;
  border-top: 3px solid var(--brand);
}
.insight-meta {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
}
.insight h3 { font-size: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid > *,
  .grid-center > * { flex-basis: calc((100% - 28px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .people-grid > * { flex-basis: calc((100% - 28px) / 2); }
  .deal-grid,
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  /* Mobile menu panel is white, so links inside it are dark again */
  .header-overlay .main-nav { background: var(--white); }
  .header-overlay .main-nav > ul > li > a,
  .header-overlay .submenu-toggle { color: var(--green-900); }
  .header-overlay .main-nav > ul > li > a:hover,
  .header-overlay .submenu-toggle:hover { color: var(--green-700); background: var(--green-50); }
  .header-overlay .main-nav .mobile-only .btn { color: var(--white); background: var(--brand); }
  .header-overlay .main-nav .mobile-only .btn:hover { background: var(--green-500); }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-grid,
  .faq-grid,
  .split,
  .grid-3,
  .steps.steps-3,
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 44px; }
  /* Text spans the full width on phones, so the fade stays a bit stronger */
  .page-hero-photo::after { background: linear-gradient(100deg, rgba(0, 85, 37, 0.94) 20%, rgba(0, 85, 37, 0.74)); }
  .split.split-reverse > :first-child { order: 0; }
  .split.split-intro { gap: 28px; margin-bottom: 40px; }
  .legal-facts { grid-template-columns: 1fr; gap: 2px; padding: 22px; }
  .legal-facts dd { margin-bottom: 12px; }
  .legal-list > li { padding-left: 38px; }
  .contact-grid,
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { gap: 40px; }
  .form-card { padding: 28px 22px; }
  .hero-media { order: -1; }
  .intro-grid,
  .tab-panel,
  .insight-grid { grid-template-columns: 1fr; gap: 28px; }
  .tab-panel-media { order: -1; }
  .cta-band,
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-4,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid > *,
  .grid-center > *,
  .people-grid > * { flex-basis: 100%; }
  .deal-grid,
  .cap-grid { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .tab-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .tab { font-size: 0.98rem; margin-right: 0; text-align: left; line-height: 1.3; }
  .fee-stats { grid-template-columns: 1fr; }
  .fee-chart { padding: 22px 16px 18px; }
  .fee-bars { gap: 3px; }
  .fee-val { font-size: 0.6rem; }
  .fee-bar.is-latest .fee-val { font-size: 0.66rem; }
  .fee-year { font-size: 0.62rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
