/* Desktop navigation and interaction states. */
@media (min-width: 781px) {
  header.site-header {
    --nav-ink: #173832;
    --nav-surface: #fff9ef;
    --nav-active: #eee6d8;
    --nav-line: #dbd0bf;
    --nav-button: #245448;
    --nav-button-hover: #376c5b;
    --nav-button-ink: #fff;
    --nav-radius: 24px;
    color: var(--nav-ink);
    background: var(--nav-surface);
    border-bottom: 1px solid var(--nav-line);
    box-shadow: 0 5px 18px #10182714;
  }

  header.site-header .header-inner { min-height: 78px; align-items: center; }
  header.site-header .navigation { gap: clamp(3px, .55vw, 9px); }
  header.site-header .navigation details { position: relative; }
  header.site-header .navigation summary,
  header.site-header .navigation.offer-nav > a:not(.button),
  header.site-header .navigation.navigation--offer > a:not(.button) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 42px;
    padding: 8px clamp(7px, .8vw, 13px);
    border-radius: var(--nav-radius);
    color: var(--nav-ink);
    font-weight: 680;
    line-height: 1.2;
    white-space: nowrap;
    list-style: none;
  }
  header.site-header .navigation summary::-webkit-details-marker { display: none; }
  header.site-header .navigation summary::marker { content: ""; }
  header.site-header .navigation summary:not(:has(svg))::after {
    content: "";
    display: block;
    flex: 0 0 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-1px) rotate(45deg);
  }
  header.site-header .navigation details[open] > summary:not(:has(svg))::after { transform: translateY(2px) rotate(225deg); }
  header.site-header .navigation summary:hover,
  header.site-header .navigation details[open] > summary { background: var(--nav-active); }
  header.site-header .navigation details > ul {
    inset: calc(100% + 8px) auto auto 0;
    min-width: 208px;
    max-width: min(320px, 34vw);
    padding: 6px;
    border: 1px solid var(--nav-line);
    border-radius: var(--nav-radius);
    background: var(--nav-surface);
    box-shadow: 0 16px 38px #10182729;
    z-index: 15;
  }
  header.site-header .navigation details > ul a {
    display: block;
    padding: 9px 11px;
    border-radius: max(3px, calc(var(--nav-radius) / 2));
    color: var(--nav-ink);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  header.site-header .navigation details > ul a:is(:hover, :focus-visible, [aria-current="page"]) {
    color: var(--nav-ink);
    background: var(--nav-active);
  }
  header.site-header :is(summary, a):focus-visible {
    outline: 2px solid var(--nav-button-hover);
    outline-offset: 3px;
  }
  header.site-header a.button.header-link {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 10px clamp(13px, 1.4vw, 22px);
    border: 1px solid transparent;
    border-radius: var(--nav-radius);
    color: var(--nav-button-ink);
    background: var(--nav-button);
    box-shadow: 0 3px 9px #10182736;
    font-weight: 750;
    line-height: 1.15;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease;
  }
  header.site-header a.button.header-link:hover {
    color: var(--nav-button-ink);
    background: var(--nav-button-hover);
    box-shadow: 0 5px 13px #10182745;
  }
  header.site-header a.button.header-link:not(:has(svg, [aria-hidden="true"]))::after { content: "\2197"; }
  @media (prefers-reduced-motion: reduce) {
    header.site-header a.button.header-link { transition: none; }
  }
}

/* Spacing and legibility below the hero. */
.landing-page section.landing-band { padding-block: clamp(38px, 5.25vw, 78px); }
.landing-page section.landing-band--exchanges { padding-block: clamp(27px, 3.7vw, 51px); }
.landing-page section.landing-band--reviews { padding-block: clamp(43px, 6.25vw, 88px); }
.landing-page section.landing-band--registration { padding-block: clamp(41px, 6vw, 84px); }
.landing-page .landing-band :is(.section-head, .section-top, .calc-head) {
  margin-block: 0 clamp(19px, 2.8vw, 34px);
}
.landing-page .landing-band :is(.section-head, .section-top, .calc-head) > p:last-child { margin-bottom: 0; }
.landing-page .landing-band :is(.split, .section-split, .portal-grid, .calc-grid, .calc-layout) {
  column-gap: clamp(20px, 4.2vw, 64px);
  row-gap: clamp(17px, 3vw, 34px);
}
.landing-page .landing-band :is(.review-text, .review__text, .section-head > p, .section-top > p, .section-lead, .exchanges-note) {
  color: var(--landing-muted);
}
.landing-page .landing-band--exchanges :is(.exchanges, .exchange-list, .exchange-grid, .logo-grid) { gap: clamp(10px, 1.4vw, 18px); }
.landing-page .landing-band--exchanges :is(.exchanges > li, .exchanges > .chip, .exchange-list > li, ul.exchange-grid > li, .logo-grid > li, .logo-chips > .logo-chip) {
  min-width: 0;
  padding-inline: clamp(8px, 1vw, 15px);
  background-color: #fff;
  border: 1px solid color-mix(in srgb, var(--landing-line) 68%, #9a9da9);
}
.landing-page .landing-band--exchanges :is(.exchange-chip.dark, .exchange-dark, .chip--dark, .logo-chip.dark, .logo-chip-dark) {
  background-color: #101a2d;
  border-color: #344258;
}
.landing-page .landing-band--exchanges :is(.exchanges, .exchange-list, ul.exchange-grid, .logo-grid, .logo-chips) img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(23px, 2.25vw, 32px);
  object-fit: contain;
}
.landing-page .landing-band--calculator { --landing-section: var(--landing-mist); }
.landing-page .landing-band--steps :is(.step-grid, .steps-circles, ol.steps) { gap: clamp(11px, 1.8vw, 22px); }
.landing-page .landing-band--comparison .table-wrap {
  margin-block: clamp(16px, 2vw, 26px) 12px;
  background: var(--landing-card);
}
.landing-page .landing-band--comparison :is(td, th) { padding: clamp(8px, 1.25vw, 17px); }
.landing-page section.landing-band--security {
  background: linear-gradient(100deg, var(--landing-section, var(--landing-paper)) 30%, transparent),
    var(--section-pattern) right center / min(53vw, 690px) auto no-repeat,
    var(--landing-section, var(--landing-paper));
}
.landing-page .landing-band--security :is(.security-card, a.card, .card-grid > article, .cards > a, .cards > article) {
  color: var(--landing-ink);
  background: var(--landing-card);
  border: 1px solid var(--landing-line);
}
.landing-page .landing-band--security :is(.security-card, a.card, .cards > a):is(:hover, :focus-visible),
.landing-page .landing-band--company :is(.cards, .card-grid, .link-cards) > a:is(:hover, :focus-visible) {
  border-color: var(--section-accent);
}
.landing-page .landing-band--security :is(.section-lead, .eyebrow, .label) { color: var(--landing-muted); }
.landing-page .landing-band--security a.button--light {
  color: var(--landing-ink);
  background: var(--landing-card);
  border: 1px solid var(--section-accent);
}
.landing-page .landing-band--reviews :is(.review, .review-card) {
  box-shadow: 0 3px 12px #10182710;
}
.landing-page .landing-band--company :is(.cards, .card-grid, .link-cards) > a {
  color: var(--landing-ink);
  background: var(--landing-card);
  border: 1px solid var(--landing-line);
}
.landing-page .landing-band--benefits {
  --landing-section: var(--landing-mist);
}
.landing-page .landing-band--benefits :is(.cards, .card-grid, .benefits) {
  gap: clamp(12px, 2vw, 24px);
}
.landing-page .landing-band--benefits :is(.cards, .card-grid, .benefits) > :is(article, div, li) {
  color: var(--landing-ink);
  background: var(--landing-card);
  border: 1px solid var(--landing-line);
  border-radius: var(--landing-card-radius);
  padding: clamp(15px, 2.25vw, 28px);
}
.landing-page section.landing-band--registration {
  background:
    linear-gradient(110deg, var(--landing-section, var(--landing-mist)) 26%, transparent),
    repeating-linear-gradient(135deg, transparent 0 18px,
      color-mix(in srgb, var(--section-accent) 16%, transparent) 18px 19px),
    var(--landing-section, var(--landing-mist));
}
.landing-page .landing-band--faq :is(details, .faq-item) { margin: 0; }
.landing-page .landing-band--faq :is(details, .faq-item) + :is(details, .faq-item) { margin-top: 8px; }
.landing-page .landing-band--faq summary { min-height: 28px; color: var(--landing-ink); }
.landing-page .landing-band--faq summary:focus-visible { outline: 2px solid var(--section-accent); outline-offset: 3px; }

/* The phone widget uses a light surface in both light and dark forms. */
.iti .iti__selected-country {
  color: rgb(24, 33, 47) !important;
  background-color: #f3f6fa !important;
}
.iti .iti__selected-country:hover,
.iti .iti__selected-country[aria-expanded="true"] { background-color: #e5edf6 !important; }
.iti .iti__selected-dial-code { color: rgb(24, 33, 47) !important; }
.iti .iti__dropdown-content,
.iti .iti__country-list { color: #18212f; background-color: #fff; }
.iti .iti__country .iti__country-name { color: #000 !important; }
.iti .iti__country .iti__dial-code { color: #425266; }
.iti .iti__country.iti__highlight { background-color: #e7eff7; }

.landing-page--merit {
  --section-accent: #9b6244;
  --section-pattern: url("../images/contours.svg");
}
.landing-page--merit .market-strip .container { color: #f8f5ec; }
.landing-page--merit .landing-band--security .section-top > p { color: #40574f; }

/* Artwork for the registration and security sections. */
.landing-page section.landing-band--registration {
  --art-base: #efe2d3;
  --art-image: url("../images/section-atmosphere.webp");
  --art-position: right 68%;
}
.landing-page section.landing-band--security {
  --art-base: #e5ede5;
  --art-image: url("../images/section-detail.webp");
  --art-position: right 58%;
}
.landing-page :is(section.landing-band--registration, section.landing-band--security) {
  background-color: var(--art-base);
  background-image: linear-gradient(90deg,
    var(--art-base) 11%,
    color-mix(in srgb, var(--art-base) 94%, transparent) 36%,
    color-mix(in srgb, var(--art-base) 68%, transparent) 77%,
    color-mix(in srgb, var(--art-base) 57%, transparent)),
    var(--art-image);
  background-position: center, var(--art-position);
  background-size: cover, cover;
  background-repeat: no-repeat;
}
@media (max-width: 760px) {
  .landing-page :is(section.landing-band--registration, section.landing-band--security) {
    background-image: linear-gradient(180deg,
      var(--art-base) 2%,
      color-mix(in srgb, var(--art-base) 91%, transparent) 56%,
      color-mix(in srgb, var(--art-base) 79%, transparent)),
      var(--art-image);
  }
}

@media (max-width: 380px) {
  .inner-title .inner-split { grid-template-columns: minmax(0, 1fr); }
  .inner-title h1 { font-size: clamp(1.85rem, 9.1vw, 2.28rem); overflow-wrap: anywhere; }
}

/* Australian company contacts and practical account links. */
.landing-page--merit section.landing-band--company {
  background: linear-gradient(118deg, #e8eee4 47%, #f8efdd);
}
.merit-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(22px, 4.6vw, 70px);
}
.merit-company__intro > p {
  max-width: 52ch;
  margin-top: 12px;
  color: #40574f;
  line-height: 1.6;
}
.merit-company__contacts {
  display: grid;
  gap: 8px;
  margin: clamp(17px, 2.5vw, 31px) 0 0;
}
.merit-company__contacts > div {
  position: relative;
  min-height: 60px;
  padding: 9px 14px 9px 62px;
  border: 1px solid #ccd7cd;
  border-radius: 11px;
  background: #fffaf0;
}
.merit-company__contacts dt { color: #173832; font-weight: 730; line-height: 1.3; }
.merit-company__contacts dd {
  margin: 3px 0 0;
  color: #40574f;
  font-size: .94rem;
  overflow-wrap: anywhere;
}
.merit-company__contacts dt > span { position: absolute; top: 11px; left: 13px; }
.merit-company :is(dt, .merit-company__primary a) > span {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0ebe0;
  color: #245448;
}
.merit-company :is(dt, .merit-company__primary a) svg { width: 17px; height: 17px; }
.merit-company__resources {
  min-width: 0;
  padding: clamp(16px, 3vw, 33px);
  border: 1px solid #cdd3c5;
  border-radius: 21px;
  background: #fffaf0;
}
.merit-company__resources h3 {
  margin: 0 0 13px;
  color: #173832;
  font-size: clamp(1.15rem, 1.85vw, 1.4rem);
  line-height: 1.2;
}
.merit-company :is(.merit-company__primary, .merit-company__guides) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.merit-company__primary a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: 52px;
  padding: 7px 9px;
  border: 1px solid #cdd9cc;
  border-radius: 10px;
  background: #f1f5ed;
  color: #173832;
  font-size: .93rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.merit-company__primary a:hover { border-color: #597a69; background: #e6eee2; }
.merit-company .merit-company__guides {
  gap: 4px 12px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid #d6d7c5;
}
.merit-company__guides a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 3px;
  color: #245448;
  font-size: .92rem;
  font-weight: 640;
  line-height: 1.3;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.merit-company__guides a:hover { color: #623f29; }
.merit-company a:focus-visible { outline: 2px solid #245448; outline-offset: 3px; }
@media (max-width: 850px) {
  .merit-company { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .merit-company :is(.merit-company__primary, .merit-company__guides) { grid-template-columns: minmax(0, 1fr); }
}
