:root {
  --bg: #08111f;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5eefb;
  --muted: #b2c1d8;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --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;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.10), transparent 26%),
    linear-gradient(180deg, #07101d 0%, #0b1423 100%);
}

a { color: inherit; }

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header,
.hero,
.section,
.site-footer {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1rem;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

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

.hero {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  padding: 5rem 2rem;
}

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

.hero h1,
.section h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  max-width: 12ch;
  text-wrap: balance;
}

.hero-copy {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: 1.14rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-align: center;
}

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

.button-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #062032;
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.section,
.site-footer {
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.25rem;
}

.intro-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.intro-card p,
.section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.intro-note {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 1.4rem;
}

.section-heading.narrow { max-width: 48rem; }

.grid {
  display: grid;
  gap: 1rem;
}

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

.card,
.fit-item,
.stack-item {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.card h3,
.stack-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.card p,
.stack-item p {
  margin: 0;
  font-size: 0.98rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 1rem;
}

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

.fit-item {
  font-weight: 500;
  line-height: 1.6;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.9rem 1.2rem;
  }

  .hero {
    padding: 4rem 1.6rem 4.2rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 8vw, 4.7rem);
  }

  .intro-card,
  .split-section,
  .site-footer,
  .cta-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max));
    padding-top: 0.5rem;
  }

  .site-header,
  .section,
  .site-footer {
    padding: 1.35rem;
  }

  .hero {
    padding: 3rem 1.35rem 3.4rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    max-width: 10ch;
  }

  .hero-copy {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1.6rem;
    padding-bottom: 0.35rem;
  }

  .hero-actions .button,
  .cta-section .button {
    width: 100%;
  }

  .cards-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .section h2,
  .site-footer h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }
}

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

  .site-header {
    padding: 1rem 1rem 1.1rem;
    gap: 0.7rem;
  }

  .nav {
    gap: 0.5rem 1rem;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .hero {
    padding: 2.5rem 1.1rem 3rem;
  }

  .eyebrow,
  .section-label {
    font-size: 0.72rem;
    margin-bottom: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 12vw, 2.85rem);
    max-width: 9ch;
  }

  .hero-copy {
    margin-top: 1.2rem;
    font-size: 0.98rem;
  }

  .button {
    min-height: 50px;
    padding: 0.9rem 1rem;
  }

  .section,
  .site-footer {
    padding: 1.1rem;
  }

  .card,
  .fit-item,
  .stack-item,
  .intro-note {
    padding: 1rem;
  }
}


@media (max-width: 430px) and (max-height: 760px) {
  .hero {
    padding: 2.1rem 1rem 2.3rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 10.8vw, 2.55rem);
    max-width: 8.6ch;
    line-height: 1.01;
  }

  .hero-copy {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 1.2rem;
    gap: 0.7rem;
    padding-bottom: 0.6rem;
  }

  .button {
    min-height: 46px;
    padding: 0.8rem 0.95rem;
    font-size: 0.98rem;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(1.68rem, 10.4vw, 2.35rem);
    max-width: 8.4ch;
  }

  .nav a {
    font-size: 0.88rem;
  }
}
