@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1a2e48;          /* body text: 13.6:1 on white */
  --muted: #3e5470;        /* secondary text: 7.6:1 on white */
  --teal: #13a89e;         /* decorative accents only */
  --teal-ink: #0a7a71;     /* text and buttons: 5.2:1 with white */
  --teal-ink-hover: #075f58;
  --light-blue: #eef7fa;
  --line: #d6e4ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 8px 24px rgba(11, 37, 69, 0.06);
  --max: 1160px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.15rem); font-weight: 800; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-ink-hover); }
strong { color: var(--navy); }

:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section-tint { background: var(--light-blue); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-ink); margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--ink); max-width: 680px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav ul a {
  display: block; padding: 8px 10px; color: var(--navy); text-decoration: none; font-weight: 600;
  font-size: 0.95rem; border-radius: 8px;
}
.site-nav ul a:hover { background: var(--light-blue); color: var(--navy); }
.site-nav ul a[aria-current='page'] { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; line-height: 1.2; text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }
.btn-primary { background: var(--teal-ink); color: var(--white); }
.btn-primary:hover { background: var(--teal-ink-hover); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--light-blue); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1000 / 950; object-fit: cover; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; color: var(--navy); }
.hero-points .icon { color: var(--teal-ink); margin-top: 3px; }

.page-hero { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.answer {
  border-left: 4px solid var(--teal); background: var(--light-blue); padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0; max-width: 820px; margin: 24px 0 0; color: var(--ink);
}
.answer p:last-child { margin-bottom: 0; }

/* Markets line under the homepage headline */
.markets { margin: 0 0 22px; padding: 14px 18px; background: var(--light-blue); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; max-width: 620px; }
.markets p { margin: 0; }
.markets-line { font-weight: 700; color: var(--navy); font-size: 1.08rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.markets-flag {
  display: inline-block; background: var(--navy); color: var(--white); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.01em; padding: 4px 11px; border-radius: 999px;
}
.markets-note { margin-top: 6px !important; font-size: 0.97rem; color: var(--ink); }
.markets-note a { font-weight: 700; white-space: nowrap; }

/* Testimonials (only rendered from approved quotes) */
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.08rem; color: var(--navy); }
.testimonial blockquote p::before { content: '“'; }
.testimonial blockquote p::after { content: '”'; }
.testimonial figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.testimonial figcaption img { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; }
.testimonial figcaption span { display: flex; flex-direction: column; font-size: 0.95rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--navy); }
.steps-compact { gap: 12px; }
.steps-compact > li { padding: 16px 18px 16px 64px; }
.steps-compact > li::before { width: 32px; height: 32px; left: 18px; top: 16px; font-size: 0.95rem; }

/* Consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 3px solid var(--teal); box-shadow: 0 -8px 24px rgba(11, 37, 69, 0.12); padding: 16px 0; }
.consent-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent p { margin: 0; max-width: 760px; color: var(--ink); font-size: 0.98rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #dbe6f0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.link-button:hover { color: var(--white); }
.link-button[hidden] { display: none; }
code { font-size: 0.92em; background: var(--light-blue); padding: 1px 5px; border-radius: 4px; }

/* Breadcrumbs */
.breadcrumbs { padding-top: 22px; font-size: 0.95rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card h3 { margin-top: 4px; }
.card p { color: var(--ink); }
.card .fit { font-size: 0.97rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--light-blue); color: var(--teal-ink);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card-icon .icon { width: 24px; height: 24px; }
.card-link { font-weight: 700; margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; }
.card-link .icon { width: 18px; height: 18px; }

/* Lists */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps > li {
  counter-increment: step; position: relative; padding: 22px 24px 22px 76px; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin-bottom: 0; }
.steps .who { display: block; margin-top: 8px; font-size: 0.93rem; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-reverse .split-media { order: 2; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.98rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: var(--white); font-weight: 700; }
tbody th { color: var(--navy); font-weight: 700; background: var(--light-blue); width: 22%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Example box */
.example { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--white); }
.example h3 { display: flex; gap: 10px; align-items: center; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--light-blue); color: var(--teal-ink); border-radius: 999px; padding: 4px 10px;
}

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--white); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Notice */
.note { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--navy); color: var(--white); border-radius: 18px; padding: 32px; }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-card p { color: #e3edf5; }
.contact-card a.contact-line {
  display: flex; gap: 12px; align-items: center; color: var(--white); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  margin-bottom: 12px; word-break: break-word;
}
.contact-card a.contact-line:hover { background: rgba(255, 255, 255, 0.16); }
.contact-card .icon { color: #7fe0d6; }
.contact-card :focus-visible { outline-color: #7fe0d6; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); padding: 56px 0; }
.cta-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e3edf5; margin-bottom: 0; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-contact a { color: var(--white); font-weight: 600; }
.cta-band :focus-visible { outline-color: #7fe0d6; }

/* Footer */
.site-footer { background: #081a33; color: #dbe6f0; padding: 56px 0 28px; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #dbe6f0; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: #7fe0d6; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.88rem; color: #c3d2e0; }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav ul a { padding: 8px 7px; font-size: 0.9rem; }
  .site-nav { gap: 12px; }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    background: var(--white); border: 1.5px solid var(--navy); border-radius: 10px; color: var(--navy);
    font: inherit; font-weight: 700; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--navy); position: relative; content: '';
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .js .site-nav { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11, 37, 69, 0.08);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 12px;
  }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .header-inner { position: relative; }
  .hero-grid, .split, .contact-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .contact-card { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .lead { font-size: 1.1rem; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 36px 0 52px; }
  .brand img { height: 34px; }
  .header-inner { min-height: 66px; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .steps > li { padding: 20px 18px 20px 66px; }
  .steps > li::before { left: 16px; }
  .btn-row .btn, .hero .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 18px; }
  .contact-card a.contact-line { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Utilities */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-md { margin-top: 24px; }
