:root { --account-bg:#bfe84a; --account-hover:#daf68a; --account-ink:#142008; --account-radius:8px; --account-shadow:0 0 0 3px #bfe84a14; --account-shadow-hover:0 0 0 5px #bfe84a23; --landing-base:#101316; --landing-tint:#171e23; --landing-panel:#171d22; --landing-border:#32404a; --hero-ground:#081627; --hero-highlight:#d4f779; --hero-gradient:linear-gradient(90deg,#081627e8 3%,#081627b8 39%,#08162724 76%,#08162728); --hero-form-radius:12px; --section-radius:12px; --register-art:url("../images/home-market-network.webp"); --register-overlay:#081627b8; }

/* Home page layout and shared account button. */
.account-action {
  --action-gap: .55rem;
  gap: var(--action-gap);
  white-space: nowrap;
  border-radius: var(--account-radius);
  color: var(--account-ink);
  background: var(--account-bg);
  border: 1px solid var(--account-bg);
  box-shadow: var(--account-shadow);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.account-action:hover {
  background: var(--account-hover);
  border-color: var(--account-hover);
  color: var(--account-ink);
  box-shadow: var(--account-shadow-hover);
  text-decoration: none;
}
.account-action__arrow { flex: none; transition: transform .18s ease; }
.account-action:hover .account-action__arrow { transform: translateX(3px); }
.account-action:focus-visible, .landing-action:focus-visible { outline: 3px solid var(--account-bg); outline-offset: 4px; }

.landing { background: var(--landing-base); }
.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-ground);
  color: #f6f8fb;
  padding: clamp(2.5rem, 4.4vw, 4.75rem) 0;
}
.landing-hero__image { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.landing-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position, right center); }
.landing-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-gradient), linear-gradient(0deg, var(--hero-ground), transparent 24%);
}
.landing-hero__layout {
  display: grid;
  grid-template: "headline form" auto "details form" 1fr / minmax(0, 1.2fr) minmax(350px, .85fr);
  gap: clamp(1rem, 2.5vw, 2rem) clamp(2rem, 8vw, 8rem);
  align-items: start;
}
.landing-hero__headline { grid-area: headline; padding-top: clamp(0rem, 2vw, 1.7rem); }
.landing-hero__eyebrow { width: fit-content; margin: 0 0 1.15rem; color: var(--hero-highlight); font-size: .8rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.landing-hero h1 { margin: 0; color: #fff; font-size: clamp(2.5rem, 4.6vw, 5rem); line-height: 1.04; letter-spacing: -.043em; max-width: 15ch; text-wrap: balance; }
.landing-hero h1 em { color: var(--hero-highlight); font-style: normal; }
.landing-hero__details { grid-area: details; max-width: 55ch; }
.landing-hero__summary { color: #e3edf9; font-size: clamp(1rem, 1.4vw, 1.17rem); margin: 0 0 1.3rem; }
.landing-hero__office { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; color: #f1f6fb; font-weight: 600; font-size: .9rem; }
.landing-hero__office svg { flex: none; }
.landing-hero__office .offices__flags { display: inline-flex; gap: .35rem; }
.landing-hero__links { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; margin-top: 1.25rem; }
.landing-hero__links a { color: #edf5ff; text-decoration: underline; text-decoration-color: var(--hero-highlight); text-underline-offset: .26em; }
.landing-hero__links a:hover { color: var(--hero-highlight); }
.landing-hero__form {
  grid-area: form;
  align-self: center;
  justify-self: end;
  min-width: 0;
  width: min(100%, 470px);
  padding: clamp(1rem, 2.65vw, 2rem);
  position: relative;
  color: var(--text);
  background: var(--landing-panel);
  border: 1px solid var(--landing-border);
  border-radius: var(--hero-form-radius);
  border-top: 4px solid var(--account-bg);
  box-shadow: 0 22px 65px #0007;
}
.landing-hero__form h2, .landing-hero__form .form-block__heading { margin: 0 0 .85rem; font-size: clamp(1.27rem, 2.1vw, 1.75rem); line-height: 1.15; text-wrap: balance; }
.landing-hero__form .form-block { max-width: none; margin: 0; }
.landing-hero__form .form-block--hero { padding: 0; border: 0; box-shadow: none; background: transparent; }
.landing-hero__form .form-callout { margin-bottom: 0; }
.landing-hero__form .form-card__note, .landing-hero__form .hero__call { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--landing-border); }
.landing-hero #registration-form { scroll-margin-top: calc(var(--header-h, 70px) + 1.5rem); }

.landing .landing-section { padding-block: clamp(3rem, 6vw, 6.5rem); border-block: 0; }
.landing .landing-section h2 { text-wrap: balance; }
.landing .landing-exchanges { padding-block: clamp(1.55rem, 3vw, 2.65rem); background: var(--landing-panel); border-bottom: 1px solid var(--landing-border); }
.landing-exchanges .exchanges__inner { padding: 0; flex-wrap: wrap; }
.landing-exchanges .exchanges__chips { grid-template-columns: repeat(3, minmax(86px, 132px)); justify-content: center; }
.landing .landing-steps { background: var(--landing-tint); }
.landing-steps .section-head h2 { color: var(--text); }
.landing-steps .section-head p { color: var(--text-muted, var(--muted)); }
.landing-steps .section-head .eyebrow { color: var(--accent); }
.landing-steps__action { margin-top: clamp(1.2rem, 3vw, 2.1rem); }
.landing-action { display: inline-flex; min-height: 46px; align-items: center; gap: .65rem; padding: .55rem 1.1rem; font-weight: 700; border-radius: var(--account-radius); color: var(--account-ink); background: var(--account-bg); }
.landing-action:hover { color: var(--account-ink); background: var(--account-hover); text-decoration: none; }
.landing .landing-benefits { background: var(--landing-base); }
.landing .landing-security { background: var(--landing-tint); }
.landing .landing-calc { background: var(--landing-base); border-top: 1px solid var(--landing-border); }
.landing-calc .calc-card, .landing-calc .calc-grid > :last-child { min-width: 0; }
.landing .landing-compare { background: var(--landing-tint); }
.landing-compare .table-wrap { border-radius: var(--section-radius); box-shadow: var(--shadow-sm); }
.landing .landing-reviews { background: var(--landing-base); }
.landing-reviews .reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; columns: auto; gap: clamp(.9rem, 2vw, 1.5rem); }
.landing-reviews .reviews > * { min-width: 0; margin: 0; border-radius: var(--section-radius); }
.landing .landing-company { background: var(--landing-tint); }
.landing .landing-register {
  background: linear-gradient(110deg, var(--hero-ground) 8%, var(--register-overlay) 55%, var(--hero-ground)),
              var(--hero-ground) var(--register-art) right center / cover no-repeat;
  color: #e7f0fa;
}
.landing-register h2 { color: #fff; }
.landing-register .lead, .landing-register .landing-register__copy p { color: #e7f0fa; }
.landing-register .ill { display: none; }
.landing-register .form-block { color: var(--text); }
.landing-register__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.landing-register__form { min-width: 0; }
.landing-register__form .form-block { margin: 0; }
.landing .landing-faq { background: var(--landing-base); }
.landing--terminal .landing-hero__eyebrow { font-family: var(--font-mono); }
.landing--terminal .landing-hero__form { border-top-width: 1px; outline: 1px solid #bfe84a52; outline-offset: 5px; }
.landing--terminal .landing-security { background: linear-gradient(90deg, #101a27, #101a27b3), #101a27 url("../images/home-market-network.webp") right center / cover no-repeat; }
.landing--terminal .landing-company { background: linear-gradient(90deg, #101a27, #101a27aa), #101a27 url("../images/home-sydney-markets.webp") right center / cover no-repeat; }
.landing--terminal .landing-register .form-block h2 { color: var(--text); }

@media (max-width: 900px) {
  .landing-hero__layout { column-gap: 1.75rem; }
  .landing-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
  .landing-reviews .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .landing-hero { padding: 2.5rem 0 2.8rem; }
  .landing-hero__layout { grid-template: "headline" "form" "details" / minmax(0, 1fr); gap: 1.65rem; }
  .landing-hero__headline { padding: 0; }
  .landing-hero__eyebrow { margin-bottom: .8rem; }
  .landing-hero h1 { font-size: clamp(2rem, 7vw, 3.1rem); }
  .landing-hero__image { bottom: auto; height: clamp(420px, 108vw, 650px); }
  .landing-hero__image img { object-position: var(--hero-mobile-position, right top); }
  .landing-hero__image::after { background: linear-gradient(180deg, #06121bb0, #06121b66 47%, var(--hero-ground)); }
  .landing-hero__form, .landing-hero__details { justify-self: start; }
  .landing-register__layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 580px) {
  .landing-reviews .reviews { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .account-action, .account-action__arrow { transition: none; }
}
@media (max-width: 767px) {
  .site-header .account-action:not(.btn--block) { display: inline-flex; padding: .45rem .65rem; min-height: 40px; font-size: .78rem; }
  .site-header .account-action:not(.btn--block) .account-action__arrow { width: 13px; height: 13px; }
  .site-header .nav-toggle { flex: none; }
  .header-bar__inner, .header-inner, .site-header__inner { gap: 8px; }
  .site-header__actions { margin-inline-start: auto; }
}
@media (max-width: 380px) {
  .site-header .account-action:not(.btn--block) { padding-inline: .5rem; }
  .site-header .account-action:not(.btn--block) .account-action__arrow { display: none; }
  .site-header .brand { min-width: 0; }
  .site-header .brand__svg { width: 116px; }
  .site-header .nav-toggle { width: 36px; min-height: 40px; padding-inline: 0; }
  .header-bar__inner, .header-inner, .site-header__inner, .header-actions, .site-header__actions { gap: 6px; }
}


@media (min-width: 1000px) {
  .landing-hero__image img { transform: translateX(-12%); mask-image: linear-gradient(90deg, #000 86%, transparent); }
}

.landing--terminal .landing-hero__office { border-left: 2px solid var(--hero-highlight); padding-left: .7rem; }

.landing-section :is(.section-head,.section__head) { max-width: 66ch; }
.landing-section :is(.section-head,.section__head) h2 { margin-bottom: .5em; }
