:root {
  --bg: #07080c;
  --elev: #101218;
  --surface: #16181f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #8b93a7;
  --accent: #007aff;
  --accent-soft: rgba(0, 122, 255, 0.16);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(0, 122, 255, 0.28), transparent 55%),
    radial-gradient(700px 380px at 100% 8%, rgba(91, 157, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1326 0%, var(--bg) 36%);
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 18px 24px;
  padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
  background: rgba(7, 8, 12, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 32px;
  width: auto;
  max-width: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #9ec4ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

h1 span {
  color: #7eb6ff;
}

.lede {
  max-width: 34rem;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.device {
  width: min(100%, 320px);
  padding: 18px 16px 20px;
  border-radius: 36px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 10px #0c0d12;
}

.device-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c9cdd8;
  font-size: 0.72rem;
  font-weight: 600;
}

.device-island {
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background: #000;
}

.device-hello {
  margin: 22px 4px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.device-plan {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #12274a, #0b1326);
  margin-bottom: 18px;
}

.device-plan p {
  margin: 0;
  color: #9ec4ff;
  font-size: 0.82rem;
}

.device-credits span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.device-label {
  margin: 0 0 10px;
  color: #c3c6d7;
  font-size: 0.82rem;
  font-weight: 700;
}

.device-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #1c1e26;
}

.device-card img {
  width: 36px;
  height: 36px;
}

.device-card h3 {
  margin: 0;
  font-size: 0.92rem;
}

.device-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.strip {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.strip div {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.strip strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 0;
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.tile {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.tile-lg {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.16), transparent 42%),
    var(--surface);
}

.tile img {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

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

.chat-preview {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.bubble {
  margin: 0;
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bubble.in {
  background: #1c1e26;
  color: #c3c6d7;
}

.bubble.out {
  justify-self: end;
  background: var(--accent);
  color: #fff;
}

.soon {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #9ec4ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--elev);
}

.steps span {
  color: #7eb6ff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 14px 0 8px;
}

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

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

.plan {
  position: relative;
  padding: 24px 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--elev);
}

.plan-featured {
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.18), var(--elev) 42%);
  border-color: rgba(0, 122, 255, 0.45);
}

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0;
  font-size: 1.05rem;
}

.price {
  margin: 12px 0 4px;
}

.price b {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.price span,
.plan-note {
  color: var(--muted);
}

.plan ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan li + li {
  margin-top: 8px;
}

.faq {
  max-width: 760px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

details a {
  color: #7eb6ff;
}

summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.footer {
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text);
}

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

.footer nav a:hover {
  color: #7eb6ff;
}

@media (max-width: 960px) {
  .hero,
  .bento,
  .steps,
  .plans,
  .strip {
    grid-template-columns: 1fr;
  }

  .tile-lg {
    grid-row: auto;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    height: 26px;
  }

  .hero {
    padding-top: 40px;
  }
}

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