/*
 * ratebullion.com, Bundiwal Tech's own website (HANDOVER §4z146; approved design 5 Oct 2026, the build
 * brief in "outside work/lr/rb-public/package"). Only on the platform's own host: the pages come from
 * src/platform-site.js. GFE platform colours, navy first; gold only as a small accent (eyebrows, the
 * short rule above a heading, step numbers, footer headings, the wordmark's dot), never a button,
 * a background or body text. Focus shows inside a control's own border or fill, never an outer ring.
 */

:root {
  color-scheme: light;
  --navy: #14213d;
  --navy-hover: #1e3a6e;
  --alt: #f2f8fd;
  --text: #111111;
  --muted: #666d7a;
  --line: #e2e8f0;
  --control: #828997;
  --gold: #8a6310;
  --gold-line: #e6b84a;
  --wa: #075e54;
  --wa-hover: #054c44;
  --good: #0c6e4c;
  --good-bg: #e6f4ea;
  --bad: #a63d40;
  --bad-bg: #fae8e8;
  --warn: #8a5700;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--text);
  font:
    400 16px/1.55 'Inter',
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
}

/* A link inside text shows focus on its own underline, never an outer ring. */
.sub a:focus-visible,
.help a:focus-visible,
.ltxt a:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

/* Tabular figures wherever numbers stand (not the body: Inter's tnum widens the hyphen too). */
.sb,
.pbk,
.steps li::before,
.fbase p {
  font-variant-numeric: tabular-nums;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

.hidden,
[hidden] {
  display: none !important;
}

.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.i-sm {
  width: 16px;
  height: 16px;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  background: var(--navy);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
  outline: none;
  box-shadow: inset 0 0 0 2px #ffffff;
}

/* ---- buttons: focus inside the control's own border or fill ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font:
    600 15px/1.2 'Inter',
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.btn-wa {
  background: var(--wa);
  color: #ffffff;
  border-color: var(--wa);
}

.btn-wa:hover,
.btn-wa:focus-visible {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
}

.btn-p {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.btn-p:hover,
.btn-p:focus-visible {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
}

.btn-s {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--control);
  padding: 0 19px;
}

.btn-s:hover {
  border-color: var(--navy);
}

.btn-s:focus-visible {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.btn-t {
  background: none;
  color: var(--navy);
  padding: 0 6px;
  min-height: 44px;
}

.btn-t:hover {
  text-decoration: underline;
}

.btn-t:focus-visible {
  box-shadow: inset 0 -2px 0 var(--navy);
}

.btn-sm {
  min-height: 44px;
  padding: 0 14px;
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.icobtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
}

.icobtn:focus-visible {
  outline: none;
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

/* ---- header ---------------------------------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.wm {
  font:
    800 22px/1 'Inter',
    sans-serif;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.wm span {
  color: var(--gold-line);
}

.wm:focus-visible {
  outline: none;
  box-shadow: inset 0 -2px 0 var(--navy);
}

.hnav {
  display: flex;
  gap: 4px;
  align-self: stretch;
}

.hnav a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.hnav a:hover {
  color: var(--navy);
}

.hnav a[aria-current='page'] {
  color: var(--navy);
  font-weight: 700;
  border-bottom-color: var(--navy);
}

.hnav a:focus-visible {
  outline: none;
  border-bottom-color: var(--control);
}

.hsp {
  flex: 1;
}

.hact {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mbtn,
.mwa {
  display: none;
}

.mwa {
  background: var(--wa);
  color: #ffffff;
  border-color: var(--wa);
}

.mwa:focus-visible {
  border-color: var(--wa-hover);
  box-shadow: inset 0 0 0 2px #ffffff;
}

/* ---- the menu sheet (1040 px and under) -------------------------------------------------------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.42);
  display: flex;
  justify-content: flex-end;
}

.sheet {
  width: min(380px, 100%);
  height: 100%;
  overflow-y: auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.2s ease-out;
}

@keyframes sheet-in {
  from {
    transform: translateX(24px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sheet {
    animation: none;
  }
}

.sheet-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  min-height: 64px;
}

.sheet nav {
  display: grid;
  padding: 8px;
}

.sheet nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  border: 2px solid transparent;
}

.sheet nav a[aria-current='page'] {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
}

.sheet nav a:focus-visible {
  outline: none;
  border-color: var(--navy);
}

.sheet nav a[aria-current='page']:focus-visible {
  box-shadow: inset 0 0 0 2px #ffffff;
}

.sheet-f {
  margin-top: auto;
  padding: 16px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

/* ---- type and sections ----------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.sec {
  padding: 88px 0;
}

.sec.alt {
  background: var(--alt);
}

.sec.tight {
  padding: 56px 0;
}

.sh {
  max-width: 760px;
  margin-bottom: 40px;
}

.sh h2,
.h2 {
  margin: 8px 0 12px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.sh p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.rule {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-line);
  margin-bottom: 14px;
}

.lead {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--muted);
}

.more {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.grid2,
.grid3 {
  display: grid;
  gap: 20px;
}

.grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fcard {
  padding: 26px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.fcard h3 {
  margin: 0;
  font-size: 19px;
  color: var(--navy);
}

.fcard p {
  margin: 0;
  color: var(--muted);
}

.ficon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--alt);
  color: var(--navy);
}

.ficon--wa {
  background: #e3f1ee;
  color: var(--wa);
}

.ficon--good {
  background: var(--good-bg);
  color: var(--good);
}

.tagline {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  background: #fbf3df;
  border-radius: 999px;
  padding: 4px 10px;
  justify-self: start;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ticks li .i {
  color: var(--good);
  margin-top: 2px;
}

.phead {
  background: var(--alt);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}

.phead h1 {
  margin: 8px 0 12px;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 860px;
}

.phead p {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 720px;
}

/* The closing band on every marketing page. */
.cta {
  background: var(--navy);
  color: #ffffff;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0;
  color: #d5dce8;
}

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn-s {
  background: transparent;
  color: #ffffff;
  border-color: #aeb8c9;
}

.cta .btn-s:hover,
.cta .btn-s:focus-visible {
  border-color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--alt);
  border: 1px solid var(--line);
}

.note--white {
  background: #ffffff;
}

.note .i {
  color: var(--navy);
  margin-top: 2px;
}

.note p {
  margin: 0;
}

.note h2,
.note b {
  display: block;
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--navy);
}

.note b {
  font-size: 16px;
}

.note .muted {
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* ---- Home: the hero and its sample board ------------------------------------------------------- */

.hero {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, var(--alt) 100%);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 12px 0 18px;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--navy);
}

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

.hero .lead {
  margin: 0 0 28px;
  font-size: 20px;
  max-width: 540px;
}

.hero .sub {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.mock {
  margin: 0;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.14);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}

.mock-bar .dots {
  display: flex;
  gap: 6px;
}

.mock-bar .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d9e0;
}

.mock-bar .addr {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The made-up shop's own colours, to show "your colours". */
.sb {
  --p: #7a1f2b;
  --bg: #fbf8f3;
  --sl: #e6dccd;
  --sm: #5e5248;
  background: var(--bg);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.sb-h {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-h .mk {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--p);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.sb-h b {
  display: block;
  font-size: 15px;
  color: #1c1410;
}

.sb-h small {
  display: block;
  font-size: 12px;
  color: var(--sm);
}

.sb-live {
  margin-left: auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--good);
  background: var(--good-bg);
  border-radius: 999px;
  padding: 4px 10px;
}

.sb-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
}

.sb-live.paused {
  color: var(--sm);
  background: #f4eee4;
}

.sb-live.paused i {
  background: var(--sm);
}

.sb-k {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sb-k > div {
  background: #ffffff;
  border: 1px solid var(--sl);
  border-top: 3px solid var(--p);
  border-radius: 8px;
  padding: 8px 10px;
}

.sb-k span {
  display: block;
  font-size: 12px;
  color: #1c1410;
  font-weight: 600;
}

.sb-k b {
  display: block;
  font-size: 19px;
  color: #1c1410;
}

.sb-k small {
  font-size: 11px;
  color: var(--sm);
}

.sb-book {
  border: 1px solid var(--sl);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.sb-book h3 {
  margin: 0;
  padding: 6px 10px;
  background: var(--p);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.sb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-top: 1px solid var(--sl);
  font-size: 13px;
  color: #1c1410;
}

.sb-book h3 + .sb-row {
  border-top: 0;
}

.sb-row b {
  font-size: 15px;
}

.sb-sp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sb-sp > div {
  background: #ffffff;
  border: 1px solid var(--sl);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.sb-sp span {
  display: block;
  font-size: 11px;
  color: var(--sm);
}

.sb-sp b {
  font-size: 14px;
  color: #1c1410;
}

/* A figure that moved: green up, red down, until the next tick. */
.sb b.up {
  color: var(--good);
}

.sb b.down {
  color: var(--bad);
}

.mock-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.trio .card {
  padding: 24px;
  display: grid;
  gap: 8px;
}

.trio h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

.trio p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: st;
  margin: 0;
  padding: 0;
}

.steps li {
  list-style: none;
  counter-increment: st;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps li::before {
  content: '0' counter(st);
  display: block;
  font:
    800 30px/1 'Inter',
    sans-serif;
  color: var(--gold-line);
  margin-bottom: 12px;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--navy);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.safe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.safe > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.safe h3 {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
}

.safe p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: center;
}

.split h2 {
  margin: 8px 0 14px;
}

.h3 {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--navy);
}

.pbk {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.pbk .eyebrow {
  font-size: 12px;
}

.pbk > b {
  font-size: 19px;
  color: var(--navy);
}

.pbk .count {
  font-size: 14px;
  color: var(--muted);
}

.pbk .r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.pbk .r:first-child {
  border-top: 0;
}

.pbk .ok {
  color: var(--good);
  font-weight: 600;
}

.pbk .due {
  color: var(--warn);
  font-weight: 600;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: var(--alt);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 36%;
  background: var(--navy);
}

/* ---- Features --------------------------------------------------------------------------------- */

.det {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.det .card {
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.det h3 {
  margin: 0;
  font-size: 22px;
  color: var(--navy);
}

.det p {
  margin: 0;
  color: var(--muted);
}

/* ---- How it works: the questions ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.faq .card {
  overflow: hidden;
}

.faq h3 {
  margin: 0;
}

.faq button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 20px;
  background: none;
  border: 0;
  border-radius: 14px;
  font:
    600 17px 'Inter',
    sans-serif;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.faq button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--navy);
}

.faq button .i {
  transition: transform 0.15s;
}

.faq button[aria-expanded='true'] .i {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq button .i {
    transition: none;
  }
}

.faq .a {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
}

/* ---- Contact ---------------------------------------------------------------------------------- */

.stack {
  display: grid;
  gap: 28px;
}

.ccard {
  padding: 32px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ccard h2 {
  margin: 0;
  font-size: 24px;
  color: var(--navy);
}

.ccard p {
  margin: 0;
  color: var(--muted);
}

.ccard .big {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.lk {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
}

.lk:hover {
  border-color: var(--line);
}

.lk:focus-visible {
  outline: none;
  border-color: var(--navy);
}

.lk .t {
  flex: 1;
}

.lk b {
  display: block;
  color: var(--navy);
}

.lk .s {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.operated {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---- Sign-up: the one form -------------------------------------------------------------------- */

.su-sec {
  background: var(--alt);
}

.su {
  max-width: 600px;
  margin: 0 auto;
}

.su .card {
  padding: 32px;
}

.su h1 {
  margin: 6px 0 8px;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.su h1:focus {
  outline: none;
}

.su .intro {
  margin: 0 0 22px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 15px;
}

.input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--control);
  border-radius: 10px;
  padding: 0 14px;
  font:
    400 16px 'Inter',
    sans-serif;
  color: var(--text);
  background: #ffffff;
}

.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.input[aria-invalid='true'] {
  border-color: var(--bad);
  box-shadow: inset 0 0 0 1px var(--bad);
}

.ig {
  display: flex;
  border: 1px solid var(--control);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.ig:focus-within {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.ig:has([aria-invalid='true']) {
  border-color: var(--bad);
  box-shadow: inset 0 0 0 1px var(--bad);
}

.ig .input {
  border: 0;
  box-shadow: none;
  min-width: 0;
}

.ig .fix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--alt);
  color: var(--muted);
  font-size: 15px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.help {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.help.ok {
  color: var(--good);
}

.help.bad {
  color: var(--bad);
}

.field-error {
  margin: 0;
  font-size: 14px;
  color: var(--bad);
}

.ban {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #f1aeb0;
  background: var(--bad-bg);
}

.ban .i {
  color: var(--bad);
  margin-top: 2px;
}

.ban p {
  margin: 0;
}

.su .done-note {
  margin-bottom: 20px;
}

.su .done-note b {
  font-size: 16px;
  color: var(--text);
  word-break: break-all;
}

.su .done-note p {
  color: var(--muted);
  font-size: 15px;
}

.su .done-next {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ---- Privacy, Terms, Methodology ------------------------------------------------------------------ */

.lg {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
}

.toc b {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.toc a,
.tocm a {
  display: block;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
}

.toc a:hover {
  background: var(--alt);
}

.toc a:focus-visible,
.tocm a:focus-visible {
  outline: none;
  border-color: var(--navy);
}

.tocm {
  display: none;
}

.tocm summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--control);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.tocm summary::-webkit-details-marker {
  display: none;
}

.tocm summary:focus-visible {
  outline: none;
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.tocm[open] summary .i {
  transform: rotate(180deg);
}

.tocm nav {
  display: grid;
  padding: 8px 0;
}

.ltxt h2 {
  margin: 40px 0 10px;
  font-size: 24px;
  color: var(--navy);
  scroll-margin-top: 96px;
}

.ltxt > h2:first-child,
.ltxt .legal__body > h2:first-child {
  margin-top: 0;
}

.ltxt p,
.ltxt li {
  color: #2a2f3a;
  font-size: 17px;
  line-height: 1.7;
}

.ltxt ul,
.ltxt ol {
  padding-left: 22px;
}

.ltxt .lede {
  font-size: 19px;
  color: var(--muted);
}

.ltxt .note {
  display: block;
}

/* The methodology's language picker: its room is kept while the script fills it, so nothing moves. */
.method__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.method__lang[hidden] {
  display: flex !important;
  visibility: hidden;
}

.method__lang label {
  font-weight: 600;
  font-size: 15px;
}

.method__lang select {
  min-height: 44px;
  border: 1px solid var(--control);
  border-radius: 10px;
  padding: 0 12px;
  font:
    400 16px 'Inter',
    sans-serif;
  background: #ffffff;
  color: var(--text);
}

.method__lang select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.method__summary {
  margin-bottom: 32px;
}

/* ---- Not found ------------------------------------------------------------------------------- */

.nf {
  max-width: 640px;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.nf h1 {
  margin: 0;
  font-size: 36px;
  color: var(--navy);
}

.nf p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.nf .btns {
  justify-content: center;
}

/* ---- footer ---------------------------------------------------------------------------------- */

.ftr {
  background: var(--navy);
  color: #d5dce8;
  padding: 56px 0 32px;
}

.ftr a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.ftr a:hover {
  text-decoration: underline;
}

.ftr a:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.ftr .wm {
  color: #ffffff;
  min-height: 44px;
}

.fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.fbrand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.fbrand p {
  margin: 0;
  max-width: 300px;
}

.fbrand .op {
  font-size: 14px;
}

.fgrid h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-line);
}

.fgrid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.fbase p {
  margin: 0;
}

.fbase {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2c3a57;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.fbase span {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 70;
  background: #111111;
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ---- 1040 px and under: two columns, the menu button ------------------------------------------- */

@media (max-width: 1040px) {
  .hnav,
  .hact {
    display: none;
  }
  .mbtn,
  .mwa {
    display: inline-grid;
  }
  .hdr .wrap {
    gap: 10px;
    min-height: 64px;
  }
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero .wrap,
  .trio,
  .steps,
  .split,
  .det,
  .lg {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding: 48px 0 56px;
  }
  .safe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg {
    gap: 20px;
  }
  .toc {
    display: none;
  }
  .tocm {
    display: block;
  }
}

/* ---- 640 px and under: one column, buttons full width in the hero and the bands ------------------- */

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .sec {
    padding: 56px 0;
  }
  .sec.tight {
    padding: 40px 0;
  }
  .sh h2,
  .h2 {
    font-size: 28px;
  }
  .sh p,
  .lead {
    font-size: 16px;
  }
  .h3 {
    font-size: 26px;
  }
  .phead {
    padding: 40px 0 32px;
  }
  .phead h1 {
    font-size: 32px;
  }
  .phead p {
    font-size: 17px;
  }
  .grid2,
  .grid3,
  .fgrid,
  .safe {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta {
    padding: 28px 20px;
  }
  .cta h2 {
    font-size: 24px;
  }
  .cta .btns .btn,
  .hero .btns .btn {
    flex: 1 1 100%;
  }
  .fcard {
    padding: 20px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .sb {
    padding: 12px;
  }
  .sb-h small {
    display: none;
  }
  .sb-k b {
    font-size: 17px;
  }
  .ccard {
    padding: 22px;
  }
  .ccard .btn {
    width: 100%;
  }
  .su .card {
    padding: 22px;
  }
  .su h1 {
    font-size: 26px;
  }
  .su .btn-p {
    width: 100%;
  }
  .ltxt p,
  .ltxt li {
    font-size: 16px;
  }
  .ltxt h2 {
    font-size: 21px;
  }
  .nf h1 {
    font-size: 28px;
  }
}

/* ---- Sign-up: the bot check (12 Oct 2026 design). Just before the button in the form's own 18 px gap, as
   wide as the fields, its 65 px kept from the first paint (bot-check.js hides it when the check is off);
   BOT_CHECK's words under the button. */
.su .bot-check {
  min-height: 65px;
  min-width: 0;
  /* Cloudflare's frame sits on a text line: no line, so the box is its 65 px, not 70. */
  font-size: 0;
  line-height: 0;
}
.su .bot-check-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--bad);
}
.su .bot-check-error:empty {
  display: none;
}
.su .bot-check-error__icon {
  flex: none;
  margin-top: 3px;
}
/* Phones: the card becomes the page, so the fields and the box are 328 px at 360 (Cloudflare needs 300). */
@media (max-width: 420px) {
  .su-sec .wrap {
    padding: 0;
  }
  .su .card {
    padding: 24px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
