/* =========================================================================
   Edgeway Crescor — design system
   Dark eucalyptus theme, accent #35D0A0. One accent, one neutral family,
   one radius scale, one shadow scale, used on every page.
   ========================================================================= */

:root {
  --bg:          #0D1613;
  --surface:     #13201B;
  --surface-2:   #182822;
  --border:      #24382F;
  --text:        #EAF2ED;
  --text-muted:  #A3B8AE;
  --accent:      #35D0A0;
  --accent-hover:#4AE0B4;
  --accent-tint: rgba(53, 208, 160, .12);
  --accent-ink:  #06231A;

  --font-sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(3, 14, 9, .5), 0 2px 8px rgba(3, 14, 9, .35);
  --shadow-md: 0 1px 2px rgba(3, 14, 9, .45), 0 8px 24px rgba(3, 14, 9, .42);
  --shadow-lg: 0 2px 4px rgba(3, 14, 9, .5), 0 16px 48px rgba(3, 14, 9, .55);

  --ease: cubic-bezier(.2, .6, .2, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  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.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { margin: 0 0 1em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

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

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

.section { padding-block: clamp(48px, 7vw, 88px); position: relative; }
.section--tint {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(53, 208, 160, .07), transparent 62%),
    var(--surface);
}
.section--grid {
  background-image:
    linear-gradient(rgba(53, 208, 160, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 208, 160, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.section-head--center { margin-inline: auto; text-align: center; }

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

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  padding: 13px 26px; border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---- header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(13, 22, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: #0D1613; }
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand-name { font-size: 1.18rem; letter-spacing: -.01em; }
.brand-name strong { font-weight: 800; }
.brand-name em { font-style: normal; color: var(--accent); font-weight: 500; }
.logo-mark { color: var(--accent); flex: none; }

.site-nav { margin-inline: auto; }
.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: inherit; font-size: .95rem;
  font-weight: 600; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-trigger:hover { background: var(--accent-tint); color: var(--accent); }
.nav-trigger svg { transition: transform .15s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 130;
  min-width: 260px; max-width: 340px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; transform: translateY(4px); visibility: hidden; pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav-group--edge .nav-menu { left: auto; right: 0; }
.nav-group.is-open .nav-menu { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text); font-size: .93rem;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--accent-tint); color: var(--accent); }

.header-cta { flex: none; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center;
}

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding-block: 14px; }
.mobile-menu[hidden] { display: none; }
.mobile-group__head {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 700;
  padding: 12px 4px; cursor: pointer;
}
.mobile-group__head svg { transition: transform .15s var(--ease); }
.mobile-group__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-group__body ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 10px; }
.mobile-group__body a { display: block; padding: 8px 4px; color: var(--text-muted); }
.mobile-group__body a:hover { color: var(--accent); }
.mobile-cta { margin-top: 10px; }

/* ---- hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(44px, 6vw, 84px);
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(53, 208, 160, .13), transparent 64%),
    radial-gradient(700px 420px at 6% 92%, rgba(53, 208, 160, .08), transparent 60%),
    linear-gradient(180deg, #101B17 0%, var(--bg) 88%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__bg svg, .hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.hero__title { margin-bottom: .35em; }
.hero__lead { color: var(--text-muted); font-size: 1.1rem; max-width: 56ch; }
.hero__points { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); }
.hero__points .icon { color: var(--accent); flex: none; margin-top: 3px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__flag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px 7px 8px; font-size: .9rem; color: var(--text-muted);
}
.hero__flag .flag { width: 26px; height: 19px; border-radius: 3px; overflow: hidden; display: block; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }

.hero__icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.hero__icon-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px 16px; color: var(--text); font-weight: 600; font-size: .93rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.hero__icon-link:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent-tint); }
.hero__icon-link .icon { color: var(--accent); }

.hero__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(18px, 2.6vw, 28px); }

/* generic two-column page hero (licenses/contact/careers/products) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 5.5vw, 72px);
  background:
    radial-gradient(900px 460px at 85% 0%, rgba(53, 208, 160, .11), transparent 62%),
    linear-gradient(180deg, #101B17, var(--bg));
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(26px, 4vw, 54px); align-items: start; position: relative; z-index: 1; }
.page-hero__lead { color: var(--text-muted); font-size: 1.06rem; max-width: 58ch; }
.page-hero__art { position: absolute; right: -30px; bottom: -20px; width: 300px; opacity: .5; z-index: 0; pointer-events: none; }

/* ---- forms -------------------------------------------------------------- */
.form-block__heading { font-size: 1.2rem; margin-bottom: 6px; }
.form-block__intro { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.form-block__note { color: var(--text-muted); font-size: .88rem; margin: 10px 0 0; }
.form-legal { font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }

/* formFactory fields styling */
.form-block .frm-wrap, .form-block form { width: 100%; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block input[type="password"] {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--r-sm); padding: 12px 14px; font: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-block input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-block label { display: block; font-size: .88rem; color: var(--text-muted); margin-bottom: 6px; }
.form-block .error-text { color: #ff9f8f; font-size: .82rem; margin-top: 4px; }

/* calculator modal submit: same AA fix as the page forms (module renders #fff) */
.calc-modal input[type="submit"] { color: #06231A !important; }

/* ---- icon badges / cards ------------------------------------------------ */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-tint); color: var(--accent);
}

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: clamp(18px, 2.4vw, 26px);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #2E4A3E; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; }
.card .icon-badge { margin-bottom: 14px; }

.card-grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* asymmetric feature grid (no 3-identical-card rows as a default) */
.feature-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(6, 1fr); }
.feature-grid .card:nth-child(1) { grid-column: span 4; }
.feature-grid .card:nth-child(2) { grid-column: span 2; }
.feature-grid .card:nth-child(3) { grid-column: span 2; }
.feature-grid .card:nth-child(4) { grid-column: span 4; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .card { grid-column: auto !important; }
}

/* ---- numbered steps ------------------------------------------------------ */
.steps { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; margin-bottom: 12px;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono);
  font-weight: 700; font-size: .95rem;
}
.step h3 { font-size: 1.06rem; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---- tables -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); color: var(--text); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(24, 40, 34, .45); }
.table .ok  { color: var(--accent); }
.table .no  { color: #ff8f7e; }
.table .money { font-family: var(--font-mono); white-space: nowrap; }

/* comparison table */
.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .96rem; }
.compare thead th { background: var(--surface-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.compare thead th.is-us { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .ok { color: var(--accent); }
.compare .no { color: #ff8f7e; }

/* ---- reviews -------------------------------------------------------------- */
.reviews { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review { display: flex; gap: 16px; align-items: flex-start; }
.review__photo { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; border: 2px solid var(--border); flex: none; }
.review__body h3 { font-size: 1.02rem; margin-bottom: 2px; }
.review__role { color: var(--text-muted); font-size: .85rem; margin: 0 0 8px; }
.review__text { color: var(--text-muted); font-size: .95rem; margin: 0 0 12px; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review__stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 5px 10px; font-size: .8rem; font-family: var(--font-mono); color: var(--text-muted); }
.review__stat b { color: var(--text); font-weight: 600; }
.reviews-note { font-size: .82rem; color: var(--text-muted); margin-top: 16px; }

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

/* ---- company block --------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: .95rem; }
.company-facts .icon { color: var(--accent); flex: none; margin-top: 2px; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.company-link {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px; color: var(--text); font-weight: 600; font-size: .9rem;
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}
.company-link:hover { transform: translateY(-2px); border-color: var(--accent); }
.company-link .icon { color: var(--accent); }
@media (max-width: 860px) { .company-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-item__q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 14px;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 600;
  text-align: left; padding: 16px 18px; cursor: pointer;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q svg { flex: none; transition: transform .16s var(--ease); color: var(--accent); }
.faq-item__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-item__a { padding: 0 18px 16px; color: var(--text-muted); }
.faq-item__a[hidden] { display: none; }

/* ---- calculator ------------------------------------------------------------ */
.calc-section { background:
  radial-gradient(800px 400px at 90% 10%, rgba(53, 208, 160, .08), transparent 60%),
  var(--surface);
  border-block: 1px solid var(--border);
}
/* ticker widget host: never widen the page on small viewports (CSS only — the
   beacon addon markup itself is never edited) */
.tv-ticker-host, tv-ticker-tape { max-width: 100vw; overflow-x: clip; }
/* clear separation between the widget CTA and the decorative chart canvas */
.calc-widget__cta { margin-bottom: 34px; }
.calc-canvas-wrap { margin-top: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg); padding: 10px; }
#calc-deco-canvas { display: block; width: 100%; height: 120px; }

/* ---- maps ------------------------------------------------------------------- */
.map-embed { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); max-width: 860px; width: 100%; aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 641px) { .map-embed { min-height: 320px; } }

/* ---- prose (documents pages) -------------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.doc-toc h2 { font-size: .95rem; margin-bottom: 10px; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.doc-toc a { color: var(--text-muted); font-size: .88rem; }
.doc-toc a:hover { color: var(--accent); }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; } }

/* ---- breadcrumbs ----------------------------------------------------------- */
.breadcrumbs { padding-block: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .85rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }

/* ---- footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); background: #0B1310; padding-block: clamp(40px, 5vw, 64px) 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr)); gap: clamp(18px, 3vw, 32px); }
.footer-lead { color: var(--text-muted); font-size: .92rem; max-width: 34ch; }
.footer-contact { color: var(--text-muted); font-size: .86rem; line-height: 2; }
.footer-contact .icon { color: var(--accent); vertical-align: -4px; margin-right: 6px; }
.footer-col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-muted); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer { border-block: 1px solid var(--border); margin-top: 34px; padding-block: 20px; }
.footer-disclaimer h3 { font-size: .9rem; }
.footer-disclaimer p { color: var(--text-muted); font-size: .8rem; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; color: var(--text-muted); font-size: .82rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---- special offer ------------------------------------------------------------ */
.urgency-strip { background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .9rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-block: 9px; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 7px; }

.offer-hero { text-align: center; }
.offer-hero .hero__inner { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.offer-hero h1 em { font-style: normal; color: var(--accent); }
.countdown { display: inline-flex; gap: 8px; margin: 18px 0 6px; }
.countdown__box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); padding: 8px 10px; min-width: 62px; }
.countdown__num { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--text); text-align: center; }
.countdown__lbl { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); text-align: center; }

.offer-benefits { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.offer-cta-band { background: linear-gradient(94deg, rgba(53,208,160,.16), rgba(53,208,160,.05)); border-block: 1px solid var(--border); text-align: center; }

/* modal */
.so-modal { position: fixed; inset: 0; z-index: 400; display: none; }
.so-modal.is-open { display: block; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(5, 12, 9, .78); }
.so-modal__card {
  position: relative; z-index: 1; max-width: 460px; margin: 12vh auto 0; width: calc(100% - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 28px; text-align: center;
}
.so-modal__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--text-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 6px; }
.so-modal__close:hover { color: var(--text); }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card p { color: var(--text-muted); }
.so-modal__art { margin: 0 auto 14px; width: 120px; }

/* ---- 404 ------------------------------------------------------------------------ */
.error-page { text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.error-page .code { font-family: var(--font-mono); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--accent); line-height: 1; }

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

/* ---- misc ---------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.note { font-size: .85rem; color: var(--text-muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 3vw, 32px); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); }
.stat span { font-size: .85rem; color: var(--text-muted); }

/* ---- responsive ------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__form { order: 2; }
}
@media (max-width: 640px) {
  .exchange-chip { width: 138px; height: 50px; }
  .exchange-chip img { height: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* < 768px the GSAP canvas is off — scale the static SVG motif up so the
   hero fallback stays a visible drawn visual, not just a gradient (§13). */
@media (max-width: 767px) {
  .hero__bg svg { transform: scale(2.4) translate(-9%, -7%); }
}

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

/* 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-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Homepage layout and form styling */
main:has(> .hero--home) {
  --home-grid: minmax(0, .91fr) minmax(0, 1.09fr);
  --home-areas: "form headline" "form details";
  --home-title-width: 18ch;
  --home-hero-title: #f2faf2;
  --home-hero-text: #dcece3;
  --home-form-title: #102d23;
  --home-form-muted: #34594a;
  --home-form-link: #145440;
  --home-field-border: #91b7a3;
  --home-field-radius: 9px;
  --home-field-bg: #fcfffc;
  --home-form-ring: #237151;
  --home-button: #125e44;
  --home-button-hover: #0c4733;
  --home-button-text: #ffffff;
  --home-button-shadow: 0 9px 18px #1d624636;
  --home-section-line: #36594a;
  --home-exchange-bg: #10261c;
  --home-calc-action: #125e44;
  --home-calc-track: #4c6c5c;
  --home-calc-result: #15392b;
  --home-calc-radius: 12px;
  --home-review-bg: #0d2018;
  --home-review-rule: #5bd5a0;
  --home-review-radius: 14px;
}

@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 :is(.hero__inner, .hero-in) {
  display: grid;
  grid-template-columns: var(--home-grid, minmax(0, 1.15fr) minmax(0, .85fr));
  grid-template-areas: var(--home-areas, "headline form" "details form");
  grid-template-rows: auto auto;
  align-items: start;
}

.hero--home :is(.hero__copy, .hero__heading, .hero-copy) {
  display: block;
  grid-area: headline;
  order: initial;
  align-self: end;
  min-width: 0;
}

.hero--home :is(.hero__form, .hero__form-zone, .hero-form) {
  grid-area: form;
  order: initial;
}

.hero--home .home-hero-details {
  grid-area: details;
  position: relative;
  z-index: 2;
  align-self: start;
}

@media (max-width: 899px) {
  .hero--home :is(.hero__inner, .hero-in) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "headline" "form" "details";
    grid-template-rows: auto;
    gap: 18px;
  }

  .hero--home :is(.hero__form, .hero__form-zone, .hero-form) {
    width: min(100%, 38rem);
  }
}

.hero--home {
  padding-block: clamp(34px, 5.6vw, 77px);
  background-image: linear-gradient(90deg, #0919149c 0%, #0a1b15be 37%, #0a1812ef 77%), url("../images/hero-market.webp");
  background-position: 40% center;
}

.hero--home .hero__form {
  align-self: start;
  padding: clamp(20px, 3.3vw, 42px);
  border: 1px solid #a5d9b7;
  border-radius: 32px 7px 32px 7px;
  background: linear-gradient(125deg, #f7fff4, #daf0df 86%);
  box-shadow: 0 24px 45px #0007, -8px 8px 0 #58ae745e;
}

.hero--home .form-block__heading {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid #66a789;
}

.hero--home .hero__points {
  margin: 15px 0;
  gap: 8px;
}

.hero--home .hero__points li { color: #dcece3; }

.hero--home .hero__icon-link {
  border-radius: 7px;
  background: #152e24;
  color: #effaf3;
}

.hero--home .hero__meta { margin-top: 15px; }

main:has(> .hero--home) .calc-section {
  background: linear-gradient(120deg, #103226, #081d15 72%);
}

main:has(> .hero--home) .calc-canvas-wrap {
  border-radius: 7px 26px;
  border-color: #3f6c57;
}

main:has(> .hero--home) > [aria-labelledby="cta-h"] {
  background: #163625;
  border-block: 1px solid #3d6954;
}

@media (max-width: 899px) {
  .hero--home {
    background-image: linear-gradient(120deg, #0a1812dc, #0c2419a0 65%, #0a1812ec), url("../images/hero-market.webp");
  }
  .hero--home .hero__form { box-shadow: 0 18px 30px #0006; }
}

@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;
  }
}

:root {
  --signup-bg: linear-gradient(105deg,#8af8bc,#4cddb5);
  --signup-text: #102c21;
  --signup-border: #7decc0;
  --signup-radius: 8px 21px 21px 8px;
  --signup-icon-radius: 50%;
  --signup-icon-bg: #164a39;
  --signup-icon-text: #ddfff0;
  --signup-shadow: 0 4px 0 #287b58,0 8px 22px #4ae8af30;
  --signup-active-shadow: 0 4px 0 #287b58,0 11px 28px #4ae8af60;
  --signup-focus: #b4fdd5;
}
/* 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;
  }
}

[aria-labelledby="reviews-h"] .reviews > .review {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: none;
  margin-inline: 0;
  justify-self: stretch;
}

[aria-labelledby="reviews-h"] .review__body { min-inline-size: 0; }

@media (max-width: 991px) {
  [aria-labelledby="reviews-h"] .reviews {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}

@media (max-width: 359px) {
  .site-header a.header-cta { display: none; }

  .site-header .nav-burger {
    flex: 0 0 44px;
    min-height: 44px;
  }
}


/* Homepage typography, section layouts and interactive surfaces. */
main:has(> .hero--home) {
  --home-accent: #81e7ac;
  --home-radius: 5px 20px 5px 5px;
  --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 { padding-top: 16px; border-top: 2px solid #8be5af; }
.hero--home .hero__form { border-radius: 5px 28px 5px 5px; box-shadow: -6px 6px 0 #579a73, 0 20px 44px #07100f77; }
.hero--home h1 em { display: block; }

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; }
}

/* Lower signup: the introduction and the form share one framed panel. */
main:has(> .hero--home) > .account-signup {
  background: #0d1915;
  border-block: 1px solid #28483a;
}

.account-signup .two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid #507663;
  border-radius: 24px;
  background: radial-gradient(ellipse at top left, #234e3b, #142a20 72%);
  box-shadow: 0 20px 52px #040d083d;
}

.account-signup .section-head {
  align-self: center;
  padding: clamp(22px, 4vw, 58px);
}

.account-signup #cta-h {
  max-width: 12ch;
  color: #f0faf3;
}

.account-signup .hero__points { margin: 24px 0 0; gap: 0; }
.account-signup .hero__points li {
  padding-block: 10px;
  border-top: 1px solid #466052;
  color: #e4efe8;
}

.account-signup .form-block {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 46px);
  border-radius: 0 23px 23px 0;
  color: #102d21;
  background: #f1f7ef;
}
.account-signup .form-block__heading {
  max-width: 24ch;
  margin: 0 0 18px;
  color: #102d21;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.15;
  text-wrap: balance;
}
.account-signup .form-block :is(.form-block__intro, .form-legal, .form-block__note, label) { color: #3e5548; }
.account-signup .form-legal a { color: #165a3d; }
.account-signup .form-block__note { padding-top: 12px; border-top: 1px solid #bed1c1; }
.account-signup form.wpcf7-101 > div:has(input[name="first_name"]) { width: 100%; max-width: none; }
.account-signup form.wpcf7-101 input:is([type="text"], [type="email"], [type="tel"]) {
  min-width: 0;
  background: #fff;
  color: #143123;
  border: 1px solid #91ac98;
  border-radius: 8px;
}
.account-signup form.wpcf7-101 input::placeholder { color: #57665b; opacity: 1; }
.account-signup form.wpcf7-101 input[type="submit"] {
  width: 100%;
  min-height: 48px;
  background: #17553a;
  color: #fff;
  border-radius: 8px;
}
.account-signup form.wpcf7-101 input[type="submit"]:hover { background: #103f2b; }
main:has(> .hero--home) .account-signup form.wpcf7-101 input:focus-visible { outline-color: #176846; }

@media (max-width: 760px) {
  .account-signup .two-col { grid-template-columns: minmax(0, 1fr); }
  .account-signup .form-block { border-radius: 0 0 23px 23px; }
  .account-signup #cta-h { max-width: none; }
  .account-signup .hero__points { margin-top: 16px; }
}

@media (max-width: 420px) {
  .account-signup .form-block, .account-signup .section-head { padding: 20px 16px; }
  .account-signup form.wpcf7-101 > div:has(input[name="first_name"]) {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .account-signup form.wpcf7-101 > div:has(input[name="first_name"]) > div { width: 100%; min-width: 0; }
}

/* A market brief beside the signup panel. */
.hero--home { --home-areas: "headline form" "details form"; --home-grid: minmax(0,1.08fr) minmax(0,.92fr); background-image: linear-gradient(90deg,#0a2019f5 0%,#10291fe8 39%,#10291f60 90%),url("../images/hero-market.webp"); }
.hero--home .hero__copy { border: 0; padding: 0; }
.hero--home .hero__title { max-width: 18ch; margin: 0; }
.hero--home .hero__points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 1px; background: #4b6c59; border-radius: 10px; overflow: hidden; }
.hero--home .hero__points li { display: grid; align-content: start; gap: 8px; padding: 14px; background: #152e23; font-size: .93rem; line-height: 1.45; }
.hero--home .hero__points strong { display: block; margin-bottom: 4px; color: #a0f0c3; }
@media (max-width: 410px) { .hero--home .hero__points { grid-template-columns: 1fr; } .hero--home .hero__points li { grid-template-columns: 20px 1fr; } }

.hero--home .market-routes { display: grid; gap: 7px; margin-block: 18px; }
.hero--home .market-routes a { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 14px; min-height: 62px; padding: 10px 16px; border-radius: 8px; background: #d1f1d5; color: #123327; }
.hero--home .market-routes a:nth-child(2) { background: #183b30; color: #edfff4; border: 1px solid #5d8c72; }
.hero--home .market-routes a:hover { box-shadow: inset 0 0 0 2px #75bb91; }
.hero--home .market-routes strong,.hero--home .market-routes small { display: block; }
.hero--home .market-routes strong { font-size: 1.28rem; }
.hero--home .route-symbol { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; }
.hero--home .signup-facts { display: flex; flex-wrap: wrap; gap: 15px 30px; margin: 12px 0; }
.hero--home .signup-facts dt { color: #cadbd3; font-size: .82rem; }
.hero--home .signup-facts dd { color: white; margin: 0; font-weight: 650; }

/* A harbour panorama anchors a large typographic masthead. */
.hero--home .hero__copy { isolation: isolate; position: relative; overflow: hidden; padding: clamp(20px,3.2vw,40px); border: 1px solid #73977e; border-radius: 3px 42px 3px 3px; background: linear-gradient(95deg,#061e17e8,#08231ab8 50%,#05221824),url("../images/hero-market.webp") 70% 56% / cover; }
.hero--home .hero__title { font-size: clamp(2.5rem,4.7vw,4.7rem); line-height: .99; letter-spacing: -.055em; text-align: left; }
.hero--home .hero__title em { color: #cfff94; font-weight: 450; }
.hero--home .market-routes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hero--home .market-routes a,.hero--home .market-routes a:nth-child(2) { position: relative; grid-template-columns: 1fr auto; gap: 10px; align-content: space-between; padding: 15px; border: 1px solid #72a386; border-radius: 3px; color: #f2fff2; background: #153329; }
.hero--home .market-routes .route-symbol { width: 32px; height: 32px; border: 0; color: #cfff94; }
.hero--home .market-routes a > span:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
.hero--home .market-routes a > span:last-child { grid-column: 2; grid-row: 1; color: #cfff94; font-size: 1.35rem; }
.hero--home .market-routes small { line-height: 1.35; margin-top: 5px; }
@media(max-width:520px) { .hero--home .hero__copy { padding: 18px; } .hero--home .market-routes { gap: 7px; } .hero--home .market-routes a { padding: 10px; } }
