:root {
  --bg-color: #050608;
  --bg-elevated: #0c0f16;
  --border-subtle: #1b1f2b;
  --text-color: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.15);
  --danger: #f97373;
  --max-width: 1040px;
  --radius-lg: 16px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
  color: var(--text-color);
}

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

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header.site-header {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
  background: linear-gradient(
      90deg,
      rgba(34, 211, 238, 0.08),
      transparent,
      rgba(34, 211, 238, 0.08)
    ),
    rgba(15, 23, 42, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #4ade80, #22d3ee);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.9);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.85);
}

.brand-mark-img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.nav-link {
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-color);
  background: rgba(15, 23, 42, 0.8);
  text-decoration: none;
}

.nav-link--primary {
  background: linear-gradient(135deg, #22d3ee, #4ade80);
  color: #020617;
  font-weight: 500;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.nav-link--primary:hover {
  background: linear-gradient(135deg, #2dd4bf, #a3e635);
  color: #020617;
}

.nav-icon,
.footer-icon {
  vertical-align: middle;
  margin-right: 0.35rem;
}

main {
  flex: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.9);
}

.hero-title {
  margin: 0.85rem 0 0.5rem;
  font-size: clamp(2.4rem, 2.9vw + 1.4rem, 3.1rem);
  letter-spacing: -0.03em;
}

.hero-title span.accent {
  color: var(--accent);
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #4ade80);
  color: #020617;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.7);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2dd4bf, #a3e635);
  color: #020617;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.7);
  text-decoration: none;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-device {
  position: relative;
  padding: 1.1rem;
}

.device-frame {
  border-radius: 30px;
  padding: 0.2rem;
  background: radial-gradient(circle at 20% 0, #22d3ee, #0ea5e9, #0b1120);
  box-shadow: var(--shadow-soft);
}

.device-inner {
  border-radius: 26px;
  background: radial-gradient(circle at top, #1e293b, #020617);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.1rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pill.badge-on {
  border-color: rgba(74, 222, 128, 0.7);
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.9);
}

.switch-row {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  padding: 3px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ecfeff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.9);
}

.log-card {
  margin-top: 1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.9);
  padding: 0.8rem 0.9rem;
}

.log-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(30, 64, 175, 0.4);
}

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

.log-domain {
  color: var(--text-color);
}

.log-meta {
  color: var(--text-muted);
}

.tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.sections {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.section-lede {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(
      circle at top left,
      rgba(34, 211, 238, 0.12),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

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

.card--soft {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(55, 65, 81, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
}

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.8);
  background: rgba(15, 23, 42, 0.9);
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.content-page {
  margin-top: 2.5rem;
  max-width: 760px;
}

.content-page h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.content-page h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.content-page p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.content-page ul {
  margin: 0 0 0.9rem 1.2rem;
  padding: 0;
  color: var(--text-muted);
}

.content-page li {
  margin-bottom: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge--red {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fecaca;
}

.app-store-btn {
  color: var(--text-color);
}

.app-store-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #22d3ee, #4ade80);
  flex-shrink: 0;
}

.app-store-coming {
  font-weight: 400;
  color: var(--text-muted);
}

footer.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 6, 23, 0.96);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

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

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    margin-top: 2rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  nav.site-nav {
    display: none;
  }
}

