:root {
  --bg: #07111f;
  --bg-2: #0b1b31;
  --panel: #ffffff;
  --panel-soft: #f7fbff;
  --text: #0f172a;
  --muted: #4c5d77;
  --white: #ffffff;
  --accent: #59c6ff;
  --accent-soft: #9be5ff;
  --border: rgba(148, 163, 184, 0.18);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 46px rgba(2, 10, 25, 0.14);
  --radius: 24px;
  --radius-lg: 30px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 198, 255, 0.14), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(155, 229, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #091a2d 33%, #eef4fb 33%, #eef4fb 100%);
}

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

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

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.focusable:focus-visible {
  outline: 3px solid rgba(89, 198, 255, 0.84);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.brand-mark {
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.88rem;
  color: rgba(241, 245, 249, 0.72);
}

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

.nav a {
  color: rgba(241, 245, 249, 0.84);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  background: rgba(89, 198, 255, 0.12);
  color: var(--white);
  outline: none;
}

.hero {
  color: var(--white);
  padding: 64px 0 48px;
}

.hero-grid,
.page-hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-label,
.page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(89, 198, 255, 0.22);
  background: rgba(89, 198, 255, 0.12);
  color: #d9f4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero .lead,
.page-hero .lead {
  margin: 18px 0 0;
  max-width: 68ch;
  color: rgba(241, 245, 249, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #9ae5ff 100%);
  color: #082033;
  box-shadow: 0 14px 28px rgba(89, 198, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

.panel,
.card,
.footer-panel,
.hero-image,
.callout,
.image-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  padding: 28px;
}

.hero-image {
  margin: 0;
  overflow: hidden;
  background: #10213d;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-image img {
  aspect-ratio: 16 / 10;
}

.hero-figure-caption {
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #0d1b2f 0%, #122742 100%);
  color: rgba(241, 245, 249, 0.88);
}

.hero-figure-caption strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-figure-caption span {
  display: block;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.95rem;
}

.media-stack {
  display: grid;
  gap: 14px;
}

.stat-grid,
.card-grid,
.feature-grid,
.example-grid,
.outcome-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px;
}

.card h3,
.callout h3 {
  margin: 0 0 10px;
  color: #081423;
  font-size: 1.15rem;
}

.card p,
.card li,
.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card ul,
.callout ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.card li,
.callout li {
  margin-top: 8px;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: #0d4d77;
  font-weight: 700;
}

.section {
  padding: 24px 0;
}

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

.section-heading h2,
.page-hero h2 {
  margin: 0;
  color: #091521;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-heading p,
.page-hero .subtext,
.section-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 76ch;
}

.dark-band {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(11, 24, 42, 0.98));
  color: var(--white);
}

.dark-band .section-heading h2,
.dark-band .section-heading p,
.dark-band .callout h3,
.dark-band .callout p,
.dark-band .callout li,
.dark-band .card h3,
.dark-band .card p,
.dark-band .card li {
  color: var(--white);
}

.dark-band .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.dark-band .card-link {
  color: #d7f4ff;
}

.split-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.callout {
  padding: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0d1b2f 0%, #122742 100%);
  color: var(--white);
}

.callout h3 {
  color: var(--white);
}

.callout p,
.callout li {
  color: rgba(241, 245, 249, 0.84);
}

.callout .button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
}

.callout .button-primary {
  background: linear-gradient(135deg, #59c6ff 0%, #c5f1ff 100%);
}

.footer {
  color: rgba(241, 245, 249, 0.88);
  padding: 24px 0 42px;
}

.footer-panel {
  background: linear-gradient(135deg, #0d1b2f 0%, #122742 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand .brand-mark {
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 22px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0;
  color: rgba(241, 245, 249, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.footer-links a {
  color: rgba(241, 245, 249, 0.82);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.image-card {
  margin: 0;
  overflow: hidden;
  background: #10213d;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.image-card img {
  aspect-ratio: 16 / 10;
}

.image-card figcaption {
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #0d1b2f 0%, #122742 100%);
}

.image-card figcaption strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.image-card figcaption span {
  display: block;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.95rem;
}

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

.screenshot-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.screenshot-link {
  display: block;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center center;
  background: #091521;
  padding: 12px;
}

.screenshot-caption {
  padding: 16px 18px 18px;
}

.screenshot-caption strong {
  display: block;
  color: #081423;
  margin-bottom: 4px;
  font-size: 1rem;
}

.screenshot-caption span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.portal-panel {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.portal-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.portal-panel li {
  margin-top: 8px;
  color: rgba(241, 245, 249, 0.82);
}

.detail-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.detail-list li {
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.page-hero {
  color: var(--white);
  padding: 64px 0 48px;
}

.page-hero .subtext {
  color: rgba(241, 245, 249, 0.82);
}

.page-hero .hero-side {
  display: grid;
  gap: 14px;
}

.page-hero .hero-side .card {
  background: rgba(255, 255, 255, 0.96);
}

.mini-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.92rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .split-card,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .feature-grid,
  .example-grid,
  .outcome-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(89, 198, 255, 0.14), transparent 34%),
      linear-gradient(180deg, #07111f 0%, #091a2d 24%, #eef4fb 24%, #eef4fb 100%);
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .page-hero {
    padding-top: 42px;
  }

  .panel,
  .footer-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-image img,
  .image-card img {
    aspect-ratio: 4 / 3;
  }

  .card-grid,
  .feature-grid,
  .example-grid,
  .outcome-grid,
  .screenshot-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
