/* ============================================================
   Home Credit Ltd — "Warm Sterling" design system
   Fraunces (display) + Figtree (body) · Brand #018749
   ============================================================ */

/* ---------- Fonts (local, variable) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-Italic-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/Figtree-Variable.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/Figtree-Italic-Variable.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --forest-950: #041f15;
  --forest-900: #052a1c;
  --forest-800: #07402a;
  --forest-700: #065f38;   /* accessible ink-green for small text on light */
  --brand: #018749;
  --emerald: #06a55c;
  --spring: #35c77f;
  --mint: #8fe6bd;
  --mint-100: #ddf5e9;
  --mint-50: #eefaf4;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #132018;
  --ink-soft: #43554b;
  --ink-faint: #64766c;
  --line: rgba(4, 31, 21, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --amber: #b45309;
  --amber-bg: #fdf4e7;

  /* gradients */
  --grad-brand: linear-gradient(135deg, #065f38 0%, #018749 45%, #06a55c 100%);
  --grad-hero: linear-gradient(150deg, #041f15 0%, #07402a 55%, #018749 130%);
  --grad-text: linear-gradient(100deg, #a5efcd 0%, #e2fbef 100%);
  --grad-text-light: linear-gradient(100deg, #018749 0%, #06a55c 60%, #35c77f 100%);

  /* type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', -apple-system, 'Segoe UI', sans-serif;

  /* geometry */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --content: 1180px;

  /* elevation */
  --shadow-soft: 0 2px 6px rgba(4, 31, 21, 0.05), 0 18px 45px -18px rgba(4, 31, 21, 0.22);
  --shadow-lift: 0 4px 10px rgba(4, 31, 21, 0.06), 0 30px 60px -20px rgba(4, 31, 21, 0.3);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.6em; font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: var(--forest-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap { max-width: var(--content); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--forest-950); color: #fff; font-weight: 600;
  padding: 0.8rem 1.4rem; border-radius: 999px; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest-700);
  background: var(--mint-100);
  border: 1px solid rgba(1, 135, 73, 0.22);
  padding: 0.45rem 1rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand); flex: none;
}
.on-dark .eyebrow {
  color: var(--mint); background: rgba(143, 230, 189, 0.1);
  border-color: rgba(143, 230, 189, 0.3);
}

.grad-word {
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic; font-variation-settings: 'SOFT' 60;
}
.on-dark .grad-word, .hero .grad-word {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 1.03rem; font-weight: 700;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.25s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(1, 135, 73, 0.55), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 34px -10px rgba(1, 135, 73, 0.6), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--forest-700);
  box-shadow: inset 0 0 0 2px rgba(1, 135, 73, 0.35);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); }
.on-dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost {
  color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover {
  color: var(--forest-800); background: #fff; box-shadow: inset 0 0 0 2px #fff;
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header — transparent over the hero, solid on scroll ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled, body.nav-open .site-header {
  background: rgba(250, 247, 241, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(4, 31, 21, 0.35);
}
/* room for the fixed header — the green hero shows through behind it */
main > :first-child { padding-top: 74px; }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: var(--content); margin: 0 auto; padding: 0.85rem var(--gutter);
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; margin-right: auto;
}
.logo-img { height: 42px; width: auto; display: block; }
@media (max-width: 480px) { .logo-img { height: 34px; } }
/* header carries both logo colourways; swap with scroll state */
.site-header .logo-on-light { display: none; }
.site-header.scrolled .logo-on-light, body.nav-open .site-header .logo-on-light { display: block; }
.site-header.scrolled .logo-on-dark, body.nav-open .site-header .logo-on-dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; color: rgba(255, 255, 255, 0.92); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.18); color: #fff; }
.site-header.scrolled .nav-links a, body.nav-open .site-header .nav-links a { color: var(--ink-soft); }
.site-header.scrolled .nav-links a:hover, body.nav-open .site-header .nav-links a:hover { background: var(--mint-100); color: var(--forest-700); }
.site-header.scrolled .nav-links a[aria-current="page"], body.nav-open .site-header .nav-links a[aria-current="page"] { background: var(--mint-100); color: var(--forest-700); }
.nav-cta { flex: none; padding: 0.7rem 1.4rem; font-size: 0.98rem; }
.nav-toggle {
  display: none; flex: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2.5px; background: #fff; border-radius: 2px;
  margin: 5px 0; transition: transform 0.25s, opacity 0.25s;
}
.site-header.scrolled .nav-toggle span, body.nav-open .site-header .nav-toggle span { background: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 480px) { .nav-cta { display: none; } }

/* ---------- Hero (photo blended into brand green) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #03482a 0%, #018749 58%, #06a55c 115%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  mix-blend-mode: luminosity; opacity: 0.55;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(84deg, rgba(2, 84, 46, 0.92) 0%, rgba(1, 135, 73, 0.55) 45%, rgba(1, 135, 73, 0.12) 78%, rgba(2, 84, 46, 0.25) 100%),
    linear-gradient(0deg, rgba(3, 72, 40, 0.75) 0%, rgba(3, 72, 40, 0) 32%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  max-width: var(--content); margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) clamp(5rem, 9vw, 8rem);
}
@media (min-width: 981px) { .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); } }
.hero-inner > div, .rep-card { min-width: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 540; line-height: 1.02; letter-spacing: -0.022em;
  margin-bottom: 1.1rem;
  text-wrap: balance; overflow-wrap: break-word;
}
.hero .lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6;
  color: rgba(255, 255, 255, 0.88); max-width: 34em; margin-bottom: 1.8rem;
  overflow-wrap: break-word;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.trust-chips li {
  display: flex; align-items: center; gap: 0.5rem; max-width: 100%;
  font-size: 0.92rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 0.5rem 0.95rem; border-radius: 999px;
}
.trust-chips svg { width: 15px; height: 15px; flex: none; color: var(--mint); }
@media (max-width: 560px) {
  .trust-chips { flex-direction: column; align-items: stretch; }
  .trust-chips li { width: 100%; align-items: flex-start; }
  .trust-chips svg { margin-top: 3px; }
}

/* Sub-page hero (shorter, still photographic or gradient) */
.hero-sub .hero-inner { grid-template-columns: 1fr; padding-block: clamp(4rem, 7vw, 6rem); }
.hero-sub h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16em; }
.hero-sub .lede { max-width: 44em; margin-bottom: 0; }

/* ---------- Representative example card ---------- */
.rep-card {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  padding: 1.8rem 1.8rem 1.6rem;
  max-width: 420px; width: 100%;
  justify-self: end;
}
.rep-card .rep-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest-700);
  background: var(--mint-100); border-radius: 999px; padding: 0.35rem 0.85rem;
  margin-bottom: 1.1rem;
}
.calc-amount {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 0.4rem;
}
.calc-amount label { font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.calc-amount output {
  font-family: var(--font-display); font-weight: 640; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 4vw, 2.7rem); line-height: 1; color: var(--ink);
}
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px; margin: 0 0 1.2rem;
  background: linear-gradient(90deg, var(--brand) 0%, var(--emerald) var(--fill, 25%), #e2ded6 var(--fill, 25%));
  outline-offset: 6px; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 4px 12px -2px rgba(1, 135, 73, 0.5);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 4px 12px -2px rgba(1, 135, 73, 0.5);
}
.rep-rows { display: grid; gap: 0; margin-bottom: 1.2rem; }
.rep-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.rep-row dt { color: var(--ink-soft); margin: 0; }
.rep-row dd { margin: 0; font-weight: 700; white-space: nowrap; }
.rep-card .rep-note { font-size: 0.85rem; color: var(--ink-faint); margin: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 780px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head .sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 56ch; }
.section-head.center .sub { margin-inline: auto; }

.section-cream { background: var(--cream); }
.section-white { background: var(--paper); }
.section-mint { background: var(--mint-50); }
.on-dark {
  background: var(--grad-hero); color: rgba(255, 255, 255, 0.92);
  position: relative;
}
.on-dark::before {
  /* grain */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.on-dark > * { position: relative; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: var(--mint); }
.on-dark a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 1.32rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 15px; margin-bottom: 1.2rem;
  background: var(--mint-100); color: var(--forest-700);
  display: grid; place-items: center;
}
.card-icon svg { width: 23px; height: 23px; }
.section-white .card { background: var(--cream); }
.on-dark .card {
  background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark);
  box-shadow: none; color: rgba(255, 255, 255, 0.85);
}
.on-dark .card p { color: rgba(255, 255, 255, 0.72); }
.on-dark .card-icon { background: rgba(143, 230, 189, 0.14); color: var(--mint); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.9rem; box-shadow: var(--shadow-soft);
}
.step-num {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em;
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Split (text + photo) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); aspect-ratio: 4 / 4.6;
}
.split-media.wide { aspect-ratio: 4 / 3.1; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,31,21,0) 62%, rgba(4,31,21,0.42) 100%);
}
.split-media .media-caption {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 1;
  color: #fff; font-size: 0.92rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
}
.split-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.split-body .checklist { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0.85rem; }
.split-body .checklist li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); }
.split-body .checklist svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.split-body .checklist strong { color: var(--ink); }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius-lg); padding: 1.8rem 2rem;
  border: 1px solid rgba(1, 135, 73, 0.22);
  background: var(--mint-50);
}
.callout h3 { font-size: 1.3rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-amber {
  border-color: rgba(180, 83, 9, 0.25); background: var(--amber-bg);
}
.callout-amber h3 { color: var(--amber); }
.callout-dark {
  background: var(--grad-hero); color: rgba(255,255,255,0.9); border: 0;
}
.callout-dark h3 { color: #fff; }
.callout-dark a { color: var(--mint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 0;
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font-weight: 700; font-size: 1.08rem; padding: 1.2rem 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  color: var(--brand); line-height: 1; transition: transform 0.25s; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-soft); }
.table-wrap table { min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--line); font-size: 0.99rem; vertical-align: top; }
.table-wrap thead th {
  font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--forest-700); background: var(--mint-50); border-bottom: 1px solid rgba(1,135,73,0.18);
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }

/* ---------- Contact / info tiles ---------- */
.info-tiles { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.info-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-soft);
}
.info-tile h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.info-tile p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0.6rem; }
.info-tile .big {
  font-weight: 800; font-size: 1.22rem; color: var(--forest-700); text-decoration: none;
  overflow-wrap: anywhere;
}
.info-tile .big:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lift);
}
.form-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(1, 135, 73, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--ink-faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 0.9rem 1.15rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.98rem; }
.form-status.ok { background: var(--mint-100); color: var(--forest-700); border: 1px solid rgba(1,135,73,0.3); }
.form-status.err { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(180,83,9,0.3); }

/* ---------- Legal prose ---------- */
.prose { max-width: 820px; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose ul li { margin-bottom: 0.5em; color: var(--ink-soft); }
.prose ul li strong { color: var(--ink); }
.prose .updated {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Closing CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #03482a 0%, #018749 70%, #06a55c 120%); }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.45; }
.cta-band .cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 84, 46, 0.9) 10%, rgba(1, 135, 73, 0.45) 60%, rgba(2, 84, 46, 0.2) 100%);
}
.cta-band .cta-inner {
  position: relative; z-index: 1; max-width: var(--content); margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
}
.cta-band h2 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); color: #fff; max-width: 15em; text-wrap: balance; }
.cta-band p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 46ch; }

/* ---------- Risk warning banner ---------- */
.risk-warning {
  background: var(--forest-950); color: #fff;
  border-top: 1px solid var(--line-dark);
}
.risk-warning .wrap {
  padding-block: 1.15rem;
  font-size: 1.02rem; line-height: 1.5;
}
.risk-warning strong { color: var(--mint); }
.risk-warning a { color: var(--mint); font-weight: 700; }
.risk-warning a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-950); color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.5rem; padding-block: 3.5rem 2.5rem;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-brand .logo-img { height: 40px; opacity: 0.95; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.93rem; max-width: 30ch; }
.footer-col h3 {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-rep {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.8rem;
}
.footer-rep p { margin: 0 0 0.5rem; }
.footer-rep .rep-line strong { color: #fff; }
.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.8rem 2.4rem;
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
}
.footer-legal p { margin-bottom: 0.55rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--paper);
  border-top: 3px solid var(--brand);
  box-shadow: 0 -10px 40px -12px rgba(4, 31, 21, 0.35);
  animation: hc-cookie-in 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes hc-cookie-in { from { transform: translateY(100%); } to { transform: none; } }
.cookie-inner {
  max-width: var(--content); margin: 0 auto;
  padding: 1.4rem var(--gutter);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
}
.cookie-copy { flex: 1 1 auto; min-width: 0; }
.cookie-copy h2 {
  font-size: 1.15rem; margin: 0 0 0.35rem;
}
.cookie-copy p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 72ch; }
/* Equal prominence: identical size and weight for accept and reject (ICO requirement). */
.cookie-actions { flex: none; display: flex; gap: 0.7rem; }
.cookie-actions .btn {
  width: 200px; padding: 0.8rem 1.4rem; font-size: 0.98rem;
}
.cookie-actions .btn-reject {
  background: var(--cream); color: var(--forest-700);
  box-shadow: inset 0 0 0 2px var(--forest-700);
}
.cookie-actions .btn-reject:hover { transform: translateY(-2px); background: var(--mint-50); }
@media (max-width: 860px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 1rem; padding-block: 1.2rem; }
  .cookie-actions .btn { flex: 1 1 0; width: auto; min-width: 0; }
}
@media (max-width: 420px) {
  .cookie-actions { flex-direction: column; }
}

/* Footer button styled as a footer link (cookie settings) */
.link-btn {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: rgba(255, 255, 255, 0.85);
  cursor: pointer; text-align: left;
}
.link-btn:hover { color: var(--mint); text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .rep-card { justify-self: start; }
}
@media (max-width: 360px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-ctas, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
