:root {
  --bg: #061423;
  --bg-soft: #0d2138;
  --surface: #112c45;
  --surface-2: #173a58;
  --text: #eaf3ff;
  --muted: #9ebedc;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #ff7a2b;
  --brand-soft: #ff9758;
  --accent: #12b7ab;
  --ok: #28c270;
  --warn: #ffc063;
  --shadow: 0 18px 42px rgba(2, 6, 12, 0.46);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1100px 500px at -20% -10%, rgba(18, 183, 171, 0.18), transparent 60%),
    radial-gradient(800px 450px at 120% 5%, rgba(255, 122, 43, 0.22), transparent 58%),
    linear-gradient(150deg, var(--bg), var(--bg-soft));
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 120;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(6, 20, 35, 0.75);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

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

.nav a.active {
  color: var(--text);
}

.hero {
  padding: 4.3rem 0 2.15rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.016em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 0.52rem;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.section {
  padding: 1.65rem 0;
}

.grid {
  display: grid;
  gap: 0.95rem;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  padding: 1rem;
}

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

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li {
  margin-bottom: 0.46rem;
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 0.78rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, filter 140ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--text);
  background: linear-gradient(145deg, var(--accent), #149adf);
  box-shadow: var(--shadow);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.btn-inline {
  padding: 0.58rem 0.82rem;
  font-size: 0.86rem;
  border-radius: 0.64rem;
}

.nav-cta {
  font-size: 0.86rem;
  padding: 0.58rem 0.82rem;
  border-radius: 0.64rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--muted);
}

.status-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ok);
}

.status-testing::before {
  background: var(--warn);
}

.status-roadmap::before {
  background: #8da2bf;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.disclosure {
  border-left: 3px solid var(--warn);
  border-radius: 0.72rem;
  background: rgba(255, 192, 99, 0.11);
  color: #ffe0ad;
  padding: 0.76rem 0.86rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.66rem 0.72rem;
  border-bottom: 1px solid var(--line);
}

th {
  background: rgba(255, 255, 255, 0.05);
}

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

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

.tier-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}

.tier-price {
  font-size: 2rem;
  font-weight: 700;
}

.tier-price small {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.device-shot {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #0b1f35, #102c45);
  padding: 0.75rem;
}

.device-screen {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 0.72rem;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem;
}

.video-placeholder {
  border: 1px solid var(--line);
  border-radius: 1rem;
  min-height: 260px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(17, 44, 69, 0.85), rgba(8, 24, 40, 0.85));
  text-align: center;
  color: var(--muted);
  padding: 1rem;
}

.video-play {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: rgba(255, 122, 43, 0.2);
  border: 1px solid rgba(255, 122, 43, 0.5);
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

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

.docs-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.95rem;
  background: linear-gradient(160deg, rgba(17, 44, 69, 0.95), rgba(10, 28, 44, 0.95));
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  font-size: 0.76rem;
  border: 1px solid var(--line);
  color: var(--muted);
}

.badge-now {
  border-color: rgba(40, 194, 112, 0.55);
  color: #9ef2c6;
}

.badge-testing {
  border-color: rgba(255, 192, 99, 0.65);
  color: #ffe2b1;
}

.badge-roadmap {
  border-color: rgba(161, 179, 205, 0.65);
  color: #dae7fb;
}

.beta-banner {
  border: 1px solid rgba(255, 192, 99, 0.6);
  border-radius: 0.8rem;
  background: rgba(255, 192, 99, 0.12);
  color: #ffdfa7;
  padding: 0.76rem 0.84rem;
}

footer {
  margin-top: 2.1rem;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.62rem;
}

.footer-disclosure {
  margin: 0 0 0.45rem;
}

.footer-meta {
  font-size: 0.92rem;
}

.hero-fade {
  animation: rise 520ms ease both;
}

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

@media (max-width: 960px) {
  .cards-2,
  .cards-3,
  .cards-4,
  .docs-grid,
  .trust-strip,
  .device-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3.3rem;
  }
}
