:root {
  --navy: #0b1f3a;
  --navy-deep: #071525;
  --sky: #2f80ed;
  --sky-soft: #e8f1ff;
  --ink: #142033;
  --muted: #5b6b7c;
  --line: #d7e0ea;
  --white: #ffffff;
  --paper: #f6f9fc;
  --ok: #1f9d6a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.14);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 224, 234, 0.8);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: url("./app-icon.png") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(47, 128, 237, 0.28);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--navy); }
.marketing-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.marketing-auth-actions .is-auth-hidden,
.marketing-auth-actions [hidden],
.marketing-settings-panel.is-auth-hidden,
.marketing-settings-panel[hidden] {
  display: none !important;
}
.marketing-settings-panel {
  padding: 1.25rem 1rem 0;
  background: var(--paper);
}
.marketing-settings-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.06);
}
.marketing-settings-card h2 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.25rem;
}
.marketing-settings-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.marketing-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.28);
}
.btn-primary:hover { background: #246fd4; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn.is-disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.marketing-notice {
  background: #fff8e6;
  border-bottom: 1px solid #f0d78c;
}
.marketing-notice[hidden] {
  display: none !important;
}
.marketing-notice .wrap {
  padding: 0.7rem 0;
}
.marketing-notice p {
  margin: 0;
  text-align: center;
  color: #5c4a00;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 128, 237, 0.35), transparent 28%),
    linear-gradient(135deg, #0b1f3a 0%, #12345d 48%, #1a4f8c 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.mock-app {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: #eff5ff;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
}
.mock-body { padding: 1rem; }
.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.mock-row:last-child { border-bottom: 0; }
.pill {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.pill-ok { background: #e8f8f1; color: var(--ok); }
.pill-warn { background: #fff4e5; color: #b86a00; }

/* Sections */
.section { padding: 4rem 0; }
.section-trust {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}
.trust-card {
  border: 1px solid rgba(29, 78, 216, 0.22);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 128, 237, 0.12), transparent 42%),
    linear-gradient(165deg, #f8fbff 0%, #ffffff 55%, #f4f7fb 100%);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
.trust-card .section-kicker { margin-bottom: 0.65rem; }
.trust-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  max-width: 46rem;
}
.trust-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52rem;
}
.trust-server-banner {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 2px solid rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.trust-server-banner h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.35;
  color: #1e3a8a;
}
.trust-server-banner h3 em {
  font-style: normal;
  color: var(--sky);
  font-weight: 800;
}
.trust-server-banner p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink);
}
.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}
.trust-pillar {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
}
.trust-pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--ink);
}
.trust-pillar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.trust-close {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.14);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 1.35rem 1.1rem; }
}
.section.alt { background: var(--paper); }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.section .lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.feature-list-title {
  margin: 2.5rem 0 0.4rem;
  font-size: 1.25rem;
}
.feature-list-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}
.feature-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-reset: feature;
}
.feature-rows li {
  display: grid;
  grid-template-columns: auto minmax(9rem, 13rem) 1fr;
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  counter-increment: feature;
}
.feature-rows li:last-child { border-bottom: 0; }
.feature-rows li::before {
  content: counter(feature, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.feature-name {
  font-weight: 700;
  color: var(--ink);
}
.feature-desc {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Live plan pricing */
.pricing-section {
  background: linear-gradient(180deg, var(--paper), var(--white));
}
.pricing-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.pricing-term {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.pricing-term.is-active {
  background: var(--navy);
  color: var(--white);
}
.pricing-status {
  min-height: 1.5rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}
.price-card.is-highlighted {
  border: 2px solid var(--sky);
  box-shadow: 0 14px 34px rgba(47, 128, 237, 0.16);
}
.price-badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}
.price-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.price-tagline {
  min-height: 2.9rem;
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.price-value {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
}
.price-interval {
  min-height: 1.35rem;
  margin: 0.2rem 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.price-features {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.88rem;
}
.price-features li {
  display: flex;
  gap: 0.5rem;
}
.price-features li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
}
.price-cta {
  width: 100%;
  margin-top: auto;
}
.pricing-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.videos-section {
  background: var(--paper);
}
.videos-status {
  min-height: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.videos-tools {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
}
.videos-search input {
  width: min(28rem, 100%);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.videos-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.video-category-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.video-category-filter span {
  color: var(--muted);
  font-size: 0.75rem;
}
.video-category-filter.is-active {
  border-color: var(--sky);
  background: var(--sky);
  color: var(--white);
}
.video-category-filter.is-active span { color: var(--white); }
.videos-platforms {
  display: grid;
  gap: 1.5rem;
}
.videos-category-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
}
.videos-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.videos-category-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.videos-category-head span {
  color: var(--muted);
  font-size: 0.82rem;
}
.videos-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.videos-empty {
  color: var(--muted);
}
.video-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.06);
}
.video-card-hit {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: none;
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #142033;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb-facebook { background: linear-gradient(135deg, #1877f2, #0b1f3a); }
.video-thumb-tiktok { background: linear-gradient(135deg, #25f4ee, #fe2c55, #142033); }
.video-play {
  position: absolute;
  inset: auto 0.75rem 0.75rem auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.92);
  color: #0b1f3a;
  font-size: 0.8rem;
}
.video-card-body {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
}
.video-label {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.video-category {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.video-card-body strong {
  font-size: 0.95rem;
  line-height: 1.3;
}
.video-engagement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.55rem 0.85rem 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  border-radius: 0;
}
.video-stat,
.video-like,
.video-rate-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.video-like {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.video-like.is-liked { color: #d9486f; }
.video-like:disabled { cursor: default; }
.video-rate-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.video-stars { display: inline-flex; gap: 0.05rem; }
.video-star {
  border: 0;
  background: transparent;
  padding: 0;
  color: #d6dbe3;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
button.video-star:hover,
.video-star.is-on { color: #f5a524; }
.video-star.is-mine { color: #f08c00; }
span.video-star { cursor: default; }
.video-modal-engage {
  padding: 0.65rem 1rem 0;
}
.video-modal-engage .video-engagement {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 37, 0.72);
}
.video-modal-card {
  position: relative;
  width: min(920px, 100%);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
}
.video-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.video-modal-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  background: rgba(7, 21, 37, 0.78);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
}
.video-watch-fallback {
  display: grid;
  place-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  background: #0f1b2d;
  color: #fff;
}
.video-watch-preview {
  width: min(18rem, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #142033;
}
.video-watch-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-watch-fallback h3 {
  margin: 0;
  font-size: 1.15rem;
}
.video-watch-fallback p {
  margin: 0 auto;
  max-width: 28rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
}
.video-watch-btn {
  justify-self: center;
}
.video-modal-open {
  display: block;
  padding: 0.75rem 1rem 1rem;
  color: var(--sky);
  font-weight: 700;
}
@media (max-width: 980px) {
  .videos-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .videos-cards { grid-template-columns: 1fr; }
}

/* Billing-matched live plan comparison. The inner table remains readable on phones via horizontal scroll. */
.pricing-fullbleed {
  width: 100%;
  padding: 0 0.75rem 0.25rem;
}
.pricing-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 2px solid #27364b;
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}
.pricing-table {
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #172334;
  font-size: 0.78rem;
  line-height: 1.25;
}
.pricing-table th,
.pricing-table td {
  padding: 0.46rem 0.55rem;
  border: 1px solid #425269;
  text-align: center;
  vertical-align: middle;
}
.pricing-table thead th {
  position: relative;
  background: #f7f9fb;
  font-size: 0.92rem;
  font-weight: 800;
}
.pricing-table thead th strong,
.pricing-table thead th small {
  display: block;
}
.pricing-table thead th small,
.pricing-feature-head small {
  margin-top: 0.25rem;
  color: #657287;
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.25;
}
.pricing-table th:first-child {
  width: 22%;
  min-width: 185px;
  text-align: left;
  font-weight: 700;
}
.pricing-feature-head {
  vertical-align: top !important;
}
.pricing-popular {
  display: inline-block;
  margin-top: 0.25rem;
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
  background: var(--sky);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pricing-table .pricing-plan-pro,
.pricing-table .pricing-plan-pro-plus {
  background: linear-gradient(90deg, rgba(214, 255, 244, 0.5), rgba(255,255,255,0.8));
}
.pricing-table thead .is-highlighted {
  background: linear-gradient(135deg, #d7fff4, #f7fffc);
}
.pricing-price-row td,
.pricing-save-row td {
  font-weight: 800;
}
.pricing-save-row th,
.pricing-save-row td {
  color: #16803b;
}
.pricing-free {
  display: inline-block;
  color: #2f80ed;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.pricing-table td.is-off {
  color: #95a0ae;
  background: rgba(245, 247, 249, 0.72);
}
.pricing-local-start > * {
  border-top: 3px solid #1d2b3e !important;
}
.pricing-bool {
  font-size: 1rem;
  font-weight: 900;
}
.pricing-bool.is-yes { color: #18a75b; }
.pricing-bool.is-no { color: #e04c5b; }
.pricing-subscribe-row > * {
  border-top: 2px solid #1d2b3e !important;
}
.pricing-subscribe {
  width: 100%;
  min-width: 6.25rem;
  padding: 0.42rem 0.5rem;
  font-size: 0.76rem;
}
@media (max-width: 720px) {
  .feature-rows li {
    grid-template-columns: auto 1fr;
  }
  .feature-desc {
    grid-column: 2 / -1;
  }
  .pricing-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .pricing-table-scroll { margin: 0; border-radius: 0.35rem; }
  .pricing-table {
    min-width: 860px;
    table-layout: auto;
    font-size: 0.74rem;
  }
  .pricing-fullbleed { padding-inline: 0.5rem; }
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  color: #8a97a8;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.cta-band {
  background: linear-gradient(135deg, #12345d, #2f80ed);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band h3 { margin: 0 0 0.35rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); }

/* Inner pages */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2rem;
}
.page-hero h1 { margin: 0 0 0.4rem; }
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }
.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* Company profile */
.company-page .company-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(47, 128, 237, 0.14), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 2.25rem;
}
.company-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.company-logo-card {
  padding: 1.35rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(47, 128, 237, 0.18);
  background: var(--white);
  box-shadow: var(--shadow);
  max-width: 36rem;
}
.company-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.company-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.28);
}
.company-brand-text {
  min-width: 0;
}
.company-brand-name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}
.company-brand-tag {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.company-hero-lead {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.company-section {
  padding-top: 2.5rem;
}
.company-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.company-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.04);
}
.company-card-wide {
  grid-column: 1 / -1;
}
.company-card-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.company-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--navy);
}
.company-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.62;
}
.company-card p:last-child {
  margin-bottom: 0;
}
.company-card a:not(.btn) {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.company-card .btn {
  text-decoration: none;
}
.company-card .btn-primary {
  color: var(--white);
}
.company-card .btn-outline {
  color: var(--navy);
}
.company-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.company-facts li {
  display: grid;
  gap: 0.15rem;
}
.company-fact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.company-fact-value {
  font-size: 0.98rem;
  color: var(--ink);
}
.company-card-address {
  background: linear-gradient(135deg, rgba(232, 241, 255, 0.65) 0%, var(--white) 100%);
  border-color: rgba(47, 128, 237, 0.22);
}
.company-address {
  font-style: normal;
  margin: 0 0 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px dashed rgba(47, 128, 237, 0.35);
  background: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  color: var(--ink);
}
.company-address-note {
  font-size: 0.88rem;
}
.company-services {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}
.company-services li + li {
  margin-top: 0.35rem;
}
.company-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem !important;
}
.footer-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .company-grid {
    grid-template-columns: 1fr;
  }
  .company-card-wide {
    grid-column: auto;
  }
}
.download-list {
  display: grid;
  gap: 0.85rem;
}
.download-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.version-select {
  min-width: 11.5rem;
  max-width: 16rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.download-auth-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 0.92rem;
}
.download-auth-banner[hidden] {
  display: none !important;
}
.download-auth-banner.is-signed-in {
  border-color: #86efac;
  background: #f0fdf4;
}
.download-auth-banner.is-signed-out {
  border-color: #fcd34d;
  background: #fffbeb;
}
.download-auth-banner span {
  flex: 1 1 12rem;
  color: var(--ink);
}
.download-id-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  word-break: break-all;
}
.download-email-cell {
  font-size: 0.82rem;
  word-break: break-all;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.demo-tag {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid,
  .cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 3rem; }
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
