:root {
  --surface: #131313;
  --surface-lowest: #0e0e0e;
  --surface-low: #1c1b1b;
  --surface-mid: #201f1f;
  --surface-high: #2a2a2a;
  --surface-highest: #353534;
  --text: #e5e2e1;
  --muted: #b9cacb;
  --outline: #849495;
  --outline-soft: #3b494b;
  --primary: #dbfcff;
  --cyan: #00dbe9;
  --green: #4edea3;
  --danger: #ffb4ab;
  --ink: #050505;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.section {
  padding: 80px 0;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(59, 73, 75, 0.34);
  background: rgba(19, 19, 19, 0.72);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--cyan);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer a:hover {
  color: var(--primary);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  min-height: 32px;
  padding: 6px 16px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 13px;
}

.button:hover,
.nav-cta:hover {
  transform: scale(1.02);
}

.hero {
  position: relative;
  display: grid;
  min-height: 510px;
  padding-top: 166px;
  overflow: hidden;
  text-align: center;
}

.hero-field {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 28%, black 0, transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px 12px;
  border: 1px solid var(--outline-soft);
  border-radius: 999px;
  background: var(--surface-low);
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Geist, Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 930px;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.button-primary {
  padding: 14px 48px;
  background: #fff;
  color: #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.button-primary:hover {
  box-shadow: 0 0 24px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}

.button-secondary {
  padding: 13px 48px;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 20px rgba(0, 219, 233, 0.08);
}

.panel-band {
  background: var(--surface-lowest);
}

.service-band,
.contact-band {
  background: var(--surface-low);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading h2,
.center-heading h2,
.pricing-wrap h2,
.contact-wrap h2 {
  color: var(--text);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.16;
}

.section-heading p,
.pricing-wrap > p,
.contact-wrap > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

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

.glass-card {
  border: 1px solid #1f1f1f;
  background: linear-gradient(180deg, rgba(19,19,19,0.88), rgba(10,10,10,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1), border-color 260ms ease, box-shadow 260ms ease, opacity 500ms ease;
}

.glass-card:hover {
  border-color: rgba(0, 219, 233, 0.82);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 22px rgba(0, 219, 233, 0.1), inset 0 1px 0 rgba(255,255,255,0.06);
}

.problem-grid .glass-card {
  min-height: 210px;
  padding: 48px;
  border-radius: 12px;
}

.card-icon {
  display: block;
  margin-bottom: 16px;
  font-size: 35px;
  line-height: 1;
}

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

.success,
.green,
.mono-label {
  color: var(--green);
}

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

.glass-card h3,
.service-card h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
}

.glass-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
}

.center-heading {
  margin-bottom: 80px;
  text-align: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 80px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--outline-soft);
  transform: translateX(-50%);
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 48px;
  align-items: center;
}

.timeline-meta {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-meta.align-right {
  color: var(--primary);
  text-align: right;
}

.timeline-meta.muted {
  color: #d7d6ff;
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  color: #000;
  font-size: 13px;
  font-weight: 900;
}

.primary-node {
  background: var(--primary);
}

.secondary-node {
  background: var(--green);
}

.launch-node {
  background: #fff;
}

.timeline-card {
  padding: 24px;
  border-radius: 8px;
}

.timeline-card h3 {
  color: var(--primary);
}

.timeline-card .white {
  color: #fff;
}

.launch-card {
  border-color: rgba(255,255,255,0.18);
}

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

.service-card {
  display: flex;
  min-height: 122px;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--outline-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.service-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 22px;
}

.service-icon.cyan {
  background: rgba(0, 219, 233, 0.1);
  color: var(--primary);
}

.service-icon.green {
  background: rgba(78, 222, 163, 0.1);
  color: var(--green);
}

.service-cta {
  align-items: center;
  justify-content: center;
  border-color: rgba(219,252,255,0.28);
  background: rgba(0,240,255,0.1);
  text-align: center;
}

.service-cta span,
.pricing-badge,
.mono-label,
label span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-cta a {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 16px;
}

.case-copy {
  padding: 80px;
}

.case-copy h2 {
  margin: 16px 0 24px;
  max-width: 540px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.16;
}

.case-copy > p {
  max-width: 580px;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.case-copy ul,
.pricing-card ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-copy li,
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-copy li span,
.pricing-card li span {
  color: var(--green);
}

.case-visual {
  position: relative;
  min-height: 430px;
  background: var(--surface-high);
}

.browser-window {
  position: absolute;
  inset: 24px;
  overflow: hidden;
  border: 1px solid var(--outline-soft);
  border-radius: 12px;
  background: var(--surface-mid);
  box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-bottom: 1px solid var(--outline-soft);
  background: var(--surface-highest);
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.red { background: var(--danger); }
.green-dot { background: var(--green); }
.blue { background: var(--cyan); }

.dashboard-shot {
  display: grid;
  grid-template-columns: 66px 1fr;
  height: calc(100% - 32px);
  margin: 24px;
  overflow: hidden;
  border: 1px solid rgba(132,148,149,0.24);
  border-radius: 8px;
  background: #0b1012;
}

.dash-sidebar {
  border-right: 1px solid rgba(132,148,149,0.2);
  background:
    linear-gradient(var(--cyan), var(--cyan)) 20px 24px / 24px 3px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 36px, rgba(229,226,225,0.12) 36px 39px, transparent 39px 54px);
}

.dash-content {
  padding: 22px;
}

.dash-topline {
  width: 52%;
  height: 10px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: rgba(229,226,225,0.54);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dash-stats span {
  height: 54px;
  border: 1px solid rgba(0,219,233,0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,219,233,0.18), rgba(78,222,163,0.06));
}

.dash-chart {
  position: relative;
  height: 145px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(132,148,149,0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.dash-chart i {
  position: absolute;
  inset: 36px 22px 24px;
  clip-path: polygon(0 80%, 12% 68%, 25% 74%, 37% 46%, 48% 57%, 60% 34%, 72% 40%, 83% 18%, 100% 28%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(0,219,233,0.9), rgba(0,219,233,0.05));
  filter: drop-shadow(0 0 18px rgba(0,219,233,0.24));
}

.dash-table {
  display: grid;
  gap: 8px;
}

.dash-table span {
  height: 11px;
  border-radius: 999px;
  background: rgba(229,226,225,0.14);
}

.dash-table span:nth-child(odd) {
  width: 88%;
}

.pricing-wrap,
.contact-wrap {
  text-align: center;
}

.pricing-wrap > p {
  margin-bottom: 80px;
}

.pricing-card {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 80px;
  border-color: rgba(219,252,255,0.18);
  border-radius: 16px;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  padding: 6px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #000;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card h3 {
  margin-bottom: 24px;
  font-size: 30px;
  line-height: 38px;
}

.price {
  margin-bottom: 24px;
  color: var(--primary);
  font-family: Geist, Inter, sans-serif;
  font-size: clamp(56px, 8vw, 72px);
  font-weight: 700;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 30px;
  font-weight: 500;
}

.pricing-card > p {
  margin-bottom: 48px;
}

.pricing-card ul {
  margin-bottom: 80px;
  text-align: left;
}

.pricing-button {
  width: 100%;
}

.pricing-card small {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.contact-band {
  position: relative;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 219, 233, 0.035);
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  max-width: 900px;
}

.contact-wrap > p {
  max-width: 740px;
  margin: 16px auto 80px;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 48px;
  border-radius: 16px;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: rgba(229,226,225,0.62);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--outline-soft);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  padding: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0,219,233,0.18);
}

.submit-button {
  width: 100%;
  border: 0;
  background: var(--primary);
  color: #00363a;
  cursor: pointer;
  font-size: 18px;
  padding: 14px 24px;
}

.footer {
  padding: 80px 0;
  border-top: 1px solid var(--outline-soft);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer p {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 14px;
}

.footer .company-details {
  max-width: 660px;
  color: var(--muted);
  font-size: 12px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 219, 233, 0.1), transparent 28rem),
    var(--surface);
}

.legal-hero {
  padding: 150px 0 64px;
  border-bottom: 1px solid var(--outline-soft);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 18px 0 22px;
}

.legal-lede {
  max-width: 760px;
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 110px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--outline-soft);
}

.legal-toc a {
  color: var(--text-muted);
  font-size: 13px;
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-content section {
  scroll-margin-top: 110px;
  padding: 0 0 46px;
  margin: 0 0 46px;
  border-bottom: 1px solid var(--outline-soft);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 36px);
}

.legal-content h3 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-callout {
  padding: 24px;
  border: 1px solid rgba(0, 219, 233, 0.25);
  border-radius: 14px;
  background: rgba(0, 219, 233, 0.06);
}

@media (max-width: 760px) {
  .legal-hero {
    padding-top: 120px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-toc {
    position: static;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(78, 222, 163, 0.65);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(78, 222, 163, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(78, 222, 163, 0);
  }
}

@media (max-width: 980px) {
  .problem-grid,
  .services-grid,
  .case-study {
    grid-template-columns: 1fr;
  }

  .problem-grid .glass-card,
  .case-copy,
  .pricing-card {
    padding: 48px;
  }

  .timeline-line {
    left: 16px;
  }

  .timeline-row,
  .timeline-row.reverse {
    grid-template-columns: 32px 1fr;
    gap: 16px 28px;
  }

  .timeline-row .timeline-node {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-row .timeline-card {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-meta {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .section {
    padding: 64px 0;
  }

  .desktop-nav {
    display: none;
  }

  .nav-shell {
    height: 68px;
  }

  .hero {
    min-height: 520px;
    padding-top: 132px;
  }

  .hero p {
    margin-bottom: 32px;
  }

  .hero-actions,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .brand,
  .footer-brand {
    flex: 0 0 auto;
  }

  .nav-cta {
    width: auto;
  }

  .problem-grid .glass-card,
  .case-copy,
  .pricing-card,
  .contact-form {
    padding: 32px;
  }

  .case-visual {
    min-height: 340px;
  }

  .browser-window {
    inset: 16px;
  }

  .dashboard-shot {
    margin: 14px;
    grid-template-columns: 44px 1fr;
  }

  .dash-content {
    padding: 14px;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .dash-chart {
    height: 110px;
  }

  .pricing-wrap > p,
  .contact-wrap > p,
  .center-heading {
    margin-bottom: 48px;
  }

  .pricing-card ul {
    margin-bottom: 48px;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
