/* ==========================================================================
   Lucid Tallymerance — ink-navy dark theme, deep jade accent
   DESIGN_PROFILE: animation-led (motion direction lives in main.js / hero.js)
   ========================================================================== */

:root {
  --bg: #0a1220;
  --surface: #101c30;
  --surface-2: #16253e;
  --border: #243653;
  --border-soft: rgba(36, 54, 83, 0.55);
  --text: #e9eff8;
  --muted: #9db0ca;
  --accent: #0b7a57;
  --accent-hover: #0d8a64;
  --accent-bright: #3ce6b4;
  --accent-tint: rgba(61, 230, 180, 0.10);
  --ok: #3ce6b4;
  --no: #f1948a;
  --gold: #e8c476;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(4, 10, 20, 0.5), 0 2px 8px rgba(4, 10, 20, 0.35);
  --shadow-md: 0 2px 4px rgba(4, 10, 20, 0.45), 0 10px 28px rgba(4, 10, 20, 0.45);
  --shadow-lg: 0 6px 12px rgba(4, 10, 20, 0.5), 0 24px 56px rgba(4, 10, 20, 0.55);
  --font-body: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-num: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 500px at 85% -5%, rgba(11, 122, 87, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 20%, rgba(28, 60, 110, 0.25), transparent 55%);
  background-repeat: no-repeat;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 0.6em; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; line-height: 1.35; }
p { margin: 0 0 1em; }
a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(61, 230, 180, 0.25); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* --- section rhythm ------------------------------------------------------- */
.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section--tint {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(61, 230, 180, 0.06), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--border-soft);
}
.section--mesh {
  background-image:
    radial-gradient(rgba(61, 230, 180, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  border-block: 1px solid var(--border-soft);
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.lead { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 14px;
}

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border-radius: var(--radius-md); padding: 13px 26px; line-height: 1.2;
  border: 1px solid transparent; transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--accent-bright); border-color: rgba(61, 230, 180, 0.45); }
.btn-outline:hover { background: var(--accent-tint); border-color: var(--accent-bright); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* --- header / nav ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { background: rgba(10, 18, 32, 0.97); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: var(--font-display); font-size: 1.16rem; font-weight: 650; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.brand-word-accent { color: var(--accent-bright); }

.nav-groups { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: var(--text); font: 550 0.95rem var(--font-body);
  padding: 10px 13px; border-radius: var(--radius-sm); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--accent-tint); color: var(--accent-bright); }
.nav-trigger .icon { transition: transform 0.18s ease; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 264px; max-width: 340px; margin: 0; padding: 8px; list-style: none;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(5px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-group.is-open .nav-dropdown, .nav-trigger[aria-expanded="true"] + .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.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.align-right .nav-dropdown { left: auto; right: 0; }
.nav-group.align-right .nav-dropdown::before { left: auto; right: 22px; }
.nav-dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 0.93rem;
}
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent-bright); text-decoration: none; }

.header-cta { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle .nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline-flex; }

.mobile-nav { border-top: 1px solid var(--border-soft); padding: 14px 0 22px; }
.mobile-nav__group { border-bottom: 1px solid var(--border-soft); }
.mobile-nav__trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; color: var(--text); font: 600 1rem var(--font-body);
  padding: 14px 2px; cursor: pointer;
}
.mobile-nav__trigger .icon { transition: transform 0.18s ease; }
.mobile-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__list { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.mobile-nav__list.is-open { display: block; }
.mobile-nav__list a { display: block; padding: 9px 4px; color: var(--muted); font-size: 0.97rem; }
.mobile-nav__list a:hover { color: var(--accent-bright); }
.mobile-nav__cta { width: 100%; margin-top: 16px; }

/* ticker injected by BeaconChartTicker after </header> */
main { display: block; }
main > :first-child { margin-top: 0; }

/* --- breadcrumbs ------------------------------------------------------------ */
.breadcrumbs { border-bottom: 1px solid var(--border-soft); background: rgba(16, 28, 48, 0.45); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; font-size: 0.86rem; }
.breadcrumbs li { color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-bright); }
.breadcrumbs [aria-current] { color: var(--text); }

/* --- hero (home) -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6.5vw, 92px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(1000px 480px at 78% 8%, rgba(11, 122, 87, 0.22), transparent 62%),
    radial-gradient(700px 400px at 6% 90%, rgba(38, 74, 130, 0.18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(61, 230, 180, 0.045) 1px, transparent 1.2px),
    linear-gradient(90deg, rgba(61, 230, 180, 0.045) 1px, transparent 1.2px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 520px at 60% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 520px at 60% 40%, #000 30%, transparent 78%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.hero-visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-visual svg { max-width: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.trust-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.trust-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 16px; color: var(--text); font-size: 0.94rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: transform 0.16s ease, border-color 0.16s ease;
}
.trust-link:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(61, 230, 180, 0.5); }
.trust-link .icon { color: var(--accent-bright); }

.office-flag { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 0.94rem; }
.office-flag strong { color: var(--text); font-weight: 600; }
.office-flag__note { color: var(--muted); font-size: 0.94rem; margin: 10px 0 0; max-width: 60em; }
.office-flag__note strong { color: var(--text); font-weight: 600; }
.flag-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 0.87rem; color: var(--text); }
.flag-chip svg { border-radius: 3px; }
.flag-uk, .flag-jp, .flag-ca { box-shadow: 0 0 0 1px var(--border); }

/* --- page hero (form pages) -------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5.5vw, 76px) 0;
  background:
    radial-gradient(900px 420px at 82% 12%, rgba(11, 122, 87, 0.20), transparent 60%),
    radial-gradient(640px 380px at 4% 96%, rgba(38, 74, 130, 0.16), transparent 58%);
}
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.page-hero .lead { max-width: 36em; }
.hero-motif { position: absolute; right: -40px; bottom: -30px; width: 340px; opacity: 0.5; z-index: 0; pointer-events: none; }

/* --- registration form block -------------------------------------------------- */
.form-block {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-md);
}
.form-block__intro { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.form-block .form-legal, .form-legal { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-legal a { color: var(--accent-bright); }
.form-heading { font-size: 1.12rem; margin-bottom: 12px; }

/* --- flag SVGs ------------------------------------------------------------------ */

/* --- steps ------------------------------------------------------------------------ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 700 0.92rem var(--font-num);
  margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 0.45em; }
.step-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* --- generic cards + icon badges ---------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card-grid--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card :last-child { margin-bottom: 0; }
.icon-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint);
  border: 1px solid rgba(61, 230, 180, 0.25); color: var(--accent-bright);
}
.icon-badge--sm { width: 38px; height: 38px; border-radius: 11px; }

/* --- tables -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
caption { caption-side: top; text-align: left; padding: 14px 18px 4px; color: var(--muted); font-size: 0.9rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
thead th { background: var(--surface-2); color: var(--text); font-weight: 650; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(22, 37, 62, 0.35); }
td .tick { color: var(--ok); font-weight: 700; }
td .cross { color: var(--no); font-weight: 700; }
.table-note { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

/* comparison table */
.compare-table col.own { }
.compare-table th:first-child { width: 34%; }
.compare-table .col-own { background: rgba(11, 122, 87, 0.14); }
.compare-table thead .col-own { color: var(--accent-bright); }

/* --- reviews -------------------------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-head img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(61, 230, 180, 0.4); background: var(--surface-2);
}
.review-name { font-weight: 650; }
.review-role { color: var(--muted); font-size: 0.86rem; }
.review-figures { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-num); font-size: 0.88rem; }
.review-figures span { color: var(--muted); }
.review-figures strong { color: var(--text); font-weight: 650; }
.review-figures .up { color: var(--ok); }
.review-card blockquote { margin: 0; font-size: 0.96rem; color: var(--text); }
.review-note { color: var(--muted); font-size: 0.84rem; }

/* --- 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: 164px; height: 58px; padding: 10px;
  border: 1px solid var(--border); border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 100%; }
.exchange-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 14px; }

/* --- company block ------------------------------------------------------------------------ */
.company-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: clamp(26px, 4vw, 52px); }
.company-facts { display: grid; gap: 10px; margin: 18px 0 0; font-size: 0.96rem; }
.company-facts div { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.company-facts .icon { color: var(--accent-bright); flex-shrink: 0; margin-top: 2px; }
.company-facts strong { color: var(--text); font-weight: 600; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-content: start; }
.company-link {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; color: var(--text); font-weight: 600; font-size: 0.94rem;
  box-shadow: var(--shadow-sm); transition: transform 0.16s ease, border-color 0.16s ease;
}
.company-link:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(61, 230, 180, 0.5); }

/* --- FAQ ------------------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item.is-open { border-color: rgba(61, 230, 180, 0.45); }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; color: var(--text); text-align: left; cursor: pointer;
  font: 600 1rem var(--font-body); padding: 16px 20px;
}
.faq-q .icon { flex-shrink: 0; color: var(--accent-bright); transition: transform 0.18s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-a.is-open { display: block; }
.faq-a :last-child { margin-bottom: 0; }
.faq-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; }

/* --- calculator section ------------------------------------------------------------------------ */
.calc-section { background: var(--surface); border-block: 1px solid var(--border-soft); }
.calc-canvas-wrap { margin-top: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(10, 18, 32, 0.6); overflow: hidden; }
.calc-canvas-wrap canvas { display: block; width: 100%; height: 190px; }

/* --- decorative motifs -------------------------------------------------------------------------- */
.motif-strip { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; opacity: 0.85; }
.motif-strip svg { flex-shrink: 0; }
.ornament-band {
  height: 120px; margin: 0; overflow: hidden; position: relative;
  border-block: 1px solid var(--border-soft); background: var(--surface);
}
.ornament-band svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1100px; max-width: none; opacity: 0.5; }

/* --- prose (article/legal pages) ------------------------------------------------------------------ */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose .lead { color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.doc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.doc-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.doc-card .icon-badge { width: 42px; height: 42px; }
.doc-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

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

/* --- vacancies ------------------------------------------------------------------------------------ */
.vacancy {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.vacancy h3 { margin-bottom: 0; }
.vacancy dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.93rem; }
.vacancy dt { color: var(--muted); }
.vacancy dd { margin: 0; }
.vacancy p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.vacancy .btn { align-self: flex-start; margin-top: 4px; }

/* --- articles -------------------------------------------------------------------------------------- */
.article-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.article-card + .article-card { margin-top: 22px; }
.article-card h2 { font-size: 1.4rem; }
.article-card p { color: var(--muted); }
.article-card h3 { margin-top: 1.4em; font-size: 1.08rem; }
.reading-time { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.86rem; margin-bottom: 6px; }

/* --- 404 ---------------------------------------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(60px, 9vw, 120px) 0; }
.error-code { font: 700 clamp(4.5rem, 12vw, 7rem) var(--font-num); color: var(--accent); line-height: 1; margin-bottom: 8px; }

/* --- special offer -------------------------------------------------------------------------------------- */
.urgency-strip { background: linear-gradient(90deg, #0b4d3a, #0b7a57 55%, #0b4d3a); color: #eafff6; font-size: 0.88rem; }
.urgency-strip__inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 9px 16px; }
.urgency-strip__inner span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.urgency-strip .icon { color: #bff7e3; }
.sp-hero { background: radial-gradient(900px 420px at 80% 0%, rgba(11, 122, 87, 0.3), transparent 62%); }
.countdown { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.countdown__seg {
  min-width: 74px; padding: 10px 8px 8px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: 700 1.9rem var(--font-num); color: var(--accent-bright); line-height: 1.1;
}
.countdown__label { display: block; font: 500 0.62rem var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.sp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sp-cta-band {
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
  text-align: center; border-radius: var(--radius-lg); border: 1px solid rgba(61, 230, 180, 0.35);
  background: linear-gradient(135deg, rgba(11, 122, 87, 0.35), rgba(10, 18, 32, 0.6)), var(--surface);
  box-shadow: var(--shadow-md);
}
.sp-cta-band h2 { margin-bottom: 0.4em; }
.sp-cta-band p { color: var(--muted); margin-bottom: 1.4em; }
.sp-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.sp-modal.is-open { display: flex; }
.sp-modal__overlay { position: absolute; inset: 0; background: rgba(4, 9, 18, 0.78); }
.sp-modal__card {
  position: relative; z-index: 1; width: min(520px, 100%);
  background: var(--surface); border: 1px solid rgba(61, 230, 180, 0.4); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 28px 26px; text-align: center;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.sp-modal__close {
  position: absolute; top: 10px; right: 12px; background: none; border: 0;
  color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 6px;
}
.sp-modal__close:hover { color: var(--text); }
.sp-modal__card h2 { margin: 12px 0 0.5em; }
.sp-modal__card p { color: var(--muted); }
.sp-modal__art { color: var(--accent-bright); }
body.sp-modal-open { overflow: hidden; }

/* --- footer ------------------------------------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border-soft); background: rgba(9, 15, 27, 0.8); margin-top: clamp(48px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(150px, 1fr)); gap: 30px 24px; padding: clamp(36px, 5vw, 56px) 0 30px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; }
.footer-brand .footer-mail, .footer-brand .footer-pin { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.footer-brand .icon { color: var(--accent-bright); }
.footer-col h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; color: var(--muted); font-size: 0.92rem; padding: 3.5px 0; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-disclaimer { border-top: 1px solid var(--border-soft); padding: 22px 0 6px; }
.footer-disclaimer h2 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-disclaimer p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.footer-bottom { padding: 16px 0 26px; }
.footer-bottom p { color: var(--muted); font-size: 0.84rem; margin: 0; }

/* --- scroll reveal ------------------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-revealed { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1); }

/* --- responsive ----------------------------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero-grid, .page-hero-grid, .company-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-visual { display: none; }
}
@media (max-width: 920px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; order: 3; }
}
@media (min-width: 921px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 640px) {
  .exchange-chip { width: 140px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .countdown__seg { min-width: 62px; font-size: 1.5rem; }
  .header-cta span { display: none; }
  .header-cta { padding: 9px 12px; }
}

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

/* history step text + centered trust links (about / 404) */
.step-card .step-text { color: var(--text); }
.trust-links--center { justify-content: center; margin-top: 18px; }

/* a11y: form small-print links distinguishable from surrounding text */
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* a11y: the phone widget's dial-code inherits body colour; keep it dark on the
   widget's light surface (widget internals come from the form bundle) */
.form-block .iti__selected-dial-code { color: #33415c; }
.form-block .iti__country-list .iti__dial-code { color: #5b6b85; }

/* Ticker and phone field */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

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

/* Homepage hero and review grid */
.hero--home {
  background: linear-gradient(90deg, rgba(12, 19, 27, .95) 0%, rgba(12, 19, 27, .83) 35%, rgba(12, 19, 27, .26) 78%), url("../images/hero-market.webp") 72% center / cover no-repeat;
}

@media (max-width: 767px) {
  .hero--home { background-image: linear-gradient(rgba(12, 19, 27, .84), rgba(12, 19, 27, .84)), url("../images/hero-market.webp"); }
}

@media (min-width: 992px) {
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Homepage layout and form styling */
main:has(> .hero--home) {
  --home-title-width: 24ch;
  --home-hero-title: #f1f7ff;
  --home-hero-text: #d0def0;
  --home-form-title: #eff8ff;
  --home-form-muted: #c0d1e5;
  --home-form-link: #a9eddc;
  --home-field-border: #a8bccb;
  --home-field-radius: 14px;
  --home-field-bg: #f0f7fb;
  --home-form-ring: #57e4bb;
  --home-button: #7ceac2;
  --home-button-hover: #a4f4da;
  --home-button-text: #0a2822;
  --home-button-shadow: 0 10px 27px #36e1a946;
  --home-section-line: #335976;
  --home-exchange-bg: #0e2135;
  --home-calc-action: #7ceac2;
  --home-calc-track: #354d65;
  --home-calc-result: #152f46;
  --home-calc-radius: 20px;
  --home-review-bg: #0b1a30;
  --home-review-rule: #69ddbc;
  --home-review-radius: 22px;
}

@layer home-reduced-motion {
  @media (prefers-reduced-motion: reduce) {
    .hero--home form.wpcf7-101 input[type="submit"] {
      transition: none !important;
    }
  }
}

.hero--home :is(.hero__inner, .hero-in, .hero-grid) {
  gap: clamp(14px, 2.5vw, 30px) clamp(28px, 5vw, 82px);
}

.hero--home h1 {
  max-inline-size: var(--home-title-width, 19ch);
  margin-block: 0;
  color: var(--home-hero-title);
  font-size: clamp(2.25rem, 4.25vw, 4.55rem);
  line-height: 1.04;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.hero--home .eyebrow {
  margin-block-end: 14px;
}

.hero--home .home-hero-details {
  min-width: 0;
  color: var(--home-hero-text);
}

.hero--home .home-hero-details > :is(.hero__lead, .hero-sub),
.hero--home .home-hero-summary {
  margin-block: 0 15px;
  color: inherit;
  font-size: clamp(.98rem, 1.35vw, 1.1rem);
  line-height: 1.64;
}

.hero--home .home-hero-details > :last-child {
  margin-bottom: 0;
}

.hero--home :is(.hero__form, .hero__form-zone, .hero-form, .home-hero-form) {
  min-width: 0;
  align-self: center;
}

.hero--home .form-block {
  min-width: 0;
}

.hero--home :is(.form-heading, .form-block__heading, .form-block__title) {
  margin-block: 0 12px;
  color: var(--home-form-title);
  font-size: clamp(1.14rem, 1.75vw, 1.48rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.021em;
  text-wrap: pretty;
}

.hero--home :is(.form-legal, .form-block__intro, .form-block__note, .hero-note, .hero__note, .hero-mgr-note) {
  color: var(--home-form-muted);
  line-height: 1.55;
}

.hero--home .form-legal a {
  color: var(--home-form-link);
  text-decoration: underline;
  text-underline-offset: .16em;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]) {
  min-height: 48px;
  border: 1px solid var(--home-field-border);
  border-radius: var(--home-field-radius);
  background: var(--home-field-bg);
  color: #18212f;
  font: inherit;
  font-size: 1rem;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"])::placeholder {
  color: #4d5967;
  font-size: .875rem;
  opacity: 1;
}

.hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]):focus {
  outline: none;
  border-color: var(--home-form-ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-form-ring) 27%, transparent);
}

.hero--home form.wpcf7-101 input[type="submit"] {
  width: 100%;
  min-height: 52px;
  padding-inline: 10px;
  border-radius: var(--home-cta-radius, var(--home-field-radius));
  background: var(--home-button);
  color: var(--home-button-text);
  font: inherit;
  font-size: clamp(.86rem, 1.3vw, 1.04rem);
  font-weight: 800;
  box-shadow: var(--home-button-shadow);
  transition: background-color .18s ease, box-shadow .18s ease;
}

.hero--home form.wpcf7-101 input[type="submit"]:hover {
  background: var(--home-button-hover);
  color: var(--home-button-text);
}

.hero--home :is(input[type="submit"], a, button):focus-visible {
  outline: 2px solid var(--home-form-ring);
  outline-offset: 3px;
}

main:has(> .hero--home) > .section {
  padding-block: clamp(44px, 6vw, 82px);
}

main:has(> .hero--home) .table-wrap {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
}

main:has(> .hero--home) > .section .section-head h2 {
  letter-spacing: -.034em;
  line-height: 1.12;
  text-wrap: balance;
}

main:has(> .hero--home) > .section .section-head :is(p, .lead) {
  text-wrap: pretty;
}

.hero--home + .section {
  border-block: 1px solid var(--home-section-line);
  background: var(--home-exchange-bg);
}

.hero--home + .section :is(.exchange-row, .exchanges, .exchanges-row, .exchange-grid) {
  align-items: stretch;
  gap: 10px;
}

main:has(> .hero--home) :is(.calc-section, .calc-shell, .calc-wrap) .calc-widget {
  --calc-accent: var(--home-calc-action);
  --calc-cta-bg: var(--home-calc-action);
  --calc-cta-text-color: var(--home-button-text);
  --calc-track: var(--home-calc-track);
  --calc-result-bg: var(--home-calc-result);
  --calc-radius: var(--home-calc-radius);
}

main:has(> .hero--home) .calc-widget__result {
  --calc-result-title-color: #deebe9;
  --calc-result-value-color: #ffffff;
  --calc-result-label-color: #d2e3e1;
  border: 1px solid var(--home-section-line);
}

main:has(> .hero--home) .calc-widget__cta {
  min-height: 48px;
  max-width: 100%;
  background: var(--home-calc-action);
  color: var(--home-button-text);
  font-weight: 800;
}

main:has(> .hero--home) .calc-widget__cta:focus-visible {
  outline: 2px solid var(--home-form-ring);
  outline-offset: 3px;
}

main:has(> .hero--home) > .section:is([aria-labelledby="reviews-title"], [aria-labelledby="reviews-h"], [aria-labelledby="rev-h"], :has(> .container .reviews-grid)) {
  background: var(--home-review-bg);
  border-block: 1px solid var(--home-section-line);
}

main:has(> .hero--home) :is(.reviews, .reviews-grid, [aria-labelledby="reviews-title"] .grid--3) > :is(.review, .review-card) {
  min-width: 0;
  border-block-start: 3px solid var(--home-review-rule);
  border-radius: var(--home-review-radius);
}

@media (max-width: 767px) {
  .hero--home h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.035em;
  }

  .hero--home .eyebrow {
    margin-block-end: 10px;
  }

  .hero--home .home-hero-details > :is(.hero__lead, .hero-sub),
  .hero--home .home-hero-summary {
    font-size: .98rem;
  }
}

.hero--home {
  padding-block: clamp(32px, 5.3vw, 66px) clamp(30px, 5vw, 58px);
  background-image: linear-gradient(180deg, #0a182aae, #0a182ac4 42%, #0a182aed 100%), url("../images/hero-market.webp");
  background-position: center 43%;
}

.hero--home .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.hero--home .hero-copy h1 { margin-inline: auto; }

.hero--home .home-hero-form {
  width: min(100%, 65rem);
  padding: clamp(18px, 2.8vw, 32px);
  border: 1px solid #6aafac;
  border-radius: 28px;
  background: linear-gradient(160deg, #172d47, #102335 75%);
  box-shadow: 0 25px 48px #030b17a8, 0 0 0 5px #82d9cc19;
}

.hero--home .home-hero-form > .form-block {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero--home .home-hero-form > .form-legal {
  text-align: center !important;
  margin-bottom: 0;
}

@media (min-width: 1000px) {
  .hero--home form.wpcf7-101 .registration-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: none;
    grid-template-rows: auto auto;
    max-width: none;
    margin-inline: 0;
    gap: 10px 12px;
  }

  .hero--home form.wpcf7-101 .registration-form > div {
    grid-area: auto;
    width: auto;
    min-width: 0;
  }

  .hero--home form.wpcf7-101 .registration-form > :has(> input[type="submit"]) {
    grid-column: 1 / -1;
    inline-size: min(100%, 27rem);
    justify-self: center;
  }
}

.hero--home .home-hero-summary {
  max-width: 64ch;
  margin: clamp(22px, 3vw, 36px) auto 14px;
  text-align: center;
  color: var(--home-hero-text);
}

.hero--home .office-flag,
.hero--home .trust-links { justify-content: center; }

.hero--home .office-flag__note,
.hero--home > .container > .lead {
  margin-inline: auto;
  text-align: center;
  color: var(--home-hero-text);
}

main:has(> .hero--home) .calc-section {
  background: linear-gradient(152deg, #142c40, #0a182d 65%);
}

main:has(> .hero--home) .calc-canvas-wrap {
  border-radius: 22px;
  border-color: #335976;
}

main:has(> .hero--home) > [aria-labelledby="reg-h"] {
  border-block: 1px solid #335976;
  background: radial-gradient(ellipse at 50% 100%, #234e56, #101f37 68%);
}

@media (max-width: 767px) {
  .hero--home .home-hero-form { border-radius: 18px; }
  .hero--home .hero-grid { gap: 21px; }
}

@media (max-width: 480px) {
  .hero--home form.wpcf7-101 .registration-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .hero--home form.wpcf7-101 .registration-form > div,
  .hero--home form.wpcf7-101 input:is([name="first_name"], [name="last_name"], [name="email"], [name="phone"]) {
    min-width: 0;
    max-width: 100%;
  }

  main:has(> .hero--home) .calc-widget__result {
    padding: 16px;
  }

  main:has(> .hero--home) .calc-widget__stats {
    flex-wrap: wrap;
  }

  main:has(> .hero--home) .calc-widget__stat-label {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 359px) {
  body:has(.hero--home) .header-inner {
    gap: 8px;
  }

  body:has(.hero--home) .header-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: .79rem;
  }
}

:root {
  --signup-bg: linear-gradient(112deg,#0c4351,#145d64);
  --signup-text: #edfaff;
  --signup-border: #68d4bb;
  --signup-radius: 30px;
  --signup-icon-radius: 50%;
  --signup-icon-bg: #9df2d5;
  --signup-icon-text: #113c3d;
  --signup-shadow: inset 0 0 0 2px #81e4c428,0 7px 20px #06222d75;
  --signup-active-shadow: inset 0 0 0 2px #81e4c44d,0 7px 25px #7bfad43c;
  --signup-focus: #9df2d5;
}
/* Header registration links and phone dropdown */
.iti__country-name {
  color: #000 !important;
}

a.header-signup {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 44px;
  padding: 5px 7px 5px 14px;
  border: 1px solid var(--signup-border);
  border-radius: var(--signup-radius);
  background: var(--signup-bg);
  color: var(--signup-text);
  box-shadow: var(--signup-shadow);
  overflow: hidden;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  transition: transform .18s ease, box-shadow .18s ease;
}

.header-signup__label,
.header-signup__icon {
  position: relative;
  z-index: 1;
}

.header-signup__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: var(--signup-icon-radius);
  background: var(--signup-icon-bg);
  color: var(--signup-icon-text);
}

.header-signup__icon svg {
  inline-size: 15px;
  block-size: 15px;
  transition: transform .22s ease;
}

a.header-signup::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 26%, #ffffff45 49%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-110%);
  animation: header-signup-shine 1.15s ease-out .9s 1;
}

a.header-signup:hover,
a.header-signup:focus-visible {
  color: var(--signup-text);
  text-decoration: none;
  box-shadow: var(--signup-active-shadow);
}

a.header-signup:hover {
  transform: translateY(-2px);
}

a.header-signup:hover svg,
a.header-signup:focus-visible svg {
  transform: translate(2px, -2px);
}

a.header-signup:focus-visible {
  outline: 2px solid var(--signup-focus);
  outline-offset: 3px;
}

@keyframes header-signup-shine {
  to { transform: translateX(110%); }
}

@media (max-width: 520px) {
  a.header-signup {
    gap: .38em;
    padding: 5px 5px 5px 9px;
    font-size: .78rem;
  }

  .header-signup__icon {
    inline-size: 21px;
    block-size: 21px;
  }

  .header-signup__icon svg {
    inline-size: 12px;
    block-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.header-signup,
  a.header-signup::before,
  .header-signup__icon svg {
    animation: none;
    transition: none;
  }

  a.header-signup:hover,
  a.header-signup:hover svg,
  a.header-signup:focus-visible svg {
    transform: none;
  }
}



/* Homepage typography, section layouts and interactive surfaces. */
main:has(> .hero--home) {
  --home-accent: #8ce8ce;
  --home-radius: 20px;
  --home-line: color-mix(in srgb, var(--home-accent) 32%, var(--border));
}

.hero--home h1 {
  font-size: clamp(2rem, 4.5vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero--home h1 em {
  color: var(--home-accent);
  font-style: normal;
}

.hero--home :is(.hero__lead, .hero-sub, .home-hero-summary) {
  max-inline-size: 58ch;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero--home .hero-copy h1 { max-width: 22ch; }
.hero--home .home-hero-form { border-radius: 18px; border-top: 3px solid #a5efdc; background: linear-gradient(160deg,#233e53,#102237 70%); }
.hero--home .hero-visual { opacity: .32; }
.hero--home .home-hero-summary { font-size: 1.05rem; }

main:has(> .hero--home) > .section {
  padding-block: clamp(42px, 6vw, 88px);
}

main:has(> .hero--home) > .hero--home + .section {
  padding-block: clamp(26px, 3.8vw, 54px);
  border-block: 1px solid var(--home-line);
}

main:has(> .hero--home) .section :is(.section-head, .section__head) h2,
main:has(> .hero--home) .company-grid h2,
main:has(> .hero--home) .company-split h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.9rem);
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: balance;
}

main:has(> .hero--home) .section :is(.section-head, .section__head) p {
  line-height: 1.65;
  text-wrap: pretty;
}

main:has(> .hero--home) :is(.exchange-chip, .exchip, .exchanges .chip) {
  min-height: 44px;
  padding-inline: clamp(12px, 2vw, 24px);
}

main:has(> .hero--home) :is(.step, .step-card, .sec-card, .card, .link-card, .company-link, .review, .review-card) {
  border-radius: var(--home-radius);
  border-color: var(--home-line);
}

main:has(> .hero--home) :is(.step, .step-card) {
  padding: clamp(18px, 2.4vw, 32px);
  border-block-start: 3px solid var(--home-accent);
  background: linear-gradient(155deg, color-mix(in srgb, var(--home-accent) 8%, var(--surface)), var(--surface) 72%);
}

main:has(> .hero--home) :is(.card, .sec-card, .step, .step-card) h3 {
  line-height: 1.25;
  text-wrap: balance;
}

main:has(> .hero--home) :is(.table-wrap, .calc-canvas-wrap, .calc-shell, .calc-wrap) {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
}

main:has(> .hero--home) .section tbody tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--home-accent) 6%, transparent);
}

main:has(> .hero--home) :is(.review, .review-card) {
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
  background: linear-gradient(150deg, color-mix(in srgb, var(--home-accent) 9%, var(--surface)), var(--surface) 66%);
}

main:has(> .hero--home) .faq-list { width: 100%; min-width: 0; }
main:has(> .hero--home) .faq-item {
  border-radius: var(--home-radius);
  border-color: var(--home-line);
}
main:has(> .hero--home) .faq-item :is(summary, button) { min-height: 48px; }
main:has(> .hero--home) .faq-item:focus-within { outline: 2px solid var(--home-accent); outline-offset: 2px; }

main:has(> .hero--home) form.wpcf7-101 input:not([type="hidden"]):focus-visible {
  outline: 2px solid var(--signup-focus);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  main:has(> .hero--home) .section > .container:has(> .faq-list) {
    display: grid;
    grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    align-items: start;
    gap: 16px clamp(32px, 6vw, 90px);
  }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > :is(.section-head, .section__head) {
    margin: 0;
    text-align: start;
  }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > .faq-list { grid-column: 2; margin-block: 0; }
  main:has(> .hero--home) .section > .container:has(> .faq-list) > .faq-list ~ * { grid-column: 2; }
}

@media (max-width: 599px) {
  .hero--home h1 { font-size: clamp(1.95rem, 8vw, 2.65rem); }
  main:has(> .hero--home) .section :is(.section-head, .section__head) { margin-bottom: 20px; }
}

@media (max-width: 420px) {
  main:has(> .hero--home) :is(.card-grid, .reviews-grid) { grid-template-columns: minmax(0, 1fr); }
  main:has(> .hero--home) .reviews-grid > * { min-inline-size: 0; }
}

/* A London market desk with a separate reference shelf. */
.hero--home .hero-grid { text-align: start; justify-items: stretch; gap: 18px clamp(24px,4vw,60px); }
.hero--home .hero-copy { align-self: end; }
.hero--home .hero-copy h1 { margin: 0; max-width: 16ch; }
.hero--home .hero-copy .eyebrow { display: inline-block; border: 0; border-radius: 0; padding: 0 0 8px; border-bottom: 2px solid #8ce8ce; background: transparent; color: #b5ede2; }
.hero--home .market-desk { padding: 16px clamp(14px,2vw,24px); background: #101f31ed; border-inline-start: 3px solid #86cbd0; }
.hero--home .market-desk :is(.home-hero-summary,.office-flag__note,.lead) { text-align: start; max-width: none; margin: 0; font-size: .96rem; line-height: 1.5; color: #deebf6; }
.hero--home .market-desk :is(.office-flag,.trust-links) { justify-content: start; margin: 14px 0; }
.hero--home .market-desk .lead { font-size: .85rem; }
@media (min-width:900px) {
  .hero--home .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.94fr); grid-template-areas: "title signup" "desk signup"; align-items: start; }
  .hero--home .hero-copy { grid-area: title; }
  .hero--home .market-desk { grid-area: desk; }
  .hero--home .home-hero-form { grid-area: signup; }
  .hero--home .home-hero-form form.wpcf7-101 > div:has(input[name="first_name"]) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: none; }
  .hero--home .home-hero-form form.wpcf7-101 > div > div:has(input:is([type="email"],[type="tel"],[type="submit"])) { grid-column: 1 / -1; width: 100%; }
}

.hero--home .market-desk { background: linear-gradient(135deg,#132638fa,#0a1624f5); border: 1px solid #51787c; border-radius: 16px; padding: clamp(16px,2vw,26px); }
.hero--home .office-clocks { margin: 18px 0; }
.hero--home .office-clocks figcaption { color: #c3dbdc; font-size: .84rem; margin-bottom: 6px; }
.hero--home .clock-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #526a76; }
.hero--home .clock-grid div { padding: 10px 4px; }
.hero--home .clock-grid div + div { padding-left: clamp(6px,1.3vw,18px); border-left: 1px solid #455968; }
.hero--home .clock-grid strong { display: block; color: #b7eee1; font: 500 clamp(1.12rem,2.8vw,2.2rem)/1.25 ui-monospace,monospace; }
.hero--home .clock-grid span { display: block; color: #deeaf2; font-size: .8rem; }
.hero--home .clock-grid svg { width: 19px; height: 13px; display: block; margin-bottom: 6px; }

/* Three time-zone instruments, with the digital time retained as accessible text. */
.hero--home .hero-copy h1 { font-size: clamp(2.4rem,4.6vw,4.8rem); line-height: 1; }
.hero--home .hero-copy h1 em { color: #a8f8dc; }
.hero--home .market-desk { border: 0; border-radius: 0; padding: 0; background: none; }
.hero--home .office-clocks { padding: 14px clamp(10px,2vw,24px) 16px; border: 1px solid #65838d; border-radius: 18px; background: linear-gradient(145deg,#233d50,#0a1728 72%); box-shadow: inset 0 1px #c1ece630,0 14px 28px #02101b44; }
.hero--home .office-clocks figcaption { color: #d9edea; margin-bottom: 13px; }
.hero--home .clock-grid { border: 0; }
.hero--home .clock-grid > div,.hero--home .clock-grid > div + div { display: grid; justify-items: center; padding: 2px; }
.hero--home .clock-grid svg { display: inline-block; height: 10px; width: 15px; margin: 0 5px 0 0; vertical-align: baseline; }
.hero--home .clock-grid strong { font-size: clamp(.95rem,1.55vw,1.28rem); margin-block: 7px 3px; }
.hero--home .clock-grid .dial { position: relative; display: block; width: clamp(42px,5vw,68px); aspect-ratio: 1; border: 3px solid #678487; border-radius: 50%; background: radial-gradient(circle,#d7e7dd 0 60%,transparent 61%),repeating-conic-gradient(#426262 0deg 2deg,#d7e7dd 2deg 30deg); box-shadow: 0 3px 8px #06131e; }
.dial::before,.dial::after { content: ""; position: absolute; bottom: 50%; left: calc(50% - 1px); width: 2px; border-radius: 2px; background: #19383d; transform-origin: bottom; }
.dial::before { height: 28%; transform: rotate(var(--hours)); }
.dial::after { height: 40%; background: #8d342b; transform: rotate(var(--minutes)); }
