:root {
  --bg: #171717;
  --text: #f7f7f8;
  --muted: #a9a9ad;
  --line: rgba(255, 255, 255, 0.09);
  --indigo-white: #eef2ff;
  --indigo-white-hover: #e0e7ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

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

.hero-shell {
  min-height: 100vh;
  background: #171717;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 145px;
  width: min(34vw, 500px);
  height: calc(100% - 215px);
  min-height: 500px;
  pointer-events: none;
  opacity: 0.56;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Crect x='1' y='1' width='4' height='4' rx='0.5' fill='%23EEF2FF' fill-opacity='0.38'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.88) 24%, rgba(0,0,0,0.46) 58%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.88) 24%, rgba(0,0,0,0.46) 58%, transparent 100%);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
  color: var(--indigo-white);
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #b7b7bc;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 650;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #171717;
  background: var(--indigo-white);
  border-color: var(--indigo-white);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--indigo-white-hover);
  border-color: var(--indigo-white-hover);
}

.btn-ghost {
  color: #e2e2e4;
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.btn-secondary {
  color: #f1f1f2;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.13);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.19);
}

.btn-large {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 12px;
  font-size: 0.96rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 11px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 42px;
  padding-top: 76px;
  padding-bottom: 110px;
}

.hero-copy {
  width: min(100%, 720px);
  font-family: "Inter Tight", "Arial Narrow", sans-serif;
  position: relative;
  z-index: 2;
}

h1 {
  margin: 0 0 22px;
  font-family: "Inter Tight", "Arial Narrow", sans-serif !important;
  font-size: clamp(3.85rem, 6.9vw, 6.7rem);
  line-height: 0.89;
  letter-spacing: -0.055em;
  font-weight: 900;
  font-stretch: condensed;
}

.hero-title-outline,
.hero-title-solid {
  font-family: "Inter Tight", "Arial Narrow", sans-serif !important;
  font-weight: 900;
}

.hero-title-outline {
  color: #171717;
  -webkit-text-stroke: 2px var(--indigo-white);
  paint-order: stroke fill;
}

.hero-title-solid {
  color: var(--indigo-white);
}

.hero-description {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-family: "Inter Tight", "Arial Narrow", sans-serif !important;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

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

.hero-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: min(100%, 540px);
  max-height: 610px;
  height: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.light-section {
  background: var(--indigo-white);
  color: #171717;
  padding: 88px 0 54px;
}

.light-section-inner {
  display: grid;
  gap: 32px;
}

.light-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 24px 60px rgba(23, 23, 23, 0.06);
}

.light-copy {
  padding: 58px 54px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.light-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: rgba(23, 23, 23, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.light-kicker svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.light-copy h2 {
  margin: 19px 0 18px;
  max-width: 610px;
  font-family: "Inter Tight", "Arial Narrow", sans-serif;
  font-size: clamp(2.65rem, 4.7vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.light-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(23, 23, 23, 0.66);
  font-size: 1rem;
  line-height: 1.63;
}

.light-action {
  margin-top: 30px;
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #171717;
  color: var(--indigo-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.light-action:hover {
  transform: translateY(-1px);
  background: #242424;
}

.light-action svg {
  width: 17px;
  height: 17px;
}

.light-stats {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid rgba(23, 23, 23, 0.08);
}

.light-stat-card {
  min-height: 158px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-content: center;
  column-gap: 15px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.light-stat-card:last-child {
  border-bottom: 0;
}

.light-stat-card > svg {
  grid-row: 1 / span 2;
  width: 25px;
  height: 25px;
  stroke-width: 1.75;
  margin-top: 3px;
}

.light-stat-card strong {
  display: block;
  font-family: "Inter Tight", "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.light-stat-card span {
  margin-top: 9px;
  max-width: 340px;
  color: rgba(23, 23, 23, 0.58);
  font-size: 0.86rem;
  line-height: 1.48;
}

.light-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 23, 23, 0.10);
  border-bottom: 1px solid rgba(23, 23, 23, 0.10);
}

.light-trust-item {
  min-height: 84px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: rgba(23, 23, 23, 0.68);
  font-size: 0.86rem;
  font-weight: 650;
  text-align: center;
  border-right: 1px solid rgba(23, 23, 23, 0.08);
}

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

.light-trust-item svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .hero-shell::before {
    width: 42vw;
    opacity: 0.48;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
    gap: 26px;
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(3.55rem, 7.3vw, 5.7rem);
  }

  .hero-visual img {
    width: min(100%, 440px);
  }

  .light-panel {
    grid-template-columns: 1fr;
  }

  .light-stats {
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
  }

  .light-stat-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 0;
    border-right: 1px solid rgba(23, 23, 23, 0.08);
  }

  .light-stat-card:last-child {
    border-right: 0;
  }

  .light-stat-card strong {
    margin-top: 20px;
  }

  .light-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .light-trust-item:nth-child(2) {
    border-right: 0;
  }

  .light-trust-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-shell::before {
    top: 105px;
    width: 72vw;
    height: 58vh;
    min-height: 360px;
    opacity: 0.38;
    background-size: 18px 18px;
  }

  .nav {
    height: 76px;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #1d1d1d;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  }

  .nav-links.open a {
    padding: 14px 12px;
    border-radius: 9px;
  }

  .nav-links.open a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .hero {
    min-height: calc(100vh - 76px);
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 72px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.25rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-large {
    width: 100%;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-visual img {
    width: min(92%, 460px);
    max-height: 500px;
  }

  .light-section {
    padding: 58px 0 38px;
  }

  .light-panel {
    border-radius: 20px;
  }

  .light-copy {
    padding: 38px 26px 36px;
  }

  .light-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .light-stats {
    grid-template-columns: 1fr;
  }

  .light-stat-card {
    min-height: auto;
    padding: 27px 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }

  .light-stat-card:last-child {
    border-bottom: 0;
  }

  .light-trust-row {
    grid-template-columns: 1fr;
  }

  .light-trust-item,
  .light-trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  }

  .light-trust-item:last-child {
    border-bottom: 0;
  }
}
