:root {
  --bg: #f4f7fb;
  --bg-elevated: #ffffff;
  --bg-muted: #e8eef6;
  --surface-dark: #0b1220;
  --surface-dark-2: #111a2e;
  --surface-dark-3: #162038;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #e8eef8;
  --text-on-dark-muted: #94a3b8;
  --primary: #0ea5a4;
  --primary-dark: #0d8a89;
  --primary-glow: rgba(14, 165, 164, 0.35);
  --accent: #22d3ee;
  --navy: #1e3a5f;
  --navy-deep: #0f2744;
  --border: #d7e0ec;
  --border-dark: rgba(148, 163, 184, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
  --content-width: 1160px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.section-inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  padding: 0;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 10px 24px;
  min-height: var(--header-h);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-title a {
  display: flex;
  line-height: 0;
}

.logo-title img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-dark);
}

.logo-title h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin: 0;
  order: 1;
}

.menu-toggle span {
  display: block;
  background: #fff;
  height: 2px;
  width: 22px;
  border-radius: 2px;
}

header nav {
  display: flex;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
}

.menu li a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.menu li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu li a[href="#contact"],
.menu li a[data-analytics-event="nav-contact"] {
  background: var(--primary);
  color: #062524;
  font-weight: 600;
  margin-left: 6px;
}

.menu li a[href="#contact"]:hover,
.menu li a[data-analytics-event="nav-contact"]:hover {
  background: var(--accent);
  color: #062524;
}

.menu-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 1001;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px 8px;
}

/* ---------- Hero (split) ---------- */
.hero {
  position: relative;
  background: var(--surface-dark) !important;
  color: var(--text-on-dark);
  padding: 0 !important;
  text-align: left;
  overflow: hidden;
}

.hero::after {
  display: none;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  max-width: none;
  min-height: min(72vh, 640px);
}

.hero-content {
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 40px 64px max(40px, calc((100vw - var(--content-width)) / 2 + 24px));
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(14, 165, 164, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(34, 211, 238, 0.08), transparent 50%),
    linear-gradient(160deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.15) 35%, transparent 55%),
    url("/_/img/hero.jpg") no-repeat center center / cover;
}

@supports (background-image: url("/_/img/hero.webp")) {
  .hero-visual {
    background-image:
      linear-gradient(105deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.15) 35%, transparent 55%),
      url("/_/img/hero.webp");
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, transparent 40%, rgba(11, 18, 32, 0.35)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 22px,
      rgba(34, 211, 238, 0.03) 22px,
      rgba(34, 211, 238, 0.03) 23px
    );
  pointer-events: none;
}

.hero h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0 0 18px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  max-width: 18ch;
  text-align: left;
}

.hero .hero-subtitle {
  font-size: 1.05rem;
  margin: 0 0 16px;
  opacity: 1;
  max-width: 38rem;
  margin-left: 0;
  margin-right: 0;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.hero-tagline {
  font-size: 0.95rem;
  margin: 0 0 28px;
  opacity: 1;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
}

.hero-split {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  max-width: 38rem;
}

.cta-primary {
  background: var(--primary);
  color: #062524;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px var(--primary-glow);
}

.cta-primary:hover {
  transform: translateY(-1px);
  background: var(--accent);
  box-shadow: 0 10px 28px var(--primary-glow);
}

.cta-secondary {
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
}

/* Screenshots hero (simpler) */
.hero.hero-page {
  padding: 72px 24px 56px !important;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(14, 165, 164, 0.2), transparent 60%),
    var(--surface-dark) !important;
}

.hero.hero-page .hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  background: none;
  align-items: center;
  text-align: center;
}

.hero.hero-page h2 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.hero.hero-page p {
  color: var(--text-on-dark-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
main > section {
  padding: 88px 0;
}

main > section:nth-child(even) {
  background: var(--bg-elevated);
}

main > section:nth-child(odd) {
  background: var(--bg);
}

.hero,
.hero.hero-page {
  background: var(--surface-dark) !important;
}

section h2,
.intro-heading,
.pricing-heading,
.audience-heading,
.customers-heading,
.glossary h2,
.features h2,
.compare h2,
.qa h2,
.faq h2,
.contact h2 {
  text-align: center;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.contact h2 {
  margin-bottom: 1.5rem;
}

/* Intro */
.intro {
  padding: 72px 0;
}

.intro-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0 24px;
}

.intro-text p {
  margin-bottom: 1.1em;
}

.intro-text p strong {
  color: var(--navy);
  font-weight: 650;
}

.intro-text ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.intro-text ul li {
  position: relative;
  padding: 14px 16px 14px 42px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.intro-text ul li strong {
  color: var(--navy);
  font-weight: 650;
}

.intro-text ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
  box-shadow: none;
}

/* Features */
.features {
  padding: 88px 0;
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: none;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 164, 0.45);
}

.feature:hover::before {
  opacity: 1;
}

.feature h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.feature ul {
  padding: 0;
  list-style: none;
  text-align: left;
  margin: 0;
}

.feature li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Pricing */
.pricing {
  padding: 88px 0;
  text-align: center;
}

.pricing > p {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
  padding: 0 24px;
  font-size: 0.98rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

.pricing-card {
  background: var(--bg-elevated);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.pricing-title {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.5;
  min-height: 0;
}

.pricing-price {
  font-size: 1.35rem;
  font-weight: 750;
  font-style: normal;
  color: var(--primary-dark);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.pricing-price-action {
  margin-bottom: 0;
}

.pricing-price-noaction {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 2px;
  margin-bottom: 16px;
  opacity: 0.85;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  color: var(--text-secondary);
  text-align: left;
  flex-grow: 1;
  margin: 0 0 24px;
}

.pricing-features li {
  margin-bottom: 0.55em;
  line-height: 1.45;
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}

.pricing-features li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.pricing-features li[style*="font-weight: bold"] {
  font-weight: 700;
  color: var(--text);
}

.pricing-features li[style*="font-weight: bold"]::before {
  content: none;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  margin-top: auto;
  background: var(--surface-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pricing-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}

.pricing-cta:active {
  transform: translateY(0);
}

/* Compare */
.compare {
  padding: 88px 0;
  text-align: center;
}

.compare .table-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  max-width: none;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9rem;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

td:first-child {
  font-weight: 600;
  color: var(--text);
  min-width: 180px;
}

th {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  font-size: 0.82rem;
}

th:first-child {
  background: var(--surface-dark-2);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(14, 165, 164, 0.05);
}

tbody td:nth-child(2) {
  background: rgba(14, 165, 164, 0.06);
  font-weight: 600;
}

/* FAQ */
.qa {
  padding: 88px 0;
  text-align: center;
}

.qa-item {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}

.question {
  background: var(--bg-elevated);
  padding: 22px 24px;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  overflow-wrap: break-word;
}

.question:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: rgba(14, 165, 164, 0.4);
}

.question > div {
  margin-top: 12px;
}

.question h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.question p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.question p:last-child {
  margin-bottom: 0;
}

.copy-link {
  cursor: pointer;
  opacity: 0.5;
  font-size: 0.85em;
  transition: opacity 0.15s;
  text-decoration: none;
  color: inherit;
  margin-left: 6px;
}

.copy-link:hover {
  opacity: 1;
  text-decoration: none;
  color: inherit;
}

.question-highlight {
  background: rgba(14, 165, 164, 0.1);
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow);
  animation: highlightFade 1.8s ease-out;
}

@keyframes highlightFade {
  0% {
    background: rgba(14, 165, 164, 0.22);
  }
  100% {
    background: rgba(14, 165, 164, 0.1);
  }
}

/* Audience */
.audience {
  padding: 88px 0;
  text-align: center;
}

.audience-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0 24px;
}

.audience-text > p {
  margin-bottom: 1.4em;
}

.audience-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.audience-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.audience-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.35em;
  width: 8px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.audience-list li strong {
  color: var(--text);
  font-weight: 700;
}

/* Customers */
.customers {
  padding: 72px 0;
  text-align: center;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  height: 96px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-track {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: none;
}

.logo-track img {
  height: 72px;
  margin: 0;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
  display: block;
  border-radius: 8px;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Contact */
.contact {
  padding: 88px 0;
  text-align: center;
}

form {
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  padding: 0 24px;
}

form label {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: -6px;
}

input,
textarea {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

button {
  background: var(--surface-dark);
  color: white;
  padding: 13px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  font-family: inherit;
  transition: background-color 0.15s;
}

button:hover {
  background: var(--primary-dark);
}

input[readonly],
textarea[readonly] {
  background: var(--bg-muted);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border);
}

input[readonly]:focus,
textarea[readonly]:focus {
  outline: none;
  border-color: var(--border);
  box-shadow: none;
}

button:disabled,
button[disabled],
input[type="button"]:disabled,
input[type="submit"]:disabled,
#contactForm button[type="submit"]:disabled {
  background: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  opacity: 0.8 !important;
  border-color: #cbd5e1 !important;
}

button:disabled:hover,
input[type="button"]:disabled:hover,
input[type="submit"]:disabled:hover,
#contactForm button[type="submit"]:disabled:hover,
button:disabled:active,
input[type="button"]:disabled:active,
input[type="submit"]:disabled:active,
#contactForm button[type="submit"]:disabled:active {
  background: #cbd5e1 !important;
}

.contact > p {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 24px;
}

/* Glossary */
.glossary {
  padding: 88px 0;
}

.glossary-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-style: normal;
  margin: -28px auto 40px;
  max-width: 640px;
  padding: 0 24px;
}

.glossary-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.glossary-content dl {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.glossary-content dt {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-elevated);
  padding: 18px 20px 8px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  margin: 0;
  cursor: default;
  transition: none;
}

.glossary-content dt:hover {
  background: var(--bg-elevated);
  transform: none;
  box-shadow: none;
}

.glossary-content dd {
  margin: 0;
  padding: 0 20px 18px;
  background: var(--bg-elevated);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border: 1px solid var(--border);
  border-top: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.glossary-content dd strong {
  color: var(--text);
  font-weight: 650;
}

/* Footer */
footer {
  text-align: center;
  padding: 48px 24px 40px;
  font-size: 0.875rem;
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  border-top: 1px solid var(--border-dark);
  margin-top: 0;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  padding: 0;
  margin: 0 0 28px;
}

.footer-nav li {
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Screenshots gallery */
.screenshots {
  padding: 72px 0;
  background: var(--bg);
}

.screenshots h2 {
  margin-bottom: 36px;
}

.carousel {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
  padding: 20px;
  border: 1px solid var(--border);
}

.slides {
  display: flex;
  transition: transform 0.3s ease;
  gap: 0;
  padding: 0;
}

.slides > div {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 4px;
}

.slides img {
  width: 100%;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: none;
  background: var(--bg-muted);
  padding: 0;
  border: 1px solid var(--border);
  display: block;
}

.navigation {
  text-align: center;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.navigation button,
.modal-navigation button {
  background: var(--surface-dark);
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.navigation button:hover,
.modal-navigation button:hover {
  background: var(--primary-dark);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 48px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(6px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 95%;
  max-width: 1280px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.close {
  position: absolute;
  top: 16px;
  right: 28px;
  color: white;
  font-size: 36px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}

.close:hover {
  color: var(--accent);
}

.modal-navigation {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slide-indicator {
  color: white;
  text-align: center;
  margin-top: 0;
  font-size: 0.95rem;
}

.slide-caption {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.modal-container {
  position: relative;
  text-align: center;
}

#modalCaption {
  color: var(--text-on-dark);
  text-align: center;
  margin-top: 14px;
  font-size: 1rem;
}

/* A11y / misc */
.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;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 1em;
  background: var(--primary);
  color: #062524;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-weight: 650;
}

.skip-to-content:focus {
  left: 0;
  top: 0;
}

abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--primary);
  cursor: help;
}

abbr:hover,
abbr[title] {
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-dark);
  cursor: help;
}

.menu.active {
  display: flex;
}

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu {
    gap: 2px;
  }

  .menu li a {
    padding: 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content {
    padding: 56px 24px 48px;
  }

  .hero-visual {
    min-height: 240px;
    order: -1;
  }

  .hero-visual::after {
    background: linear-gradient(to bottom, transparent 30%, rgba(11, 18, 32, 0.75));
  }

  .hero h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    order: 0;
  }

  .logo-title {
    flex: 1;
  }

  header nav {
    position: static;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-dark-2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 72px 24px 32px;
    box-shadow: none;
    z-index: 1000;
    gap: 4px;
    overflow-y: auto;
  }

  .menu li a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .menu li a[href="#contact"],
  .menu li a[data-analytics-event="nav-contact"] {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .menu.active {
    display: flex;
  }

  .menu-close {
    display: none;
  }

  body.menu-open .menu-close {
    display: block;
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1002;
  }

  main > section,
  .intro,
  .features,
  .pricing,
  .compare,
  .qa,
  .audience,
  .contact,
  .customers,
  .glossary,
  .screenshots {
    padding: 56px 0;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature {
    padding: 22px;
  }

  .intro-text,
  .audience-text {
    font-size: 1rem;
  }

  .qa-item {
    gap: 10px;
  }

  .question {
    padding: 18px;
  }

  .question h4 {
    font-size: 0.98rem;
  }

  .pricing-card {
    padding: 22px 18px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    text-align: center;
  }

  .compare table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .compare table th,
  .compare table td {
    white-space: nowrap;
  }

  .glossary-content dt {
    font-size: 1rem;
    padding: 14px 16px 6px;
  }

  .glossary-content dd {
    padding: 0 16px 14px;
    font-size: 0.9rem;
  }
}

/* ---------- MLSync AI extras ---------- */
.shot {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 1.25rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.shot-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: -0.35rem auto 1.5rem;
  max-width: 40rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.advantage-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.advantage-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.advantage-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.workflow-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}

.workflow-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.workflow-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.matrix-table {
  width: 100%;
  max-width: 44rem;
  border-collapse: collapse;
  margin: 1rem auto 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
}

.matrix-table th,
.matrix-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.matrix-table th {
  background: var(--bg-muted);
  color: var(--navy);
}

.status-ok { color: #059669; font-weight: 600; }
.status-warn { color: #d97706; font-weight: 600; }
.status-no { color: #64748b; font-weight: 600; }

.beta-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.beta-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #78350f;
  font-size: 0.92rem;
  margin: 0.75rem auto 1.25rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.tier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.tier-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.tier-card .tier-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.mcp-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  padding: 1rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  max-width: 52rem;
}

.mcp-flow span {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mcp-flow .arrow {
  background: transparent;
  border: none;
  color: var(--primary-dark);
  font-weight: 700;
}

.mcp-why {
  margin: 1rem 0 1.5rem;
}

.mcp-steps {
  max-width: 44rem;
  margin: 0.75rem auto 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  text-align: left;
}

.mcp-steps li {
  margin: 0.35rem 0;
}

.founding-callout {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem auto 1.5rem;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

.compare-table {
  width: 100%;
  max-width: 52rem;
  border-collapse: collapse;
  margin: 1rem auto;
  font-size: 0.92rem;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-muted);
}

.section-lead {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
}

.features h3,
.pricing .section-inner > h3,
.faq .section-inner > h3 {
  text-align: center;
  margin: 2rem auto 0.75rem;
  color: var(--navy);
  font-size: 1.2rem;
  max-width: 44rem;
}

.features .section-inner > ul,
.pricing .section-inner > ul,
.features .section-inner > ol,
.pricing .section-inner > ol,
.features .section-inner > p,
.pricing .section-inner > p {
  text-align: left;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.features .section-inner > ul,
.pricing .section-inner > ul,
.features .section-inner > ol,
.pricing .section-inner > ol {
  padding-left: 1.25rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.features .section-inner > p,
.pricing .section-inner > p {
  text-align: center;
}

.features .section-inner > ul li,
.pricing .section-inner > ul li,
.features .section-inner > ol li,
.pricing .section-inner > ol li {
  margin: 0.35rem 0;
}

.beta-note,
.founding-callout {
  text-align: center;
  max-width: 44rem;
}

.features .section-inner > .cta-primary,
.pricing .section-inner > .cta-primary {
  display: inline-block;
  margin: 0.5rem auto 1rem;
}

.hero-shot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 32px 8px;
  background: linear-gradient(160deg, var(--surface-dark-2), var(--surface-dark-3));
}

.hero-shot-wrap .shot {
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero-shot-wrap {
    order: -1;
    padding: 24px;
  }
}

.pricing-note-small {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.platform-banner {
  background: var(--bg-muted);
  color: var(--text);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.platform-banner h2 {
  color: var(--navy);
  margin: 0 auto 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
}

.platform-banner p {
  color: var(--text-secondary);
  margin: 0 auto 0.85rem;
  max-width: 40rem;
  text-align: center;
}

.platform-banner a {
  color: var(--primary-dark);
  font-weight: 650;
}

.platform-banner a:hover {
  color: var(--navy);
}

@media (max-width: 720px) {
  .matrix-table { font-size: 0.85rem; }
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.faq-list details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.faq-list details p {
  margin: 0.65rem 0 0;
  color: var(--text-secondary);
}

.faq {
  text-align: center;
}

.faq .section-inner,
.features .section-inner,
.pricing .section-inner,
.contact .section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 24px;
}

.features {
  padding: 0;
}

.features:nth-of-type(even) {
  background: var(--bg-elevated);
}
