:root {
  color-scheme: dark;
  --bg: #03070d;
  --surface: #07111b;
  --surface-2: #0b1824;
  --line: rgba(195, 255, 245, 0.14);
  --line-strong: rgba(87, 255, 220, 0.38);
  --text: #f6fbff;
  --muted: rgba(221, 236, 244, 0.68);
  --dim: rgba(221, 236, 244, 0.45);
  --mint: #5dffd6;
  --cyan: #20c8ff;
  --blue: #4d7cff;
  --violet: #a477ff;
  --red: #ff596d;
  --green: #45e68b;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 255, 214, 0.12), transparent 28%),
    radial-gradient(circle at 85% 6%, rgba(164, 119, 255, 0.13), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 13, 0.78);
  backdrop-filter: blur(22px);
}

.brand img {
  width: 148px;
  display: block;
}

.site-nav {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a:hover {
  color: #061016;
  background: var(--mint);
}

.nav-action {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #061016;
  background: linear-gradient(135deg, #ffffff, var(--mint));
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 116px clamp(20px, 4.8vw, 70px) 30px;
  background:
    linear-gradient(115deg, rgba(3, 7, 13, 1), rgba(5, 13, 22, 0.96) 45%, rgba(10, 13, 32, 0.9)),
    var(--bg);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 70% 45%, #000 0%, transparent 74%);
}

.ambient-grid::before,
.ambient-grid::after {
  content: "";
  position: absolute;
  width: 65vw;
  height: 1px;
  left: 48%;
  background: linear-gradient(90deg, transparent, rgba(93, 255, 214, 0.8), transparent);
  filter: drop-shadow(0 0 18px rgba(93, 255, 214, 0.62));
  animation: sweep 7s ease-in-out infinite;
}

.ambient-grid::before {
  top: 28%;
  transform: rotate(-15deg);
}

.ambient-grid::after {
  top: 70%;
  transform: rotate(9deg);
  animation-delay: -3.4s;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 0.95fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.hero-copy p,
.section-heading p,
.system-layout > div > p,
.urgency-card p,
.signup-copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
}

.button.primary {
  color: #061016;
  background: linear-gradient(135deg, #ffffff, var(--mint));
  box-shadow: 0 18px 70px rgba(93, 255, 214, 0.2);
}

.button.secondary {
  color: #ffffff;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.button.full {
  width: 100%;
}

.command-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  perspective: 1300px;
}

.signal-halo {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(620px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(93, 255, 214, 0.18), transparent 19%),
    radial-gradient(circle at center, rgba(32, 200, 255, 0.12), transparent 53%);
  filter: drop-shadow(0 0 60px rgba(32, 200, 255, 0.16));
  animation: float 6s ease-in-out infinite;
}

.signal-halo span {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(93, 255, 214, 0.22);
  border-radius: 50%;
}

.signal-halo span:nth-child(1) {
  border-style: dashed;
  animation: rotate 28s linear infinite;
}

.signal-halo span:nth-child(2) {
  inset: 23%;
  border-color: rgba(164, 119, 255, 0.26);
  transform: rotateX(65deg) rotateZ(-18deg);
}

.signal-halo span:nth-child(3) {
  inset: 39%;
  border-color: rgba(32, 200, 255, 0.3);
  transform: rotateX(68deg) rotateZ(27deg);
}

.incident-panel {
  position: relative;
  z-index: 2;
  width: min(610px, 100%);
  margin-left: auto;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035)),
    rgba(8, 18, 29, 0.82);
  box-shadow:
    0 40px 130px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(32, 200, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px);
  transform: rotateY(-7deg) rotateX(3deg);
}

.incident-panel::before {
  content: "";
  height: 3px;
  margin: -20px -20px 2px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--violet));
}

.panel-header,
.route-card > div,
.status-band,
.status-band > div,
.callout-card {
  display: flex;
  align-items: center;
}

.panel-header {
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.panel-header strong {
  margin-right: auto;
  color: #ffffff;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 1.8s infinite;
}

.route-card {
  position: relative;
  min-height: 92px;
  padding: 16px 16px 16px 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(93, 255, 214, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.055);
}

.route-card > div {
  gap: 12px;
}

.route-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.route-card em {
  position: absolute;
  right: 16px;
  top: 20px;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.route-card.call em {
  color: var(--red);
}

.route-icon {
  position: absolute;
  left: 16px;
  top: 19px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(93, 255, 214, 0.5);
  border-radius: 8px;
  background: rgba(93, 255, 214, 0.12);
}

.route-icon::before,
.route-icon::after {
  content: "";
  position: absolute;
}

.route-icon::before {
  inset: 9px;
  border: 2px solid var(--mint);
  border-radius: 50%;
}

.route-icon::after {
  left: 8px;
  right: 8px;
  top: 16px;
  height: 2px;
  background: var(--mint);
}

.callout-card {
  position: absolute;
  z-index: 3;
  top: 11%;
  right: 10%;
  width: min(370px, 68%);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 89, 109, 0.36);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 89, 109, 0.17), rgba(164, 119, 255, 0.12)),
    rgba(8, 9, 20, 0.82);
  box-shadow: 0 24px 90px rgba(255, 89, 109, 0.14);
  backdrop-filter: blur(20px);
}

.callout-card p,
.callout-card strong {
  margin: 0;
}

.callout-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.phone-mark {
  position: relative;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 89, 109, 0.14);
}

.phone-mark::before,
.phone-mark::after {
  content: "";
  position: absolute;
}

.phone-mark::before {
  inset: 12px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-34deg);
}

.phone-mark::after {
  inset: -2px;
  border: 1px solid rgba(255, 89, 109, 0.5);
  border-radius: 50%;
  animation: callPulse 1.8s ease-out infinite;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
}

.proof-strip article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.proof-strip strong {
  display: block;
  font-size: 24px;
}

.proof-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.status-band {
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 4.8vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #06101a;
}

.status-band > div {
  gap: 10px;
}

.status-band p {
  margin: 0;
  color: var(--muted);
}

.status-band a {
  font-weight: 950;
}

.section {
  padding: clamp(84px, 10vw, 145px) clamp(20px, 4.8vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.section-heading p {
  margin: 0;
}

.system-section {
  background:
    radial-gradient(circle at 80% 15%, rgba(93, 255, 214, 0.08), transparent 26%),
    var(--surface);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
}

.system-layout > div > p {
  margin-top: 24px;
}

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

.system-stack article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px 18px;
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.system-stack article span {
  grid-row: span 2;
  color: var(--mint);
  font-weight: 950;
}

.system-stack p,
.runway p,
.use-case-grid p,
.persona-grid p,
.pricing-grid p,
.pricing-grid li,
.refund-note,
.signup-result,
.form-note,
.ownership,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.system-stack p {
  margin: 0;
}

.runway-section,
.pricing-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(164, 119, 255, 0.1), transparent 28%),
    #050b13;
}

.runway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.runway article {
  min-height: 300px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
    #08131d;
}

.step-index,
.use-case-grid span,
.plan-name {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.urgency-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 89, 109, 0.08), transparent 38%),
    var(--surface-2);
}

.urgency-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 89, 109, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 89, 109, 0.12), rgba(164, 119, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.urgency-card p {
  margin-top: 24px;
}

.mini-ledger {
  display: grid;
  gap: 12px;
}

.mini-ledger article,
.persona-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.mini-ledger strong,
.mini-ledger span {
  display: block;
}

.mini-ledger span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.use-case-section,
.audience-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(32, 200, 255, 0.08), transparent 28%),
    var(--surface);
}

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

.use-case-grid article,
.pricing-grid article,
.signup-form {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease;
}

.use-case-grid article:hover,
.pricing-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.pricing-grid article {
  display: flex;
  min-height: 480px;
  flex-direction: column;
}

.pricing-grid .featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(93, 255, 214, 0.12), rgba(164, 119, 255, 0.05)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 90px rgba(93, 255, 214, 0.12);
}

.pricing-grid h3 {
  font-size: 48px;
}

.pricing-grid h3 span {
  color: var(--muted);
  font-size: 16px;
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 20px;
}

.pricing-grid .button {
  margin-top: auto;
}

.refund-note {
  margin: 26px 0 0;
  text-align: center;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
  background:
    radial-gradient(circle at 14% 20%, rgba(93, 255, 214, 0.1), transparent 28%),
    #050b13;
}

.signup-copy p {
  margin-top: 24px;
}

.ownership {
  font-weight: 850;
}

.signup-form {
  display: grid;
  gap: 18px;
  min-height: auto;
  border-color: var(--line-strong);
}

label {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.065);
  font: inherit;
}

input::placeholder {
  color: var(--dim);
}

.signup-result {
  min-height: 52px;
  display: grid;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.signup-result.active {
  color: #ffffff;
  border-color: rgba(69, 230, 139, 0.5);
  background: rgba(69, 230, 139, 0.1);
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

.form-note a {
  color: #ffffff;
  font-weight: 950;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 34px clamp(20px, 4.8vw, 70px);
  background: #03070d;
}

.site-footer p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(69, 230, 139, 0.74); }
  70% { box-shadow: 0 0 0 10px rgba(69, 230, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 230, 139, 0); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes sweep {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}

@keyframes callPulse {
  0% { opacity: 0.78; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.6); }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-shell,
  .system-layout,
  .urgency-section,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .command-stage {
    min-height: 600px;
  }

  .incident-panel {
    transform: none;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand img {
    width: 116px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    padding: 92px 20px 28px;
  }

  .hero-shell,
  .hero-copy,
  .command-stage,
  .incident-panel,
  .route-card,
  .proof-strip {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
  }

  .hero-shell,
  .hero-copy {
    overflow: hidden;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(38px, 10.4vw, 44px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
  }

  .hero-copy p,
  .section-heading p,
  .system-layout > div > p,
  .urgency-card p,
  .signup-copy p {
    font-size: 17px;
  }

  .hero-copy p {
    max-width: 335px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .command-stage {
    min-height: 530px;
    overflow: hidden;
    padding-top: 136px;
  }

  .signal-halo {
    width: 420px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .callout-card {
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .callout-card p,
  .route-card p {
    overflow-wrap: anywhere;
  }

  .incident-panel {
    width: 100%;
    padding: 16px;
  }

  .incident-panel::before {
    margin: -16px -16px 2px;
  }

  .panel-header time,
  .route-card em {
    display: none;
  }

  .proof-strip,
  .runway,
  .use-case-grid,
  .persona-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .status-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .section {
    padding: 72px 20px;
  }

  .system-stack article {
    grid-template-columns: 1fr;
  }

  .runway article,
  .pricing-grid article,
  .use-case-grid article {
    min-height: auto;
  }

  .signup-section {
    gap: 30px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
