/* TiviMate Subscription — white header + blue brand · Syne + Figtree · split hero */
:root {
  --charcoal: #0e3047;
  --charcoal-2: #f0f5fa;
  --surface: #ffffff;
  --card: #ffffff;
  --teal: #008ecc;
  --teal-deep: #006fa3;
  --sand: #008ecc;
  --sand-soft: #5a6d7e;
  --text: #0e3047;
  --muted: #5a6d7e;
  --line: rgba(14, 48, 71, 0.12);
  --bg: #f5f8fc;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --nav-h: 74px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(14, 48, 71, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 55% 42% at 8% 12%, rgba(0, 142, 204, 0.08), transparent 55%),
    radial-gradient(ellipse 42% 36% at 92% 78%, rgba(14, 48, 71, 0.04), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 28%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header — white so brand logo reads correctly */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14, 48, 71, 0.04);
}
.site-header .container,
.nav-wrap {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand { line-height: 0; flex-shrink: 0; }
.brand img {
  height: 40px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}
.nav-desktop {
  display: none;
  gap: 0.15rem 1.15rem;
  margin-left: 0.75rem;
  flex-wrap: wrap;
}
.nav-desktop a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 0.65rem; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: 0;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 999;
  max-height: calc(100vh - var(--nav-h));
  overflow: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-weight: 600;
  padding: 0.8rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #ffffff !important;
}
.btn-primary:hover { transform: translateY(-1px); color: #ffffff !important; filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border-color: rgba(14, 48, 71, 0.22);
}
.btn-outline:hover {
  border-color: var(--teal);
  background: rgba(0, 142, 204, 0.08);
}
.btn-sand {
  background: var(--teal);
  color: #ffffff !important;
}
.btn-sand:hover { filter: brightness(1.05); color: #ffffff !important; }
.btn-block { width: 100%; }

/* Typography */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.65rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--text);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.8vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.2rem; }
.lead, .section-intro, .hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.7;
}
.disclaimer {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.95;
  margin-top: 0.85rem;
  max-width: 36rem;
}

/* Split home hero */
.hero-split {
  padding: calc(var(--nav-h) * 0.15 + 2.5rem) 0 3.5rem;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy { animation: rise 0.7s ease both; }
.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  animation: rise 0.85s 0.08s ease both;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.5rem;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .hero-split-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .hero-media { aspect-ratio: 5 / 4; max-height: none; }
}

/* Inner page heroes — full bleed */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.25rem) 0 3rem;
  background-color: #0e3047;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-bottom: 1px solid var(--line);
  color: #ffffff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14, 48, 71, 0.92) 0%, rgba(14, 48, 71, 0.78) 55%, rgba(0, 142, 204, 0.45) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1,
.page-hero h2 { color: #ffffff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); }
.page-hero .eyebrow { color: #7dd3f0; }
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.8); }

.section { padding: 4.25rem 0; }
.section--alt {
  background: rgba(0, 142, 204, 0.04);
  border-block: 1px solid var(--line);
}
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }

/* Cards / grids — interaction containers only */
.steps-grid,
.teaser-grid,
.devices-grid,
.plan-grid,
.multi-grid,
.reseller-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.35rem;
}
.steps-grid { grid-template-columns: 1fr; }
.teaser-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-grid { grid-template-columns: repeat(3, 1fr); }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .multi-grid { grid-template-columns: repeat(3, 1fr); }
  .reseller-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .plan-grid { grid-template-columns: repeat(4, 1fr); }
}

.step-card,
.plan-card,
.feature-block,
.device-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 1.65rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.45rem;
}
.plan-card.popular {
  border-color: rgba(0, 142, 204, 0.55);
  background: linear-gradient(165deg, rgba(0, 142, 204, 0.08), var(--card) 60%);
  box-shadow: 0 14px 36px rgba(0, 142, 204, 0.12);
}
.plan-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.15rem;
  color: var(--text);
  margin: 0.35rem 0 0.15rem;
}
.plan-price small { font-size: 1rem; opacity: 0.85; }
.plan-monthly {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}
.plan-card ul {
  margin: 0.7rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan-card li { margin: 0.28rem 0; }

.split-row {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split-row { grid-template-columns: 1.05fr 0.95fr; gap: 2.75rem; }
  .split-row.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split-row.reverse .split-media { order: -1; }
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.limitations {
  background: rgba(0, 142, 204, 0.05);
  border: 1px solid rgba(0, 142, 204, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.limitations ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.limitations li { margin: 0.4rem 0; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.1rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-q::after {
  content: "+";
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 600;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-item.is-open .faq-a { max-height: 480px; }
.faq-a-inner {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.cta-band {
  background: linear-gradient(120deg, rgba(0, 142, 204, 0.1), rgba(14, 48, 71, 0.06));
  border-block: 1px solid var(--line);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.trial-strip {
  background: #ffffff;
  border-block: 1px solid var(--line);
  padding: 2rem 0;
}
.trial-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.prose { max-width: 44rem; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose h2, .prose h3 { margin: 1.6rem 0 0.55rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; color: var(--muted); }
.prose li { margin: 0.35rem 0; }
.breadcrumbs {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--teal); }

.howto-steps { counter-reset: howto; margin: 1.25rem 0; }
.howto-step {
  counter-increment: howto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.85rem;
}
.howto-step h3::before {
  content: counter(howto) ". ";
  color: var(--teal);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.site-footer {
  background: #ffffff;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}
.footer-grid h3 {
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  padding: 0.22rem 0;
  font-size: 0.94rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 26rem;
  margin-top: 0.5rem;
}
.footer-copy {
  text-align: center;
  color: #7a8b9a;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.wa-sticky,
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  min-width: 56px;
  height: 56px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.wa-sticky:hover,
.wa-float:hover { color: #fff !important; filter: brightness(1.06); }

.check-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.check-list li { margin: 0.45rem 0; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 0.65rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }

.table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  text-align: left;
  color: var(--muted);
}
.compare-table th {
  background: rgba(0, 142, 204, 0.1);
  color: var(--text);
  font-family: var(--font-display);
}

@media (max-width: 899px) {
  .container { width: min(var(--max), calc(100% - 1.75rem)); }
  .hero-split { min-height: auto; padding-top: 1.5rem; }
}
