:root {
  --brand:        #0a68d4;
  --brand-dark:   #0150ae;
  --brand-light:  #a7c8f2;
  --navy:         #0150ae;
  --navy-dark:    #013f8a;
  --brand-soft:   #e8f0fc;
  --brand-paper:  #f4f8fe;

  --ink:    #0b2550;
  --ink-2:  #2b4470;
  --ink-3:  #5a6d8c;
  --ink-4:  #94a3bd;

  --bg:     #ffffff;
  --line:   #e2e9f3;
  --line-2: #eef3fa;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(11, 37, 80, 0.05);
  --shadow:    0 10px 30px rgba(11, 37, 80, 0.07);
  --shadow-md: 0 18px 50px rgba(11, 37, 80, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.018em; color: var(--ink); }
h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
p  { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 7px 16px;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  border-radius: 999px;
  text-decoration: none;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(1, 80, 174, 0.28);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-light {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand-light);
}
.btn-light:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--brand-dark);
}
.btn-white:hover { background: var(--brand-soft); }
.btn-whatsapp {
  background: #25d366;
  color: var(--ink);
}
.btn-whatsapp:hover { background: #1fbd5a; }

.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───── Top utility bar */
.utility {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.utility-row {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px; gap: 24px;
}
.utility-left { display: flex; gap: 22px; align-items: center; }
.utility-left a { color: inherit; display: inline-flex; gap: 8px; align-items: center; }
.utility-left a:hover { color: var(--brand-light); }
.utility-right { display: flex; gap: 18px; align-items: center; }
.lang-pick { display: inline-flex; gap: 6px; align-items: center; }
.lang-btn {
  background: transparent; border: none; color: rgba(255,255,255,0.6);
  font-weight: 600; font-size: 12px; padding: 4px 8px; cursor: pointer;
  border-radius: 6px; letter-spacing: 0.06em;
}
.lang-btn.is-active { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 760px) {
  .utility-left a:nth-child(1) span { display: none; }
  .utility-right > a:not(.lang-pick) { display: none; }
}

/* ───── Header / Nav */
header.nav-wrap {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.main-nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 76px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark .badge {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; width: 38px; height: 38px;
  border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(47,111,184,0.35);
}
.brand-sub {
  font-size: 6.5px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase; white-space: nowrap;
}
.brand-logo { height: 34px; width: auto; display: block; }
.brand-word { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -0.02em; }
.bn-1 { color: var(--navy); }
.bn-2 { color: var(--brand); }
.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.nav-links a.is-active { color: var(--brand); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; gap: 12px; align-items: center; }

.portal-pop {
  position: relative;
}
.portal-trigger {
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer;
}
.portal-trigger:hover { border-color: var(--brand); color: var(--brand); }
.portal-menu {
  position: absolute; top: 100%; right: 0; margin-top: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; min-width: 200px;
  display: none; flex-direction: column; gap: 2px;
}
.portal-pop.is-open .portal-menu { display: flex; }
.portal-menu a {
  padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px;
  display: flex; gap: 10px; align-items: center; color: var(--ink-2);
}
.portal-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.portal-menu .icon-dot {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
}

/* ───── Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(167,200,242,0.5) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-paper) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 72px; /* room for the tracking card, which overlaps the hero by 40px */
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 .accent { color: var(--brand); }
.hero-lede { font-size: 19px; color: var(--ink-3); max-width: 520px; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-illustration {
  position: relative;
  aspect-ratio: 1 / 0.95;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-illustration { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ───── Tracking strip */
.track-strip {
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.track-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
}
.track-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.track-input-group {
  display: flex; gap: 10px; align-items: stretch;
}
.track-input-group .field {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.track-input-group label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.track-input-group input {
  border: none; padding: 4px 0; font-size: 17px; font-weight: 500;
  background: transparent; color: var(--ink); outline: none;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.track-input-group .field + .field {
  border-left: 1px solid var(--line); padding-left: 18px;
}
.track-input-group input::placeholder { color: var(--ink-4); }
@media (max-width: 720px) {
  .track-card { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .track-card .btn { width: 100%; }
  .track-input-group { flex-direction: column; gap: 14px; }
  .track-input-group .field + .field { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}

/* ───── Tracking modal */
html.modal-open { overflow: hidden; }
.track-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.track-modal[hidden] { display: none; }
.track-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 37, 80, 0.55); backdrop-filter: blur(3px); }
.track-modal__panel {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px 28px 28px;
}
.track-modal__panel h3 { font-size: 20px; padding-right: 36px; }
.track-modal__close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 999px;
  border: none; background: var(--brand-soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.track-modal__close:hover { background: var(--line); }
.track-modal__loading, .track-modal__result, .track-modal__error { display: none; margin-top: 22px; }
.track-modal__panel[data-state="loading"] .track-modal__loading,
.track-modal__panel[data-state="result"] .track-modal__result,
.track-modal__panel[data-state="error"] .track-modal__error { display: block; }
.track-modal__loading { text-align: center; padding: 20px 0 8px; color: var(--ink-3); }
.track-modal__loading p { margin-top: 14px; font-weight: 500; }
.track-modal__turnstile { display: flex; justify-content: center; }
.track-modal__panel:not([data-state="loading"]) .track-modal__turnstile { display: none; }
.track-spinner {
  display: inline-block; width: 40px; height: 40px; border-radius: 999px;
  border: 4px solid var(--brand-soft); border-top-color: var(--brand);
  animation: track-spin 0.8s linear infinite;
}
@keyframes track-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .track-spinner { animation-duration: 2.4s; } }
.track-modal__error p { color: var(--ink-2); margin-bottom: 18px; }

.track-result__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.track-result__code { font-weight: 800; font-size: 15px; letter-spacing: 0.06em; color: var(--ink); }
.track-result__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px;
}
.track-result__status {
  margin-top: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--brand-paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.track-result__status-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.track-result__status-value { font-size: 20px; color: var(--brand-dark); }
.track-result__details { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 18px 0 0; font-size: 14.5px; }
.track-result__details dt { color: var(--ink-3); }
.track-result__details dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.track-result__history-title { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 24px 0 12px; }
.track-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.track-timeline li { position: relative; padding: 0 0 14px 22px; display: flex; flex-direction: column; }
.track-timeline li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand-light);
}
.track-timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 2px; background: var(--line);
}
.track-timeline li.is-current::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.track-timeline__label { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.track-timeline__time { color: var(--ink-3); font-size: 13px; }
@media (max-width: 540px) {
  .track-modal { padding: 0; align-items: flex-end; }
  .track-modal__panel { max-width: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; }
}

/* ───── Sections */
section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-3); font-size: 17px; line-height: 1.65; }

/* ───── About */
.about {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 0.85;
  box-shadow: var(--shadow);
}
.about-image::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px; border-radius: 999px;
  background: var(--brand-light); opacity: 0.6;
  z-index: 0;
}

.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-bullets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px;
  margin-top: 12px;
}
.bullet { display: flex; gap: 12px; align-items: flex-start; }
.bullet .tick {
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700; font-size: 14px;
}
.bullet .txt { font-size: 15.5px; color: var(--ink-2); font-weight: 500; padding-top: 2px; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 540px; margin: 0 auto; width: 100%; }
  .about-bullets { grid-template-columns: 1fr; }
}

/* ───── Services */
.services {
  background: var(--brand-paper);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.svc-card .badge {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--ink-3); line-height: 1.6; font-size: 15.5px; }
.svc-card .more {
  margin-top: auto; padding-top: 10px;
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--brand); font-weight: 600; font-size: 14.5px;
}
.svc-card .more:hover { color: var(--brand-dark); }
.svc-card .num-corner {
  position: absolute; top: 22px; right: 26px;
  font-size: 60px; font-weight: 800; color: var(--brand-soft);
  line-height: 0.9; letter-spacing: -0.04em;
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ───── How It Works */
.how {
  background: var(--brand-paper);
}
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line);
  position: relative;
}
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  box-shadow: 0 6px 14px rgba(10,104,212,0.28);
}
.step-card h3 { font-size: 18px; }
.step-card p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ───── Pricing teaser */
.pricing {
  background: #fff;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-light); }
.price-card.is-featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border: none;
  position: relative;
  box-shadow: var(--shadow-md);
}
.price-card.is-featured h3,
.price-card.is-featured .price,
.price-card.is-featured .price-feats li { color: #fff; }
.price-card.is-featured .price-feats li::before {
  background: rgba(255,255,255,0.18); color: #fff;
}
.price-card.is-featured .ribbon {
  position: absolute; top: 18px; right: 22px;
  background: #fff; color: var(--brand);
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
}
.price-card .tier {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand);
}
.price-card.is-featured .tier { color: var(--brand-light); }
.price-card h3 { font-size: 26px; }
.price-card .price {
  font-size: 42px; font-weight: 800; letter-spacing: -0.025em;
}
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.price-card.is-featured .price small { color: rgba(255,255,255,0.7); }
.price-feats { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 10px; }
.price-feats li {
  font-size: 15px; color: var(--ink-2); display: flex; gap: 12px; align-items: flex-start;
}
.price-feats li::before {
  content: "✓"; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ───── CTA Banner */
.cta {
  background: #fff;
}
.cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #071b3d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 70px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; right: -60px; top: -100px;
  width: 360px; height: 360px; border-radius: 999px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: 0.5;
}
.cta-card .eyebrow {
  background: rgba(167,200,242,0.16); color: var(--brand-light);
}
.cta-card h2 { color: #fff; max-width: 540px; }
.cta-card p { color: rgba(255,255,255,0.78); font-size: 17px; margin-top: 16px; max-width: 480px; }
.cta-card .cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
}
.cta-illus {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; padding: 48px 28px; }
  .cta-illus { display: none; }
}

/* ───── Footer */
footer.site-foot {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.foot-brand .brand-mark { color: #fff; }
.foot-brand p { color: rgba(255,255,255,0.6); font-size: 14.5px; margin-top: 18px; line-height: 1.6; max-width: 320px; }
.foot-brand .nuis {
  margin-top: 14px; font-size: 13px; color: var(--brand-light);
  font-weight: 600; letter-spacing: 0.06em;
}
.foot-soc {
  display: flex; gap: 10px; margin-top: 22px;
}
.foot-soc a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.foot-soc a:hover { background: var(--brand); }

.foot-col h4 {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; font-weight: 700; margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col li a { font-size: 14.5px; color: rgba(255,255,255,0.7); }
.foot-col li a:hover { color: var(--brand-light); }

.foot-contact li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px;
  color: rgba(255,255,255,0.78);
}
.foot-contact li .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: var(--brand-light);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* small helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ───── Language links (terms pages) */
a.lang-btn { display: inline-block; }

/* ───── Legal pages */
.legal-hero {
  background: var(--brand-paper);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}
.legal-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 18px; }
.legal-hero .legal-sub {
  margin-top: 16px; max-width: 820px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); line-height: 1.6;
}
.legal-body { padding: 56px 0 96px; }
.legal-doc { max-width: 860px; margin: 0 auto; }
.legal-note {
  background: var(--brand-soft); color: var(--ink-2);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14.5px; margin-bottom: 28px;
}
.legal-note a { text-decoration: underline; }
.legal-intro { font-size: 17px; color: var(--ink-2); margin-bottom: 36px; }
.legal-doc h2 {
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-dark); margin: 26px 0 10px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc p + p, .legal-doc ol + p { margin-top: 12px; }
.legal-doc ol { margin: 10px 0 0; padding-left: 22px; }
.legal-doc ol li + li { margin-top: 10px; }
.legal-doc strong, .legal-doc .caps { font-weight: 700; color: var(--ink); }
.legal-doc .legal-note--end { margin: 28px 0 0; }
.legal-doc .legal-ref {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-3);
}
.legal-ref a { color: var(--brand-dark); text-decoration: underline; }
.legal-back { margin-top: 40px; }

/* ───── 404 */
.notfound { padding: 120px 0 140px; text-align: center; }
.notfound h1 { margin-top: 18px; }
.notfound p { color: var(--ink-3); margin: 14px auto 32px; max-width: 520px; }
