@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.woff2") format("woff2");
}

:root {
  --ink: #0F1B2D;
  --ink-2: #1A2740;
  --accent: #E5533D;
  --accent-text: #B83C2A;
  --paper: #FFFFFF;
  --paper-2: #F5F6F8;
  --card: #FFFFFF;
  --muted: #3E4958;
  --line: #E3E6EB;
  --line-strong: #CBD2DC;
  --tbd-bg: #EED6A4;
  --tbd-ink: #3F2C0A;
  --footer-muted: #C4CBD6;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Keep the footer at the bottom on short pages (Complaints, AML & KYC) */
main {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* hover color is applied under (hover: hover) at the end */

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

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus-visible {
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  color: #fff;
  white-space: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.tabular {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  transition: transform 200ms var(--ease), top 200ms var(--ease), background-color 200ms var(--ease);
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

nav[aria-label="Primary"] {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav[aria-label="Primary"] a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
}

nav[aria-label="Primary"] a[aria-current="page"] {
  color: var(--accent-text);
}

@media (hover: hover) and (pointer: fine) {
  nav[aria-label="Primary"] a:hover {
    color: var(--accent-text);
  }
}

/* Hero */
.hero {
  padding: 96px 0 112px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 64px 80px;
  align-items: end;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  margin-top: -2px;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 14em;
  text-wrap: balance;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 28px 0 40px;
  max-width: 38em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: #fff;
  background: var(--ink-2);
}

.btn:active {
  transform: scale(0.97);
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.hero-facts div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-facts dd {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: 48px;
  max-width: 40em;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 8px;
}

/* Services: typographic list with thin dividers, not a wide card */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  max-width: 65ch;
}

.service {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 8px 20px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.service:first-child {
  border-top: 0;
}

.service-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}

.service h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.service p {
  color: var(--muted);
  max-width: 65ch;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  margin-top: 4px;
  justify-self: end;
}

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 40px 48px;
  align-items: start;
}

.prose {
  max-width: 65ch;
}

.prose p + p {
  margin-top: 1em;
}

.prose a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.side-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.side-card p,
.side-card address {
  color: var(--muted);
  font-style: normal;
}

.side-card a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.side-card a:hover {
  color: var(--accent-text);
}

.side-card .contact-line,
.contact-card .contact-line,
.footer-contacts {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.footer-contacts {
  margin-top: 0.6em;
  gap: 8px 20px;
}

.footer-item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 100%;
}

.contact-card h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-card address,
.contact-card p {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--accent-text);
}

.contact-card .meta {
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

/* TBD / draft markers */
.tbd {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: var(--tbd-bg);
  color: var(--tbd-ink);
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: 1px;
  line-height: 1.4;
  font-variant-numeric: normal;
  white-space: nowrap;
}

.draft {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

.draft p {
  margin: 0;
  text-align: left;
  max-width: 65ch;
}

.draft-follow {
  margin-top: 12px;
}

.draft-label {
  display: inline-block;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.3;
  margin-top: 1px;
}

.placeholder-box {
  margin-top: 16px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--muted);
}

/* Inner pages */
.page {
  /* padding-block only: the element is also .wrap, whose side gutters must stay */
  padding-block: 72px 112px;
}

.page-inner {
  max-width: 42rem;
}

.page h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page .intro,
.page .prose p,
.page li {
  color: var(--muted);
}

.page .intro {
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.page h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 12px;
}

.page p + p {
  margin-top: 1em;
}

.page a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Long addresses in running text must wrap inside narrow cards (390px) */
.page a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.page .company-block {
  margin-top: 40px;
  color: var(--muted);
}

.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  color: var(--ink);
  align-items: start;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--accent-text);
  padding-top: 2px;
}

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

/* Footer */
footer {
  background: var(--ink);
  color: var(--footer-muted);
  padding: 64px 0 48px;
  font-size: 15px;
  line-height: 1.6;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 64px;
}

footer strong {
  color: #fff;
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal p + p {
  margin-top: 0.4em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-copy {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2A3648;
  color: var(--footer-muted);
  font-size: 14px;
}

footer .tbd {
  /* keep TBD chips readable on the dark footer */
  background: var(--tbd-bg);
  color: var(--tbd-ink);
}

/* Mobile */
@media (max-width: 800px) {
  .wrap {
    padding: 0 20px;
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: flex;
  }

  nav[aria-label="Primary"] {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-basis: 100%;
    padding: 8px 0 16px;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .nav-toggle:checked ~ nav[aria-label="Primary"],
  .nav-toggle:focus-visible ~ nav[aria-label="Primary"] {
    display: flex;
  }

  nav[aria-label="Primary"] a {
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-grid,
  .compliance-grid,
  .contact-grid,
  footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section,
  .page {
    padding-block: 64px;
  }

  .service {
    grid-template-columns: 2.75rem 1fr;
    padding: 24px 0;
    gap: 4px 16px;
  }

  .service .chip {
    grid-column: 2;
    justify-self: start;
    margin: 4px 0 8px;
  }

  .service-num {
    grid-row: 1 / span 3;
  }

  .steps li {
    grid-template-columns: 2rem 1fr;
    gap: 12px;
    padding: 20px;
  }

  footer .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .lede,
  .page .intro {
    font-size: 1.05rem;
  }

  .contact-card,
  .side-card {
    padding: 24px;
  }
}


/* Emails and standalone contact links: keep addresses intact, 44px targets */
.side-card a,
.contact-card a,
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  word-break: normal;
  overflow-wrap: break-word;
}

.contact-line,
.contact-card .contact-line,
.side-card .contact-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 6px;
}

.contact-card,
.contact-card h3,
.contact-card address,
.contact-card p {
  text-align: left;
}

.side-card a[href^="mailto:"],
.contact-card a[href^="mailto:"] {
  font-size: 15px;
}

/* 4. Footer contacts: compact chip, nowrap items, even wrap */
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1rem;
  row-gap: 0.25rem;
}

.footer-contacts > a,
.footer-item {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
  flex: 0 1 auto;
}

footer .tbd {
  padding: 1px 5px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.3;
}

.footer-rest {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  flex: 0 1 auto;
}

/* 5. Complaints: keep “escalate to” + chip on one line */
.escalate-to {
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--accent-text);
  }
  .btn:hover {
    color: #fff;
  }
  footer a:hover {
    color: #fff;
  }
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-contacts,
  .footer-rest,
  .footer-item,
  .footer-contacts > a {
    flex-wrap: wrap;
    white-space: normal;
    max-width: 100%;
  }

  .footer-rest {
    width: 100%;
  }

  footer .tbd {
    white-space: nowrap;
  }

  /* Keep the pair together when it fits; allow wrap if the chip would overflow */
  .escalate-to {
    white-space: normal;
  }
  .escalate-to .tbd {
    white-space: nowrap;
  }
}

.nowrap {
  white-space: nowrap;
}

.contact-card,
.side-card,
.service,
.footer-legal,
.hero-copy,
.hero-facts {
  min-width: 0;
}
