:root {
  --bg: #050c17;
  --bg-elevated: #0b1426;
  --surface: rgba(10, 19, 36, 0.8);
  --surface-strong: rgba(12, 24, 45, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-glow: rgba(120, 179, 255, 0.14);
  --border: rgba(154, 180, 255, 0.16);
  --border-strong: rgba(154, 180, 255, 0.24);
  --text: #f6f8ff;
  --text-muted: #c4d2ee;
  --text-subtle: #95a9ca;
  --accent: #87bfff;
  --accent-strong: #63e0d5;
  --accent-ink: #07111f;
  --shadow: 0 28px 80px rgba(1, 7, 18, 0.45);
  --shadow-soft: 0 18px 50px rgba(1, 7, 18, 0.28);
  --radius: 28px;
  --radius-sm: 20px;
  --content-width: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(99, 224, 213, 0.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(135, 191, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #07101d 0%, #050b15 55%, #04070f 100%);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
summary {
  text-wrap: pretty;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

ul {
  margin-bottom: 0;
}

code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

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

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.surface--header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  margin-top: 1rem;
  background: rgba(8, 16, 31, 0.76);
}

.site-header {
  min-height: 4.5rem;
}

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

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(99, 224, 213, 0.14));
}

.brand__wordmark {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav {
  color: var(--text-muted);
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.inline-link:hover,
.inline-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--text);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 224, 213, 0.22);
  background: rgba(99, 224, 213, 0.08);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.surface--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(135, 191, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.96), rgba(7, 14, 26, 0.94));
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__content .lede {
  max-width: 38rem;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin-bottom: 1.15rem;
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.lede,
.feature__copy p,
.section-heading p,
.highlight-card__copy p,
.faq-item p,
.cta-panel p,
.site-footer,
.hero__note {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero__actions,
.cta-actions,
.header-actions {
  flex-wrap: wrap;
}

.hero__actions,
.cta-actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.8rem 0 1rem;
}

.cta-actions {
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease;
}

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

.button--small {
  min-height: 2.6rem;
  padding: 0.68rem 1rem;
  font-size: 0.94rem;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 12px 28px rgba(99, 224, 213, 0.18);
}

.button--secondary,
.button--ghost {
  border-color: rgba(148, 168, 205, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.025);
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.hero__note {
  margin-bottom: 1.5rem;
}

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

.stat-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
}

.hero-stack {
  position: relative;
  min-height: clamp(24rem, 46vw, 36rem);
  padding: 1rem 0 1rem 1rem;
}

.app-shot,
.app-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(154, 180, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-shot:hover,
.app-frame:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.app-shot img,
.app-frame img {
  width: 100%;
  height: auto;
}

.app-shot--main {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  margin-left: auto;
  transform: rotate(-2deg);
}

.app-shot--floating {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  z-index: 2;
  width: min(42%, 18rem);
  transform: rotate(6deg);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.proof-pill {
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 19, 36, 0.72);
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.proof-pill:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(12, 22, 41, 0.82);
}

.surface--landing .proof-strip {
  margin-top: 1.5rem;
}

.surface--use-cases {
  background:
    radial-gradient(circle at 12% 18%, rgba(99, 224, 213, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(10, 19, 36, 0.94), rgba(7, 14, 27, 0.92));
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.use-case-card:hover,
.use-case-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
}

.use-case-card__eyebrow {
  margin-bottom: 0.65rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.use-case-card h3 {
  max-width: 24ch;
}

.use-case-card__body {
  color: var(--text-muted);
  line-height: 1.65;
}

.use-case-card__link {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(154, 180, 255, 0.14);
}

.use-case-card__link .inline-link {
  font-size: 0.96rem;
}

.surface--landing {
  background:
    radial-gradient(circle at 82% 18%, rgba(135, 191, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.96), rgba(7, 14, 26, 0.94));
}

.surface--landing h1 {
  max-width: 14ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--text-subtle);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 4vw, 2.5rem);
  align-items: center;
}

.feature--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.feature--reverse .feature__copy {
  order: 2;
}

.feature--reverse .feature__visual {
  order: 1;
}

.feature__copy {
  max-width: 34rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 6px rgba(99, 224, 213, 0.08);
}

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

.cta-panel > div:first-child {
  max-width: 42rem;
}

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

.surface--highlight {
  background:
    radial-gradient(circle at 85% 22%, rgba(135, 191, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(11, 21, 39, 0.94), rgba(7, 14, 27, 0.92));
}

.highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.4rem);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.highlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.highlight-card__copy {
  max-width: 30rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  font-size: 1.03rem;
  font-weight: 700;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.2rem 1.2rem;
  margin-bottom: 0;
}

.surface--cta {
  background:
    linear-gradient(135deg, rgba(99, 224, 213, 0.14), rgba(135, 191, 255, 0.12)),
    rgba(10, 19, 36, 0.9);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: 1.4rem 2rem;
  align-items: start;
}

.cta-note {
  display: inline-block;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(154, 180, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0.6rem;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--text-muted);
}

.button:focus-visible,
.site-nav a:focus-visible,
.inline-link:focus-visible,
.breadcrumbs a:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(135, 191, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .surface--hero,
  .feature,
  .feature--reverse,
  .highlight-card,
  .cta-panel,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__copy,
  .feature--reverse .feature__visual {
    order: initial;
  }

  .hero-stack {
    padding-left: 0;
  }

  .app-shot--main {
    margin-left: 0;
  }
}

@media (max-width: 940px) {
  .surface--header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
    justify-content: flex-end;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .surface--header {
    top: 0.5rem;
    padding: 0.9rem 0.95rem;
  }

  .section {
    padding: 1.15rem;
  }

  .site-nav {
    display: none;
  }

  h1 {
    max-width: none;
  }

  .lede,
  .feature__copy p,
  .section-heading p,
  .highlight-card__copy p,
  .faq-item p,
  .cta-panel p,
  .site-footer,
  .hero__note {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero__actions,
  .cta-actions,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .button:not(.button--small) {
    width: 100%;
  }

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

  .app-shot--floating {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 18rem);
    margin-top: 1rem;
    transform: rotate(0deg);
  }

  .proof-pill {
    border-radius: 18px;
    text-align: left;
  }

  .use-case-card {
    padding: 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .button:hover,
  .stat-card:hover,
  .app-shot:hover,
  .app-frame:hover,
  .proof-pill:hover,
  .use-case-card:hover,
  .highlight-card:hover {
    transform: none;
  }
}
