/* ==========================================================================
   Global Dental Software — landing page styles
   Mobile-first. No framework. Tokens at :root.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #08234f;
  --navy-800: #0b2f6b;
  --navy-700: #0f3f8c;
  --brand-700: #0f52b0;
  --brand-600: #1461d2;
  --brand-500: #1b7bee;
  --brand-200: #b9d4f8;
  --brand-100: #e2eefc;
  --brand-50:  #f1f7fe;

  /* Neutrals */
  --ink:     #131c33;
  --body:    #44506c;
  --muted:   #5d6a87;
  --line:    #dbe4f2;
  --line-soft:#eaf0fa;
  --surface: #f6f9fe;
  --white:   #ffffff;

  /* Support */
  --success-700: #0d6a4f;
  --success-50:  #e7f6f0;
  --warn-700:    #8a5a00;
  --warn-50:     #fff6e3;

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Space + shape */
  --gutter: 20px;
  --maxw: 1160px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(8, 35, 79, .06), 0 2px 8px rgba(8, 35, 79, .05);
  --shadow-md: 0 4px 12px rgba(8, 35, 79, .07), 0 12px 32px rgba(8, 35, 79, .07);
  --shadow-lg: 0 8px 24px rgba(8, 35, 79, .09), 0 28px 64px rgba(8, 35, 79, .11);
  --nav-h: 68px;
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
.section--tight { padding-block: 48px; }
.section--tint { background: var(--surface); }
.section--brand { background: linear-gradient(160deg, var(--navy-800), var(--brand-700) 65%, var(--brand-600)); color: #dceafd; }

/* --------------------------------------------------------------- Type */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6.2vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.13rem; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.section--brand .eyebrow { color: var(--brand-200); }
.lede { font-size: 1.06rem; color: var(--body); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section--brand h2, .section--brand h3 { color: #fff; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.small { font-size: .875rem; line-height: 1.55; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------- Focus */
:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--brand :focus-visible { outline-color: #ffd166; }

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 2px 6px rgba(20, 97, 210, .28); }
.btn--primary:hover { background: var(--brand-700); }
.btn--secondary { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn--secondary:hover { border-color: var(--brand-600); background: var(--brand-50); }
.btn--onbrand { background: #fff; color: var(--navy-800); }
.btn--onbrand:hover { background: var(--brand-100); }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); }
.btn--lg { padding: 16px 25px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

.cta-note { font-size: .87rem; color: var(--muted); margin-top: 14px; }
.section--brand .cta-note { color: #b9d4f8; }

/* --------------------------------------------------------------- Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex; align-items: center; gap: 9px;
  min-height: var(--nav-h);
}
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; min-width: 0; }
@media (min-width: 480px) { .nav__logo { gap: 10px; } }
.nav__logo img { height: 38px; width: auto; }
.nav__logo span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--brand-700); letter-spacing: -.02em; line-height: 1.12;
  display: block; font-size: .84rem; white-space: nowrap;
}
@media (min-width: 420px) { .nav__logo span { font-size: .92rem; } }
@media (min-width: 940px) { .nav__logo span { font-size: 1.02rem; } }
.nav__links { display: none; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav .btn--primary { padding: 10px 12px; font-size: .82rem; white-space: nowrap; }
@media (min-width: 480px) { .nav .btn--primary { padding: 10px 16px; font-size: .9rem; } }

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1.5px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; color: var(--navy-800);
}
.nav__toggle:hover { border-color: var(--brand-500); }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__panel {
  display: none;
  border-top: 1px solid var(--line-soft);
  padding: 12px var(--gutter) 22px;
  background: #fff;
}
.nav__panel.is-open { display: block; }
.nav__panel a.nav__link {
  display: block; padding: 13px 2px; text-decoration: none;
  color: var(--navy-800); font-weight: 600; font-family: var(--font-display);
  border-bottom: 1px solid var(--line-soft); font-size: 1rem;
}
.nav__panel a.nav__link:hover { color: var(--brand-600); }
.nav__panel .btn { margin-top: 16px; }

/* Below 560px the header cannot hold the wordmark and the switch at once, so
   the switch moves into the menu panel rather than the name being dropped. */
.nav__panel-lang {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 2px 2px;
}
.nav__panel-lang > span {
  font-family: var(--font-display); font-weight: 600;
  font-size: .95rem; color: var(--navy-800);
}
@media (min-width: 560px) { .nav__panel-lang { display: none; } }
@media (max-width: 559.98px) { .nav__right > .lang { display: none; } }
/* Pages without a menu panel (help, legal) have nowhere else to put the
   language switch, so it stays in the bar there. */
@media (max-width: 559.98px) {
  .nav:not(:has(.nav__panel)) .nav__right > .lang { display: inline-flex; }
}

/* On the narrowest phones the wordmark and the CTA meet with no gap. Trim
   both a little rather than shortening the CTA copy, so it holds for any
   language the button is translated into. */
@media (max-width: 419.98px) {
  .nav__logo span { font-size: .78rem; }
  .nav .btn--primary { padding: 9px 10px; font-size: .78rem; }
}

/* Help sits with the language switch rather than the section links: it is the
   one nav item that leaves the page. Below 940px it moves into the panel. */
.nav__help {
  display: none; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  color: var(--navy-800); text-decoration: none;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.nav__help svg { flex: none; color: var(--muted); }
.nav__help:hover { color: var(--brand-600); background: var(--brand-50); }
.nav__help:hover svg { color: var(--brand-600); }
@media (min-width: 940px) { .nav__help { display: inline-flex; } }

/* Language switch */
.lang {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff;
}
.lang a {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  padding: 8px 11px; text-decoration: none; color: var(--muted); line-height: 1;
}
.lang a:hover { color: var(--brand-700); background: var(--brand-50); }
.lang a[aria-current="true"] { background: var(--brand-600); color: #fff; }

/* Language suggestion bar */
.langbar {
  background: var(--navy-900); color: #dbe9fd; font-size: .9rem;
  padding: 10px var(--gutter);
}
.langbar[hidden] { display: none; }
.langbar__inner { max-width: var(--maxw); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.langbar a { color: #fff; font-weight: 600; }
.langbar button {
  margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #dbe9fd; border-radius: 7px; padding: 5px 12px; font-size: .82rem; cursor: pointer;
}
.langbar button:hover { background: rgba(255,255,255,.12); }

/* --------------------------------------------------------------- Hero */
.hero { background: linear-gradient(178deg, var(--brand-50) 0%, #fff 62%); padding-block: 44px 56px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand-600); }
.hero__sub { font-size: 1.09rem; max-width: 54ch; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding: 0; }
.hero__reassure li {
  display: flex; align-items: center; gap: 7px;
  font-size: .875rem; color: var(--body); font-weight: 500;
}
.hero__reassure svg { color: var(--brand-600); flex: none; }
.hero__langs {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: .875rem; color: var(--muted);
}
.hero__langs strong { color: var(--navy-800); font-weight: 600; }
.hero__langs .chip {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 4px 12px; font-size: .82rem; font-weight: 600; color: var(--navy-800);
}
.hero__visual { position: relative; }

/* --------------------------------------------------------------- Trust bar */
.trust { border-block: 1px solid var(--line-soft); background: #fff; padding-block: 34px; }
.trust__label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 24px;
  font-family: var(--font-display);
}
.trust__grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.trust__item { display: flex; gap: 11px; align-items: flex-start; }
.trust__item svg { color: var(--brand-600); flex: none; margin-top: 2px; }
.trust__item strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: .93rem; line-height: 1.3; }
.trust__item span { font-size: .82rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 3px; }

/* --------------------------------------------------------------- Problem/solution */
.pairs { display: grid; gap: 18px; }
.pair {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.pair__problem {
  display: flex; gap: 11px; align-items: flex-start;
  color: var(--navy-900); font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; line-height: 1.4; letter-spacing: -.01em;
}
.pair__problem svg { flex: none; color: #b0431f; margin-top: 3px; }
.pair__arrow {
  display: flex; align-items: center; gap: 9px; margin: 15px 0 11px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--brand-600); font-family: var(--font-display);
}
.pair__arrow::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.pair__solution { font-size: .96rem; margin: 0; }

/* --------------------------------------------------------------- Benefits */
.benefits { display: grid; gap: 4px; }
.benefit {
  padding: 26px 0; border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.benefit:first-child { border-top: 0; padding-top: 6px; }
.benefit__num {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  color: var(--brand-700); letter-spacing: .08em;
}
.benefit h3 { font-size: 1.22rem; }
.benefit p { margin: 0; font-size: .98rem; }

/* --------------------------------------------------------------- Steps */
.steps { display: grid; gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-sm);
}
.step__badge {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-600);
  color: #fff; display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 9px; font-size: 1.15rem; }
.step p { margin: 0; font-size: .96rem; }
.step__meta {
  margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--brand-700);
  font-family: var(--font-display); display: flex; align-items: center; gap: 7px;
}

/* --------------------------------------------------------------- Cards */
.cards { display: grid; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100);
  color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px;
}
.card h3 { margin-bottom: 9px; }
.card ul { margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.card li {
  font-size: .9rem; line-height: 1.5; padding-left: 20px; position: relative; color: var(--body);
}
.card li::before {
  content: ""; position: absolute; left: 3px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500);
}
.card p { font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------- Audience */
.audience { display: grid; gap: 14px; }
.audience__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--r-md); padding: 20px;
}
.audience__item svg { flex: none; color: #9fc6fb; margin-top: 2px; }
.audience__item strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 5px; }
.audience__item span { font-size: .89rem; color: #dceafd; line-height: 1.5; }

/* --------------------------------------------------------------- Placeholders */
.ph-banner {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--warn-50); border: 1px solid #f0d9a8; color: var(--warn-700);
  border-radius: var(--r-md); padding: 14px 16px; font-size: .875rem; line-height: 1.55;
  margin-bottom: 28px;
}
.ph-banner svg { flex: none; margin-top: 2px; }
.ph-banner strong { color: #6b4500; }

.ph-card {
  border: 2px dashed var(--brand-200); border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, #fff, #fff 10px, var(--brand-50) 10px, var(--brand-50) 20px);
  padding: 24px;
}
.ph-tag {
  display: inline-block; font-family: var(--font-display); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--brand-700); background: var(--brand-100); border-radius: 5px;
  padding: 4px 9px; margin-bottom: 14px;
}
.ph-card blockquote { margin: 0 0 16px; color: var(--muted); font-style: italic; font-size: .96rem; }
.ph-card .ph-line { height: 11px; border-radius: 4px; background: var(--brand-100); margin-bottom: 9px; }
.ph-card .ph-line:nth-child(odd) { width: 92%; }
.ph-card .ph-line:last-of-type { width: 64%; margin-bottom: 18px; }
.ph-attrib { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--brand-100); padding-top: 15px; }
.ph-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-100); flex: none; }
.ph-attrib div { font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* Image placeholder frames */
.imgslot {
  position: relative; border: 2px dashed var(--brand-200); border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--brand-50), #fff);
  display: grid; place-items: center; padding: 22px; text-align: center;
  color: var(--brand-700); overflow: hidden;
}
.imgslot[data-ratio="16-9"] { aspect-ratio: 16 / 9; }
.imgslot[data-ratio="4-3"] { aspect-ratio: 4 / 3; }
.imgslot[data-ratio="3-2"] { aspect-ratio: 3 / 2; }
.imgslot[data-ratio="1-1"] { aspect-ratio: 1 / 1; }
.imgslot__body { max-width: 44ch; }
.imgslot svg { margin: 0 auto 10px; color: var(--brand-500); }
.imgslot strong { display: block; font-family: var(--font-display); font-size: .93rem; color: var(--navy-800); margin-bottom: 6px; }
.imgslot span { font-size: .8rem; color: var(--muted); line-height: 1.5; display: block; }
.imgslot .ratio-tag {
  position: absolute; top: 10px; right: 12px; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; color: var(--brand-700); background: #fff;
  border: 1px solid var(--brand-200); border-radius: 5px; padding: 3px 7px;
}

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line); background: transparent;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.03rem;
  color: var(--navy-900); line-height: 1.4; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-600); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--brand-600); border-bottom: 2.5px solid var(--brand-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .faq__a { padding: 0 8px 22px 0; }
.faq .faq__a p { font-size: .97rem; margin-bottom: 12px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Form */
.cta-final { background: linear-gradient(165deg, var(--navy-900), var(--navy-700) 60%, var(--brand-700)); color: #d6e6fb; }
.cta-final h2 { color: #fff; }
.cta-final__grid { display: grid; gap: 34px; }
.cta-final__points { display: grid; gap: 12px; margin-top: 26px; padding: 0; }
.cta-final__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #cfe2fa; }
.cta-final__points svg { flex: none; color: #7fb6f8; margin-top: 3px; }

.formcard {
  background: #fff; border-radius: var(--r-xl); padding: 26px 22px;
  box-shadow: var(--shadow-lg); color: var(--body);
}
.formcard h3 { font-size: 1.2rem; margin-bottom: 5px; }
.formcard > p.small { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; color: var(--navy-900); margin-bottom: 6px;
}
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; font-size: .97rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand-200); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-600); outline: none; box-shadow: 0 0 0 3px var(--brand-100);
}
.field .err { display: none; font-size: .82rem; color: #b0431f; margin-top: 6px; font-weight: 500; }
.field.is-invalid input, .field.is-invalid select { border-color: #c2532c; }
.field.is-invalid .err { display: block; }
.form-row { display: grid; gap: 0; }
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.form-legal { font-size: .8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-legal a { color: var(--brand-700); }
.form-status {
  margin-top: 14px; padding: 13px 15px; border-radius: 10px; font-size: .9rem;
  background: var(--success-50); color: var(--success-700); border: 1px solid #bfe4d5;
}
.form-status[hidden] { display: none; }
.form-alt { margin-top: 16px; font-size: .87rem; text-align: center; color: var(--muted); }
.form-alt a { color: var(--brand-700); font-weight: 600; }

/* --------------------------------------------------------------- Legal pages */
.legal { padding-block: 44px 72px; background: var(--white); }
.legal__wrap { display: grid; gap: 44px; }
.legal__body { max-width: 74ch; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 16px; }
.legal__lede { font-size: 1.1rem; color: var(--body); margin-bottom: 18px; }
.legal__updated {
  font-size: .85rem; color: var(--muted); padding-bottom: 26px;
  border-bottom: 1px solid var(--line); margin-bottom: 0;
}

.legal__toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 24px; margin: 30px 0 8px;
}
.legal__toc h2 {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-weight: 600;
}
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.legal__toc li { font-size: .94rem; }
.legal__toc a { color: var(--brand-700); text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }

.legal__section { padding-top: 34px; }
.legal__section h2 { font-size: 1.32rem; margin-bottom: 14px; }
.legal__section h3 {
  font-size: 1.02rem; margin: 24px 0 9px; color: var(--navy-800);
}
.legal__section p { margin-bottom: 14px; font-size: .99rem; }
.legal__section ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal__section li { font-size: .98rem; line-height: 1.6; }
.legal__section a { color: var(--brand-700); }
.legal__section code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .88em; background: var(--brand-50); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 5px; color: var(--navy-800);
}
.legal__section kbd {
  font-family: ui-monospace, Consolas, monospace; font-size: .85em;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px;
  padding: 1px 6px; background: #fff; color: var(--navy-800);
}
.legal__section table {
  width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .92rem;
}
.legal__section th, .legal__section td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal__section th {
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.legal__section .tablewrap { overflow-x: auto; }

.callout { border-radius: var(--r-md); padding: 16px 20px; margin: 4px 0 18px; }
.callout p { margin: 0; font-size: .97rem; }
.callout p + p { margin-top: 10px; }
.callout--key { background: var(--brand-50); border: 1px solid var(--brand-200); }
.callout--good { background: var(--success-50); border: 1px solid #bfe4d5; }
.callout--good p { color: var(--success-700); }

.note-inline {
  font-size: .88rem; color: var(--muted); background: var(--warn-50);
  border: 1px solid #f0d9a8; border-radius: var(--r-sm); padding: 11px 14px;
}
.legal .ph-inline {
  display: inline-block; border: 1px dashed #c9a24a; border-radius: 5px;
  padding: 1px 7px; color: var(--warn-700); font-size: .86rem; font-style: italic;
  background: #fff;
}

.legal__aside {
  border-top: 1px solid var(--line); padding-top: 24px;
}
.legal__aside h2 {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 600;
}
.legal__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legal__aside a {
  color: var(--navy-800); text-decoration: none; font-family: var(--font-display);
  font-weight: 500; font-size: .95rem;
}
.legal__aside a:hover { color: var(--brand-600); }
.legal__aside a[aria-current="page"] { color: var(--brand-600); font-weight: 600; }

@media (min-width: 900px) {
  .legal__wrap { grid-template-columns: minmax(0, 1fr) 210px; gap: 60px; align-items: start; }
  .legal__aside { border-top: 0; padding-top: 96px; position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* Back-to-site button. The full domain does not fit a phone bar alongside the
   wordmark and the language switch, so it steps down: icon only, then a short
   label, then the domain. aria-label carries the name in every state. */
.nav__back { white-space: nowrap; }
.nav__back-short, .nav__back-full { display: none; }
@media (min-width: 480px) { .nav__back-short { display: inline; } }
@media (min-width: 640px) {
  .nav__back-short { display: none; }
  .nav__back-full { display: inline; }
  .nav__back-icon { display: none; }
}

/* --------------------------------------------------------------- Help centre */
.nav__context {
  display: none; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--muted); padding-left: 14px;
  border-left: 1px solid var(--line); margin-right: auto;
}
@media (min-width: 720px) { .nav__context { display: block; } }

.hc-hero {
  background: linear-gradient(178deg, var(--brand-50) 0%, #fff 78%);
  padding-block: 48px 40px; border-bottom: 1px solid var(--line-soft);
}
.hc-hero h1 { font-size: clamp(1.9rem, 5.2vw, 2.9rem); margin-bottom: 14px; }
.hc-hero__lede { font-size: 1.08rem; max-width: 60ch; margin-bottom: 26px; }

.hc-search { position: relative; max-width: 560px; }
.hc-search[hidden] { display: none; }
.hc-search__icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--muted); pointer-events: none;
}
.hc-search__icon svg { width: 100%; height: 100%; }
.hc-search input {
  width: 100%; padding: 15px 16px 15px 46px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-sm); color: var(--ink);
}
.hc-search input:hover { border-color: var(--brand-200); }
.hc-search input:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100);
}
.hc-search input::-webkit-search-cancel-button { display: none; }
.hc-search button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: var(--surface); color: var(--body); cursor: pointer;
  font-size: .82rem; padding: 7px 12px; border-radius: 8px;
}
.hc-search button:hover { background: var(--brand-100); color: var(--brand-700); }
.hc-count { font-size: .88rem; color: var(--muted); margin-top: 10px; min-height: 1.2em; }

.hc-popular { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 18px; }
.hc-popular > span { font-size: .84rem; color: var(--muted); font-weight: 500; }
.hc-chip {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 14px; font-size: .85rem;
  color: var(--navy-800); text-decoration: none; font-weight: 500;
}
.hc-chip:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }

.hc-body { display: grid; gap: 34px; padding-block: 40px 76px; }
.hc-banner { margin-bottom: 30px; }

.hc-toc h2 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 13px; font-weight: 600;
}
.hc-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.hc-toc a {
  color: var(--navy-800); text-decoration: none; font-size: .93rem;
  font-family: var(--font-display); font-weight: 500;
}
.hc-toc a:hover { color: var(--brand-600); }
.hc-toc[hidden] { display: none; }

.hc-cat { margin-bottom: 34px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.hc-cat[hidden] { display: none; }
.hc-cat__head {
  display: flex; gap: 14px; align-items: flex-start;
  padding-bottom: 16px; border-bottom: 2px solid var(--line);
}
.hc-cat__icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--brand-100);
  color: var(--brand-700); display: grid; place-items: center; flex: none;
}
.hc-cat__icon svg { width: 22px; height: 22px; }
.hc-cat__head h2 { font-size: 1.28rem; margin-bottom: 4px; }
.hc-cat__head p { font-size: .93rem; color: var(--muted); margin: 0; }
.hc-cat__count {
  margin-left: auto; flex: none; font-family: var(--font-mono, ui-monospace), monospace;
  font-size: .78rem; color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px; padding: 3px 10px;
}

.hc-article { border-bottom: 1px solid var(--line-soft); scroll-margin-top: calc(var(--nav-h) + 20px); }
.hc-article[hidden] { display: none; }
.hc-article summary {
  list-style: none; cursor: pointer; padding: 17px 40px 17px 0; position: relative;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--navy-900); line-height: 1.4;
}
.hc-article summary::-webkit-details-marker { display: none; }
.hc-article summary:hover { color: var(--brand-600); }
.hc-article summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px;
  border-right: 2.4px solid var(--brand-600); border-bottom: 2.4px solid var(--brand-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.hc-article[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
h3.hc-article__title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 1rem; font-weight: 600; color: inherit; letter-spacing: -.01em;
  line-height: 1.4;
}
.hc-tag {
  font-family: var(--font-display); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: var(--warn-700);
  background: var(--warn-50); border: 1px solid #f0d9a8; border-radius: 5px; padding: 3px 8px;
}
.hc-article__body { padding: 4px 0 26px; display: grid; gap: 20px; }
@media (min-width: 780px) {
  .hc-article__body { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 26px; align-items: start; }
}
.hc-article__body h4 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-weight: 600;
}

.hc-video { margin: 0; }
.hc-video__slot {
  aspect-ratio: 16 / 9; border: 2px dashed var(--brand-200); border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--brand-50), #fff);
  display: grid; place-items: center; gap: 8px; align-content: center; text-align: center; padding: 14px;
}
.hc-video__icon { width: 40px; height: 40px; color: var(--brand-500); }
.hc-video__icon svg { width: 100%; height: 100%; }
.hc-video__todo { font-size: .78rem; color: var(--muted); font-weight: 600; }
.hc-video figcaption { font-size: .82rem; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.hc-video figcaption strong { color: var(--navy-800); }

ol.hc-steps {
  margin: 0; padding-left: 22px; display: grid; gap: 10px;
  list-style: decimal;  /* type-qualified: the ol[class] reset outranks a bare class */
}
.hc-steps li { font-size: .95rem; line-height: 1.6; color: var(--body); }
ol.hc-steps li::marker { color: var(--brand-600); font-weight: 700; }

.hc-contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; margin-top: 44px; scroll-margin-top: calc(var(--nav-h) + 20px);
}
.hc-contact h2 { font-size: 1.4rem; margin-bottom: 10px; }
.hc-contact > p { font-size: 1rem; margin-bottom: 22px; }
.hc-contact h3 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-weight: 600;
}
ul.hc-include { margin: 0 0 26px; padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.hc-include li { font-size: .94rem; line-height: 1.55; }
.hc-contact__actions { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .hc-contact__actions { grid-template-columns: auto 1fr; gap: 26px; } }
.hc-contact__detail p { font-size: .92rem; margin-bottom: 5px; }
.hc-contact__detail a { color: var(--brand-700); }
.hc-hours { color: var(--muted); font-size: .88rem !important; margin-top: 10px !important; }

@media (min-width: 960px) {
  .hc-body { grid-template-columns: 200px minmax(0, 1fr); gap: 52px; }
  .hc-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
}

/* --------------------------------------------------------------- Footer */
.footer { background: var(--navy-900); color: #a9c4e8; padding-block: 52px 28px; font-size: .92rem; }
.footer a { color: #cddff5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 34px; }
.footer__brand { }
.footer__lockup { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__lockup img { height: 42px; width: auto; }
.footer__contact dd a { word-break: break-word; }
.footer__lockup span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff;
  letter-spacing: -.02em; line-height: 1.15;
}
.footer__brand p { font-size: .9rem; color: #a9c4e8; max-width: 34ch; }
.footer__col h4 {
  color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600;
}
.footer__col ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer__col li { font-size: .9rem; }
.footer__contact dt {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: #7ea3d4; margin-bottom: 3px; font-family: var(--font-display); font-weight: 600;
}
.footer__contact dd { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; }
.footer__offices {
  margin-top: 38px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.footer__offices h4 { margin-bottom: 20px; }
.footer__offices ul { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
.footer__offices .role {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .71rem; letter-spacing: .09em; text-transform: uppercase;
  color: #7ea3d4; margin-bottom: 6px;
}
.footer__offices strong {
  display: block; color: #fff; font-family: var(--font-display);
  font-size: .98rem; margin-bottom: 5px;
}
.footer__offices address { font-style: normal; font-size: .9rem; line-height: 1.55; color: #a9c4e8; }
.footer__offices + .footer__bottom { margin-top: 30px; }
@media (min-width: 640px) {
  .footer__offices ul { grid-template-columns: repeat(3, 1fr); gap: 26px 34px; }
}

.footer__bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .13);
  display: grid; gap: 14px; font-size: .84rem; color: #8fb0da;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer .ph-inline {
  display: inline-block; border: 1px dashed #5b82b8; border-radius: 5px;
  padding: 1px 7px; color: #bcd6f5; font-size: .82rem; font-style: italic;
}

/* --------------------------------------------------------------- Utilities */
.stack-sm > * + * { margin-top: 10px; }
.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;
}

/* --------------------------------------------------------------- Breakpoints */
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pairs { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { grid-template-columns: auto auto; align-items: center; justify-content: space-between; }
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .section { padding-block: 84px; }
  .section--tight { padding-block: 60px; }
  .formcard { padding: 32px 30px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
  .benefit:nth-child(2) { border-top: 0; padding-top: 6px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { grid-column: span 2; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 940px) {
  :root { --nav-h: 76px; }
  .footer__col:last-child { grid-column: auto; }
  .nav__inner { gap: 14px; }
  .nav__toggle { display: none; }
  .nav__panel { display: none !important; }
  .nav__links {
    display: flex; align-items: center; gap: 4px; margin-right: 8px;
  }
  .nav__links a {
    font-family: var(--font-display); font-weight: 500; font-size: .93rem;
    color: var(--navy-800); text-decoration: none; padding: 9px 12px; border-radius: 8px;
  }
  .nav__links a:hover { color: var(--brand-600); background: var(--brand-50); }

  .hero { padding-block: 64px 78px; }
  .hero__grid { grid-template-columns: 1.16fr 1fr; align-items: center; gap: 44px; }

  .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 26px 44px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .pairs { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(4, 1fr); }
  .cta-final__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
  .footer__grid { grid-template-columns: 1.3fr .95fr .95fr 1.6fr; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
}

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