:root {
  --bg: #08111f;
  --bg-soft: #0d1b2f;
  --surface: rgba(12, 26, 46, 0.88);
  --surface-strong: #12253f;
  --border: rgba(149, 178, 255, 0.2);
  --text: #e8eefb;
  --muted: #a9bad8;
  --accent: #4cc9f0;
  --accent-strong: #6f7bf7;
  --accent-soft: rgba(76, 201, 240, 0.12);
  --success: #79f2c0;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 123, 247, 0.32), transparent 28%),
    radial-gradient(circle at top right, rgba(76, 201, 240, 0.18), transparent 26%),
    linear-gradient(180deg, #07101d 0%, #0b1729 48%, #09101a 100%);
  min-height: 100vh;
}

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

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(8, 17, 31, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

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

.brand img {
  width: 48px;
  height: 48px;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(149, 178, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(149, 178, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--text);
  border-color: rgba(149, 178, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #02111f;
  font-weight: 700;
  box-shadow: 0 16px 38px rgba(76, 201, 240, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(76, 201, 240, 0.28);
}

.button-outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  box-shadow: none;
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero-copy,
.hero-panel {
  position: relative;
}

.hero-heading-block {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  max-width: 11.5ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.07rem;
}

.hero-description-card {
  max-width: 760px;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid rgba(149, 178, 255, 0.16);
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 26, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-description-label {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.trust-strip div {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-card,
.info-card,
.service-card,
.feature-card,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.glass {
  background:
    linear-gradient(180deg, rgba(17, 33, 56, 0.9), rgba(9, 18, 33, 0.92)),
    rgba(255, 255, 255, 0.05);
}

.panel-card {
  padding: 28px;
}

.panel-label {
  margin: 0 0 22px;
  color: var(--success);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.metric-grid article {
  padding: 18px;
  border: 1px solid rgba(149, 178, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.metric-grid strong,
.contact-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
}

.metric-grid span,
.contact-list span {
  color: var(--muted);
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -16px;
}

.two-column,
.feature-section,
.contact-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.info-stack,
.card-grid,
.timeline-steps,
.faq-list {
  display: grid;
  gap: 18px;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.service-card,
.feature-card {
  padding: 26px;
}

.service-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 10px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 62ch;
}

.feature-copy .text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.feature-section .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-steps article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.faq-list details {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-list details p {
  margin: 14px 0 0;
}

.contact-copy {
  padding-right: 10px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-card {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(149, 178, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 14, 26, 0.85);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(76, 201, 240, 0.6);
  box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(7, 14, 26, 0.9);
}

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

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a,
.footer-meta p,
.site-footer p {
  color: var(--muted);
  margin: 0;
}

.legal-page .site-shell {
  min-height: 100vh;
}

.legal-header {
  padding-top: 60px;
  padding-bottom: 26px;
}

.legal-header .brand {
  margin-bottom: 18px;
}

.legal-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 16px;
}

.legal-card h2 {
  max-width: none;
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.center-legal {
  margin-top: 72px;
}

@media (max-width: 1080px) {
  .hero,
  .two-column,
  .feature-section,
  .contact-section,
  .site-footer,
  .trust-strip,
  .timeline-steps,
  .card-grid.four-up,
  .feature-section .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid.three-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    border-radius: 24px;
  }

  .topbar-main {
    grid-template-columns: 1fr auto;
    padding: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav,
  .topbar-actions {
    display: none;
  }

  .topbar.nav-open .site-nav,
  .topbar.nav-open .topbar-actions {
    display: flex;
  }

  .topbar.nav-open .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    grid-column: 1 / -1;
  }

  .topbar.nav-open .site-nav a {
    justify-content: center;
  }

  .topbar.nav-open .topbar-actions {
    width: 100%;
    display: grid;
    grid-column: 1 / -1;
    gap: 12px;
    margin-top: 12px;
  }

  .hero,
  .two-column,
  .feature-section,
  .contact-section,
  .site-footer,
  .trust-strip,
  .timeline-steps,
  .card-grid.two-up,
  .card-grid.four-up,
  .feature-section .card-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.45rem;
    max-width: none;
  }

  h2 {
    font-size: 1.8rem;
  }

  .topbar,
  .panel-card,
  .service-card,
  .feature-card,
  .info-card,
  .contact-card,
  .site-footer,
  .legal-card {
    border-radius: 22px;
  }

  .header-contact {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-points,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-description-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .button,
  .button-outline,
  .button-small {
    width: 100%;
  }
}
