:root {
  --bg: #050814;
  --bg-elevated: #0a1024;
  --surface: #0f1833;
  --text: #f1f5f9;
  --muted: #94a8c9;
  --accent: #5be7ff;
  --accent-dim: rgba(91, 231, 255, 0.15);
  --border: rgba(131, 181, 255, 0.22);
  --glow: radial-gradient(
    ellipse 80% 60% at 50% -20%,
    rgba(91, 231, 255, 0.18),
    transparent 55%
  );
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image: var(--glow),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 100px,
      rgba(91, 231, 255, 0.015) 100px,
      rgba(91, 231, 255, 0.015) 101px
    );
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 8px;
  color: var(--accent);
}

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

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  color: var(--accent);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-end;
  font-size: 0.8rem;
  font-weight: 600;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
}
.topnav a:hover {
  color: var(--accent);
}

/* ——— Main width ——— */
main {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ——— Hero ——— */
.hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 3.5rem;
    text-align: left;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-dim);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 1.75rem;
}

@media (min-width: 640px) {
  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #3dd9f0, #5be7ff);
  color: #041018;
  box-shadow: 0 4px 24px rgba(91, 231, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(91, 231, 255, 0.35);
}

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

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-note {
    margin-left: 0;
  }
}

.hero-status {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.08),
    rgba(15, 24, 51, 0.6)
  );
  text-align: left;
}

.hero-status-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fbbf24;
  margin: 0 0 0.35rem;
}

.hero-status-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}

.hero-status-text strong {
  color: #fde68a;
  font-weight: 700;
}

.hero-status-text a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}
.hero-status-text a:hover {
  text-decoration: underline;
}

/* ——— Sections ——— */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.section-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.section-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  max-width: 52ch;
}

/* ——— Feature grid ——— */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 1px 0 rgba(91, 231, 255, 0.12);
}
.feature-card:hover {
  border-color: rgba(91, 231, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(91, 231, 255, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
}

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

/* ——— Steps ——— */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

/* ——— Phone mockups (illustrative, not screenshots) ——— */
.phone-grid {
  display: grid;
  gap: 2rem 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .phone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .phone-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.phone-mock {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-mock figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.45;
}

.phone-mock figcaption strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.phone-frame {
  width: 100%;
  max-width: 260px;
  border-radius: 28px;
  border: 3px solid var(--border);
  background: linear-gradient(160deg, #121a35, #060914);
  padding: 0.45rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-notch span {
  width: 72px;
  height: 20px;
  background: #02040c;
  border-radius: 12px;
}

.screen-ui {
  border-radius: 20px;
  background: linear-gradient(180deg, #121c3a 0%, #060914 55%);
  min-height: 340px;
  padding: 0.65rem 0.65rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.screen-ui--chat {
  min-height: 360px;
}

.mock-top {
  text-align: left;
  margin-bottom: 0.15rem;
}

.mock-title {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.mock-screen-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mock-card {
  background: rgba(15, 24, 51, 0.95);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.5rem 0.6rem;
  text-align: left;
}

.mock-card--glow {
  box-shadow: 0 0 0 1px rgba(91, 231, 255, 0.12);
}

.mock-card--compact {
  margin-top: auto;
}

.mock-card--center {
  text-align: center;
  padding: 1rem 0.75rem;
}

.mock-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.35rem;
}

.mock-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--accent), rgba(91, 231, 255, 0.2));
  border-radius: 3px;
  margin-top: 0.35rem;
}

.mock-bar--short {
  width: 55%;
}

.mock-bar--accent {
  margin: 0.5rem auto;
  width: 70%;
}

.mock-row {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

.mock-pill {
  flex: 1;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: rgba(5, 8, 20, 0.65);
  border: 1px solid var(--border);
  color: var(--muted);
}

.mock-pill--accent {
  color: var(--accent);
  border-color: rgba(91, 231, 255, 0.4);
}

.mock-hero-box {
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(91, 231, 255, 0.15),
    rgba(167, 139, 250, 0.1)
  );
  border: 1px dashed var(--border);
}

.mock-disclaimer {
  font-size: 0.58rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

.mock-disclaimer--tiny {
  font-size: 0.52rem;
  margin-top: 0.35rem;
}

.mock-line {
  height: 4px;
  background: var(--accent-dim);
  border-radius: 2px;
  margin-top: 0.35rem;
}

.mock-line--dim {
  opacity: 0.5;
  width: 80%;
}

.mock-check {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.mock-check--done {
  color: var(--text);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.mock-dot--on {
  background: var(--accent);
  border-color: var(--accent);
}

.mock-bubble {
  font-size: 0.65rem;
  line-height: 1.35;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  max-width: 92%;
  text-align: left;
}

.mock-bubble--them {
  align-self: flex-start;
  background: rgba(15, 24, 51, 0.9);
  border: 1px solid var(--border);
  color: var(--muted);
}

.mock-bubble--me {
  align-self: flex-end;
  background: var(--accent-dim);
  border: 1px solid rgba(91, 231, 255, 0.35);
  color: var(--text);
}

.screen-ui--chat {
  gap: 0.5rem;
}

.mock-input {
  margin-top: auto;
  height: 32px;
  border-radius: 10px;
  background: rgba(5, 8, 20, 0.85);
  border: 1px solid var(--border);
}

.mock-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.mock-cta-chip {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3dd9f0, #5be7ff);
  color: #041018;
}

.mock-graph {
  height: 72px;
  border-radius: 10px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.mock-graph-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(91, 231, 255, 0.25));
  border-radius: 0 0 9px 9px;
}

.mock-thumb-row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.mock-thumb-row span {
  flex: 1;
  height: 36px;
  border-radius: 6px;
  background: rgba(91, 231, 255, 0.08);
  border: 1px solid var(--border);
}

.mock-dock {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.35rem;
  background: rgba(5, 8, 20, 0.88);
  border-radius: 14px;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--muted);
}

.mock-dock--minimal {
  justify-content: center;
  gap: 1.25rem;
}

/* ——— Testers section ——— */
.section--testers .section-intro {
  margin-bottom: 1.25rem;
}

.tester-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  text-align: left;
}

.tester-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.tester-card-body {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.tester-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tester-steps li {
  margin-bottom: 0.65rem;
}

.tester-steps li:last-child {
  margin-bottom: 0;
}

.tester-steps code {
  font-size: 0.78rem;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(5, 8, 20, 0.85);
  border: 1px solid var(--border);
  color: var(--accent);
  word-break: break-word;
}

.section-outro {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-outro a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.section-outro a:hover {
  text-decoration: underline;
}

/* ——— Get app / availability (honest store status) ——— */
.get-app {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, rgba(5, 8, 20, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.5rem;
  margin-top: 0.5rem;
  border-top: none;
}

.get-app .section-intro {
  margin-bottom: 1.35rem;
}

.store-status-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 520px) {
  .store-status-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.store-status-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(5, 8, 20, 0.55);
  text-align: left;
}

.store-status-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  background: rgba(91, 231, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.1;
  text-align: center;
  padding: 0.2rem;
}

.store-status-item h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.store-status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
}

.store-status-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.get-app-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .get-app-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(91, 231, 255, 0.45);
}
.btn-outline:hover {
  background: var(--accent-dim);
}

.get-app-footnote {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.get-app-footnote a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.get-app-footnote a:hover {
  text-decoration: underline;
}

.small {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ——— FAQ ——— */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

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

/* ——— Legal pages (privacy/terms) ——— */
header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.sub {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

nav a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-right: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

ul {
  padding-left: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ——— Site footer ——— */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 var(--safe-bottom);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ——— Mobile sticky hint ——— */
.app-hint {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.65rem 1rem var(--safe-bottom);
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  display: none;
}

@media (max-width: 639px) {
  .app-hint {
    display: block;
  }
  main {
    padding-bottom: 6rem;
  }
}
