/* =========================================================================
   Candor Bondimary — deep British green on warm ivory
   Single stylesheet: tokens, base, components, page sections, responsive.
   ========================================================================= */

/* --- Fonts (local, no CDN) --------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* --- Tokens ------------------------------------------------------------ */
:root {
  --bg: #f6f4ee;
  --surface: #fdfcf8;
  --surface-2: #efebe0;
  --border: #e0dbcb;
  --border-strong: #cfc9b6;
  --text: #17221d;
  --muted: #55645c;
  --accent: #0e5b46;
  --accent-hover: #0a4736;
  --accent-tint: #e2eee8;
  --flag-red: #b02a37;
  --navy: #1f3049;
  --ink-dark: #12312a;
  --on-accent: #f4f1e8;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(26, 43, 36, 0.07), 0 2px 8px rgba(26, 43, 36, 0.06);
  --shadow-md: 0 1px 2px rgba(26, 43, 36, 0.07), 0 10px 28px rgba(26, 43, 36, 0.11);
  --shadow-lg: 0 2px 6px rgba(26, 43, 36, 0.09), 0 18px 44px rgba(26, 43, 36, 0.16);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 74px;
}

/* --- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.14;
  color: var(--text);
  margin: 0 0 0.55em;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(1.95rem, 1.2rem + 2.6vw, 3.05rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 600; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(44px, 6vw, 76px); }
.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.05em; margin: 0; }
.section--tint { background: var(--surface-2); }
.section--tint-alt {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(14, 91, 70, 0.07), transparent 60%),
    linear-gradient(180deg, #f1eee4, #ece8db);
}
.skip-link {
  position: absolute; left: 12px; top: -52px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* subtle SVG mesh texture behind alternating bands */
.band-mesh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%230e5b46' stroke-opacity='0.07'%3E%3Cpath d='M0 30h120M0 90h120M30 0v120M90 0v120'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.93rem; }
.btn-block { width: 100%; }

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(246, 244, 238, 0.97); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-word { font-family: var(--font-display); font-size: 1.22rem; color: var(--text); letter-spacing: -0.01em; }
.logo-word b { font-weight: 700; color: var(--accent); }
.logo-mark { border-radius: 8px; flex: none; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font: 500 0.98rem var(--font-body); color: var(--text);
  padding: 10px 13px; border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-trigger:hover { background: var(--accent-tint); color: var(--accent-hover); }
.nav-trigger[aria-expanded="true"] { color: var(--accent-hover); background: var(--accent-tint); }
.nav-caret { transition: transform 0.15s ease; }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.icon-xs { width: 16px; height: 16px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 262px; z-index: 110;
}
.nav-dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: var(--bg);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-group { position: relative; }
.nav-group--end .nav-dropdown { left: auto; right: 0; }
.nav-group--end .nav-dropdown::before { left: auto; right: 22px; }
.nav-dropdown ul { list-style: none; margin: 0; padding: 0; }
.nav-dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 0.95rem;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }
.nav-dropdown a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); width: 44px; height: 44px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}
.nav-burger:hover { background: var(--accent-tint); }
.icon-burger-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-burger-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-burger-close { display: block; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding-block: 14px 22px; }
.mobile-group summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font: 600 1rem var(--font-display); color: var(--text);
  padding: 13px 4px; border-bottom: 1px solid var(--border);
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary svg { transition: transform 0.15s ease; }
.mobile-group[open] summary svg { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0; padding: 6px 4px 12px; }
.mobile-group a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.mobile-group a:hover { background: var(--accent-tint); }
.mobile-menu .btn { margin-top: 14px; }

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: #10312a;
  color: var(--on-accent);
}
.hero-bg {
  position: absolute; inset: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 32, 28, .88), rgba(10, 34, 31, .7) 44%, rgba(11, 32, 35, .25));
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 60px);
  align-items: center; padding-block: clamp(48px, 7vw, 92px);
}
.hero-copy h1 { color: #f7f4ea; max-width: 15ch; }
.hero-copy .lead { font-size: 1.13rem; color: #d8e3d8; max-width: 54ch; }
.hero-flags { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #cfdcd2; font-size: 0.95rem; }
.hero-flags svg { border-radius: 4px; display: block; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust a {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(244, 241, 232, 0.1); border: 1px solid rgba(244, 241, 232, 0.28);
  color: #eef3ec; text-decoration: none; padding: 10px 16px; border-radius: var(--radius-md);
  font-size: 0.95rem; transition: background-color 0.16s ease, border-color 0.16s ease;
}
.hero-trust a:hover { background: rgba(244, 241, 232, 0.2); border-color: rgba(244, 241, 232, 0.5); }
.hero-trust .icon-badge { width: 38px; height: 38px; flex: none; background: rgba(14, 91, 70, 0.55); color: #cfe4d6; }
.hero-form-col .form-block { max-width: 460px; margin-left: auto; }
/* Headings/notes that sit on the dark hero, outside the form card itself. */
.hero .form-heading, .page-hero .form-heading { color: #f1e9d6; }
.hero .form-note, .page-hero .form-note { color: #cfdccf; }

/* --- Form block (formFactory wrapper) ---------------------------------- */
.form-block {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.6vw, 30px);
}
.form-block__intro { font-size: 0.98rem; color: var(--muted); margin: 0 0 14px; }
.form-block form { display: grid; gap: 12px; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"], .form-block input[type="password"] {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #fbfaf5; color: var(--text);
  font: 400 1rem var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-block input::placeholder { color: #8d998f; }
.form-block input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 91, 70, 0.16);
}
.form-block input[type="submit"] {
  width: 100%; min-height: 50px; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  border: none; border-radius: var(--radius-md);
  font: 500 1.02rem var(--font-body); letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.form-block input[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }
.form-legal { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-legal a { color: var(--accent); }
.form-block--additional { background: var(--surface); }
.form-heading { font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); margin: 0 0 10px; color: var(--text); }

/* --- Icon badges / cards ----------------------------------------------- */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent);
}
.icon-badge svg { width: 24px; height: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2vw, 26px);
  transition: transform 0.17s ease, box-shadow 0.17s ease, border-color 0.17s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card-head h3 { margin: 0; }

/* asymmetric feature grids (no uniform 3-card rows) */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.grid-stagger { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 26px); }
.grid-stagger .card:nth-child(2) { margin-top: 26px; }
.grid-stagger .card:nth-child(3) { margin-top: -14px; }

/* --- Numbered steps ----------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.step-num {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font: 600 1.02rem var(--font-display);
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 0.3em; font-size: 1.12rem; }
.step p { color: var(--muted); margin: 0; }

/* --- Tables ------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--surface);
  box-shadow: var(--shadow-sm); margin-block: 18px;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
caption { caption-side: top; text-align: left; font: 600 1.05rem var(--font-display); padding: 14px 16px 6px; color: var(--text); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; font-family: var(--font-display); font-size: 0.93rem; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(239, 235, 224, 0.45); }
.tick-yes { color: #0f7a4a; font-weight: 600; }
.tick-no { color: #a13434; font-weight: 600; }
.table-note { font-size: 0.88rem; color: var(--muted); margin-top: -6px; }

/* --- Reviews ------------------------------------------------------------ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-top { display: flex; align-items: center; gap: 14px; }
.review-photo { border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-tint); box-shadow: var(--shadow-sm); flex: none; }
.review-name { font: 600 1rem var(--font-display); margin: 0; }
.review-role { color: var(--muted); font-size: 0.87rem; margin: 0; }
.review-body { margin: 0; font-size: 0.96rem; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border-strong); font-size: 0.87rem; color: var(--muted); }
.review-stats strong { color: var(--text); }
.reviews-note { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }

/* --- Exchange logos ----------------------------------------------------- */
.exchanges-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 164px; height: 58px; border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.chip--dark { background: #0f172a; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chip img { height: 28px; width: auto; max-width: 128px; }

/* --- Company block ------------------------------------------------------ */
.company-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(26px, 4vw, 56px); }
.company-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--text); }
.company-facts .icon-xs { color: var(--accent); margin-top: 4px; flex: none; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.company-links .card { padding: 16px 18px; }
.company-links .card h3 { font-size: 1rem; }

/* --- Calculator section -------------------------------------------------- */
.calc-section {
  background:
    radial-gradient(760px 320px at 92% 8%, rgba(14, 91, 70, 0.08), transparent 62%),
    linear-gradient(180deg, #f1eee4 0%, #ece8db 100%);
}
.calc-section .section-head { margin-bottom: 20px; }
.calc-chart { margin-top: 26px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); display: block; width: 100%; height: 130px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: box-shadow 0.16s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font: 600 1.02rem var(--font-display); color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; transition: transform 0.15s ease; color: var(--accent); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-item .faq-a p { margin: 0; }

/* --- Map ---------------------------------------------------------------- */
.map-embed {
  margin-block: 18px; max-width: 100%;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-2);
}
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; }

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; font-size: 0.87rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 500; }

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #10312a 0%, #16423a 55%, #1b4a3a 100%);
  color: var(--on-accent);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    radial-gradient(560px 300px at 85% 20%, rgba(127, 199, 164, 0.16), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%237fc7a4' stroke-opacity='0.14'%3E%3Cpath d='M10 35 45 10l35 25L115 10l35 25'/%3E%3Cpath d='M10 105 45 80l35 25 35-25 35 25'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(26px, 4vw, 56px);
  align-items: center; padding-block: clamp(40px, 6vw, 68px);
}
.page-hero h1 { color: #f7f4ea; max-width: 18ch; }
.page-hero .lead { color: #d8e3d8; font-size: 1.08rem; max-width: 56ch; }

/* --- Prose (article / policy pages) -------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: #33403a; }
.prose .callout {
  background: var(--accent-tint); border: 1px solid #c9dfce; border-radius: var(--radius-md);
  padding: 16px 20px; color: #1d3c2f; margin-block: 18px;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: #10241d; color: #c9d6cc; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(38px, 5vw, 60px);
}
.footer-grid h3 { color: #f0f4ec; font-size: 0.98rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: #c9d6cc; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: #ffffff; text-decoration: underline; }
.footer-brand .logo-word { color: #f0f4ec; }
.footer-brand .logo-word b { color: #7fc7a4; }
.footer-tagline { font-size: 0.92rem; color: #a7b8ab; margin: 16px 0 14px; max-width: 34ch; }
.footer-contact { font-size: 0.9rem; color: #a7b8ab; }
.footer-contact a { color: #cfe0d2; }
.footer-contact .icon-xs { color: #7fc7a4; vertical-align: -2px; margin-right: 4px; }
.footer-disclaimer { border-top: 1px solid rgba(200, 214, 204, 0.16); padding-block: 22px 30px; }
.footer-disclaimer h3 { font-size: 0.95rem; color: #f0f4ec; margin-bottom: 10px; }
.footer-disclaimer p { font-size: 0.82rem; color: #93a798; line-height: 1.6; margin-bottom: 10px; }
.footer-copy { margin: 0; }

/* --- Utility -------------------------------------------------------------- */
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-tint); border-radius: 999px; padding: 5px 12px;
  margin-bottom: 14px;
}
.hero .eyebrow, .page-hero .eyebrow { color: #b9dcc3; background: rgba(14, 91, 70, 0.5); }
.eyebrow--plain { background: none; padding: 0; margin-bottom: 10px; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.check-list .icon-xs { color: #0f7a4a; margin-top: 5px; flex: none; }

/* --- Scroll reveal --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hero-bg { transform: none !important; }
}

/* --- Special offer page ----------------------------------------------------- */
.urgency-strip { background: var(--ink-dark); color: var(--on-accent); font-size: 0.9rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; padding-block: 10px; }
.urgency-strip strong { color: #ffd98c; }
.offer-hero .hero-copy h1 { max-width: 17ch; }
.countdown { display: inline-flex; gap: 8px; align-items: center; margin: 14px 0 4px; }
.countdown-seg {
  background: var(--ink-dark); color: #ffd98c; border-radius: 8px;
  font: 700 1.5rem var(--font-display); padding: 8px 12px; min-width: 64px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.countdown-seg small { display: block; font: 500 0.62rem var(--font-body); letter-spacing: 0.08em; color: #9fb8a6; }
.cta-band { background: linear-gradient(120deg, #0e5b46, #12312a); color: var(--on-accent); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(30px, 4vw, 46px); }
.cta-band h2 { color: #f7f4ea; margin: 0 0 6px; }
.cta-band p { color: #cfe0d2; margin: 0; }
.cta-band .btn-primary { background: #ffd98c; color: #17221d; }
.cta-band .btn-primary:hover { background: #ffdf9e; box-shadow: var(--shadow-lg); }
.offer-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 22, 17, 0.66); backdrop-filter: blur(3px);
}
.offer-modal.is-open { display: flex; }
.offer-modal-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 520px; width: 100%;
  padding: clamp(24px, 4vw, 38px); text-align: center;
}
.offer-modal-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 50%;
  font-size: 1.2rem; line-height: 1; color: var(--text); cursor: pointer;
}
.offer-modal-close:hover { background: var(--accent-tint); }
.offer-modal-card h2 { margin-top: 10px; }
.offer-modal-card .countdown-seg { font-size: 1.3rem; min-width: 56px; }

/* --- Responsive -------------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .nav-burger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-inner, .page-hero-inner { grid-template-columns: 1fr; }
  .hero-form-col .form-block { margin-left: 0; }
  .hero-copy h1 { max-width: none; }
  .company-grid { grid-template-columns: 1fr; }
  .grid-stagger { grid-template-columns: 1fr; }
  .grid-stagger .card { margin-top: 0 !important; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .company-links { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .hero-flags { flex-wrap: wrap; }
  .exchanges-row { gap: 10px; }
  .chip { width: 138px; height: 52px; }
  .chip img { height: 26px; }
}
@media (max-width: 400px) {
  .chip { width: 122px; height: 48px; }
  .chip img { height: 26px; max-width: 96px; }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__country-name {
  color: #000 !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

@media (max-width: 1023px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Homepage layout and site header action */
.home-hero {
  isolation: isolate;
  padding-block: clamp(52px, 6vw, 94px);
  background: #102e27;
}

.home-hero::after { content: none; }
.home-hero .hero-media {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.home-hero .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 54%;
}
.home-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, #102e27fa 2%, #102e27d9 41%, #102e273b 88%);
}
.home-hero .hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 448px);
  grid-template-rows: auto 1fr;
  grid-template-areas: "headline registration" "details registration";
  column-gap: clamp(34px, 5vw, 82px);
  row-gap: clamp(14px, 2vw, 24px);
  align-items: start;
  padding-block: 0;
}
.home-hero .hero-title {
  grid-area: headline;
  min-width: 0;
}
.home-hero .hero-title h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.15vw, 4.1rem);
  line-height: 1.08;
  text-wrap: balance;
}
.home-hero .hero-title h1 span { color: #e5cc8d; }
.home-hero .hero-details {
  grid-area: details;
  min-width: 0;
  max-width: 60ch;
  margin: 0;
  display: grid;
  justify-items: start;
  gap: clamp(14px, 1.7vw, 22px);
}
.home-hero .hero-details > * { margin: 0; }
.home-hero .hero-details .hero-flags { flex-wrap: wrap; }
.home-hero .hero-details > .lead,
.home-hero .hero-details > .hero__sub { line-height: 1.6; }
.home-hero .hero-form-panel {
  grid-area: registration;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 32px);
  background: #163c32;
  border: 1px solid #62735b;
  border-block-start: 3px solid #e5cc8d;
  border-radius: 14px;
  box-shadow: 0 18px 48px #0b16202b;
}
.home-hero .hero-form-panel .form-block,
.home-hero .hero-form-panel > .form-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-cta {
  gap: 9px;
  min-height: 44px;
  padding-block: 6px;
  padding-inline: 13px;
  border: 1px solid #527b60;
  border-radius: 8px;
  background: #124a3a;
  color: #fff7e8;
  box-shadow: 0 4px 12px #0b17152d;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.account-cta__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: #cfb67538;
}
.account-cta__icon svg { width: 16px; height: 16px; stroke-width: 2; }
.account-cta:hover {
  background: #0a392d;
  color: #fff7e8;
  text-decoration: none;
  box-shadow: 0 7px 18px #0b171542;
  transform: translateY(-1px);
}
.account-cta:focus-visible {
  outline: 2px solid #527b60;
  outline-offset: 3px;
}
.account-cta:active { transform: translateY(0); }

@media (max-width: 900px) {
  .home-hero { padding-block: clamp(26px, 6.5vw, 50px) 42px; }
  .home-hero .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "headline" "registration" "details";
    gap: clamp(18px, 4.5vw, 28px);
    max-width: 660px;
  }
  .home-hero .hero-title h1 { max-width: 24ch; font-size: clamp(2rem, 7.6vw, 3.2rem); }
  .home-hero .hero-media { inset-block-end: auto; height: clamp(460px, 120vw, 720px); }
  .home-hero .hero-media img { object-position: 50% 35%; }
  .home-hero .hero-media::after { background: linear-gradient(180deg, #102e27c7, #102e2755 40%, #102e27 100%); }
  .home-hero .hero-form-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .account-cta { transition: none; }
}

.home-hero .hero-form-panel .form-legal { color: #cadbd2; }
.home-hero .hero-form-panel .form-legal a { color: #e0f2e7; }

/* London editorial */
.home-hero .hero-title h1, .home-company h2, .home-reviews h2, .home-security h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.home-company { background: #eee9dc; border-block: 4px double #aaa18b; }
.home-company .card, .home-security .card, .home-reviews .card { border-radius: 0; box-shadow: none; border-width: 1px 0 0; }
.home-reviews .reviews-grid { gap: 28px; }
@media (min-width: 901px) {
  .home-hero .hero-layout { grid-template-areas: "headline headline" "details registration"; grid-template-columns: minmax(0,1.2fr) minmax(0,.85fr); row-gap: 30px; }
  .home-hero .hero-title { max-width: none; border-bottom: 1px solid #dac79e; padding-bottom: 22px; }
  .home-hero .hero-title h1 { max-width: 28ch; font-size: clamp(3rem,5.4vw,5.4rem); }
  .home-hero .hero-details { align-self: center; }
}

/* Homepage reading rhythm and registration link */
:is(.home-markets,.home-company,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) { padding-block: clamp(36px, 6vw, 72px); }
.home-hero .hero-details p { max-inline-size: 65ch; }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head { margin-block: 0 clamp(18px, 2.3vw, 32px); }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head h2 { margin-block: 0; text-wrap: balance; }
:is(.home-markets,.home-security,.home-steps,.home-advantages,.home-comparison,.home-reviews) .section-head h2 + p { margin-block: 10px 0; }
.home-steps .steps-enquiry { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 46px; max-width: 100%; padding: 10px 22px; margin-block-start: 24px; border-radius: 2px; background: #184839; color: #ffffff; font-weight: 700; text-decoration: none; line-height: 1.35; }
.home-steps .steps-enquiry:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-steps .steps-enquiry:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
#homepage-enquiry { scroll-margin-block-start: 108px; }
@media (max-width: 600px) {
  .home-steps .steps-enquiry { width: 100%; }
}

/* Homepage registration panels */
.home-hero .enquiry-panel, .section .enquiry-panel {
  position: relative; min-width: 0; box-sizing: border-box; padding: clamp(18px,2.4vw,32px);
  border: 0;
  border-block: 5px double #b7a072;
  border-radius: 0;
  background: #163c32;
  color: #f7f3e6;
  box-shadow: none;
}
.section .enquiry-panel .form-block { margin: 0; max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.enquiry-panel .form-heading { font: italic 500 clamp(1.4rem,2.3vw,1.9rem)/1.2 Georgia,serif; text-align: center; color: #fff9e9; margin: 0 0 18px; } .enquiry-panel .form-note,.enquiry-panel .form-legal,.enquiry-panel .form-legal a { color: #eee8d5; }
