:root {
  --bg: #020617;
  --bg-alt: #071124;
  --panel: rgba(8, 18, 38, 0.86);
  --panel-strong: #0b162e;
  --border: rgba(148, 163, 184, 0.24);
  --text: #f8fafc;
  --muted: #b7c2d4;
  --accent: #38bdf8;
  --accent-dark: #082f49;
  --green: #4ade80;
  --green-dark: #052e16;
  --max: 1120px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.14), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(74, 222, 128, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--bg-alt), var(--bg) 36rem);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7dd3fc;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--bg);
  background: var(--text);
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(186, 230, 253, 0.75);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #e0f2fe, #1e293b 56%, #020617);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.48);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
}

main {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.eyebrow,
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: #bae6fd;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(5, 46, 22, 0.72);
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.72);
}

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

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.hero-copy,
.section-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-copy {
  margin: 1.2rem 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  text-decoration: none;
  font-weight: 760;
}

.button:hover {
  color: var(--text);
  border-color: rgba(125, 211, 252, 0.7);
  text-decoration: none;
}

.button-primary {
  color: #031019;
  border-color: transparent;
  background: linear-gradient(135deg, #7dd3fc, #4ade80);
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.2);
}

.button-primary:hover {
  color: #031019;
  border-color: transparent;
  filter: brightness(1.08);
}

.small-note {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  font-size: 0.84rem;
}

.app-panel {
  position: relative;
  min-height: 430px;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.14), transparent 50%),
    rgba(3, 10, 28, 0.9);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-panel::after {
  content: "";
  position: absolute;
  inset: 16% -18% auto auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(20px);
}

.app-panel > * {
  position: relative;
  z-index: 1;
}

.app-kicker {
  margin: 0 0 0.35rem;
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-name {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.practice-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.practice-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.68);
  color: #dbeafe;
  font-weight: 650;
}

.practice-row span:last-child {
  color: #86efac;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(4, 12, 30, 0.78);
  overflow: hidden;
}

.proof-item {
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--border);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item span {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(3.6rem, 8vw, 6.2rem) 0;
}

.section-tight {
  padding-top: 2rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
}

.card p,
.card li {
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-tile {
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  font-weight: 850;
}

.callout {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(74, 222, 128, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 25%, rgba(74, 222, 128, 0.11), transparent 18rem),
    rgba(3, 14, 26, 0.9);
}

.callout h2 {
  max-width: 16ch;
}

.steps {
  counter-reset: routine;
}

.step {
  position: relative;
  padding-left: 3.4rem;
}

.step::before {
  counter-increment: routine;
  content: counter(routine);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 50%;
  color: #bae6fd;
  background: var(--accent-dark);
  font-weight: 850;
}

.content-page {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.content-page h1 {
  max-width: none;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}

.content-page h2 {
  margin-top: 2.4rem;
  font-size: 1.45rem;
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page ul {
  padding-left: 1.2rem;
}

.notice {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  color: #dcfce7;
  background: rgba(5, 46, 22, 0.54);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.footer-wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  color: #94a3b8;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
}

.legal-line {
  width: min(var(--max), calc(100% - 2rem));
  margin: -0.8rem auto 0;
  padding: 0 0 2rem;
  color: #7f8ca1;
  font-size: 0.74rem;
}

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

  .app-panel {
    min-height: 370px;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

@media (max-width: 680px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .proof-strip,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .footer-wrap {
    flex-direction: column;
  }
}

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