/* ============================================================================
   Steady Thrivendom - main stylesheet
   Light theme, deep pine green accent (#0E6E4E), warm paper surfaces.
   Profile: geo-adapted (Canadian-localised fintech direction).
   ==========================================================================*/

:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --surface-2: #EDEAE0;
  --surface-3: #E7E3D6;
  --border: #E2DCCF;
  --border-strong: #CFC7B4;
  --text: #1D2A25;
  --text-muted: #55655E;
  --accent: #0E6E4E;
  --accent-hover: #0B5A3F;
  --accent-deep: #0A4331;
  --accent-tint: #E1EEE8;
  --accent-tint-2: #D3E6DD;
  --maple: #C8102E;
  --ink-on-accent: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(29, 42, 37, .07), 0 2px 6px rgba(29, 42, 37, .05);
  --shadow-md: 0 1px 2px rgba(29, 42, 37, .06), 0 10px 28px rgba(29, 42, 37, .10);
  --shadow-lg: 0 2px 4px rgba(29, 42, 37, .07), 0 22px 56px rgba(29, 42, 37, .16);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .98rem; font-weight: 600; line-height: 1;
  padding: 0 26px; height: 50px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--accent); color: var(--ink-on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink-on-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 1.04rem; }

/* --- header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { flex: none; }
.brand-word { display: block; }
.brand-word text { font-family: var(--font-sans); }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--text);
  background: none; border: 0; padding: 10px 12px; cursor: pointer; border-radius: var(--radius-sm);
  transition: background-color .15s ease, color .15s ease;
}
.nav-trigger:hover, .nav-trigger:focus-visible { background: var(--accent-tint); color: var(--accent-deep); }
.nav-trigger .icon { transition: transform .18s ease; }
.nav-item.is-open .nav-trigger .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 130;
  min-width: 264px; max-width: 340px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg); border-top-left-radius: 3px;
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 22px; }
.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-size: .93rem; font-weight: 500;
}
.dropdown-link:hover, .dropdown-link:focus-visible { background: var(--accent-tint); color: var(--accent-deep); }
.dropdown-link.is-current { color: var(--accent); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
}
.nav-burger:hover { border-color: var(--accent); color: var(--accent); }

.mobile-nav { border-top: 1px solid var(--border); background: var(--surface); padding: 10px 0 22px; }
.mobile-nav-group + .mobile-nav-group { margin-top: 4px; }
.mobile-nav-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  font: inherit; font-weight: 600; font-size: .98rem; color: var(--text);
  background: none; border: 0; padding: 13px 4px; cursor: pointer;
}
.mobile-nav-trigger .icon { transition: transform .18s ease; }
.mobile-nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav-panel ul { list-style: none; margin: 0; padding: 0 0 6px; }
.mobile-nav-panel a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--text); font-size: .94rem;
}
.mobile-nav-panel a:hover, .mobile-nav-panel a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-deep); }
.mobile-nav-cta { margin-top: 14px; width: 100%; }

/* --- ticker row (beacon addon injects after header) ------------------------ */
.tv-ticker-wrapper {
  border-bottom: 1px solid var(--border);
  padding-top: 0px !important;
  height: 58px !important;
}

/* --- hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(14, 110, 78, .10), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(200, 16, 46, .05), transparent 55%),
    linear-gradient(180deg, #FBFAF6 0%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0v28' fill='none' stroke='%231d2a25' stroke-opacity='.05'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding-block: clamp(44px, 6vw, 84px);
  grid-template-areas: "copy form" "aux form";
}
.hero-copy { grid-area: copy; }
.hero-form-card { grid-area: form; }
.hero-aux { grid-area: aux; margin-top: 6px; }
.hero-copy > * { position: relative; z-index: 2; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: 1.1rem; color: var(--text-muted); max-width: 54ch; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center;
  margin: 20px 0 6px; font-size: .9rem; color: var(--text-muted);
}
.hero-flags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-flags .flag-label { font-weight: 600; color: var(--text); }
.flag-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: .84rem; color: var(--text-muted); box-shadow: var(--shadow-sm);
}
.flag-chip svg { border-radius: 3px; }
.hero-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-icon-link {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); color: var(--text); font-size: .9rem; font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.hero-icon-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent-deep); }
.hero-icon-link .icon { color: var(--accent); }

.hero-visual { position: relative; }
.hero-form-card {
  position: relative; z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 26px 20px;
}
.hero-form-card .form-heading { font-size: 1.06rem; margin-bottom: 4px; }
.hero-note {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: .86rem; color: var(--text-muted); margin: 12px 0 0;
}
.hero-note .icon { color: var(--accent); flex: none; }

/* hero decorative motifs */
.hero-motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; opacity: .9; }
.hero-nodefield { position: absolute; top: 8%; right: 4%; width: min(420px, 46%); height: auto; }

/* --- sections -------------------------------------------------------------- */
.section { padding-block: clamp(48px, 6vw, 84px); position: relative; }
.section-tint { background:
  radial-gradient(900px 400px at 110% 0%, rgba(14, 110, 78, .07), transparent 60%),
  var(--surface-2);
}
.section-tint-deep { background:
  radial-gradient(800px 400px at -10% 10%, rgba(14, 110, 78, .12), transparent 55%),
  linear-gradient(180deg, #10241D 0%, #0B1F19 100%);
  color: #E8F0EC;
}
.section-tint-deep h2, .section-tint-deep h3 { color: #fff; }
.section-head { max-width: 72ch; margin-bottom: clamp(26px, 3vw, 40px); }
.section-head p { color: var(--text-muted); font-size: 1.04rem; margin-bottom: 0; }
.section-tint-deep .section-head p { color: #B9CDC4; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-tint-deep .eyebrow { color: #7FC8AC; }

/* --- cards & grids --------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card .icon-badge { margin-bottom: 14px; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent); flex: none;
}
.icon-badge.badge-dark { background: rgba(127, 200, 172, .16); color: #7FC8AC; }
.icon-badge.badge-maple { background: rgba(200, 16, 46, .09); color: var(--maple); }

.card-link { display: block; color: var(--text); }
.card-link:hover { color: var(--text); }
.card-link .card--cta { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent); margin-top: 14px; font-size: .93rem; }
.card-link:hover .card--cta { color: var(--accent-hover); }

/* numbered steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { position: relative; padding-top: 6px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem;
  margin-bottom: 14px; box-shadow: 0 0 0 6px var(--accent-tint);
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--text-muted); margin-bottom: 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: 0 0 1.4em;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
thead th {
  background: var(--surface-2); text-align: left; font-weight: 700; color: var(--text);
  padding: 13px 16px; border-bottom: 2px solid var(--border-strong); white-space: nowrap;
}
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(237, 234, 224, .4); }
.table-note { font-size: .88rem; color: var(--text-muted); margin-top: -0.6em; }

.icon-check { color: #157A48; }
.icon-cross { color: var(--maple); }

/* --- exchange logos -------------------------------------------------------- */
.exchange-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 168px; height: 58px; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.exchange-chip.chip-light { background: #ffffff; }
.exchange-chip.chip-dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; }

/* --- form block ------------------------------------------------------------ */
.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px;
}
.form-block__intro { font-size: .95rem; color: var(--text-muted); margin: 0 0 14px; }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }
.form-legal a { text-decoration: underline; }

/* --- reviews (illustrative scenarios) -------------------------------------- */
.reviews-note {
  display: flex; align-items: flex-start; gap: 10px; max-width: 78ch;
  font-size: .86rem; color: var(--text-muted); margin: 0 0 22px;
  padding: 12px 16px; background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}
.reviews-note .icon { color: var(--accent); flex: none; margin-top: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-tint-2);
  flex: none;
}
.review-name { font-weight: 700; margin: 0; }
.review-role { font-size: .84rem; color: var(--text-muted); margin: 0; }
.review-body { font-size: .95rem; color: var(--text); margin: 0; flex: 1; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; margin: 0; padding-top: 10px; border-top: 1px solid var(--border); }
.review-stats dt { color: var(--text-muted); display: inline; }
.review-stats dd { display: inline; margin: 0 6px 0 0; font-weight: 700; font-family: var(--font-mono); font-size: .86rem; }

/* --- company block --------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.company-facts { margin: 18px 0 0; padding: 0; list-style: none; }
.company-facts li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); margin: 0; }
.company-facts li:last-child { border-bottom: 0; }
.company-facts .icon { color: var(--accent); flex: none; margin-top: 3px; }
.company-facts strong { display: block; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.company-links { display: grid; gap: 14px; }

/* --- FAQ ------------------------------------------------------------------- */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; font-weight: 600; cursor: default; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); flex: none; transition: transform .18s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--text-muted); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* --- map ------------------------------------------------------------------- */
.map-embed {
  position: relative; width: 100%; max-width: 860px; margin: 0 0 1.4em;
  aspect-ratio: 16 / 9; min-height: 320px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-2);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- breadcrumbs ----------------------------------------------------------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb-list {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  list-style: none; margin: 0; padding: 12px 0; font-size: .84rem; color: var(--text-muted);
}
.breadcrumb-list li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list [aria-current] { color: var(--text); font-weight: 600; }

/* --- inner page hero ------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(14, 110, 78, .12), transparent 60%),
    linear-gradient(180deg, #FBFAF6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px);
  align-items: center; padding-block: clamp(38px, 5vw, 68px);
}
.page-hero-copy { max-width: 58ch; position: relative; z-index: 2; }
.page-hero-copy .lead { font-size: 1.06rem; color: var(--text-muted); }

/* --- prose (content pages) ------------------------------------------------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; font-size: 1.05rem; }
.prose p, .prose li { color: var(--text); }
.prose .muted { color: var(--text-muted); }
.callout {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--accent-tint); border: 1px solid var(--accent-tint-2);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 0 0 1.4em;
}
.callout .icon { color: var(--accent); flex: none; margin-top: 3px; }
.callout p:last-child { margin-bottom: 0; font-size: .94rem; }
.callout-warning { background: rgba(200, 16, 46, .06); border-color: rgba(200, 16, 46, .18); }
.callout-warning .icon { color: var(--maple); }

.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 56px); align-items: start; }

/* --- decorative canvas ----------------------------------------------------- */
.chart-canvas-wrap { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); padding: 10px; }
.chart-canvas-wrap canvas { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(127, 200, 172, .18), transparent 60%),
    linear-gradient(135deg, #10241D 0%, #0E3A2B 100%);
  color: #E8F0EC; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: clamp(30px, 4vw, 52px); text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9CDC4; max-width: 62ch; margin-inline: auto; }
.cta-band .btn-primary { background: #7FC8AC; color: #0A2A1F; }
.cta-band .btn-primary:hover { background: #92D4BB; color: #0A2A1F; }

/* --- special offer --------------------------------------------------------- */
.offer-urgency { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--text-muted); padding: 10px 0; }
.offer-urgency ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.offer-urgency li { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.offer-urgency .icon { color: var(--accent); }
.offer-external {
  margin-top: 34px; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--surface-2); border: 1px solid var(--border); font-size: .84rem; color: var(--text-muted);
}
.offer-external a { color: var(--text-muted); text-decoration: underline; }

/* --- footer ---------------------------------------------------------------- */
.site-footer { background: #10241D; color: #C6D6CE; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr repeat(4, .7fr);
  gap: clamp(24px, 3vw, 44px); padding-block: clamp(40px, 5vw, 64px);
}
.footer-brand .brand-footer { color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.footer-word { font-size: 1.05rem; letter-spacing: -.01em; }
.footer-word strong { font-weight: 800; }
.footer-note { font-size: .86rem; color: #93A9A0; margin: 14px 0 0; max-width: 34ch; }
.footer-support { font-size: .86rem; color: #93A9A0; margin-top: 14px; }
.footer-support .icon { color: #7FC8AC; vertical-align: -3px; margin-right: 4px; }
.footer-support a { color: #C6D6CE; text-decoration: underline; }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #7FC8AC; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; color: #C6D6CE; font-size: .88rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 26px; }
.footer-disclaimer p { font-size: .8rem; color: #8CA399; margin: 0; max-width: 110ch; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px;
}
.footer-bottom p { margin: 0; font-size: .84rem; color: #93A9A0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.footer-legal a { color: #C6D6CE; font-size: .84rem; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }
.footer-offer-link { color: #7F9A8E; }

/* --- 404 ------------------------------------------------------------------- */
.error-page { text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.error-code { font-family: var(--font-mono); font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 700; color: var(--accent); letter-spacing: -.04em; margin-bottom: 6px; }

/* --- scroll reveal --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, html.no-js .reveal { opacity: 1; transform: none; }

/* --- responsive ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .site-nav { display: none; }
  .nav-burger { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero-grid, .page-hero-grid, .company-grid, .split-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-areas: "copy" "form" "aux"; }
  .hero-motif { display: none; }
  .hero::after { display: none; }
}
@media (max-width: 640px) {
  .exchange-chip { width: 148px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { border-radius: var(--radius-lg); }
}

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

/* Homepage composition and desktop navigation */
.market-hero { background: linear-gradient(90deg, #102d29f5, #102d29bb 50%, #102d2966), url("../images/market-hero.webp") center / cover no-repeat; color: #fff; isolation: isolate; padding-block: clamp(3rem, 7vw, 7rem); }
.market-hero > .hero-motif { visibility: hidden; }
.market-hero .hero-grid { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: clamp(1.55rem, 4.4vw, 4.3rem); }
.market-hero .hero-copy { min-width: 0; }
.market-hero h1 { color: #fff; font-size: clamp(2.15rem, 4.1vw, 4.35rem); line-height: 1.07; margin: 0 0 1.15rem; text-wrap: balance; }
.market-hero .market-hero__accent { color: #abedcc; }
.market-hero .hero-copy :is(p, .flag-label, .hero__flags-label), .market-hero .hero-aux :is(p, .flag-label) { color: #f0edf4; }
.market-hero :is(.badge-link, .hero-trust a, .hero-pill, .hero-icon-link, .flag-chip, .hero-flags .flag) { background-color: #1c493d; color: #fff; border-color: #ffffff45; }
.market-hero :is(.badge-link, .hero-trust a, .hero-pill, .hero-icon-link) :is(span, small) { color: #fff; }
.market-hero .hero-form-card { background: #fff; color: #18212f; border-radius: 14px; padding: clamp(1rem, 2.6vw, 2rem); min-width: 0; width: 100%; box-sizing: border-box; box-shadow: 0 20px 58px #0005; outline: 1px solid #abedcc; outline-offset: 6px; }
.market-hero .hero-form-card :is(h2, .form-heading, .form-block-heading, .form-block__title) { color: #18212f; }
.market-hero .hero-form-card :is(.form-sub, .form-block-sub, .hero-note, .hero-form-note) { color: #374151; }
.market-section { padding-block: clamp(3rem, 6vw, 6rem); }
.market-section--1, .market-section--3, .market-section--7 { background-color: #edf6f0; }
.market-scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.65rem); }
.market-scenarios :is(.review-card, .review) { min-width: 0; height: 100%; border-top: 3px solid #abedcc; }
.market-scenarios :is(.review-avatar, .review-card__avatar) { display: block; flex: 0 0 52px; width: 52px; height: 52px; padding: 0; border-radius: 50%; overflow: hidden; }
.market-scenarios .market-scenarios__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.iti .iti__selected-country { background-color: #fff; color: #18212f !important; border-radius: 5px; }
.iti .iti__selected-dial-code { color: #18212f !important; }
.iti .iti__dropdown-content, .iti .iti__country-list { background: #fff; color: #18212f; }
.iti .iti__country-name { color: #0c1118 !important; }
.iti .iti__country.iti__highlight { background-color: #e5edf7; }
@media (min-width: 1025px) {
  .site-header :is(.main-nav, .site-nav) { margin-inline: auto; }
  .site-header :is(.main-nav__list, .nav-list, .nav-groups) { column-gap: clamp(.25rem, 1vw, .85rem); }
  .site-header :is(.main-nav__trigger, .nav-trigger, .nav-group__link) { padding: .67rem .8rem; border-radius: 8px; white-space: nowrap; }
  .site-header :is(.main-nav__trigger, .nav-trigger, .nav-group__link):is(:hover, :focus-visible, [aria-expanded="true"]) { background: #edf6f0; color: #102d29; }
  .site-header .market-header-cta { min-height: 44px; padding-inline: 1.25rem; border-radius: 14px; background: #1c493d; color: #fff; border: 1px solid #1c493d; box-shadow: 0 5px 0 #abedcc; white-space: nowrap; }
  .site-header .market-header-cta:is(:hover, :focus-visible) { background: #102d29; color: #fff; box-shadow: 0 2px 0 #abedcc; }
}
@media (max-width: 820px) {
  .market-hero { padding-block: 2.75rem; background-image: linear-gradient(#102d29a8, #102d29ef), url("../images/market-hero.webp"); }
  .market-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .market-hero .hero-copy { display: contents; }
  .market-hero .hero-copy > h1 { order: -3; grid-column: 1; grid-row: auto; margin: 0; }
  .market-hero .hero-form-card { order: -2; grid-column: 1; grid-row: auto; }
  .market-hero .hero-aux { grid-column: 1; grid-row: auto; }
  .market-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) { .market-scenarios { grid-template-columns: minmax(0, 1fr); } }

section.market-hero h1 { font-size: clamp(2rem, 3.7vw, 4rem); }
@media (max-width: 820px) {
  section.market-hero { padding-block: 2.25rem; min-height: 0; }
  section.market-hero .hero-grid {
    grid-template-areas: none;
    grid-template-rows: none;
    row-gap: 1.125rem;
    padding-block: 0;
  }
  section.market-hero .hero-grid h1 {
    grid-area: 1 / 1 !important;
    order: -3 !important;
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 0;
  }
  section.market-hero .hero-grid .hero-form-card {
    grid-area: 2 / 1 !important;
    order: -2 !important;
  }
}

.market-section.section-tint-deep .card h3 { color: #16372e; }
