:root {
  --bg: #090a0d;
  --panel: rgba(17, 20, 25, .88);
  --panel-strong: rgba(20, 24, 30, .96);
  --surface: rgba(255, 255, 255, .055);
  --surface-strong: rgba(255, 255, 255, .09);
  --text: #f4f6f8;
  --muted: #adb5bf;
  --soft: #d7dde4;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .22);
  --red: #e94444;
  --red-dark: #9d2222;
  --cyan: #5cc7d8;
  --amber: #f0bc58;
  --green: #71d899;
  --shadow: 0 18px 48px rgba(0, 0, 0, .38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 10, 13, .96) 0%, rgba(9, 10, 13, .9) 52%, rgba(9, 10, 13, .72) 100%),
    linear-gradient(180deg, rgba(9, 10, 13, .7) 0%, #090a0d 86%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  color: var(--text);
  padding: 10px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

#bg-slideshow,
#bg-slideshow .slide {
  position: fixed;
  inset: 0;
  z-index: -2;
}

#bg-slideshow {
  background: #08090b;
}

#bg-slideshow .slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(52%) saturate(92%);
}

#bg-slideshow .slide.show {
  opacity: 1;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 13, .78);
  backdrop-filter: blur(14px) saturate(120%);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  padding: 5px;
  background: rgba(255, 255, 255, .04);
}

.brand-lockup span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-lockup strong {
  color: #fff;
  font-weight: 850;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 12px;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.site-menu a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--soft);
  padding: 8px 10px;
  font-weight: 750;
  font-size: 14px;
}

.site-menu a:hover,
.site-menu a.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: #fff;
}

.site-menu .login-link {
  border-color: rgba(233, 68, 68, .38);
  background: rgba(233, 68, 68, .12);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 11px 15px;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.btn:disabled {
  opacity: .58;
  cursor: not-allowed;
  transform: none;
}

.btn.primary {
  border-color: rgba(233, 68, 68, .52);
  background: linear-gradient(180deg, #f04c4c, #a92323);
  box-shadow: 0 12px 30px rgba(157, 34, 34, .28);
}

.btn.secondary {
  border-color: rgba(92, 199, 216, .5);
  background: rgba(92, 199, 216, .11);
}

.btn.ghost {
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  padding: 62px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p,
.section-lead {
  max-width: 680px;
  color: var(--soft);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-panel,
.glass-panel,
.card,
.stat,
.timeline-item,
.rule-item,
.policy-item,
.social-card,
.service-card,
.leader-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel {
  overflow: hidden;
  align-self: stretch;
}

.hero-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hero-panel-body {
  padding: 16px;
}

.hero-panel-body strong {
  display: block;
  color: #fff;
  font-size: 20px;
}

.hero-panel-body span {
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.section.compact {
  padding-top: 36px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.prose h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.08;
}

.section-heading p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

.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));
}

.feature-card,
.card {
  padding: 18px;
}

.feature-card {
  border-left: 3px solid var(--red);
}

.feature-card:nth-child(2n) {
  border-left-color: var(--cyan);
}

.feature-card:nth-child(3n) {
  border-left-color: var(--amber);
}

.feature-card h3,
.card h3,
.service-card h3,
.leader-card h3,
.social-card h3,
.rule-item h2,
.policy-item h2 {
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.15;
}

.feature-card p,
.card p,
.service-card p,
.leader-card p,
.social-card p,
.rule-item p,
.policy-item p {
  margin: 0;
  color: var(--muted);
}

.image-band {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(58%);
}

.image-band-content {
  position: relative;
  max-width: 720px;
  padding: 28px;
}

.image-band-content h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 40px;
  line-height: 1.06;
}

.image-band-content p {
  color: var(--soft);
}

.leader-group {
  margin-top: 28px;
}

.leader-group > h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
}

.leader-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}

.leader-card img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

.leader-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.page-hero {
  padding: 70px 0 30px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 24px;
  align-items: end;
}

.page-hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-hero-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.page-hero-card.logo-hero-card img {
  object-fit: contain;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(92, 199, 216, .18), transparent 62%),
    rgba(255, 255, 255, .035);
}

.page-hero-card div {
  padding: 14px;
  color: var(--muted);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card-content {
  padding: 16px;
}

.service-card.highlight {
  grid-column: span 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--soft);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.prose {
  max-width: 900px;
}

.prose p {
  color: var(--soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 18px;
}

.timeline-item strong {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
}

.rule-list,
.policy-list {
  display: grid;
  gap: 12px;
}

.rule-item,
.policy-item {
  padding: 18px;
}

.rule-item header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.rule-number {
  min-width: 48px;
  color: var(--cyan);
  font-weight: 900;
}

.rule-item h2 {
  font-size: 20px;
}

.policy-item h2 {
  font-size: 22px;
}

.rule-item ul,
.policy-item ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.rule-item li,
.policy-item li {
  margin: 4px 0;
}

.social-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
}

.social-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, .04);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 10, 13, .86);
  backdrop-filter: blur(12px);
  padding: 34px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.footer-links,
.footer-cta {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--soft);
  font-weight: 750;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

  .site-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: grid;
  }

  .site-menu a {
    width: 100%;
    padding: 11px 12px;
  }

  .hero-grid,
  .page-hero-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .section-heading h2,
  .prose h2,
  .image-band-content h2 {
    font-size: 34px;
  }

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

  .service-card.highlight {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-lockup img {
    width: 38px;
    height: 38px;
  }

  .brand-lockup strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }

  .brand-lockup small {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 24px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-copy p,
  .page-hero p,
  .section-lead {
    font-size: 16px;
  }

  .section-heading h2,
  .prose h2,
  .image-band-content h2 {
    font-size: 28px;
  }

  .hero-actions,
  .footer-cta {
    display: grid;
  }

  .hero-actions .btn,
  .footer-cta .btn {
    width: 100%;
  }

  .hero-panel img {
    height: 250px;
  }

  .page-hero {
    padding: 42px 0 18px;
  }

  .page-hero-card img,
  .service-card img {
    height: 180px;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    display: grid;
    gap: 10px;
  }

  .rule-item header {
    display: grid;
    gap: 4px;
  }

  .image-band-content {
    padding: 20px;
  }

  .image-band {
    min-height: 360px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .brand-lockup strong {
    max-width: 150px;
  }

  .brand-lockup small {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 30px;
  }

  .feature-card,
  .card,
  .rule-item,
  .policy-item,
  .social-card,
  .service-card-content {
    padding: 14px;
  }

  .leader-card {
    grid-template-columns: 58px 1fr;
  }

  .leader-card img {
    width: 58px;
    height: 58px;
  }
}
