:root {
  color-scheme: dark;
  --bg: #06080f;
  --bg-elevated: #0e121c;
  --bg-soft: #151b2a;
  --border: #253049;
  --text: #f3f6ff;
  --muted: #8f9bb5;
  --accent: #ff4d4d;
  --accent-2: #ff8a3d;
  --accent-cool: #6b9bff;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.glow-a {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -80px;
  background: rgba(255, 77, 77, 0.22);
}

.glow-b {
  width: 480px;
  height: 480px;
  top: 20%;
  right: -120px;
  background: rgba(107, 155, 255, 0.14);
}

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

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(255, 77, 77, 0.35);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 9px 10px;
  background: #fff;
  clip-path: polygon(0 40%, 55% 40%, 45% 0, 100% 60%, 45% 60%, 55% 100%);
}

.brand-mark.sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 0.55rem;
}

.menu-btn {
  display: none;
  margin-left: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 1.1rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1rem;
  color: var(--muted);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition:
    transform 0.16s var(--ease),
    filter 0.16s var(--ease),
    background 0.16s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0808;
}

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

.btn.lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

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

.hero-stats div {
  border: 1px solid var(--border);
  background: rgba(14, 18, 28, 0.7);
  border-radius: 14px;
  padding: 0.85rem;
}

.hero-stats strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 280px;
}

.hero-visual .hero-photo {
  margin: 0;
  min-height: 280px;
}

.device-frame {
  position: absolute;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #141a28, #0b0f18);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 0.7rem;
  animation: float 6s var(--ease) infinite;
}

.device-frame.tv {
  width: 78%;
  right: 0;
  top: 10%;
  animation-delay: 0s;
}

.device-frame.phone {
  width: 34%;
  left: 0;
  bottom: 8%;
  z-index: 2;
  animation-delay: 0.4s;
}

.device-frame.desk {
  width: 42%;
  right: 8%;
  bottom: 0;
  z-index: 1;
  animation-delay: 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.screen {
  border-radius: 12px;
  background: #070a12;
  border: 1px solid #1c2436;
  overflow: hidden;
  min-height: 160px;
}

.screen-bar {
  height: 28px;
  background: linear-gradient(90deg, rgba(255, 77, 77, 0.35), transparent);
}

.screen-rows {
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.screen-rows .row {
  height: 28px;
  border-radius: 8px;
  background: #121826;
}

.screen-rows .row.focus {
  background: linear-gradient(90deg, rgba(255, 77, 77, 0.45), #1a2234);
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.35);
}

.phone-screen {
  min-height: 200px;
}

.phone-hero {
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.35), rgba(255, 77, 77, 0.15));
}

.phone-list {
  padding: 0.6rem;
  display: grid;
  gap: 0.4rem;
}

.phone-list div {
  height: 22px;
  border-radius: 6px;
  background: #151c2c;
}

.desk-screen {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  min-height: 110px;
}

.desk-side {
  background: #101624;
  border-right: 1px solid #1c2436;
}

.desk-main {
  padding: 0.6rem;
  display: grid;
  gap: 0.4rem;
}

.desk-chip {
  height: 24px;
  border-radius: 6px;
  background: #171f30;
}

.device-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 1.25rem;
  text-align: center;
}

.logos > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.logo-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  color: #c4cce0;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.85;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section.alt {
  max-width: none;
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.55), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition:
    transform 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 77, 0.4);
}

.card .icon {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

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

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 11, 18, 0.55);
}

.step-num {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.steps h3 {
  margin: 0 0 0.3rem;
}

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

.center-cta {
  margin-top: 1.75rem;
  text-align: center;
}

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

.platform {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--bg-elevated);
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.platform h3 {
  margin: 0 0 0.5rem;
}

.platform p {
  margin: 0 0 1rem;
  color: var(--muted);
  flex: 1;
}

.platform a {
  color: var(--accent-cool);
  font-weight: 600;
}

.soon {
  color: var(--muted);
  font-size: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.split h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
}

.split > div > p {
  color: var(--muted);
}

.check-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  padding-left: 1.4rem;
  position: relative;
  color: #d5dced;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.security-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f18;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.sec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.sec-row:last-child {
  border-bottom: none;
}

.sec-row span {
  color: var(--muted);
}

.cta-band {
  max-width: var(--max);
  margin: 1rem auto 3rem;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(255, 77, 77, 0.25), transparent 60%),
    radial-gradient(500px 180px at 90% 100%, rgba(107, 155, 255, 0.18), transparent 55%),
    var(--bg-elevated);
  border: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

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

.legal {
  margin: 0;
  color: #6f7a93;
  font-size: 0.8rem;
  max-width: 42rem;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero,
  .feature-grid,
  .platform-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

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

@media (prefers-reduced-motion: reduce) {
  .device-frame {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* SEO multipage additions */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #1a0808;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.hero-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.media-split { align-items: center; gap: 2rem; }
.media-split img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.media-split.reverse { direction: rtl; }
.media-split.reverse > * { direction: ltr; }
.cite-block {
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  background: rgba(255,77,77,0.06);
  border-radius: 0 12px 12px 0;
}
.cite-block p { margin: 0; color: #e4e9f7; font-size: 1.02rem; line-height: 1.65; }
.content-list { display: grid; gap: 1.25rem; }
.content-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.content-card:hover { border-color: rgba(255,77,77,0.45); }
.content-card-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/10;
}
.content-card-body {
  padding: 1rem 1.1rem 1.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.content-card-body h2, .content-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.content-card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.content-card-body .meta { font-size: 0.8rem; color: #7a869f; }
.text-link { color: var(--accent-cool); font-weight: 600; margin-top: auto; padding-top: 0.4rem; }
.article { max-width: 760px; margin: 0 auto; padding: 0 1.25rem 3rem; }
.article-hero { padding-top: 2rem; }
.article-cover { margin: 0 0 1.5rem; }
.article-cover img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.prose {
  max-width: 680px;
  margin: 0 auto;
  color: #d7deef;
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose h2 { margin: 2rem 0 0.75rem; font-size: 1.4rem; color: var(--text); letter-spacing: -0.02em; }
.prose h3 { margin: 1.4rem 0 0.5rem; color: var(--text); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--accent-cool); }
.prose pre {
  background: #0b0f18;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.88rem;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.prose th { background: var(--bg-soft); color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.steps-doc { padding-left: 1.2rem; }
.steps-doc li { margin: 0.75rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.price-card.featured {
  border-color: rgba(255,77,77,0.55);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.badge-pill {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a0808;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin: 0;
}
.price-card .price { margin: 0; color: var(--muted); }
.price-card .price span {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.price-card ul {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  flex: 1;
}
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.legal-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  text-align: center;
  color: #6f7a93;
  font-size: 0.85rem;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 0.65rem 0 0; }
.logo-row a { color: #c4cce0; }
.logo-row a:hover { color: var(--accent); }
.page-hero { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.page-hero .lede { color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.page-hero .meta { color: #7a869f; font-size: 0.9rem; }

@media (max-width: 900px) {
  .content-card { grid-template-columns: 1fr; }
  .content-card-body { padding: 0 1rem 1.1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .media-split.reverse { direction: ltr; }
  .hero { grid-template-columns: 1fr; }
}
