:root {
  --ink: #0b1b2b;
  --night: #0f2235;
  --accent: #f3b23c;
  --mint: #66d7d1;
  --paper: #f6f7fb;
  --muted: #8fa3b8;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  color: #e7edf5;
  background: var(--ink);
  line-height: 1.6;
  overscroll-behavior: none;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  background: #0f2235;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  min-height: 58px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0b0f18;
  background: linear-gradient(120deg, var(--accent), #ffd88a);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(243, 178, 60, 0.35);
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a,
.nav-dropdown__toggle {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #dbe6f1;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.nav-links a:hover,
.nav-dropdown__toggle:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a,
.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}

.nav-dropdown__toggle {
  border: 1px solid transparent;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #dbe6f1;
  background: rgba(255, 255, 255, 0.04);
}

.nav-dropdown__chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 2px;
  transition: transform 140ms ease;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: linear-gradient(160deg, rgba(12, 27, 43, 0.96), rgba(17, 38, 59, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown.open .nav-dropdown__menu {
  display: flex;
}

.nav-dropdown.open .nav-dropdown__chevron {
  transform: rotate(135deg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.dashboard-page .navbar {
  display: none;
}

.anchor-target {
  position: relative;
  top: -80px;
  height: 0;
  display: block;
  visibility: hidden;
}

.section {
  position: relative;
  padding-top: 72px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5vw;
  right: 5vw;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(243, 178, 60, 0.6), rgba(102, 215, 209, 0.5));
  opacity: 0.75;
}

.section.section--dark::before {
  background: linear-gradient(120deg, rgba(243, 178, 60, 0.85), rgba(102, 215, 209, 0.75));
}

.section--dark p,
.section--dark li,
.section--dark .card p {
  color: #dbe6f1;
}

.section--mini {
  padding-top: 28px;
  padding-bottom: 28px;
}

.news-band {
  overflow: hidden;
  margin-top: -22px;
  margin-bottom: -6px;
}

.news-band header {
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
}

.ticker-bar {
  background: #f4f5f7;
  border-radius: 14px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ticker {
  position: relative;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: ticker-slide 28s linear infinite;
  width: max-content;
}

.ticker__item {
  pointer-events: none;
}

.ticker__item img {
  height: 52px;
  width: auto;
  filter: grayscale(0);
  opacity: 0.95;
  transition: opacity 120ms ease;
}

.ticker__item img:hover {
  opacity: 1;
  filter: brightness(1);
}

.ticker-bar--dark {
  background: linear-gradient(160deg, rgba(12, 27, 43, 0.9), rgba(17, 38, 59, 0.9));
}

.ticker--recent .ticker__track,
#headline-track {
  display: flex;
  gap: 48px;
  animation: ticker-slide 32s linear infinite;
}

#headline-track a {
  pointer-events: auto;
  color: #0b1b2b;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: none;
}

.reveal-right {
  transform: none;
}

.reveal-up {
  transform: none;
}

.reveal-down {
  transform: none;
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3 { transition-delay: 0ms; }

@keyframes ticker-slide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}

.testimonials {
  background: radial-gradient(circle at 20% 30%, rgba(102, 215, 209, 0.08), transparent 32%), radial-gradient(circle at 80% 10%, rgba(243, 178, 60, 0.12), transparent 40%), #22252c;
  color: #e7edf5;
  padding: 36px 0 42px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-top: 32px;
}

.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 0 12px;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  background: #fff;
  color: #2b2b2b;
  border-radius: 10px;
  padding: 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, box-shadow 200ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3b23c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card h3 {
  margin: 0;
  color: #2b2b2b;
  font-size: 1.15rem;
}

.testimonial-card .date {
  color: #8fa3b8;
  font-size: 0.95rem;
}

.stars {
  color: #f3b23c;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: #3a3a3a;
  margin: 0;
  line-height: 1.5;
}

#success-stories .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-top: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.testimonial-slider {
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.testimonial-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.testimonial-btn#testimonial-prev { left: -10px; }
.testimonial-btn#testimonial-next { right: -10px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.form__label {
  color: #dbe6f1;
  font-weight: 600;
  font-size: 0.95rem;
}

.form__input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(102, 215, 209, 0.15);
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 10px;
  flex-wrap: wrap;
}

.form__link {
  color: var(--mint);
  font-weight: 600;
}

.form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe6f1;
  font-size: 0.95rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.form__fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 10px;
}

.form__legend {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form__hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.form-step.is-active {
  display: flex;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 10px;
}

.stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stepper__item.active {
  color: #fff;
  border-color: var(--mint);
  box-shadow: 0 0 0 1px rgba(102, 215, 209, 0.12);
}

.stepper__bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--mint));
  color: #0b0f18;
}

.helper-box {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(38px, 1fr));
  gap: 10px;
}

.code-input {
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.code-input::-webkit-outer-spin-button,
.code-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.code-input[type="number"] {
  -moz-appearance: textfield;
}

.status-line {
  color: var(--muted);
  font-size: 0.95rem;
}

.status-line--error {
  color: #f28b82;
}

.status-line--success {
  color: #9ae6b4;
}

.button:disabled,
.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.is-hidden {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  background: radial-gradient(circle at 15% 20%, rgba(102, 215, 209, 0.14), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(243, 178, 60, 0.16), transparent 32%),
    radial-gradient(circle at 65% 70%, rgba(102, 215, 209, 0.08), transparent 40%),
    var(--ink);
  min-height: 100vh;
}

.page-body {
  transition: filter 160ms ease, opacity 160ms ease;
}

body.nav-open .page-body {
  filter: blur(4px);
}

body.nav-open {
  overflow: hidden;
}

.shell {
  width: 100%;
  margin: 0 auto;
  padding: 20px 6vw 96px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--mint));
  box-shadow: 0 0 12px rgba(243, 178, 60, 0.6);
}

.hero {
  position: relative;
  padding: 48px 0 64px;
}

.portrait-wrap {
  position: relative;
  max-width: 390px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.35));
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 12% 8% -8% 8%;
  background: radial-gradient(circle at 50% 20%, rgba(243, 178, 60, 0.15), transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(102, 215, 209, 0.12), transparent 45%);
  filter: blur(24px);
  z-index: 0;
}

.portrait {
  position: relative;
  width: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: transparent;
  z-index: 1;
  clip-path: circle(47% at 50% 46%);
  mix-blend-mode: multiply;
  transform: scale(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 10% -20% auto -20%;
  height: 320px;
  background: radial-gradient(circle at 30% 50%, rgba(243, 178, 60, 0.14), transparent 45%),
    linear-gradient(135deg, rgba(102, 215, 209, 0.1), rgba(102, 215, 209, 0));
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: #fff;
}

.hero p.lede {
  font-size: 1.1rem;
  max-width: 620px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
}

.reg-badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6f1;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reg-badge--gold {
  background: linear-gradient(120deg, #f3b23c, #f7d67a);
  color: #0b0f18;
  border-color: rgba(243, 178, 60, 0.4);
}

.reg-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0b0f18;
  background: #dbe6f1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.reg-icon--fca { background: linear-gradient(135deg, #c2374f, #f7c6d2); color: #fff; content: "F"; }
.reg-icon--sec { background: linear-gradient(135deg, #1a73e8, #7ba8ff); color: #fff; }
.reg-icon--mifid { background: linear-gradient(135deg, #1f8b6f, #6de0b6); color: #0b1b2b; }
.reg-icon--global { background: linear-gradient(135deg, #f3b23c, #66d7d1); color: #0b1b2b; }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  background: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(243, 178, 60, 0.25);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(243, 178, 60, 0.3);
}

.stat-band {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stat .value {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.stat .label {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 40%;
  background: radial-gradient(circle at 50% 0%, rgba(243, 178, 60, 0.15), transparent 50%);
  pointer-events: none;
}

.card h3 {
  color: #fff;
}


.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(102, 215, 209, 0.15);
  color: #b5f1ec;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #dbe6f1;
  font-size: 0.95rem;
}

.panel {
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.face-stack {
  display: grid;
  grid-template-columns: repeat(7, minmax(68px, 1fr));
  gap: 14px 14px;
  justify-content: center;
  justify-items: center;
  margin: 0 auto;
}

.face {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(243, 178, 60, 0.9), rgba(102, 215, 209, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  background-size: 88%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b1b2b;
  font-size: 0.9rem;
}

.face--gold {
  background: linear-gradient(145deg, #f7d67a, #f3b23c) !important;
  color: #0b1b2b;
}

.face--silver {
  background: linear-gradient(145deg, #eef1f6, #cfd5e0) !important;
  color: #0b1b2b;
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.bullet {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--mint));
  box-shadow: 0 0 10px rgba(243, 178, 60, 0.6);
}

.cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(243, 178, 60, 0.14), rgba(102, 215, 209, 0.12));
  color: #0b0f18;
}

.cta h2 {
  color: #0b0f18;
}

.cta p {
  color: #1f2f40;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

  100% { transform: translateX(-50%); }
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  text-transform: uppercase;
  min-width: 150px;
  height: 64px;
}
.partner-logo.partner-grey { color: #8c8c8c; }
.partner-logo.alt {
  background: #fff;
  color: #0b0f18;
  border-radius: 6px;
  padding: 0 16px;
  min-width: 190px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.logoCloud {
  background: transparent;
  color: #fff;
  padding: 0;
  position: relative;
  min-height: 52px;
  height: 52px;
}

.logoCloud__marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 48px;
  padding: 0 10px;
  position: relative;
  min-height: 52px;
  height: 52px;
}

.logoCloud__logos {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  min-width: max-content;
  animation: logo-marquee 30s linear infinite;
}

.logoCloud__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  text-transform: uppercase;
  min-width: 150px;
  height: 52px;
}

.logoCloud__logo img {
  max-height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.logoCloud__logo.logo-grey {
  color: #8c8c8c;
}

.logoCloud__marquee-label {
  background: var(--accent);
  color: #0b0f18;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  min-width: 200px;
  font-size: 0.95rem;
  padding: 0 14px;
}

@media (max-width: 640px) {
  .logoCloud__marquee-label {
    display: none;
  }
}

@keyframes logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer {
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .layout-split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
  }

  .shell {
    padding: 24px 5vw 64px;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #0f2235;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: sticky;
    min-height: 54px;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: center;
    width: 40px;
    height: 34px;
    gap: 4px;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 10px) 0 auto 0;
    gap: 12px;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(12, 27, 43, 0.96), rgba(17, 38, 59, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    z-index: 100;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, transform 200ms ease, visibility 0s linear 180ms;
  }

  .nav-links a {
    padding: 12px 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .nav-open .nav-links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 180ms ease, transform 200ms ease;
  }

  .nav-open .nav-links a { animation: none; }
  .portrait-wrap {
    max-width: 240px;
  }

  .ticker__track {
    gap: 36px;
  }

  .ticker__item img {
    height: 42px;
  }

  .testimonials__track {
    grid-auto-columns: 80vw;
  }

  .reveal {
    transform: none;
    filter: none;
  }

  .face-stack {
    grid-template-columns: repeat(5, 64px);
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
  }

  .face {
    width: 64px;
    height: 64px;
    background-size: 82%;
  }
}

@media (max-width: 640px) {
  .face-stack {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
  .badge,
  .button { width: 100%; justify-content: center; }
  .ticker__track { gap: 24px; }
  .ticker__item img { height: 36px; }
  .testimonials { padding: 28px 0 34px; }
  .testimonial-card { min-height: 0; }
}
