:root {
  --bg: #0f1116;
  --bg-soft: rgba(15, 31, 29, 0.92);
  --panel: rgba(30, 50, 55, 0.78);
  --panel-strong: rgba(57, 75, 80, 0.92);
  --line: rgba(87, 216, 248, 0.24);
  --line-strong: rgba(87, 216, 248, 0.52);
  --accent: rgba(87, 216, 248, 0.96);
  --accent-soft: rgba(87, 216, 248, 0.14);
  --danger: rgba(206, 77, 73, 0.92);
  --danger-soft: rgba(206, 77, 73, 0.16);
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.68);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(87, 216, 248, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(206, 77, 73, 0.08), transparent 26%),
    linear-gradient(180deg, #0f1116 0%, #101820 100%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-body {
  position: relative;
  overflow-x: hidden;
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(87, 216, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 216, 248, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
  pointer-events: none;
}

.background-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.background-glow-one {
  top: 80px;
  left: -140px;
  width: 340px;
  height: 340px;
  background: rgba(87, 216, 248, 0.12);
}

.background-glow-two {
  right: -100px;
  bottom: 40px;
  width: 280px;
  height: 280px;
  background: rgba(206, 77, 73, 0.1);
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

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

.site-nav a,
.nav-dropdown-trigger {
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.8em;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 6px;
  padding: 10px;
  background: rgba(17, 25, 31, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  border-radius: 10px;
}

main {
  padding: 26px 0 48px;
}

.hero-panel,
.content-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(17, 25, 31, 0.9), rgba(21, 34, 39, 0.82));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy h1,
.section-heading h2,
.callout-card h2,
.not-found-card h1 {
  margin: 10px 0 14px;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.hero-text,
.info-card p,
.step-card p,
.feature-card p,
.callout-card p,
.section-copy,
.contact-status,
.not-found-card p,
.site-footer p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, rgba(24, 57, 65, 0.96), rgba(11, 24, 30, 0.96));
  border-color: rgba(87, 216, 248, 0.45);
  color: var(--accent);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.hero-card,
.info-card,
.step-card,
.feature-card,
.callout-card,
.contact-form,
.not-found-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
}

.metric-card {
  padding: 18px;
  background: rgba(15, 31, 29, 0.82);
  border: 1px solid rgba(87, 216, 248, 0.16);
  border-radius: 14px;
}

.metric-card-alert {
  border-color: rgba(206, 77, 73, 0.24);
  background: rgba(80, 40, 40, 0.18);
}

.metric-label,
.step-number {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.content-section {
  margin-top: 24px;
  padding: 28px;
  background: rgba(17, 25, 31, 0.58);
  border: 1px solid rgba(87, 216, 248, 0.12);
  border-radius: 24px;
}

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

.section-heading h2,
.callout-card h2,
.not-found-card h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.two-column-grid,
.app-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.two-column-grid,
.app-grid,
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.info-card,
.step-card,
.feature-card {
  padding: 22px;
}

.info-card h3,
.step-card h3,
.feature-card h3,
.callout-card h2,
.not-found-card h1 {
  margin-top: 0;
}

.callout-section {
  background: transparent;
  border: 0;
  padding: 0;
}

.callout-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 31, 29, 0.92), rgba(57, 75, 80, 0.7));
}

.app-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.app-card-featured {
  background: linear-gradient(180deg, rgba(15, 31, 29, 0.92), rgba(30, 50, 55, 0.84));
  border-color: rgba(87, 216, 248, 0.34);
}

.app-card-placeholder {
  background: linear-gradient(180deg, rgba(31, 24, 18, 0.84), rgba(57, 75, 80, 0.72));
  border-color: rgba(206, 77, 73, 0.26);
}

.app-card h3 {
  margin: 10px 0 12px;
  font-size: 1.6rem;
}

.app-card p {
  color: var(--text-muted);
}

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

.app-points li {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(87, 216, 248, 0.14);
  background: rgba(15, 31, 29, 0.54);
  color: var(--text);
}

.placeholder-chip {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--danger-soft);
  border: 1px solid rgba(206, 77, 73, 0.26);
  color: rgba(255, 228, 227, 0.92);
}

.page-hero-title {
  max-width: 14ch;
}

.page-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

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

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(87, 216, 248, 0.24);
  background: rgba(15, 31, 29, 0.9);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(87, 216, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(87, 216, 248, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-status {
  min-height: 1.4em;
  margin: 0;
}

.contact-status-success {
  color: var(--accent);
}

.contact-status-warning {
  color: rgba(255, 217, 102, 0.92);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 34px;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.not-found-layout {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.not-found-card {
  width: min(720px, 100%);
  padding: 32px;
  text-align: center;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel,
  .two-column-grid,
  .app-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .hero-panel,
  .callout-card,
  .not-found-card {
    padding: 22px;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .site-header {
    width: min(100% - 20px, 1120px);
  }

  main {
    padding-top: 18px;
  }

  .site-nav {
    gap: 8px;
  }

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

  .hero-copy h1 {
    max-width: none;
  }
}