/* tq.vet — Clinical Calm (healthcare-aligned) */

:root {
  /* Trust teal + warm neutrals — healthcare 2025–26 palette */
  --tq-teal-deep: #0a2e36;
  --tq-teal: #0f5159;
  --tq-teal-mid: #167078;
  --tq-teal-soft: #1e8a94;
  --tq-forest: var(--tq-teal-deep);
  --tq-forest-mid: var(--tq-teal);
  --tq-forest-soft: var(--tq-teal-mid);
  --tq-cream: #f7f5f0;
  --tq-paper: #fffcf8;
  --tq-ink: #1a1f1e;
  --tq-muted: #5c6563;
  --tq-line: #dde4e2;
  --tq-gold: #c4823a;
  --tq-gold-soft: rgba(196, 130, 58, 0.14);
  --tq-warm: #d46544;
  --tq-mint: #4a9b8e;
  --tq-sage: #7eb8ad;
  --tq-radius: 14px;
  --tq-radius-lg: 20px;
  --tq-font: 'IBM Plex Sans Hebrew', 'Assistant', ui-sans-serif, system-ui, sans-serif;
  --tq-serif: 'IBM Plex Sans Hebrew', 'Assistant', ui-sans-serif, system-ui, sans-serif;
  --tq-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tq-ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.8125rem;
  --text-5xl: 3.5rem;
  --space-section: clamp(80px, 11vw, 128px);
  --tq-shadow-soft: 0 8px 32px rgba(10, 46, 54, 0.06);
  --tq-shadow-card: 0 16px 48px rgba(10, 46, 54, 0.1);
  --tq-shadow-elevated: 0 24px 64px rgba(10, 46, 54, 0.14);
  --tq-focus: 0 0 0 3px rgba(74, 155, 142, 0.35);
}

html[dir='ltr'] {
  --tq-font: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --tq-serif: 'IBM Plex Serif', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body.tq-public-marketing {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--tq-font);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--tq-ink);
  background: var(--tq-cream);
  -webkit-font-smoothing: antialiased;
}

.m-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.public-marketing-root { flex: 1; }

/* ── Nav ── */
.mv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid var(--tq-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero {
  position: absolute;
  inset-inline: 0;
  top: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-logo-mark,
body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-link {
  color: rgba(246, 243, 236, 0.88);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-link.is-active,
body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-link:hover {
  color: #fff;
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-lang-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(246, 243, 236, 0.85);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-toggle span {
  background: #f6f3ec;
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled {
  position: sticky;
  background: rgba(246, 243, 236, 0.94);
  border-bottom-color: var(--tq-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-logo-mark {
  color: var(--tq-forest-mid);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-nav-link {
  color: var(--tq-muted);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-nav-link.is-active,
body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-nav-link:hover {
  color: var(--tq-ink);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-lang-btn {
  background: var(--tq-paper);
  border-color: var(--tq-line);
  color: var(--tq-muted);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-nav-toggle {
  border-color: var(--tq-line);
  background: var(--tq-paper);
}

body.tq-public-marketing:has(.tq-home) .mv-header--hero.mv-header--scrolled .mv-nav-toggle span {
  background: var(--tq-ink);
}

.mv-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
}

.mv-logo {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.mv-logo-mark {
  font-family: var(--tq-serif);
  font-weight: 600;
  font-size: 1.625rem;
  letter-spacing: -0.03em;
  color: var(--tq-forest-mid);
}

.mv-logo-dot { color: var(--tq-gold); }

.mv-nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tq-line);
  border-radius: var(--tq-radius);
  background: var(--tq-paper);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mv-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--tq-ink);
}

.mv-nav-collapse {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex: 1;
  justify-content: flex-end;
}

@media (min-width: 961px) {
  .mv-nav-collapse {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
  }
}

.mv-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--tq-muted);
  text-decoration: none;
  transition: color 0.2s var(--tq-ease);
}

.mv-nav-link:hover,
.mv-nav-link.is-active { color: var(--tq-ink); }

.mv-nav-link:focus-visible {
  outline: 2px solid var(--tq-mint);
  outline-offset: 4px;
  border-radius: 4px;
}

.mv-nav-actions { display: flex; align-items: center; gap: 10px; }

.mv-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--tq-line);
  border-radius: var(--tq-radius);
  background: var(--tq-paper);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tq-muted);
  cursor: pointer;
}

@media (max-width: 960px) {
  .mv-nav-toggle { display: flex; }
  .mv-header-inner { flex-wrap: wrap; }
  .mv-nav-collapse {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
    padding-bottom: 8px;
  }
  .mv-nav-collapse:not(.show) { display: none; }
  .mv-nav-links { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mv-nav-actions {
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--tq-line);
  }
  body.tq-public-marketing:has(.tq-home) .mv-header--hero .mv-nav-collapse {
    background: var(--tq-forest);
    margin: 0 -20px;
    padding: 16px 20px;
    border-radius: var(--tq-radius);
  }
}

/* ── Buttons ── */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 32px;
  border-radius: var(--tq-radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--tq-ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s var(--tq-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .m-btn:hover { transform: translateY(-1px); }
  .m-btn:active { transform: translateY(0); }
}

.m-btn:focus-visible {
  outline: 2px solid var(--tq-mint);
  outline-offset: 3px;
  box-shadow: var(--tq-focus);
}

.m-btn-sm { padding: 10px 18px; font-size: 0.875rem; }

.m-btn--solid {
  background: var(--tq-forest-mid);
  color: #f6f3ec;
}

.m-btn--solid:hover { background: var(--tq-forest-soft); }

.m-btn--ghost {
  background: var(--tq-paper);
  color: var(--tq-ink);
  border-color: var(--tq-line);
}

.m-btn--ghost:hover { border-color: var(--tq-forest-soft); color: var(--tq-forest-mid); }

.m-btn--clay {
  background: transparent;
  color: var(--tq-forest-mid);
  border-color: var(--tq-forest-mid);
}

.m-btn--clay:hover { background: rgba(12, 40, 32, 0.06); }

.m-btn--light {
  background: #f6f3ec;
  color: var(--tq-forest);
}

.m-btn--light:hover { background: #fff; }

.m-btn--outline-light {
  background: transparent;
  color: #f6f3ec;
  border-color: rgba(246, 243, 236, 0.35);
}

.m-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 243, 236, 0.55);
}

/* ── Shared type (inner pages) ── */
.m-eyebrow, .tq-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tq-mint);
  margin: 0 0 20px;
}

.tq-kicker--dark { color: var(--tq-forest-soft); }
.tq-kicker--gold { color: var(--tq-gold); }

.m-display, .tq-headline, .tq-title {
  font-family: var(--tq-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--tq-ink);
}

html[dir='rtl'] .tq-headline,
html[dir='rtl'] .tq-title {
  letter-spacing: 0;
  font-weight: 700;
}

.m-display { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 16px; }

.m-lead, .tq-lead, .tq-subtitle {
  color: var(--tq-muted);
  line-height: 1.7;
  margin: 0;
}

.m-lead a { color: var(--tq-forest-soft); font-weight: 600; }

.m-section { padding: clamp(64px, 9vw, 96px) 0; }

.m-section-headline, .tq-title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  margin: 0 0 18px;
}

.tq-title--light { color: #f6f3ec; }

.tq-subtitle {
  font-size: var(--text-lg);
  max-width: 52ch;
}

.tq-subtitle--light { color: rgba(246, 243, 236, 0.72); }

.tq-section { padding: var(--space-section) 0; }

.tq-section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 64px); }

/* ═══════════════ HOMEPAGE ═══════════════ */

.tq-hero {
  position: relative;
  padding: clamp(140px, 18vw, 180px) 0 clamp(96px, 12vw, 120px);
  background: var(--tq-forest);
  color: #f6f3ec;
  overflow: hidden;
}

.tq-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tq-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 80% 20%, rgba(74, 155, 142, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(196, 130, 58, 0.1), transparent 50%),
    linear-gradient(168deg, rgba(10, 46, 54, 0.86) 0%, rgba(15, 81, 89, 0.8) 50%, rgba(22, 112, 120, 0.72) 100%);
}

.tq-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.52;
}

.tq-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.tq-hero .tq-kicker { color: var(--tq-gold); }

.tq-headline {
  font-size: clamp(var(--text-3xl), 5.5vw, var(--text-5xl));
  margin: 0 0 28px;
  color: #f6f3ec;
  max-width: 14ch;
}

.tq-lead {
  font-size: clamp(var(--text-lg), 1.4vw, 1.375rem);
  color: rgba(246, 243, 236, 0.82);
  max-width: 46ch;
  margin-bottom: 40px;
}

.tq-lead strong { color: #fff; font-weight: 600; }

.tq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 36px);
}

/* Trust chips — early journey trust signals */
.tq-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 52ch;
}

.tq-trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(247, 245, 240, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tq-trust-chips i {
  font-size: 0.9375rem;
  color: var(--tq-sage);
  flex-shrink: 0;
}

.tq-trust-chips span {
  max-width: 28ch;
}

@media (max-width: 560px) {
  .tq-trust-chips li {
    width: 100%;
    max-width: none;
  }
  .tq-trust-chips span { max-width: none; }
}

.tq-hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}

/* Layered UI cards */
.tq-stage {
  position: relative;
  height: min(460px, 54vw);
  min-height: 360px;
  perspective: 1200px;
}

.tq-ui-card {
  position: absolute;
  width: min(100%, 360px);
  padding: 26px 26px 24px;
  border-radius: var(--tq-radius-lg);
  background: var(--tq-paper);
  color: var(--tq-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    var(--tq-shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.5s var(--tq-ease);
}

.tq-ui-card header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.tq-ui-card header span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tq-mint);
}

.tq-ui-card header strong {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.tq-ui-card p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--tq-muted);
  line-height: 1.55;
}

.tq-ui-card--1 {
  z-index: 3;
  inset-inline-end: 0;
  top: 12%;
  transform: rotate(-2deg) translateZ(40px);
}

.tq-ui-card--2 {
  z-index: 2;
  inset-inline-start: 4%;
  top: 28%;
  transform: rotate(3deg) scale(0.96);
  opacity: 0.92;
}

.tq-ui-card--3 {
  z-index: 1;
  inset-inline-end: 8%;
  bottom: 4%;
  transform: rotate(-1deg) scale(0.92);
  opacity: 0.85;
}

.tq-stage:hover .tq-ui-card--1 { transform: rotate(-1deg) translateY(-6px) translateZ(50px); }
.tq-stage:hover .tq-ui-card--2 { transform: rotate(2deg) translateY(-4px) scale(0.97); }

.tq-ui-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tq-ui-stats div {
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  background: var(--tq-cream);
  border: 1px solid var(--tq-line);
}

.tq-ui-stats b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tq-forest-mid);
}

.tq-ui-stats small {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tq-muted);
  margin-top: 2px;
}

.tq-ui-stats .is-ok b { color: var(--tq-mint); }

.tq-ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
}

.tq-ui-bars i {
  flex: 1;
  display: block;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--tq-sage), var(--tq-teal-mid));
  font-style: normal;
}

.tq-ui-bars i:nth-child(1) { height: 40%; }
.tq-ui-bars i:nth-child(2) { height: 65%; }
.tq-ui-bars i:nth-child(3) { height: 100%; }
.tq-ui-bars i:nth-child(4) { height: 55%; }
.tq-ui-bars i:nth-child(5) { height: 35%; }

.tq-ui-tags {
  display: flex;
  gap: 6px;
}

.tq-ui-tags span {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tq-cream);
  border: 1px solid var(--tq-line);
  color: var(--tq-muted);
}

/* Pillars — modular trust cards */
.tq-pillars {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--tq-paper);
  border-bottom: 1px solid var(--tq-line);
}

.tq-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.tq-pillar-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 36px);
  border-radius: var(--tq-radius-lg);
  background: var(--tq-cream);
  border: 1px solid var(--tq-line);
  transition: border-color 0.3s ease, box-shadow 0.35s var(--tq-ease);
}

@media (prefers-reduced-motion: no-preference) {
  .tq-pillar-card:hover {
    border-color: rgba(22, 112, 120, 0.35);
    box-shadow: var(--tq-shadow-soft);
  }
}

.tq-pillar-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(74, 155, 142, 0.12);
  color: var(--tq-teal-mid);
  font-size: 1.25rem;
}

.tq-pillar-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tq-gold);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.tq-pillars-grid h2 {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  color: var(--tq-ink);
}

@media (max-width: 720px) {
  .tq-pillars-grid { grid-template-columns: 1fr; }
}

/* Features bento */
#features { scroll-margin-top: 5rem; }

.tq-features-layout {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 380px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 64px);
}

.tq-features-visual {
  margin: 0;
  border-radius: var(--tq-radius-lg);
  overflow: hidden;
  box-shadow: var(--tq-shadow-card);
  border: 1px solid var(--tq-line);
}

.tq-features-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 860px) {
  .tq-features-layout {
    grid-template-columns: 1fr;
  }
  .tq-features-visual {
    max-width: 420px;
    order: -1;
  }
}

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

.tq-feat-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 36px);
  padding-inline-start: clamp(32px, 4vw, 40px);
  border-radius: var(--tq-radius-lg);
  background: var(--tq-paper);
  border: 1px solid var(--tq-line);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--tq-ease), transform 0.4s var(--tq-ease);
}

.tq-feat-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: clamp(24px, 3vw, 32px);
  bottom: clamp(24px, 3vw, 32px);
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--tq-mint), var(--tq-teal-mid));
  opacity: 0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .tq-feat-card:hover {
    border-color: rgba(22, 112, 120, 0.32);
    box-shadow: var(--tq-shadow-soft);
    transform: translateY(-2px);
  }
}

.tq-feat-card i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 1.25rem;
  color: var(--tq-teal-mid);
  background: rgba(74, 155, 142, 0.1);
}

.tq-feat-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.tq-feat-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--tq-muted);
  line-height: 1.65;
}

.tq-feat--wide { grid-column: span 2; }

.tq-feat--highlight {
  background: linear-gradient(155deg, var(--tq-teal-deep) 0%, var(--tq-teal) 100%);
  border-color: transparent;
  color: #f7f5f0;
}

.tq-feat--highlight::before {
  background: linear-gradient(180deg, var(--tq-sage), var(--tq-gold));
  opacity: 0.85;
}

.tq-feat--highlight i {
  color: var(--tq-sage);
  background: rgba(255, 255, 255, 0.1);
}
.tq-feat--highlight h3 { color: #fff; }
.tq-feat--highlight p { color: rgba(246, 243, 236, 0.72); }

@media (max-width: 900px) {
  .tq-feat-grid { grid-template-columns: 1fr 1fr; }
  .tq-feat--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .tq-feat-grid { grid-template-columns: 1fr; }
  .tq-feat--wide { grid-column: span 1; }
}

/* Dark band */
.tq-band {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--tq-forest);
  color: #f6f3ec;
  overflow: hidden;
}

.tq-band-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tq-band-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(10, 46, 54, 0.9) 0%, rgba(15, 81, 89, 0.84) 100%);
}

.tq-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
}

.tq-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: start;
}

.tq-pullquote {
  margin: 0;
  padding: 0;
  border: none;
}

.tq-trust-markers {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.tq-trust-markers span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--tq-sage);
  font-size: 1.125rem;
}

.tq-pullquote p {
  font-family: var(--tq-serif);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  margin: 0 0 24px;
  color: #f7f5f0;
}

html[dir='rtl'] .tq-pullquote p { font-family: var(--tq-font); font-weight: 500; }

.tq-pullquote cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tq-gold);
  letter-spacing: 0.06em;
}

.tq-audience {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.tq-audience li {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tq-audience li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.tq-audience strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.tq-audience span {
  display: block;
  font-size: 1rem;
  color: rgba(246, 243, 236, 0.72);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .tq-hero-grid,
  .tq-band-grid { grid-template-columns: 1fr; }
  .tq-headline { max-width: none; }
  .tq-stage { height: 380px; margin-top: 20px; }
}

/* CTA band — full width */
.tq-section--cta {
  padding-top: 0;
  padding-bottom: 0;
}

.tq-cta {
  position: relative;
  overflow: hidden;
  background: var(--tq-teal);
}

.tq-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 15% 50%, rgba(74, 155, 142, 0.18), transparent 55%),
    linear-gradient(165deg, var(--tq-teal-deep) 0%, var(--tq-teal) 55%, var(--tq-teal-mid) 100%);
  pointer-events: none;
}

.tq-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.tq-cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 96px) 0;
  max-width: 720px;
  text-align: start;
}

.tq-cta-inner .tq-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: 20px;
}

.tq-cta-inner .tq-subtitle {
  font-size: var(--text-lg);
  margin-bottom: 36px;
  max-width: 48ch;
}

.tq-cta-inner .tq-kicker {
  margin-bottom: 24px;
}

/* ── Footer ── */
.mv-footer {
  position: relative;
  margin-top: auto;
  background: var(--tq-forest);
  color: rgba(246, 243, 236, 0.78);
}

.mv-footer-wave {
  display: block;
  line-height: 0;
  margin-top: -1px;
}

.mv-footer-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.mv-footer-inner {
  padding: clamp(56px, 8vw, 80px) 0 clamp(32px, 5vw, 48px);
}

.mv-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(36px, 5vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-logo-mark--footer {
  color: #f6f3ec;
  font-size: 1.625rem;
}

.mv-footer-brand p {
  margin: 16px 0 0;
  max-width: 38ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(246, 243, 236, 0.68);
}

.mv-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
}

.mv-footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mv-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tq-gold);
  margin-bottom: 8px;
}

.mv-footer-col a {
  color: rgba(246, 243, 236, 0.78);
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color 0.2s var(--tq-ease), transform 0.2s var(--tq-ease);
  padding: 2px 0;
}

.mv-footer-col a:hover { color: #fff; }

.mv-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: clamp(24px, 3vw, 32px);
  margin-bottom: clamp(8px, 2vw, 16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-footer-trust-item {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--tq-sage);
  font-size: 1.125rem;
}

.mv-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(28px, 4vw, 36px);
  font-size: 0.9375rem;
  color: rgba(246, 243, 236, 0.45);
}

.mv-footer-toplink {
  color: var(--tq-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s var(--tq-ease);
}

.mv-footer-toplink:hover { color: #e8c96a; }

@media (max-width: 720px) {
  .mv-footer-top { grid-template-columns: 1fr; }
  .mv-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Pricing & inner pages ── */
.mv-page-hero {
  padding: clamp(56px, 9vw, 88px) 0 clamp(32px, 5vw, 48px);
  background: var(--tq-paper);
  border-bottom: 1px solid var(--tq-line);
}

.mv-page-hero .m-display { margin-bottom: 12px; }
.mv-page-hero .m-lead { max-width: 52ch; margin-bottom: 0; }

.mv-price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.m-price-card {
  padding: 32px;
  background: var(--tq-paper);
  border: 1px solid var(--tq-line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--tq-ease), border-color 0.25s ease;
}

.m-price-card:hover {
  border-color: rgba(19, 74, 58, 0.3);
  box-shadow: 0 20px 50px rgba(6, 22, 18, 0.08);
}

.m-price-tier {
  font-family: var(--tq-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--tq-forest-soft);
}

.m-price-sum {
  font-family: var(--tq-serif);
  font-size: clamp(2.1rem, 3.5vw, 2.65rem);
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1;
}

.m-price-sum span {
  font-family: var(--tq-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tq-muted);
}

.m-price-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.m-price-ul li {
  padding: 11px 0;
  font-size: 0.9375rem;
  color: var(--tq-muted);
  border-bottom: 1px solid var(--tq-line);
}

.m-price-ul li:last-child { border-bottom: 0; }

.m-notice-page {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 16px 18px;
  background: var(--tq-cream);
  border: 1px solid var(--tq-line);
  border-radius: var(--tq-radius);
  font-size: 0.9375rem;
  color: var(--tq-muted);
  line-height: 1.6;
}

.m-notice-page code {
  font-size: 0.85em;
  background: var(--tq-paper);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--tq-line);
}

/* ── Forms ── */
.mv-auth-page {
  padding: clamp(48px, 7vw, 72px) 0 clamp(72px, 9vw, 96px);
  display: flex;
  justify-content: center;
}

.m-form-panel {
  width: 100%;
  max-width: 480px;
  padding: clamp(32px, 5vw, 40px);
  background: var(--tq-paper);
  border: 1px solid var(--tq-line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(6, 22, 18, 0.06);
}

.m-form-panel h1 {
  font-family: var(--tq-serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 8px;
  text-align: center;
}

.m-form-intro {
  text-align: center;
  color: var(--tq-muted);
  font-size: 0.9375rem;
  margin: 0 0 28px;
}

.m-form-panel .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.m-form-panel .form-control,
.m-form-panel .form-select {
  border-radius: var(--tq-radius);
  border-color: var(--tq-line);
  padding: 12px 14px;
  font-family: inherit;
}

.m-form-panel .form-control:focus,
.m-form-panel .form-select:focus {
  border-color: var(--tq-forest-soft);
  box-shadow: 0 0 0 3px rgba(19, 74, 58, 0.12);
}

.m-form-panel .btn-primary {
  background: var(--tq-forest-mid);
  border: none;
  border-radius: var(--tq-radius);
  font-weight: 600;
  padding: 12px 20px;
}

.m-form-panel .btn-primary:hover { background: var(--tq-forest-soft); }

.m-form-panel .btn-outline-secondary,
.m-form-panel .btn-success { border-radius: var(--tq-radius); font-weight: 600; }

.m-errors,
.m-form-panel .alert-danger {
  list-style: none;
  padding: 12px 14px;
  margin: 0 0 20px;
  background: #fdf3f0;
  border: 1px solid #e8cfc5;
  border-radius: var(--tq-radius);
  font-size: 0.875rem;
  color: #8b3a2a;
}

.m-errors li { margin: 2px 0; }

.m-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(61, 155, 122, 0.15);
  color: var(--tq-forest-soft);
  font-size: 1.25rem;
}

.mv-auth-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
}

.mv-auth-footer-link a {
  color: var(--tq-forest-soft);
  font-weight: 600;
  text-decoration: none;
}

body.tq-public-marketing .navbar:not(.mv-header) { display: none; }

/* Scroll reveals */
@media (prefers-reduced-motion: no-preference) {
  .tq-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.65s var(--tq-ease),
      transform 0.65s var(--tq-ease);
    transition-delay: calc(var(--reveal-i, 0) * 90ms);
  }

  .tq-reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.55s var(--tq-ease),
      transform 0.55s var(--tq-ease);
    transition-delay: calc(var(--reveal-i, 0) * 80ms);
  }

  .tq-reveal.is-visible,
  .tq-reveal-stagger > *.is-visible {
    opacity: 1;
    transform: none;
  }

  .tq-ui-card {
    animation: tq-card-enter 0.8s var(--tq-ease) backwards;
  }

  .tq-ui-card--1 { animation-delay: 0.15s; }
  .tq-ui-card--2 { animation-delay: 0.3s; }
  .tq-ui-card--3 { animation-delay: 0.45s; }

  @keyframes tq-card-enter {
    from {
      opacity: 0;
      transform: translateY(32px) rotate(var(--card-rot, 0deg));
    }
  }

  .tq-ui-card--1 { --card-rot: -2deg; }
  .tq-ui-card--2 { --card-rot: 3deg; }
  .tq-ui-card--3 { --card-rot: -1deg; }
}

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

  .tq-reveal,
  .tq-reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .tq-ui-card,
  .tq-feat-card,
  .m-price-card,
  .m-btn { transition: none; animation: none; }
}
