:root {
  color-scheme: light;
  --ink: #17223f;
  --muted: #5f6f96;
  --paper: #f6f9ff;
  --white: #ffffff;
  --line: #d8e5fb;
  --forest: #294495;
  --forest-dark: #142a72;
  --gold: #9bbcff;
  --clay: #5d92ef;
  --mist: #eaf2ff;
  --shadow: 0 18px 48px rgba(31, 68, 148, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(41, 68, 149, 0.98) 0%, rgba(42, 76, 170, 0.94) 24%, rgba(31, 58, 139, 0.92) 58%, rgba(20, 42, 112, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(155, 188, 255, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(41, 68, 149, 1) 0%, rgba(36, 66, 155, 0.98) 26%, rgba(28, 53, 128, 0.98) 62%, rgba(15, 29, 76, 1) 100%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 220px;
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #0d1b45;
  background: var(--gold);
  border-radius: 8px;
  font-size: 14px;
}

.brand-text {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch .language-link {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.language-switch .language-link.is-active {
  color: #0d1b45;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-capital-markets.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 58, 0.95) 0%, rgba(22, 54, 130, 0.8) 43%, rgba(36, 68, 150, 0.36) 100%),
    linear-gradient(180deg, rgba(8, 18, 50, 0.36) 0%, rgba(8, 18, 50, 0.58) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  min-height: 92vh;
  padding: 120px 48px 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1;
}

.hero-subtitle {
  margin: 20px 0 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #0d1b45;
  background: var(--gold);
}

.button-primary:hover {
  background: #b1cbff;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 126px;
  padding: 26px 34px;
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--forest);
  font-size: 36px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 48px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
}

.section-heading p:not(.eyebrow),
.contact-content > div > p {
  color: var(--muted);
  font-size: 18px;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.2fr);
  gap: 54px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
}

.registration-box {
  margin-top: 28px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--line);
}

.registration-box h3 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.25;
}

.registration-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.registration-list div {
  display: grid;
  gap: 4px;
}

.registration-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.registration-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--forest);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.services,
.network,
.contact {
  background: var(--forest-dark);
  color: var(--white);
}

.services .section-heading p:not(.eyebrow),
.network .section-heading p:not(.eyebrow),
.contact-content > div > p {
  color: rgba(255, 255, 255, 0.76);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.person-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 8px;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-index {
  display: block;
  color: var(--gold);
  font-weight: 900;
}

.service-card h3,
.person-card h3,
.proof-grid h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p,
.service-card strong {
  color: rgba(255, 255, 255, 0.75);
}

.service-card strong {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}

.team {
  background: var(--mist);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.person-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: start;
  padding: 16px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.person-photo {
  grid-row: 1 / span 3;
  width: 64px;
}

.person-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 8px;
}

.person-avatar {
  display: grid;
  grid-row: 1 / span 3;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  font-weight: 900;
}

.person-role {
  margin: 0 0 2px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
}

.person-card p:last-child {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.person-card h3 {
  margin: 0 0 2px;
  font-size: 18px;
  line-height: 1.2;
}

.network-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.network-list span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  font-weight: 800;
}

.proof {
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proof-grid > div {
  padding-top: 24px;
  border-top: 4px solid var(--gold);
}

.proof-grid p {
  color: var(--muted);
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 64px;
  padding: 20px 24px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: start;
}

.compliance-note {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f1d4c;
}

.site-footer strong {
  color: var(--white);
  font-size: 20px;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1180px) {
  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(19, 37, 96, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .language-switch {
    margin-top: 8px;
    align-self: flex-start;
  }

  .language-switch .language-link {
    padding: 7px 10px;
  }

  .hero,
  .hero-inner {
    min-height: 86vh;
  }

  .hero-inner {
    padding: 106px 24px 64px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 68px 24px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 32px;
  }

  .intro-grid,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 36px;
    max-width: 176px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-band,
  .service-grid,
  .team-grid,
  .network-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}
