/* =========================================================================
   UltraTrade — Swiss financial print (brutalist profile, light direction)
   Paper surface / carbon ink / hairline ledger grid / one Swiss red accent
   =========================================================================*/

/* ---- Fonts (local, no CDN) ---------------------------------------------- */
@font-face {
  font-family: 'Archivo Black';
  src: url('../fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --paper:      #F2F1EC;   /* documentation paper */
  --surface:    #FBFAF7;   /* card surface */
  --surface-2:  #EAE8E1;   /* table header / inset band */
  --ink:        #14161A;   /* carbon ink */
  --ink-2:      #43474F;   /* muted ink */
  --ink-3:      #575C63;   /* faint labels (AA on paper) */
  --line:       #CECCC2;   /* hairline */
  --line-ink:   #14161A;

  --accent:       #C8102E;
  --accent-hover: #A50D26;
  --accent-tint:  #F6E7E4;
  --accent-ink:   #8A0B1F;

  --radius:    4px;        /* near-square, mechanical */
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .07);
  --shadow-md: 0 1px 2px rgba(20, 22, 26, .06), 0 8px 22px rgba(20, 22, 26, .09);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .08), 0 18px 44px rgba(20, 22, 26, .14);

  --font-body:    'Helvetica Neue', Helvetica, Arial, 'Segoe UI', sans-serif;
  --font-display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --container: 1200px;
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; }
h1, h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: .01em; }
h4 { font-size: .95rem; font-weight: 700; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 16px; height: 16px; }

.label-mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent); color: #fff; box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); }
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--ink); color: var(--paper); transform: translateY(-1px);
}
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line-ink);
  transition: box-shadow .18s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px; position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark svg { display: block; }
.brand__word {
  font-family: var(--font-display); font-size: 1.22rem; letter-spacing: .02em; text-transform: uppercase;
}
.brand__word em { font-style: normal; color: var(--accent); }
.brand--footer { color: var(--paper); }
.brand--footer .brand__word { color: var(--paper); }
.brand--footer .brand__word em { color: #ED5567; } /* lighter red for AA on ink */

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }

.nav-dd__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  padding: 10px 12px; border-radius: var(--radius);
  transition: background .15s ease, color .15s ease;
}
.nav-dd__trigger:hover, .nav-dd__trigger:focus-visible { background: var(--surface-2); }
.nav-dd.is-current > .nav-dd__trigger { color: var(--accent); }
.nav-dd__caret { transition: transform .18s ease; }
.nav-dd.is-open .nav-dd__caret { transform: rotate(180deg); }

.nav-dd__panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 110;
  background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px; min-width: 250px;
  opacity: 0; transform: translateY(4px); visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-dd.is-open .nav-dd__panel { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.nav-dd__panel::before {   /* caret notch */
  content: ''; position: absolute; top: -5px; left: 22px; width: 8px; height: 8px;
  background: var(--paper); border-left: 1px solid var(--line-ink); border-top: 1px solid var(--line-ink);
  transform: rotate(45deg);
}
.nav-dd.align-right .nav-dd__panel { left: auto; right: 0; }
.nav-dd.align-right .nav-dd__panel::before { left: auto; right: 22px; }
.nav-dd__grid { list-style: none; margin: 0; padding: 0; }
.nav-dd__grid--two { columns: 2; column-gap: 8px; }
.nav-dd__grid--two li { break-inside: avoid; }
.nav-dd__link {
  display: flex; align-items: center; min-height: 48px;
  padding: 13px 12px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-size: .88rem;
  transition: background .13s ease, color .13s ease;
}
.nav-dd__link:hover, .nav-dd__link:focus-visible { background: var(--accent-tint); color: var(--ink); }
.nav-dd__link.is-active { color: var(--accent); font-weight: 700; }

.header-cta { flex: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-ink); border-radius: var(--radius);
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
  margin-left: auto; color: var(--ink);
}
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline-flex; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: 10px 0 22px; }
.mobile-nav__group + .mobile-nav__group { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.mobile-nav__heading {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; padding: 12px 0;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.mobile-nav__heading[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__list { list-style: none; margin: 0 0 6px; padding: 0; }
.mobile-nav__list a {
  display: block; padding: 9px 2px; color: var(--ink); text-decoration: none; font-size: .93rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__list a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.mobile-nav__cta { width: 100%; margin-top: 16px; }

/* ---- Sections / ledger grid --------------------------------------------------- */
.section { padding: clamp(52px, 7vw, 88px) 0; border-top: 1px solid var(--line); position: relative; }
.section:first-child { border-top: 0; }
.section--paper2 { background: var(--surface-2); }
.section--inset { background: var(--surface-2); border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head .label-mono { display: block; margin-bottom: 10px; color: var(--accent-ink); }
.section-head p.lead { font-size: 1.05rem; color: var(--ink-2); }

/* subtle ledger-paper texture for alternating bands */
.section--texture {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(20, 22, 26, .045) 31px, rgba(20, 22, 26, .045) 32px),
    radial-gradient(1200px 500px at 85% 0%, rgba(200, 16, 46, .05), transparent 62%);
}

/* ---- Hero ------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-ink);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20, 22, 26, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 22, 26, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(1100px 640px at 70% 18%, #000 38%, transparent 78%);
  -webkit-mask-image: radial-gradient(1100px 640px at 70% 18%, #000 38%, transparent 78%);
}
.hero__chart { position: absolute; right: -40px; top: 6%; width: min(56vw, 780px); opacity: .9; }
.hero__chart svg { width: 100%; height: auto; display: block; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero__eyebrow .dot { width: 9px; height: 9px; background: var(--accent); display: inline-block; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero__text { font-size: 1.06rem; color: var(--ink-2); max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.hero-badge {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hero-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink); color: var(--ink); }
.hero-badge .icon { width: 22px; height: 22px; color: var(--accent); }
.hero__flagline { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-2); font-size: .88rem; }
.flag-au { width: 34px; height: 23px; border-radius: 2px; overflow: hidden; display: inline-block; box-shadow: var(--shadow-sm); }
.flag-au svg { width: 100%; height: 100%; display: block; }

/* generic page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 5vw, 68px);
  border-bottom: 1px solid var(--line-ink);
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(200, 16, 46, .06), transparent 60%),
    var(--paper);
}
.page-hero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,22,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20,22,26,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 480px at 85% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 480px at 85% 10%, #000 30%, transparent 75%);
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.page-hero .lead { font-size: 1.04rem; color: var(--ink-2); max-width: 600px; }

/* ---- Form block --------------------------------------------------------------------- */
.form-block {
  position: relative; z-index: 5;
  background: var(--surface); border: 1px solid var(--line-ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 30px);
}
.form-block::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--accent);
}
.form-block__intro { font-size: .9rem; color: var(--ink-2); margin: 0 0 14px; }
.form-note { font-size: .84rem; color: var(--ink-2); margin: 10px 0 0; }
.form-legal { font-size: .78rem; color: var(--ink-3); margin: 12px 0 0; }
.form-legal a { color: var(--ink-2); }

/* ---- Cards --------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px;
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 48px; height: 48px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border-radius: 10px; color: var(--accent);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--ink { background: var(--surface-2); color: var(--ink); }

/* asymmetric feature grid: 2-col stagger, cells sized by content */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature-grid > .feature-card:nth-child(1) { grid-column: span 4; }
.feature-grid > .feature-card:nth-child(2) { grid-column: span 2; }
.feature-grid > .feature-card:nth-child(3) { grid-column: span 2; }
.feature-grid > .feature-card:nth-child(4) { grid-column: span 4; }
.feature-card { display: flex; gap: 16px; align-items: flex-start; }
.feature-card .icon-badge { margin-top: 2px; }

/* ---- Steps ---------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px; position: relative;
  transition: transform .17s ease, box-shadow .17s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step__no {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: .9rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* ---- Tables (ledger style) -------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line-ink); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
table.ledger { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.ledger caption { caption-side: top; text-align: left; padding: 14px 16px 10px; font-weight: 700; }
table.ledger th {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-align: left; background: var(--surface-2); color: var(--ink-2);
  padding: 12px 16px; border-bottom: 1px solid var(--line-ink); white-space: nowrap;
}
table.ledger td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.ledger tbody tr:last-child td { border-bottom: 0; }
table.ledger tbody tr:nth-child(even) td { background: rgba(20, 22, 26, .022); }
.tick-yes { color: #1B6B3A; font-weight: 700; }
.tick-no  { color: var(--accent); font-weight: 700; }

/* comparison table */
.compare-col-brand { background: var(--accent-tint) !important; font-weight: 700; }

/* ---- Exchange logos ------------------------------------------------------------------------ */
.exchange-row { display: flex; flex-wrap: wrap; gap: 16px; }
.exchange-chip {
  width: 168px; height: 60px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line);
  background: #ffffff; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.exchange-chip img { height: 28px; width: auto; display: block; }

/* ---- Reviews --------------------------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 10px; }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__photo {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line-ink); flex: none;
}
.review__name { font-weight: 700; margin: 0; }
.review__role { font-size: .82rem; color: var(--ink-2); margin: 0; }
.review__body { font-size: .93rem; color: var(--ink-2); margin: 0; flex: 1; }
.review__stats {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; color: var(--ink-2);
}
.review__stats b { color: var(--ink); font-weight: 600; }
.review__stats .up { color: #1B6B3A; font-weight: 600; }
.review-note { font-size: .8rem; color: var(--ink-3); margin: 18px 0 0; }

/* ---- Company block ---------------------------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; font-size: .92rem; }
.company-facts li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.company-facts li:last-child { border-bottom: 0; }
.company-facts .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-link {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.company-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.company-link span { font-weight: 700; font-size: .92rem; }
.company-link .icon-badge { width: 42px; height: 42px; }
.company-link .icon-badge .icon { width: 22px; height: 22px; }

/* ---- FAQ ----------------------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
details.faq[open] { border-color: var(--line-ink); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); transition: transform .16s ease; }
details.faq[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 18px 16px; color: var(--ink-2); font-size: .93rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---- Calculator section ---------------------------------------------------------------------------- */
.calc-section { position: relative; overflow: hidden; }
.calc-canvas-wrap { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.calc-canvas-wrap canvas { width: 100%; height: 100%; display: block; }

/* ---- Prose pages -------------------------------------------------------------------------------------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose .note {
  background: var(--accent-tint); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--ink-2);
}
.prose .note p:last-child { margin-bottom: 0; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

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

/* ---- Footer ---------------------------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #D9D7CF; margin-top: 0; border-top: 4px solid var(--accent); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 5vw, 64px) 0 34px;
}
.footer-col__title {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #F2F1EC; margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: #C7C5BD; text-decoration: none; font-size: .87rem; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-brand__addr { font-size: .87rem; line-height: 1.7; margin: 18px 0 10px; }
.footer-brand__addr a { color: #D9D7CF; }
.footer-brand__reg { font-size: .78rem; color: #96948D; margin: 0; }
.footer-brand__reg a { color: #96948D; }
.footer-disclaimer { border-top: 1px solid rgba(242, 241, 236, .18); padding: 22px 0 8px; }
.footer-disclaimer__title {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #F2F1EC; margin-bottom: 10px;
}
.footer-disclaimer p { font-size: .78rem; line-height: 1.7; color: #A8A69E; }
.footer-copy { font-size: .78rem; color: #96948D; padding: 14px 0 26px; margin: 0; }

/* ---- Breadcrumbs -------------------------------------------------------------------------------------------- */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.breadcrumbs__list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 12px 0; font-size: .8rem; color: var(--ink-2);
}
.breadcrumbs__list a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs__list a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs__list li { display: flex; gap: 8px; align-items: center; }

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

/* ---- Special offer page ------------------------------------------------------------------------------------------ */
/* .page-offer lifts the urgency strip above the sticky header (JS adds the class;
   without JS the strip renders in normal flow at the top of the page). */
.page-offer .urgency-strip { position: fixed; top: 0; left: 0; right: 0; z-index: 150; }
.page-offer .site-header { top: 40px; }
.urgency-strip { background: var(--ink); color: #F2F1EC; border-bottom: 3px solid var(--accent); }
.urgency-strip__inner { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 12px 0; }
.urgency-strip__stat { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.urgency-strip__stat b { color: #fff; }
.offer-countdown { display: inline-flex; gap: 6px; align-items: center; }
.offer-countdown__cell {
  font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem;
  background: var(--accent); color: #fff; border-radius: 3px;
  padding: 6px 9px; min-width: 46px; text-align: center;
}
.offer-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20, 22, 26, .62);
}
.offer-modal.is-open { display: flex; }
.offer-modal__card {
  position: relative; background: var(--paper); border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 460px; width: 100%; padding: 30px 28px 26px; text-align: center;
}
.offer-modal__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; color: var(--ink);
}
.offer-modal__close:hover { border-color: var(--ink); background: var(--surface-2); }
.offer-modal__card h2 { font-size: 1.6rem; }
.offer-cta-band { background: var(--ink); border-top: 3px solid var(--accent); }
.offer-cta-band .inner { padding: clamp(36px, 5vw, 56px) 0; text-align: center; }
.offer-cta-band h2 { color: #F2F1EC; }
.offer-cta-band p { color: #C7C5BD; max-width: 560px; margin-inline: auto; }

/* ---- 404 -------------------------------------------------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.error-page .code {
  font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem);
  line-height: .9; color: var(--ink);
}
.error-page .code em { font-style: normal; color: var(--accent); }

/* ---- Responsive ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__chart { opacity: .4; width: 90vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .company-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature-card { grid-column: auto !important; }
  .company-links { grid-template-columns: 1fr; }
  .exchange-chip { width: 148px; height: 54px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-dd__grid--two { columns: 1; }
}

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

/* Homepage photo and responsive reviews */
.hero--home {
  --home-hero-shade: 16, 22, 33;
  --home-hero-overlay: linear-gradient(90deg, rgba(var(--home-hero-shade), .97) 0%, rgba(var(--home-hero-shade), .85) 37%, rgba(var(--home-hero-shade), .12) 100%);
  background: var(--home-hero-overlay), url("../images/hero-au.webp") right center / cover no-repeat, rgb(var(--home-hero-shade));
}

.hero--home .hero__bg { opacity: .12; }

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

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

@media (max-width: 767px) {
  .hero--home {
    --home-hero-overlay: linear-gradient(180deg, rgba(var(--home-hero-shade), .78), rgba(var(--home-hero-shade), .92) 38%, rgba(var(--home-hero-shade), .5));
    background-position: 85% center;
  }
}

/* Embedded ticker and country selector */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

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

.hero--home .hero__copy { color: #f8fafc; }
.hero--home h1 { color: #fff; }
.hero--home h1 .accent { color: #ff9aa9; }
.hero--home .hero__text,
.hero--home .hero__flagline { color: #e2e8f0; }
.hero--home .label-mono,
.hero--home .form-note {
  color: #f1f5f9;
  text-shadow: 0 1px 4px #101621;
}
.hero--home .hero__eyebrow .dot { background: #ff9aa9; }

/* Desktop navigation */
@media (min-width: 1021px) {
  .site-header { background: #151820; border-bottom: 3px solid #dc2944; }
  .site-header .header-inner { max-width: 1360px; min-height: 72px; gap: 17px; padding-inline: clamp(22px, 3vw, 42px); }
  .site-header .brand { color: #fbf8ee; }
  .site-header .brand__word em { color: #ff8796; }
  .site-header .site-nav__list { gap: 0; border-inline: 1px solid #43434c; }
  .site-header .site-nav__item + .site-nav__item { border-left: 1px solid #43434c; }
  .site-header .nav-dd__trigger { color: #f7f2ec; padding: 11px 13px; }
  .site-header .nav-dd__trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { background: #343743; color: #fff; }
  .site-header .nav-dd.is-current > .nav-dd__trigger { color: #ffacb7; }
  .site-header .header-cta { background: #c51635; color: #fff; border: 1px solid #f06a7d; border-radius: 0; box-shadow: 3px 3px 0 #f5b1bb; white-space: nowrap; }
  .site-header .header-cta:hover { background: #a5112b; color: #fff; }
}

@media (min-width: 1021px) {
  .site-header { background: #17191e; border-bottom: 1px solid #46474e; }
  .site-header .header-inner { min-height: 66px; }
  .site-header .site-nav__list { border: 0; background: #252830; }
  .site-header .nav-dd__trigger { font-weight: 650; }
  .site-header .header-cta { background: #fbadb8; color: #22161b; border-color: transparent; box-shadow: none; }
  .site-header .nav-dd__panel { border-top: 3px solid #ea3a54; }
}
