:root {
  --bg: #0a0d12;
  --bg-2: #10151d;
  --surface: #141a24;
  --surface-2: #19212d;
  --line: #253041;
  --text: #eef2f7;
  --muted: #a7b4c6;
  --accent: #4fd1c5;
  --accent-2: #8b7cf6;
  --accent-3: #f0a03c;
  --radius: 16px;
  --wrap: 1140px;
  --ease: cubic-bezier(.22, .68, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #07231f;
  padding: .8rem 1.2rem;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .7rem;
}

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.note {
  font-size: .88rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: .7rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #07141a;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: .58rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 18, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .9rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #07141a;
  font-weight: 900;
}
.brand-name { font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }

.nav {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0 auto 0 1rem;
  padding: 0;
}
.nav a { color: var(--muted); font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-glow {
  position: absolute;
  inset: -35% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(45% 55% at 22% 35%, rgba(79, 209, 197, .26), transparent 70%),
    radial-gradient(40% 50% at 72% 20%, rgba(139, 124, 246, .24), transparent 70%),
    radial-gradient(35% 45% at 55% 70%, rgba(240, 160, 60, .14), transparent 70%);
  filter: blur(20px);
  animation: drift 22s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12); }
}
.hero-inner { position: relative; max-width: 44ch; }
.lede { font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- star ---------- */

.star {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.star-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.star-lede { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.star-points { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.star-points li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.star-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}
.star-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.star-visual { display: grid; place-items: center; min-height: 320px; }
.orbit {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  animation: spin 40s linear infinite;
}
.orbit .core {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #07141a;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  animation: spin 40s linear infinite reverse;
  box-shadow: 0 0 50px rgba(79, 209, 197, .3);
}
.orbit .sat {
  position: absolute;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  animation: spin 40s linear infinite reverse;
}
.s1 { top: -14px; left: 50%; margin-left: -28px; }
.s2 { top: 28%; right: -26px; }
.s3 { bottom: 6%; right: 6%; }
.s4 { bottom: -14px; left: 50%; margin-left: -28px; }
.s5 { top: 30%; left: -26px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- products ---------- */

.products { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-lede { color: var(--muted); max-width: 62ch; margin-bottom: 2.4rem; }

.grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.card p { color: var(--muted); font-size: .95rem; }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .7rem;
}
.card-top h3 { margin: 0; }
.card-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem;
}
.card .link { font-size: .86rem; font-weight: 600; color: var(--muted); }
.card .link:hover { color: var(--accent); }

.card-star {
  border-color: rgba(79, 209, 197, .45);
  background:
    linear-gradient(150deg, rgba(79, 209, 197, .1), rgba(139, 124, 246, .07)),
    var(--surface);
}

.pill {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1px solid;
}
.pill-live { color: #7ee3b8; border-color: rgba(126, 227, 184, .45); background: rgba(126, 227, 184, .1); }
.pill-early { color: #b9adfb; border-color: rgba(185, 173, 251, .45); background: rgba(185, 173, 251, .1); }
.pill-soon { color: #f3bd7c; border-color: rgba(243, 189, 124, .45); background: rgba(243, 189, 124, .1); }

/* ---------- method ---------- */

.method {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.steps li { border-top: 2px solid var(--line); padding-top: 1.1rem; }
.step-n {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- cta ---------- */

.cta { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }
.cta-inner { max-width: 62ch; margin-inline: auto; }
.cta p { color: var(--muted); margin-bottom: 2rem; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: baseline; }
.footer-inner p { margin: 0; font-size: .92rem; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .star-inner { grid-template-columns: 1fr; }
  .star-visual { order: -1; min-height: 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { margin-right: auto; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .card-foot .link { width: 100%; }
}

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

/* ---------- demo form ---------- */

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.field { display: grid; gap: .4rem; }
.field-wide, .form-actions { grid-column: 1 / -1; }
.demo-form label { font-size: .86rem; font-weight: 700; color: var(--muted); }
.demo-form input,
.demo-form select,
.demo-form textarea {
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .85rem;
  width: 100%;
  resize: vertical;
}
.demo-form input::placeholder,
.demo-form textarea::placeholder { color: #6c7a8d; }
.demo-form input:hover,
.demo-form select:hover,
.demo-form textarea:hover { border-color: #33425a; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin-top: .3rem;
}
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }

.brief {
  margin-top: 1.4rem;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.brief-status { font-weight: 700; color: var(--accent); margin-bottom: .8rem; }
.brief-label { display: block; font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: .4rem; }
.brief textarea {
  width: 100%;
  font: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem;
  resize: vertical;
}

@media (max-width: 640px) {
  .demo-form { grid-template-columns: 1fr; }
}
