/* Markviss marketing site — tokens from marketing/website/SITE-DESIGN-HANDOFF.md */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #445373;
  --navy-light: #677188;
  --navy-dark: #414f6d;
  --murky: #272f3f;
  --green: #58a13a;
  --yellow: #fdc93a;
  --red: #e2352d;
  --gray: #a5b0ba;
  --soft: #eff7fb;
  --border: #e3eaee;
  --heading: #111827;
  --body: #4b5563;
  --body-2: #6b7280;
  --bg-alt: #f9fafb;
  --grad-purple: linear-gradient(135deg, #7c3aed, #6366f1);
  --grad-navy: linear-gradient(135deg, #445373 0%, #272f3f 100%);
  --shadow-brand: 0 20px 66px 0 rgba(34, 48, 73, 0.2);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body);
  background: #fff;
  overflow-x: clip; /* the page itself never scrolls sideways; wide content scrolls in place */
}

img, video { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3 { color: var(--heading); line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }

.h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
.h2--center { text-align: center; }
.h2--light { color: #fff; }
@media (max-width: 768px) { .h2 { font-size: 1.875rem; } }

section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 48px 0; } }

a { color: var(--navy); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--navy-light);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-align: center;
  padding: 12px 24px; /* default; --sm/--lg override */
  cursor: pointer;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}
.btn--primary:hover { background: var(--murky); border-color: var(--murky); }
.btn--grad {
  background: var(--grad-purple);
  color: #fff;
  border: none;
}
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); }
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1.125rem; }

.textlink { font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink--light { color: #fff; }

/* Nav */
.nav {
  background: var(--murky);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__mark { height: 28px; width: auto; }
.nav__wordmark {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a {
  color: #d5dae3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav__links a:hover { color: #fff; }
.nav__links .btn { color: #fff; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--murky);
    padding: 8px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.0625rem; }
  .nav__links a:not(.btn) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__links .btn { margin-top: 14px; text-align: center; }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  background: var(--grad-navy);
  padding: 96px 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out both;
}
.grad {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* keep legible on navy */
  filter: brightness(1.55);
}
.hero__sub {
  color: #fff;
  opacity: 0.95;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.verdicts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
}
.ring {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--heading);
  font-size: 0.6875rem;
  font-weight: 700;
}
.ring--green { border: 3px solid var(--green); }
.ring--amber { border: 3px solid var(--yellow); }
.ring--red { border: 3px solid var(--red); }
.ring--sm { width: 38px; height: 38px; font-size: 0.625rem; }
.hero__cta { margin-bottom: 16px; animation: fadeInUp 0.6s ease-out 0.3s both; }
.hero__trust {
  color: #fff;
  opacity: 0.7;
  font-size: 0.875rem;
  animation: fadeInUp 0.6s ease-out 0.35s both;
}
.hero__media { animation: fadeInUp 0.6s ease-out 0.25s both; }
.appframe {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-brand);
  background: var(--murky);
}
.appframe__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
}
.appframe__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.appframe__video { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 960px) {
  .hero { padding: 64px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__h1 { font-size: 2rem; }
}

/* Film */
.film { background: #fff; }
.film__inner { text-align: center; }
.standfirst {
  font-size: 1.125rem;
  color: var(--body);
  max-width: 40rem;
  margin: 0 auto 40px;
}
.film__frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}
.film__video { aspect-ratio: 16 / 9; width: 100%; background: var(--murky); }
.film__caption {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--body-2);
}

/* Problem */
.problem { background: var(--soft); }
.problem__inner { max-width: 46rem; }
.kicker {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.problem p { margin-bottom: 20px; font-size: 1.0625rem; line-height: 1.65; }
.problem__answer {
  border-left: 4px solid var(--green);
  padding-left: 20px;
  color: var(--heading);
  font-size: 1.125rem;
}

/* Pillars */
.pillars { background: #fff; }
.pillars .h2 { margin-bottom: 48px; }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--navy { background: var(--soft); color: var(--navy); }
.card__icon--green { background: #eef7e9; color: var(--green); }
.card p { color: var(--body); font-size: 0.9688rem; }
@media (max-width: 900px) { .pillars__grid { grid-template-columns: 1fr; } }

/* AI */
.ai { background: var(--murky); }
.ai__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ai__copy p { color: #cdd3dd; margin-bottom: 16px; line-height: 1.65; }
.ai__included { font-weight: 600; color: #fff !important; }
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat__bubble {
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  max-width: 92%;
}
.chat__bubble--user {
  background: var(--soft);
  color: var(--heading);
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat__bubble--ai {
  background: #333d52;
  color: #e8ebf0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-brand);
}
.chat__line { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.chat__line--verdict { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 8px; padding-top: 12px; }
.check { color: var(--green); font-weight: 700; }
@media (max-width: 900px) { .ai__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Platform */
.platform { background: #fff; }
.platform__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.platform p { margin-bottom: 16px; line-height: 1.65; }
.platform__panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.platform__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-2);
  margin-bottom: 14px;
}
.platform__list { list-style: none; }
.platform__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.platform__list li:last-child { border-bottom: none; }
.platform__list .muted { color: var(--body-2); font-size: 0.875rem; }
@media (max-width: 900px) { .platform__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Steps */
.steps { background: var(--soft); }
.steps .h2 { margin-bottom: 48px; }
.steps__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
@media (max-width: 900px) { .steps__grid { grid-template-columns: 1fr; } }

/* Grows */
.grows { background: #fff; padding: 56px 0; }
.grows__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.grows__item h3 { font-size: 1rem; color: var(--navy); }
.grows__item p { font-size: 0.875rem; color: var(--body-2); }
@media (max-width: 900px) { .grows__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grows__grid { grid-template-columns: 1fr; } }

/* Industries */
.industries { background: var(--bg-alt); }
.industries__inner { text-align: center; }
.industries__lede { margin-bottom: 28px; color: var(--body); }
.industries__chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.industries__chips a {
  text-decoration: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  padding: 10px 22px;
  transition: all 0.3s ease;
}
.industries__chips a:hover { background: var(--navy); color: #fff; }

/* CTA */
.cta { background: var(--grad-navy); }
.cta__inner { text-align: center; }
.cta__sub { color: #fff; opacity: 0.9; margin-bottom: 32px; font-size: 1.125rem; }
.cta__trust { color: #fff; opacity: 0.7; font-size: 0.875rem; margin-top: 16px; }
.cta__note { color: #fff; opacity: 0.85; font-size: 0.9375rem; margin-top: 16px; }
.signup {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 34rem;
  margin: 0 auto;
}
.signup__input {
  flex: 1 1 260px;
  font: inherit;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: var(--heading);
}
.signup__input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.signup__btn { flex: 0 0 auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Footer */
.footer { background: var(--murky); padding: 40px 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a { color: #aeb6c2; text-decoration: none; font-size: 0.875rem; }
.footer__links a:hover { color: #fff; }
.footer__note { color: #7e8797; font-size: 0.8125rem; margin-left: auto; }
@media (max-width: 768px) { .footer__note { margin-left: 0; } }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Consent bar (GA4 loads only after accept) */
.consentbar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--murky);
  color: #e8ebf0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-brand);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.consentbar__text { font-size: 0.9063rem; line-height: 1.5; flex: 1 1 320px; margin: 0; }
.consentbar__text a { color: #fff; }
.consentbar__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover { border-color: #fff; }

/* ==========================================================================
   Subpages — pricing, contact, legal (added for pricing/contact/legal builds)
   ========================================================================== */

/* Subpage hero (pricing, contact) */
.subpage-hero { background: var(--grad-navy); padding: 72px 0 56px; text-align: center; }
.subpage-hero__h1, .subpage-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.subpage-hero__sub, .subpage-hero .container > p { color: #fff; opacity: 0.92; font-size: 1.125rem; line-height: 1.6; max-width: 40rem; margin: 0 auto; }
@media (max-width: 768px) { .subpage-hero__h1, .subpage-hero h1 { font-size: 2rem; } }

/* Startup/NGO note strip (pricing) */
.notice-strip { background: var(--soft); padding: 16px 0; text-align: center; font-size: 0.9375rem; }
.notice-strip strong { color: var(--heading); }
.notice-strip a { font-weight: 600; }

/* Pricing tiers */
.pricing { background: #fff; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 56px;
}
@media (max-width: 1100px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing__grid { grid-template-columns: 1fr; } }

.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.tier--recommended { border-color: var(--navy); box-shadow: var(--shadow-brand); }
.tier__band {
  background: var(--grad-navy);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px;
}
.tier__body { padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.tier__name { font-size: 1.25rem; margin-bottom: 4px; }
.tier__subtitle { font-size: 0.875rem; color: var(--body-2); margin-top: -14px; }
.tier__badge {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 12px;
}
.tier__price { display: flex; align-items: baseline; gap: 6px; }
.tier__price-amount { font-size: 2rem; font-weight: 800; color: var(--heading); }
.tier__price-unit { font-size: 0.8125rem; color: var(--body-2); }
.tier__billing-note { font-size: 0.8125rem; color: var(--body-2); margin-top: -12px; }
.tier__cta { width: 100%; }
.tier__features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier__features li { display: flex; gap: 8px; font-size: 0.9375rem; color: var(--body); line-height: 1.4; }
.tier__features .check { flex-shrink: 0; }
.tier__ai-note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--soft);
  border-radius: var(--radius);
  padding: 10px 12px;
}

/* AI addon explanation + info box (pricing) */
.addon { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px; }
.addon h3 { margin-bottom: 12px; }
.addon p { color: var(--body); margin-bottom: 16px; }
.addon ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.addon ul li { display: flex; gap: 8px; font-size: 0.9375rem; color: var(--body); }

.infobox {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 56px;
}
.infobox__icon { font-size: 1.375rem; line-height: 1; }
.infobox strong { color: var(--heading); display: block; margin-bottom: 4px; }
.infobox p { font-size: 0.9375rem; color: var(--body); }

/* Feature comparison table (pricing) */
.pricing .h2 { margin-bottom: 24px; }
.pricing-table-wrap { overflow-x: auto; margin-bottom: 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 720px; }
.pricing-table th, .pricing-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.pricing-table th { color: var(--heading); font-weight: 700; background: var(--bg-alt); }
.pricing-table td:first-child, .pricing-table th:first-child { text-align: left; min-width: 200px; }
.pricing-table tr:last-child td { border-bottom: none; }

/* FAQ grid (pricing) */
.faqgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.faqgrid__item { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.faqgrid__item h4 { font-size: 1.0625rem; margin-bottom: 8px; }
.faqgrid__item p { font-size: 0.9375rem; color: var(--body); }
@media (max-width: 800px) { .faqgrid { grid-template-columns: 1fr; } }
.faq-more { text-align: center; }

/* Contact page */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact__group + .contact__group { margin-top: 28px; }
.contact__group h2 { font-size: 1.125rem; margin-bottom: 8px; }
.contact__group p { font-size: 0.9375rem; color: var(--body); }
.contact__group a { color: var(--navy); font-weight: 600; }
.contact__list { list-style: none; margin-top: 4px; }
.contact__list li { font-size: 0.9375rem; margin-top: 6px; }
.contact__note { margin-top: 40px; text-align: center; font-size: 0.9375rem; color: var(--body-2); }

/* Contact form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 0.875rem; font-weight: 600; color: var(--heading); }
.form__field input, .form__field textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--heading);
}
.form__field textarea { resize: vertical; min-height: 130px; }
.form__field input:focus-visible, .form__field textarea:focus-visible {
  outline: 3px solid var(--navy-light);
  outline-offset: 2px;
}
.form__note { font-size: 0.8125rem; color: var(--body-2); }
.form .btn { align-self: flex-start; padding: 14px 32px; font-size: 1rem; }

/* Legal pages (privacy, terms) */
.legal { background: #fff; padding: 64px 0 96px; }
.legal__inner { max-width: 46rem; margin: 0 auto; }
.legal__inner h1 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.legal__meta { color: var(--body-2); font-size: 0.9375rem; margin-bottom: 8px; }
.legal__inner h3 { font-size: 1.375rem; margin-top: 40px; margin-bottom: 14px; }
.legal__inner h4 { font-size: 1.0625rem; margin-top: 28px; margin-bottom: 10px; }
.legal__inner p, .legal__inner li { color: var(--body); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.legal__inner ol, .legal__inner ul { padding-left: 1.4rem; margin-bottom: 16px; }
.legal__inner li { margin-bottom: 8px; }
.legal__inner hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal__inner strong { color: var(--heading); }
.legal__inner a { font-weight: 600; }

/* Guide hub + long-form articles */
.guidehub { background: #fff; }
.guidehub__intro { max-width: 46rem; margin-bottom: 48px; }
.guidehub__intro p { margin-bottom: 18px; font-size: 1.0625rem; line-height: 1.65; }
.guidehub__section { margin-bottom: 40px; }
.guidehub__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-2);
  margin-bottom: 16px;
}
.guidehub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guidecard {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
  transition: all 0.3s ease;
}
.guidecard:hover { border-color: var(--navy); box-shadow: var(--shadow-brand); }
.guidecard img {
  width: calc(100% + 48px);
  max-width: calc(100% + 48px);
  margin: -24px -24px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (max-width: 768px) {
  /* image becomes a small side thumbnail; text leads */
  .guidecard:has(img) {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 14px;
    padding: 18px;
  }
  .guidecard img {
    width: 84px;
    max-width: 84px;
    height: 84px;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: var(--radius);
    grid-row: span 2;
  }
  .guidecard:has(img) h3 { font-size: 1rem; margin-bottom: 4px; }
}
.guidecard h3 { color: var(--heading); font-size: 1.0625rem; margin-bottom: 6px; }
.guidecard p { color: var(--body-2); font-size: 0.875rem; }
@media (max-width: 900px) { .guidehub__grid { grid-template-columns: 1fr; } }

.crumbs { font-size: 0.8125rem; color: var(--body-2); margin-bottom: 10px; }
.crumbs a { color: #cdd3dd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.subpage-hero .crumbs { color: rgba(255,255,255,0.7); }

.article { background: #fff; }
.article__body { max-width: 46rem; margin: 0 auto; }
.article__body h2 { font-size: 1.75rem; font-weight: 700; margin: 40px 0 14px; }
.article__body h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.article__body p { margin-bottom: 18px; font-size: 1.0625rem; line-height: 1.7; }
.article__body ul, .article__body ol { margin: 0 0 18px 24px; font-size: 1.0625rem; line-height: 1.7; }
.article__body li { margin-bottom: 8px; }
.article__body strong { color: var(--heading); }
.article__body blockquote {
  border-left: 4px solid var(--navy);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--heading);
}
.article__body table { border-collapse: collapse; width: 100%; margin: 0 0 24px; font-size: 0.9375rem; }
.article__body pre { overflow-x: auto; }
@media (max-width: 768px) {
  .article__body table { display: block; overflow-x: auto; }
}
.article__body th, .article__body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.article__body th { background: var(--bg-alt); }

.articlecta {
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}
.articlecta h2 { margin-bottom: 8px; font-size: 1.5rem; }
.articlecta p { color: var(--body); margin-bottom: 20px; }

/* faq accordions — utility batch */
.article__body details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.article__body details[open] { padding-bottom: 20px; }
.article__body summary {
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}
.article__body details[open] summary { margin-bottom: 12px; }
.article__body details > :last-child { margin-bottom: 0; }
.article__body details ul,
.article__body details ol { margin-top: 8px; }

/* Product screenshots on feature pages */
.productshot { background: #fff; padding: 56px 0 0; }
.productshot .appframe { max-width: 720px; margin: 0 auto; }
.productshot .film__caption { text-align: center; max-width: 720px; margin: 14px auto 0; }

/* Solution pages: connected-solutions band + centered trailing note */
.connected { background: var(--soft); }
.connected .guidehub__grid { max-width: 1080px; margin: 0 auto; }
.solution-note {
  text-align: center;
  color: var(--body-2);
  max-width: 40rem;
  margin: 28px auto 0;
  font-size: 1.0625rem;
}

/* Form submit feedback */
.form__success { font-weight: 600; font-size: 1.125rem; }
.cta .form__success { color: #fff; }
.form__hint { font-size: 0.875rem; color: var(--red); margin-top: 8px; }
.cta .form__hint { color: #ffd7d4; }
