:root {
  --bg: #05070a;
  --bg-2: #0a0d12;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.105);
  --line: rgba(255,255,255,.14);
  --line-2: rgba(255,255,255,.26);
  --text: #f4f7fa;
  --muted: rgba(244,247,250,.72);
  --soft: rgba(244,247,250,.54);
  --red: #f33752;
  --red-2: #ff6a6f;
  --cyan: #12d6f3;
  --green: #43e0a0;
  --gold: #f6c85f;
  --max: 1180px;
  --header: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(102deg, rgba(18,214,243,.11), transparent 32%),
    linear-gradient(252deg, rgba(243,55,82,.16), transparent 42%),
    linear-gradient(180deg, #05070a 0%, #0b1119 38%, #080a0e 72%, #05070a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .22;
  background:
    linear-gradient(to right, rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.075) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,.48) 48%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background:
    repeating-linear-gradient(115deg, transparent 0 72px, rgba(18,214,243,.08) 73px, transparent 75px),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(255,255,255,.032) 18px, transparent 19px);
  mix-blend-mode: screen;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
section[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12,16,22,.94), rgba(5,7,10,.84)),
    rgba(5,7,10,.86);
  backdrop-filter: blur(22px) saturate(1.28);
  box-shadow: 0 18px 60px rgba(0,0,0,.34);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,214,243,.58), rgba(246,200,95,.5), rgba(243,55,82,.54), transparent);
}

.topbar-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 190px;
  position: relative;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: #05070a;
  box-shadow: 0 0 34px rgba(243,55,82,.22), 0 12px 28px rgba(0,0,0,.36);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.nav::-webkit-scrollbar,
.chipline::-webkit-scrollbar { display: none; }

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)),
    rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.lang-switch {
  position: relative;
  z-index: 5;
}

.lang-switch summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045)),
    rgba(255,255,255,.065);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 12px 28px rgba(0,0,0,.22);
}

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

.flag-img {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18,22,30,.98), rgba(7,9,13,.95)),
    rgba(7,9,13,.94);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
}

.lang-menu a {
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
}

.lang-menu a:hover,
.lang-menu a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.lang-menu small {
  color: var(--soft);
  font-size: 11px;
  font-weight: 820;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 642px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.86) 36%, rgba(5,7,10,.34) 70%, rgba(5,7,10,.9) 100%),
    linear-gradient(180deg, rgba(5,7,10,.1), rgba(5,7,10,.96)),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -120px 120px rgba(0,0,0,.28);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(18,214,243,.14) 119px, transparent 121px),
    repeating-linear-gradient(180deg, transparent 0 86px, rgba(255,255,255,.055) 87px, transparent 88px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.2) 42%, rgba(0,0,0,.75));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(120deg, transparent 0 53%, rgba(18,214,243,.18) 53.12%, transparent 53.55%),
    linear-gradient(75deg, transparent 0 63%, rgba(246,200,95,.16) 63.1%, transparent 63.55%),
    linear-gradient(100deg, transparent 0 72%, rgba(243,55,82,.2) 72.08%, transparent 72.4%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 642px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 0 56px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 13px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 15px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(18,214,243,.16), rgba(255,255,255,.06), rgba(243,55,82,.16)),
    rgba(255,255,255,.075);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 38px rgba(0,0,0,.26);
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 0 22px 80px rgba(0,0,0,.55);
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  text-shadow: 0 14px 44px rgba(0,0,0,.5);
}

.hero-actions,
.cta-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #05070a;
  background:
    linear-gradient(135deg, #ffe18a, #ff8f62 44%, #f33752 100%);
  box-shadow: 0 20px 52px rgba(243,55,82,.26), inset 0 1px 0 rgba(255,255,255,.45);
  font-size: 14px;
  font-weight: 870;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 28%, rgba(255,255,255,.34) 42%, transparent 58%);
  transform: translateX(-110%);
  transition: transform .42s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(243,55,82,.32), inset 0 1px 0 rgba(255,255,255,.45);
}

.btn:hover::after { transform: translateX(110%); }

.btn.secondary {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055)),
    rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 40px rgba(0,0,0,.18);
}

.btn.ghost {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5,7,10,.36), rgba(5,7,10,.16)),
    rgba(5,7,10,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.btn-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255,255,255,.11);
}

.chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  max-width: 880px;
}

.chip {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(244,247,250,.82);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.032)),
    rgba(5,7,10,.42);
  font-size: 12px;
  font-weight: 730;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.command-strip {
  width: min(660px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.command-strip span {
  min-width: 0;
  padding: 12px 13px;
  background:
    linear-gradient(180deg, rgba(15,20,27,.86), rgba(8,11,16,.68)),
    rgba(5,7,10,.62);
}

.command-strip b,
.command-strip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-strip b {
  color: rgba(244,247,250,.98);
  font-size: 12px;
  text-transform: none;
  font-weight: 890;
}

.command-strip small {
  margin-top: 4px;
  color: rgba(244,247,250,.62);
  font-size: 12px;
  font-weight: 720;
}

.ticker {
  position: absolute;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 26px;
  z-index: 1;
  width: 416px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035)),
    rgba(5,7,10,.68);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 32px 110px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.09);
}

.ticker-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 12px;
  font-weight: 760;
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ticker-item {
  min-height: 82px;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.ticker-item:last-child { border-right: 0; }

.ticker-item b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.ticker-item span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.spark {
  height: 22px;
  margin-top: 8px;
  background:
    linear-gradient(145deg, transparent 0 22%, var(--cyan) 22.4% 24%, transparent 24.4% 44%, var(--green) 44.4% 46%, transparent 46.5% 68%, var(--gold) 68.4% 70.2%, transparent 70.6%);
}

.band {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.band.alt {
  background:
    linear-gradient(120deg, rgba(18,214,243,.055), transparent 34%),
    linear-gradient(250deg, rgba(243,55,82,.07), transparent 42%),
    rgba(255,255,255,.025);
}
.band.compact { padding: 38px 0; }

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.content h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p,
.content p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.145);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.082), rgba(255,255,255,.034)),
    rgba(255,255,255,.038);
  box-shadow: 0 20px 70px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,.13), transparent 28%, transparent 72%, rgba(18,214,243,.08));
  opacity: .72;
}

.card.hot { border-color: rgba(243,55,82,.35); }
.card.cool { border-color: rgba(18,214,243,.32); }
.card.green { border-color: rgba(67,224,160,.32); }
.card.gold { border-color: rgba(246,200,95,.34); }

.card h2,
.card h3,
.card strong {
  position: relative;
  display: block;
  margin: 0 0 9px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.28;
}

.card p,
.card li {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.66;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.card a {
  text-decoration: none;
}

.route-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
}

.route-card .btn { margin-top: auto; width: 100%; }

.route-meta {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 22px;
  align-items: center;
}

.image-panel {
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, rgba(5,7,10,.02), rgba(5,7,10,.42)),
    var(--panel-img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 34px 110px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(18,214,243,.14) 93px, transparent 94px),
    linear-gradient(145deg, rgba(255,255,255,.09), transparent 34%);
  opacity: .44;
}

.content {
  max-width: 900px;
}

.content h2 { margin-top: 34px; font-size: 30px; }
.content h3 { margin: 26px 0 9px; font-size: 21px; }
.content ul, .content ol {
  color: var(--muted);
  line-height: 1.72;
  padding-left: 22px;
}
.content li { margin: 8px 0; }

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255,255,255,.035);
}

th, td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

td { color: var(--muted); line-height: 1.58; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 54px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #06100b;
  background: var(--green);
  font-size: 13px;
  font-weight: 920;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18,214,243,.18), transparent 46%),
    linear-gradient(270deg, rgba(243,55,82,.2), transparent 44%),
    rgba(255,255,255,.055);
  box-shadow: 0 28px 100px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.1);
}

.cta-panel h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.18;
}

.cta-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)),
    rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

summary {
  cursor: pointer;
  padding: 15px 16px;
  list-style: none;
  font-weight: 840;
}

summary::-webkit-details-marker { display: none; }
details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.library-list {
  display: grid;
  gap: 10px;
}

.library-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.032)),
    rgba(255,255,255,.045);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.library-link:hover {
  transform: translateY(-1px);
  border-color: rgba(18,214,243,.32);
  background:
    linear-gradient(180deg, rgba(18,214,243,.09), rgba(255,255,255,.038)),
    rgba(255,255,255,.052);
}

.library-link b { display: block; font-size: 16px; }
.library-link span { color: var(--soft); font-size: 13px; }

.dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(19,24,32,.86), rgba(5,7,10,.72)),
    rgba(5,7,10,.78);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 24px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.1);
}

.dock button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)),
    rgba(5,7,10,.78);
  font-size: 13px;
  font-weight: 860;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dock button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.26);
}

.dock-main {
  min-width: 138px;
  color: #05070a;
  background:
    linear-gradient(135deg, #ffe18a, #ff9160 44%, #f33752 100%);
  box-shadow: 0 18px 44px rgba(243,55,82,.28), inset 0 1px 0 rgba(255,255,255,.45);
}

.dock-up {
  width: 46px;
  min-width: 46px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.footer {
  padding: 34px 0 50px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

[dir="rtl"] .topbar-inner,
[dir="rtl"] .split,
[dir="rtl"] .cta-panel,
[dir="rtl"] .footer-grid,
[dir="rtl"] .library-link {
  direction: rtl;
}

[dir="rtl"] .step {
  padding-left: 18px;
  padding-right: 54px;
}

[dir="rtl"] .step::before {
  left: auto;
  right: 18px;
}

@media (max-width: 1060px) {
  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
  }
  .lang-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .lang-menu { left: 0; right: auto; }
  .lang-switch .lang-menu { left: auto; right: 0; }
  .topbar .btn { display: none; }
  .ticker { display: none; }
  h1 { font-size: 44px; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .image-panel { min-height: 300px; }
}

@media (max-width: 720px) {
  :root { --header: 116px; }
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav {
    gap: 4px;
    padding: 4px;
  }
  .nav a {
    min-height: 34px;
    padding: 0 7px;
    font-size: 12px;
  }
  .hero { min-height: 0; }
  .hero-inner {
    min-height: 600px;
    padding: 30px 0 28px;
    justify-content: center;
  }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  h1 { font-size: 33px; line-height: 1.09; }
  .lead { font-size: 16px; line-height: 1.58; margin-top: 14px; }
  .hero-actions, .cta-actions, .inline-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 18px;
  }
  .hero-actions .btn:first-child,
  .cta-actions .btn:first-child,
  .inline-actions .btn:first-child {
    grid-column: 1 / -1;
  }
  .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }
  .chipline {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 6px;
  }
  .command-strip {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }
  .command-strip span {
    padding: 10px 12px;
  }
  .band { padding: 42px 0; }
  .section-head h2, .content h2 { font-size: 27px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .cta-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .cta-panel h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    justify-content: stretch;
  }
  .dock button {
    min-width: 0;
    padding: 0 9px;
  }
  .dock-main { flex: 1; }
  .dock-up { flex: 0 0 46px; }
  body { padding-bottom: 62px; }
}

@media (max-width: 390px) {
  h1 { font-size: 30px; }
  .lead { font-size: 15px; }
  .nav a {
    padding: 0 5px;
    font-size: 11px;
  }
  .brand { min-width: 0; }
  .brand > span { display: block; }
  .brand > span span { display: none; }
}
