:root {
  color-scheme: dark;
  --bg: #061115;
  --bg-soft: #0a1a20;
  --panel: rgba(13, 32, 39, 0.78);
  --panel-strong: rgba(15, 43, 50, 0.92);
  --line: rgba(139, 232, 208, 0.16);
  --line-strong: rgba(139, 232, 208, 0.34);
  --text: #eef7f3;
  --muted: #98aaa8;
  --soft: #d8e5df;
  --accent: #66d8ba;
  --accent-strong: #8fe5c6;
  --danger: #f1a38c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 10%, rgba(102, 216, 186, 0.18), transparent 30%),
    radial-gradient(circle at 8% 38%, rgba(83, 170, 155, 0.11), transparent 28%),
    linear-gradient(180deg, #041015 0%, #061115 46%, #08181d 100%);
  color: var(--text);
  font-family: Geist, Satoshi, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(28px, 3.7vw, 54px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.18;
}

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

.page-shell {
  width: min(100% - 32px, 1420px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(3, 12, 16, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand,
.nav,
.actions,
.quick-stats,
.flow-line,
.trust-badges {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  padding-left: 4px;
  font-weight: 850;
  text-decoration: none;
}

.brand b,
.accent-text {
  color: var(--accent);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), #42b79e);
  color: #062017;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.nav {
  justify-content: center;
  gap: 6px;
  color: var(--soft);
  font-size: 14px;
}

.nav a,
.nav-cta {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-cta {
  border: 1px solid rgba(143, 229, 198, 0.52);
  background: linear-gradient(135deg, #a7eccd, #52c8af);
  color: #041513;
  font-size: 14px;
  font-weight: 850;
}

.nav-cta:active,
.button:active {
  transform: scale(0.98);
}

main {
  padding-bottom: 58px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(24px, 3.5vw, 54px);
  align-items: center;
  min-height: calc(100dvh - 74px);
  padding: clamp(48px, 6vw, 82px) clamp(18px, 3vw, 42px) 34px;
}

.hero-copy {
  justify-self: end;
  width: min(100%, 690px);
}

.pill,
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.pill {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(102, 216, 186, 0.07);
}

.eyebrow {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 670px;
  margin-bottom: 0;
  color: #bfcbc8;
  font-size: clamp(18px, 1.75vw, 23px);
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #a9efcf, #45c3aa);
  color: #041513;
  box-shadow: 0 18px 38px rgba(55, 196, 166, 0.18);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(8, 27, 33, 0.76);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.quick-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quick-stats span {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 31, 38, 0.66);
  color: var(--muted);
  font-size: 14px;
}

.quick-stats b {
  margin-right: 6px;
  color: var(--accent);
}

.hero-stage {
  position: relative;
  justify-self: start;
  width: min(100%, 760px);
  min-height: 620px;
}

.orbit {
  position: absolute;
  left: 3%;
  top: 18%;
  width: 86%;
  height: 42%;
  border: 1px solid rgba(102, 216, 186, 0.24);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: floatOrbit 10s ease-in-out infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  right: 17%;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(102, 216, 186, 0.62);
}

.orbit-two {
  left: -4%;
  top: 39%;
  width: 72%;
  height: 28%;
  transform: rotate(18deg);
  opacity: 0.72;
  animation-delay: -4s;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(380px, 74vw);
  margin: 0 0 0 clamp(64px, 9vw, 128px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: linear-gradient(145deg, #202427, #060b0e 56%, #272b2c);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  left: 50%;
  top: 17px;
  width: 92px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #030608;
  transform: translateX(-50%);
}

.phone-screen {
  display: grid;
  gap: 10px;
  min-height: 574px;
  padding: 46px 16px 16px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    #081923;
  overflow: hidden;
}

.chat-head {
  display: grid;
  justify-items: center;
  gap: 1px;
  margin-bottom: 2px;
  color: var(--text);
  font-weight: 820;
}

.chat-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.bubble,
.menu-button,
.plans span,
.input-line {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.bubble {
  padding: 11px 12px;
  color: #dce8e4;
  font-size: 14px;
}

.bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, #96e8c8, #4ec6ae);
  color: #05201c;
  font-weight: 780;
}

.menu-button {
  padding: 12px;
  color: #f1f8f5;
  font-size: 14px;
  font-weight: 760;
}

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

.plans span {
  padding: 10px 8px;
  color: #cbd8d5;
  font-size: 12px;
  text-align: center;
}

.plans b {
  color: var(--text);
}

.input-line {
  margin-top: auto;
  padding: 12px 14px;
  color: #607573;
  font-size: 13px;
}

.side-rail {
  position: absolute;
  right: clamp(0px, 2vw, 28px);
  top: 82px;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: 270px;
}

.side-rail article,
.tile,
.scenario-panel,
.screenshot-card,
.stack-section,
.proof,
.final-cta,
.metric-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-rail article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px;
  backdrop-filter: blur(16px);
}

.side-rail b {
  display: block;
  margin-bottom: 2px;
}

.side-rail p {
  margin-bottom: 0;
  font-size: 13px;
}

.mini-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(102, 216, 186, 0.1);
}

.mini-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  transform: rotate(45deg);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-strip article {
  padding: 18px;
}

.metric-strip b {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  margin-top: 16px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 12px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: rgba(9, 25, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 3.2vw, 42px);
}

.section-copy {
  max-width: 520px;
  margin: 0;
  color: #b8c7c3;
  font-size: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  min-height: 202px;
  padding: 22px;
}

.tile-large {
  grid-column: span 3;
  grid-row: span 2;
  min-height: 416px;
  background:
    radial-gradient(circle at 86% 16%, rgba(102, 216, 186, 0.15), transparent 28%),
    var(--panel-strong);
}

.tile-wide {
  grid-column: span 2;
}

.tile-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
}

.tile p,
.scenario-panel p,
.stack-section p {
  margin-bottom: 0;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-top: 46px;
}

.flow-line span {
  display: grid;
  gap: 6px;
  min-height: 82px;
  align-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 16px;
  font-weight: 820;
}

.flow-line b {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
}

.flow-line i {
  display: none;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px;
}

.scenario-panel {
  padding: 26px;
}

.panel-accent {
  background:
    radial-gradient(circle at 92% 12%, rgba(102, 216, 186, 0.15), transparent 34%),
    var(--panel);
}

.steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d8e4e0;
}

.steps span {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
}

.demo-section {
  overflow: hidden;
}

.screenshot-row {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: rgba(102, 216, 186, 0.35) transparent;
}

.screenshot-card {
  min-width: 260px;
  margin: 0;
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  height: 286px;
  padding: 10px;
  object-fit: contain;
  object-position: top center;
  background: #081923;
}

.screenshot-card.report-card {
  min-width: 360px;
}

.report-preview {
  display: grid;
  gap: 10px;
  min-height: 286px;
  padding: 16px;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #081923;
}

.report-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(139, 232, 208, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.report-topline span {
  color: #b9c9c5;
  font-size: 13px;
  font-weight: 820;
}

.report-topline b {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
}

.report-table {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr;
  overflow: hidden;
  border: 1px solid rgba(139, 232, 208, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}

.report-table span,
.report-table b,
.report-table strong {
  min-width: 0;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(139, 232, 208, 0.08);
  color: #c7d5d1;
  font-size: 12px;
  line-height: 1.15;
}

.report-table span {
  color: #9fb2ae;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-table b {
  font-weight: 720;
}

.report-table strong {
  justify-self: start;
  padding: 5px 8px;
  align-self: center;
  border: 1px solid rgba(102, 216, 186, 0.24);
  border-radius: 8px;
  background: rgba(102, 216, 186, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.report-table strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.screenshot-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.screenshot-card span {
  color: var(--muted);
  font-size: 13px;
}

.screenshot-card.missing::before {
  content: "Screenshot placeholder";
  display: grid;
  height: 260px;
  place-items: center;
  background: repeating-linear-gradient(135deg, #0b1d23, #0b1d23 10px, #0f252c 10px, #0f252c 20px);
  color: var(--muted);
  font-weight: 850;
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: 28px;
  padding: 30px;
}

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

.stack-grid span,
.trust-badges span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 14px;
  font-weight: 720;
}

.stack-grid span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
}

.stack-grid b {
  color: var(--text);
  font-size: 15px;
}

.stack-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.28;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  padding: 28px;
}

.proof ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.proof li + li {
  margin-top: 8px;
}

.trust-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(102, 216, 186, 0.08);
}

.trust-card p {
  color: var(--text);
  font-size: 23px;
  line-height: 1.22;
}

.trust-badges {
  flex-wrap: wrap;
  gap: 8px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 90% 50%, rgba(102, 216, 186, 0.2), transparent 22%),
    var(--panel-strong);
}

.final-cta h2 {
  margin-bottom: 0;
}

.reveal {
  animation: revealUp 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-late {
  animation-delay: 120ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatOrbit {
  0%,
  100% {
    transform: rotate(-14deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy,
  .hero-stage {
    justify-self: stretch;
    width: 100%;
  }

  .phone {
    margin: 0 auto;
  }

  .hero-stage {
    min-height: 560px;
  }

  .side-rail {
    right: 3%;
  }

  .metric-strip,
  .section-title,
  .stack-section,
  .proof,
  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-cta {
    justify-self: start;
  }

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

  .bento-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile-large,
  .tile-wide {
    grid-column: auto;
    min-height: auto;
  }

  .tile-number,
  .flow-line {
    margin-top: 0;
    margin-bottom: 24px;
  }

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

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 24px, 560px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .actions,
  .quick-stats {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: auto;
  }

  .side-rail,
  .orbit {
    display: none;
  }

  .phone {
    width: 100%;
  }

  .phone-screen {
    min-height: 520px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .plans,
  .flow-line,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card.report-card {
    min-width: 280px;
  }

  .report-preview {
    min-height: 230px;
    padding: 14px;
  }

  .report-table span,
  .report-table b,
  .report-table strong {
    padding: 9px 8px;
    font-size: 12px;
  }
}
