:root {
  --bg: #07111f;
  --bg-soft: #0c1b31;
  --panel: rgba(155, 197, 255, 0.08);
  --panel-strong: rgba(155, 197, 255, 0.14);
  --line: rgba(155, 197, 255, 0.16);
  --text: #edf4ff;
  --muted: #9eb0ca;
  --accent: #77b4ff;
  --accent-strong: #4d97ff;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 20px 60px rgba(2, 10, 25, 0.38);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(77, 151, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(119, 180, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #09172a 45%, #081321 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 95%);
}

.site-header,
.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #06111f;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(77, 151, 255, 0.24);
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
.site-nav a,
.btn,
.hero h1,
.section-heading h2,
.product-card h3,
.about-card h3,
.cta-section h2,
.modal-card h2,
.bio-link strong {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-copy small,
.site-nav a,
.eyebrow,
.card-kicker,
.bio-role,
.mini-label {
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 1rem;
}

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

.section {
  padding: 3.25rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: 4rem;
}

.hero-copy,
.hero-panel,
.product-card,
.about-card,
.cta-section,
.modal-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(155, 197, 255, 0.08), rgba(155, 197, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.cta-section,
.modal-card {
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-panel,
.product-card,
.about-card,
.cta-section,
.modal-card,
.bio-link {
  position: relative;
  overflow: hidden;
}

.hero-copy,
.hero-panel {
  padding: 1.6rem;
}

.hero-copy::before,
.hero-panel::before,
.product-card::before,
.about-card::before,
.cta-section::before,
.modal-card::before,
.bio-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.cta-section h2,
.modal-card h2 {
  margin: 0;
  line-height: 0.98;
}

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

.lede,
.product-card p,
.about-card p,
.cta-section p,
.bio-link small,
.brand-copy small,
.site-nav a,
.mini-label {
  color: var(--muted);
}

.lede {
  max-width: 50ch;
  margin: 1rem 0 0;
  font-size: 1.04rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1.08rem;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #07111f;
  box-shadow: 0 14px 34px rgba(77, 151, 255, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(155, 197, 255, 0.2);
}

.btn-secondary:hover {
  border-color: rgba(119, 180, 255, 0.48);
}

.hero-panel {
  display: grid;
  gap: 0.8rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(155, 197, 255, 0.12);
}

.mini-stat strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.35rem;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 12ch;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.product-card,
.about-card,
.bio-link {
  border-radius: var(--radius-lg);
}

.product-card,
.about-card {
  padding: 1.35rem;
}

.product-card-wide {
  min-height: 18rem;
}

.card-kicker,
.bio-role,
.mini-label {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
}

.card-kicker {
  color: var(--accent);
}

.product-card h3,
.about-card h3,
.bio-link strong {
  margin: 0.65rem 0 0;
  font-size: 2rem;
  line-height: 1;
}

.product-card p,
.about-card p,
.bio-link small {
  margin: 0.75rem 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cta-section {
  margin-bottom: 4rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-section h2 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  max-width: 10ch;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 20;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.76);
  backdrop-filter: blur(7px);
}

.modal-card {
  width: min(calc(100% - 1.5rem), 38rem);
  padding: 1.5rem;
  z-index: 1;
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(155, 197, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.bio-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.bio-link {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(155, 197, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 160ms ease, border-color 160ms ease;
}

.bio-link:hover,
.product-card:hover,
.about-card:hover {
  transform: translateY(-3px);
  border-color: rgba(119, 180, 255, 0.42);
}

.bio-role {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(119, 180, 255, 0.14);
  border: 1px solid rgba(119, 180, 255, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero,
  .product-grid,
  .about-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-section {
    display: grid;
  }
}

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

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section-heading h2,
  .cta-section h2 {
    max-width: 100%;
  }
}
