/* ==========================================================================
   Vireo Trading — main stylesheet
   1. Tokens   2. Reset   3. Typography   4. Layout   5. Buttons
   6. Header   7. Footer  8. Heroes       9. Components
   10. Legal   11. Cookie banner, back-to-top   12. Utilities, motion
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --navy-900: #0B1F33;
  --navy-700: #16324F;
  --vireo-600: #4F7A28;
  --vireo-100: #EAF1E2;
  --gold-500: #C8962E;
  --gold-400: #D9AB4A;
  --ink: #1C2530;
  --muted: #5B6673;
  --line: #DDE2E7;
  --paper: #F6F7F4;
  --white: #FFFFFF;
  --on-dark: #C9D3DD;
  --vireo-on-dark: #A9CB86;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --header-h: 80px;

  --radius: 10px;
  --radius-btn: 6px;
  --shadow: 0 8px 24px rgba(11, 31, 51, .08);
  --shadow-lg: 0 16px 40px rgba(11, 31, 51, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --section-y: 64px;
    --header-h: 68px;
  }
}

/* 2. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; }
button { cursor: pointer; background: none; border: 0; color: inherit; }

a { color: var(--vireo-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }

:where(ul, ol)[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 3. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p, li { max-width: 70ch; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vireo-600);
}

.lead { font-size: 1.125rem; color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head h2 + p { margin-top: 16px; }

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }

/* 4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-tint { background: var(--vireo-100); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--vireo-on-dark); }
.section-dark .lead { color: var(--on-dark); }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { display: grid; gap: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

/* 5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: .975rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

/* Gold with navy text: passes 4.5:1. Never put white text on gold. */
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); }

.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--vireo-600);
  text-decoration: none;
}
.btn-link i { transition: transform .2s var(--ease); }
.btn-link:hover { color: var(--navy-700); }
.btn-link:hover i { transform: translateX(4px); }

.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* 6. Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled,
.header-solid .site-header,
.nav-open .site-header {
  background: var(--navy-900);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Wordmark: leaf mark + VIREO / TRADING */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--white); }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .06em;
}
.logo-sub {
  margin-top: 4px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .38em;
  opacity: .85;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-list > li { position: relative; max-width: none; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-link:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav-link[aria-current="page"],
.nav-link.active { color: var(--gold-400); }
.nav-link .fa-chevron-down { font-size: .7rem; transition: transform .2s; }

.nav-cta { margin-left: 12px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 340px;
  padding: 10px;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { /* hover bridge between link and panel */
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown.open > .nav-link .fa-chevron-down { transform: rotate(180deg); }
.dropdown li { max-width: none; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.dropdown a i { width: 20px; text-align: center; color: var(--vireo-600); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--vireo-100); color: var(--navy-900); }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 1.3rem;
}
.nav-toggle .fa-xmark { display: none; }
.nav-open .nav-toggle .fa-bars { display: none; }
.nav-open .nav-toggle .fa-xmark { display: inline-block; }

@media (max-width: 1024px) {
  .nav-link { padding: 10px; }
  .nav-cta { margin-left: 4px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 40px;
    background: var(--navy-900);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav-link:hover { background: none; }

  .dropdown {
    position: static;
    width: auto;
    padding: 0 0 12px;
    background: none;
    box-shadow: none;
    transform: none;
    display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .dropdown a { color: var(--on-dark); padding: 10px 8px; }
  .dropdown a i { color: var(--vireo-on-dark); }
  .dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--white); }
  .dropdown .dropdown-all { border-color: rgba(255, 255, 255, .1); }

  .nav-cta { margin: 0; width: 100%; }
}

/* 7. Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: var(--on-dark); font-size: .95rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 72px 56px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { margin-bottom: 16px; }
.site-footer h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li + li { margin-top: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact i { margin-top: 5px; color: var(--vireo-on-dark); width: 16px; }
.footer-link-btn { color: var(--on-dark); text-align: left; padding: 0; }
.footer-link-btn:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 24px;
  font-size: .875rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
}

/* 8. Heroes
   ========================================================================== */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, .88) 0%, rgba(11, 31, 51, .6) 55%, rgba(11, 31, 51, .3) 100%),
    linear-gradient(rgba(11, 31, 51, .35), rgba(11, 31, 51, .15));
}
.hero h1, .page-hero h1 { color: var(--white); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--vireo-on-dark); }

.hero { min-height: min(100vh, 960px); min-height: min(100svh, 960px); padding-block: calc(var(--header-h) + 48px) 80px; }
.hero-content { max-width: 760px; }
.hero-content p { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #E4EAF0; }
.hero-content .btn-group { margin-top: 36px; }

.page-hero { min-height: 440px; padding-block: calc(var(--header-h) + 56px) 64px; }
.page-hero p { margin-top: 16px; font-size: 1.15rem; color: #E4EAF0; max-width: 60ch; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 20px; font-size: .9rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; opacity: .6; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--white); }

@media (max-width: 768px) {
  .page-hero { min-height: 360px; }
}

/* 9. Components
   ========================================================================== */

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-block: 32px;
  list-style: none;
}
.trust-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.trust-list i { font-size: 1.4rem; color: var(--vireo-600); width: 28px; text-align: center; flex-shrink: 0; }
@media (max-width: 1024px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust-list { grid-template-columns: 1fr; } }

/* Media frame for photos */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-700);
}
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

/* Icon badge */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--vireo-100);
  color: var(--vireo-600);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.section-dark .icon-badge { background: var(--navy-700); color: var(--vireo-on-dark); }

/* Generic card */
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); }

/* Activity card */
.activity-grid { display: grid; gap: 24px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.activity-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--vireo-600); }
.activity-card p { color: var(--muted); flex-grow: 1; }
.activity-card .btn-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.activity-card.flagship, .activity-card:nth-last-child(-n+2) { grid-column: span 3; }
.activity-card.flagship { background: var(--navy-900); border-color: var(--navy-900); }
.activity-card.flagship h3 { color: var(--white); font-size: 1.45rem; }
.activity-card.flagship p { color: var(--on-dark); }
.activity-card.flagship .icon-badge { background: var(--navy-700); color: var(--gold-400); }
.activity-card.flagship .btn-link { color: var(--gold-400); }
.activity-card.flagship .tag { color: var(--gold-400); }
.tag { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--vireo-600); }

@media (max-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card, .activity-card.flagship, .activity-card:nth-last-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .activity-grid { grid-template-columns: 1fr; }
}

/* Feature tile */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature p { color: var(--muted); }
.section-dark .feature p { color: var(--on-dark); }
.feature-boxed { padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.step { position: relative; max-width: none; padding-top: 4px; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 700;
}
.step:not(:last-child)::before { /* connector line */
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: -16px;
  height: 2px;
  background: var(--line);
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }
.section-dark .step-num { background: var(--gold-500); color: var(--navy-900); }
.section-dark .step:not(:last-child)::before { background: rgba(255, 255, 255, .15); }
.section-dark .step p { color: var(--on-dark); }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .step:not(:last-child)::before { top: 52px; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
}

/* Markets row */
.markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.market {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: none;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.market i { font-size: 1.8rem; color: var(--vireo-600); }
.market strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.1rem; }
.market span { font-size: .875rem; color: var(--muted); }
@media (max-width: 1024px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band */
.cta-band { background: var(--navy-900); color: var(--on-dark); padding-block: 80px; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 122, 40, .35), transparent 70%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 10px; }

/* Split rows (activities hub) */
.split-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split-row + .split-row { margin-top: 96px; }
.split-row:nth-child(even) .media { order: 2; }
.split-row h2 { margin: 16px 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); }
.split-row p { color: var(--muted); }
.split-row .btn-link { margin-top: 20px; }
@media (max-width: 768px) {
  .split-row { grid-template-columns: 1fr; gap: 28px; }
  .split-row + .split-row { margin-top: 64px; }
  .split-row:nth-child(even) .media { order: 0; }
}

/* Check list */
.check-list { list-style: none; padding: 0; margin-top: 18px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--vireo-600);
}

/* Product chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  color: var(--navy-900);
}
.chip i { color: var(--vireo-600); }

/* Product cards (activity "what we trade") */
.product-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.product-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 1.1rem; }
.product-card h3 i { color: var(--vireo-600); }
.product-card p { color: var(--muted); font-size: .95rem; }

/* Icon list (who we serve) */
.icon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; }
.icon-list li { display: flex; align-items: center; gap: 14px; max-width: none; padding: 16px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 500; color: var(--navy-900); }
.icon-list i { width: 24px; text-align: center; color: var(--vireo-600); font-size: 1.15rem; }

/* Documents list */
.doc-list { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.doc-list li { display: flex; gap: 14px; max-width: none; padding: 18px 20px; border-left: 3px solid var(--vireo-600); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.doc-list i { margin-top: 4px; color: var(--vireo-600); }
.doc-list strong { display: block; color: var(--navy-900); }
.doc-list span { color: var(--muted); font-size: .95rem; }

/* Notice box */
.notice {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--vireo-100);
  border: 1px solid #CFE0BD;
  color: var(--ink);
}
.notice i { margin-top: 4px; color: var(--vireo-600); font-size: 1.2rem; }
.notice strong { color: var(--navy-900); }
.notice a { color: var(--navy-700); font-weight: 500; }
.notice a:hover { color: var(--navy-900); }

/* FAQ accordion */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .9rem;
  color: var(--vireo-600);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 24px; color: var(--muted); }

/* Enquiry box */
.enquiry-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--on-dark);
}
.enquiry-box h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.enquiry-box p { margin-top: 12px; }
.enquiry-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (max-width: 768px) {
  .enquiry-box { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}

/* Copy-able email */
.email-copy { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.email-copy code {
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .08);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--white);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-btn);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
}
.copy-btn:hover { background: rgba(255, 255, 255, .1); }
.email-copy.light code { background: var(--paper); color: var(--navy-900); border: 1px solid var(--line); }
.email-copy.light .copy-btn { border-color: var(--line); color: var(--navy-900); }
.email-copy.light .copy-btn:hover { background: var(--paper); }

/* Other activities strip */
.other-activities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.other-activities li { max-width: none; }
.other-activities a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.other-activities a:hover { border-color: var(--vireo-600); transform: translateY(-2px); }
.other-activities i { color: var(--vireo-600); width: 22px; text-align: center; }
@media (max-width: 1024px) { .other-activities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .other-activities { grid-template-columns: 1fr; } }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-card { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact-card ul { list-style: none; padding: 0; }
.contact-card li { display: flex; gap: 14px; }
.contact-card li + li { margin-top: 18px; }
.contact-card li > i { margin-top: 4px; width: 18px; color: var(--vireo-600); }
.map-frame { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 340px; border: 0; }
.activity-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.activity-buttons .btn { justify-content: flex-start; text-align: left; }
@media (max-width: 1024px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .activity-buttons { grid-template-columns: 1fr; } }

/* 404 */
.error-page { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 48px) 80px; background: var(--paper); }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 20vw, 11rem); line-height: 1; color: var(--navy-900); }
.error-code span { color: var(--vireo-600); }

/* 10. Legal pages
   ========================================================================== */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc h2 { margin-bottom: 14px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { list-style: none; padding: 0; border-left: 2px solid var(--line); }
.legal-toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--navy-900); }
.legal-toc a.active { color: var(--vireo-600); border-left-color: var(--vireo-600); font-weight: 600; }
.legal-meta { margin-bottom: 32px; color: var(--muted); font-size: .95rem; }
.legal-id { margin-bottom: 40px; }
.legal-content section + section { margin-top: 48px; }
.legal-content h2 { font-size: 1.5rem; margin: 0 0 16px; }
.legal-content section > * + * { margin-top: 1em; }
.legal-content ul { padding-left: 1.3em; }
.legal-content li + li { margin-top: .4em; }
.legal-content code { font-size: .9em; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 16px; }
.legal-content th, .legal-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { background: var(--paper); color: var(--navy-900); }
.table-wrap { overflow-x: auto; }
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; padding: 20px; background: var(--paper); border-radius: var(--radius); }
}

/* 11. Cookie banner, back-to-top
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 980px;
  margin-inline: auto;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  font-size: .93rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-row p { flex: 1 1 380px; }
.cookie-banner a { color: var(--white); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-settings { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cookie-settings[hidden] { display: none; }
.cookie-option { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cookie-option + .cookie-option { margin-top: 12px; }
.cookie-option strong { color: var(--white); }
.cookie-option small { display: block; color: var(--on-dark); }
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, .25);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform .2s;
}
.switch[aria-checked="true"] { background: var(--vireo-600); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold-400); }

/* 12. Utilities, motion
   ========================================================================== */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.contact-card h2 { font-size: 1.25rem; margin-bottom: 20px; }
.reply-note i { color: var(--vireo-600); margin-right: 6px; }
.error-subtitle { font-size: 1.25rem; }
