:root {
  /* Brand colors — same gradients as the app logo */
  --slate-1: #5b7d97;
  --slate-2: #3e5c74;
  --teal-1: #3fc8c9;
  --teal-2: #1f9092;

  --ink: #16232f;
  --ink-soft: #47586a;
  --ink-mute: #7b8ba0;

  --canvas: #ffffff;
  --surface: #f6f9fa;
  --surface-2: #eef4f5;
  --teal-wash: #e7fbfa;
  --border: #e3e9ec;

  --dark-1: #101c26;
  --dark-2: #17293a;

  --gradient-brand: linear-gradient(135deg, var(--slate-1), var(--slate-2));
  --gradient-teal: linear-gradient(135deg, var(--teal-1), var(--teal-2));
  --gradient-hero: radial-gradient(circle at 15% 20%, rgba(63, 200, 201, 0.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(91, 125, 151, 0.35), transparent 55%),
    linear-gradient(160deg, var(--dark-2) 0%, var(--dark-1) 65%);

  --shadow-card: 0 1px 2px rgba(22, 35, 47, 0.06), 0 8px 24px -12px rgba(22, 35, 47, 0.18);
  --shadow-lift: 0 20px 45px -20px rgba(22, 35, 47, 0.35);

  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 10px;

  --max-width: 1180px;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-teal);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(31, 144, 146, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(31, 144, 146, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--slate-1);
  color: var(--slate-2);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--slate-2);
}

.brand .tv {
  color: var(--teal-2);
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.nav-cta-desktop {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* The CTA buttons inside #navLinks only render for the mobile slide-down
   menu — the desktop nav shows .nav-cta-desktop instead. */
.nav-links .nav-actions {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:not(.btn) {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--surface-2);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-cta-desktop .btn-ghost,
  .nav-cta-desktop .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links .nav-actions {
    display: flex;
    margin-top: 8px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 76px 0 100px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-1);
  background: rgba(63, 200, 201, 0.12);
  border: 1px solid rgba(63, 200, 201, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-1), #7fe3e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.hero-stats div span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-visual {
    order: -1;
  }
}

/* ---------- Hero visual: network of screens ---------- */

.hero-visual {
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

/* ---------- Section headers ---------- */

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .section-head h2 {
    font-size: 28px;
  }
}

/* ---------- Pain points ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 600px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
}

.pain-card .icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.pain-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pain-callout {
  margin-top: 48px;
  text-align: center;
}

.pain-callout p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-2);
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  position: relative;
  z-index: 1;
  text-align: left;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -8px rgba(31, 144, 146, 0.5);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.step-line {
  position: absolute;
  top: 22px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--border) 0 6px, transparent 6px 12px);
  z-index: 0;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-line {
    display: none;
  }
}

/* ---------- Features ---------- */

.features-band {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-2);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- Scenarios ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 600px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  border-radius: var(--radius-card);
  padding: 26px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--canvas) 100%);
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.scenario-card:hover {
  border-color: var(--teal-1);
  transform: translateY(-2px);
}

.scenario-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.scenario-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Comparison ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.compare-col {
  border-radius: var(--radius-card);
  padding: 32px;
}

.compare-col.bad {
  background: var(--surface);
  border: 1px solid var(--border);
}

.compare-col.good {
  background: var(--dark-1);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.compare-col h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.compare-col.bad h3 {
  color: var(--ink-mute);
}

.compare-col.good h3 {
  color: #ffffff;
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.compare-col.bad li {
  color: var(--ink-soft);
}

.compare-col.good li {
  color: rgba(255, 255, 255, 0.9);
}

.mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

.mark.x {
  background: #f1e4e2;
  color: #b45c4a;
}

.mark.check {
  background: var(--gradient-teal);
  color: #fff;
}

/* ---------- Android section ---------- */

.android-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .android-section .wrap {
    grid-template-columns: 1fr;
  }
  .android-section .visual {
    order: -1;
  }
}

.android-section h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.android-section p.lead {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.device-card {
  background: linear-gradient(160deg, var(--dark-2), var(--dark-1));
  border-radius: 28px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.device-screen {
  aspect-ratio: 16/10;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(63, 200, 201, 0.18), rgba(91, 125, 151, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.device-screen .badge-live {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.35);
  padding: 5px 10px 5px 8px;
  border-radius: var(--radius-pill);
}

.badge-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.device-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Final CTA ---------- */

.cta-band {
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
  border-radius: 32px;
  padding: 72px 32px;
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-inline: auto;
}

.cta-band h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.cta-band p {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-band h2 {
    font-size: 28px;
  }
  .cta-band {
    padding: 52px 24px;
    border-radius: 24px;
  }
}

/* ---------- Footer ---------- */

footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 280px;
  line-height: 1.6;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
}

.footer-col a:hover {
  color: var(--slate-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

