/* ==========================================================================
   VetALM marketing site
   Palette and tokens mirror the application theme (navy + steel blue).
   ========================================================================== */

:root {
  --navy-950: #081625;
  --navy-900: #0d2137;
  --navy-800: #122b46;
  --navy-700: #1a3a5c;
  --navy-600: #244c74;
  --steel-600: #2f5f93;
  --steel-500: #3f74ad;
  --steel-400: #5d93c9;
  --steel-300: #8fb6dd;
  --steel-200: #b9d3ea;
  --sky: #e8f1fa;

  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --ink: #16243a;
  --muted: #5a6b80;
  --line: #e2e9f1;
  --line-dark: rgba(143, 182, 221, 0.16);

  --high: #c0392b;
  --med: #c77c1a;
  --low: #2e7d5b;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 33, 55, 0.06), 0 2px 8px rgba(13, 33, 55, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 33, 55, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 33, 55, 0.16);
  --shadow-xl: 0 40px 90px rgba(8, 22, 37, 0.28);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: var(--navy-900);
  letter-spacing: -0.023em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }
a { color: var(--steel-600); text-decoration: none; }
a:hover { color: var(--steel-500); }
img, svg { max-width: 100%; display: block; }
code, .mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--steel-400); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 27px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--steel-600), var(--navy-700));
  color: #fff; box-shadow: 0 8px 22px rgba(26, 58, 92, 0.28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(26, 58, 92, 0.36); }

.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { color: var(--navy-900); border-color: var(--steel-300); background: var(--sky); }

.btn-on-dark { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-on-dark:hover { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.brand-vet { color: var(--navy-900); }
.brand-alm { color: var(--steel-500); }
.brand-name-light .brand-vet { color: #fff; }
.brand-alm-light { color: var(--steel-300); }

.main-nav { display: flex; gap: 26px; margin-left: 6px; }
.main-nav a { color: var(--navy-800); font-size: 0.93rem; font-weight: 500; }
.main-nav a:hover { color: var(--steel-600); }
.main-nav a.is-current { color: var(--steel-600); font-weight: 600; }

.header-cta { display: flex; gap: 10px; margin-left: auto; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; margin: 4px 0; transition: 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 11px 0; color: var(--navy-800); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; }
.mobile-nav.is-open { display: flex; }

/* --------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% -12%, rgba(95, 147, 201, 0.35), transparent 62%),
    radial-gradient(700px 420px at 4% 8%, rgba(47, 95, 147, 0.3), transparent 58%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 182, 221, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 182, 221, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(1000px 620px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 620px at 50% 0%, #000 20%, transparent 78%);
}
.hero > .container { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 19ch; }
.hero-copy { max-width: 780px; }
.grad-text {
  background: linear-gradient(100deg, var(--steel-300), var(--steel-200) 45%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(232, 241, 250, 0.86); max-width: 62ch; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700;
  color: var(--steel-500); margin: 0 0 14px;
}
.hero .eyebrow { color: var(--steel-300); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }

.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { font-size: 0.92rem; color: rgba(232, 241, 250, 0.8); }
.tick { color: var(--steel-300); font-weight: 700; }

/* browser-framed product shot */
.shot {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid rgba(143, 182, 221, 0.25);
  box-shadow: var(--shadow-xl);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: linear-gradient(180deg, #f7fafd, #eef4fa);
  border-bottom: 1px solid var(--line);
}
.shot-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d7e1ec; }
.shot-url {
  margin-left: 10px; font-size: 0.72rem; color: var(--muted); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.shot img { width: 100%; height: auto; }
.shot-caption { font-size: 0.83rem; color: var(--muted); margin: 12px 2px 0; }
.section-dark .shot-caption { color: rgba(232, 241, 250, 0.6); }

.hero-shot { margin-top: clamp(44px, 6vw, 68px); transform: translateY(clamp(24px, 4vw, 44px)); }
.hero-shot .shot { border-color: rgba(143, 182, 221, 0.3); }

/* --------------------------------------------------------------- trust */

.trust { background: var(--navy-950); color: #fff; padding: clamp(70px, 8vw, 96px) 0 34px; }
.trust-label {
  text-align: center; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-300); font-weight: 600; margin-bottom: 18px;
}
.trust-logos {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 14px; margin: 0; padding: 0;
}
.trust-logos li {
  font-size: 0.83rem; font-weight: 600; color: rgba(232, 241, 250, 0.82);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 16px;
  background: rgba(143, 182, 221, 0.05);
}

/* --------------------------------------------------------------- sections */

.section { padding: clamp(66px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: rgba(232, 241, 250, 0.82);
}

.section-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 58px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-sub { color: var(--muted); font-size: 1.04rem; margin: 0; }
.section-head-light h2 { color: #fff; }
.section-head-light .section-sub { color: rgba(232, 241, 250, 0.72); }
.section-head-light .eyebrow { color: var(--steel-300); }

/* --------------------------------------------------------------- cards */

.card-grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--steel-300); }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.card-ico {
  width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 11px; background: var(--sky); color: var(--steel-600); font-size: 1.1rem;
  border: 1px solid rgba(95, 147, 201, 0.2);
}

/* --------------------------------------------------------------- audience split */

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.aud-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.aud-card.is-primary { border-color: var(--steel-400); box-shadow: var(--shadow-md); }
.aud-tag {
  display: inline-block; align-self: flex-start; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-600);
  background: var(--sky); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.aud-card h3 { font-size: 1.42rem; letter-spacing: -0.02em; }
.aud-card > p { color: var(--muted); }
/* Ticked lists position the mark absolutely rather than making the <li> a flex
   container: a flex/grid <li> turns every inline child (an <em>, a <strong>)
   into its own item, which shreds the sentence into columns. */
.ticked li { position: relative; padding-left: 24px; }
.ticked .tick { position: absolute; left: 0; top: 0; }

.aud-list { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 11px; }
.aud-list li { font-size: 0.94rem; color: var(--ink); }
.aud-list .tick { color: var(--steel-500); }
.aud-card .btn { align-self: flex-start; margin-top: auto; }

/* --------------------------------------------------------------- feature rows */

.feature-row {
  display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(32px, 5vw, 62px);
  align-items: center; padding: clamp(38px, 5vw, 58px) 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.is-flipped .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.022em; }
.feature-copy p { color: var(--muted); }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { font-size: 0.93rem; color: var(--ink); }
.feature-list .tick { color: var(--steel-500); }
.step-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-600);
  margin-bottom: 12px;
}
.step-badge b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  background: var(--navy-700); color: #fff; font-size: 0.72rem;
}

/* --------------------------------------------------------------- pipeline */

.flow-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.flow-step {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--navy-800); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow-sm);
}
.flow-step .flow-num {
  display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: var(--sky); color: var(--steel-600); font-size: 0.68rem; font-weight: 700;
}
.flow-step.is-hitl { border-color: var(--steel-400); background: var(--sky); color: var(--navy-900); }
.flow-step.is-hitl .flow-num { background: var(--steel-600); color: #fff; }

/* --------------------------------------------------------------- rules table */

.rules-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.rules-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.92rem; }
.rules-table th {
  text-align: left; padding: 14px 18px; background: var(--bg-soft); color: var(--navy-800);
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.rules-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.rules-table tr:last-child td { border-bottom: 0; }
.rules-table td:first-child { color: var(--navy-900); font-weight: 600; }
.rules-table code { font-size: 0.76rem; color: var(--steel-600); display: block; font-weight: 500; margin-top: 3px; }

.pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; border-radius: 999px; padding: 4px 10px; text-transform: uppercase; }
.pill.d { background: #eaf2fa; color: var(--steel-600); }
.pill.h { background: #f0ecfa; color: #6a4fa8; }

.sev { display: inline-block; font-size: 0.7rem; font-weight: 700; border-radius: 999px; padding: 4px 11px; }
.sev-high { background: #fdecea; color: var(--high); }
.sev-med { background: #fdf4e6; color: var(--med); }
.sev-low { background: #e9f6f0; color: var(--low); }

.table-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* --------------------------------------------------------------- dark-section variants */

.chal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.chal-metric {
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px;
  background: rgba(143, 182, 221, 0.06);
}
.chal-metric b { display: block; font-size: 1.4rem; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.chal-metric span { font-size: 0.83rem; color: rgba(232, 241, 250, 0.66); }

.section-dark .shot { border-color: rgba(143, 182, 221, 0.22); }
.section-dark .feature-row + .feature-row { border-top-color: var(--line-dark); }
.section-dark h3 { color: #fff; }
.section-dark .feature-copy p { color: rgba(232, 241, 250, 0.72); }
.section-dark .feature-list li { color: rgba(232, 241, 250, 0.84); }
.section-dark .feature-list .tick,
.section-dark .step-badge { color: var(--steel-300); }
.section-dark .step-badge b { background: var(--steel-600); }

/* --------------------------------------------------------------- security */

.sec-card {
  background: rgba(143, 182, 221, 0.06); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 24px 22px;
}
.sec-card h3 { color: #fff; font-size: 1.04rem; margin-bottom: 8px; }
.sec-card p { color: rgba(232, 241, 250, 0.7); font-size: 0.92rem; margin: 0; }
.disclaimer { margin-top: 26px; font-size: 0.84rem; color: rgba(232, 241, 250, 0.55); text-align: center; }

/* --------------------------------------------------------------- stats */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block; font-size: clamp(1.5rem, 2.5vw, 1.95rem); font-weight: 800;
  color: var(--navy-900); letter-spacing: -0.03em; line-height: 1.15;
}
.stat-num .arrow { color: var(--steel-400); font-weight: 500; }
.stat-label { display: block; margin-top: 9px; font-size: 0.87rem; color: var(--muted); }

/* --------------------------------------------------------------- FAQ */

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--steel-500); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }

/* --------------------------------------------------------------- CTA */

.cta-section { background: var(--bg-soft); }
.cta-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 60px);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius-lg); padding: clamp(34px, 4.5vw, 56px);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(232, 241, 250, 0.76); }
.cta-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-list li { font-size: 0.93rem; color: rgba(232, 241, 250, 0.88); }
.cta-list .tick { color: var(--steel-300); }

.cta-form { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.94rem; color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--steel-400); box-shadow: 0 0 0 3px rgba(95, 147, 201, 0.18); }
.form-fallback { font-size: 0.82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Honeypot. Off-screen rather than display:none, because some bots skip hidden fields,
   and screen readers get aria-hidden on the wrapper instead. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- demo page */

/* The hero has no bottom padding because every other page hangs a product shot
   off it. The demo hero is copy-only, so it has to close itself. */
.hero-compact { padding-bottom: clamp(56px, 7vw, 88px); }
.hero-compact h1 { max-width: 24ch; }

.demo-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.demo-aside h2 { font-size: 1.25rem; }
.demo-aside .feature-list { margin-top: 18px; }
.info-box {
  margin-top: 28px; padding: 16px 18px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--muted);
}
.demo-grid .cta-form { border: 1px solid var(--line); }
.demo-grid .cta-form h2 { font-size: 1.2rem; margin-bottom: 4px; }
.form-sub { font-size: 0.89rem; color: var(--muted); margin: 0 0 20px; }

/* --------------------------------------------------------------- footer */

.site-footer { background: var(--navy-950); color: rgba(232, 241, 250, 0.7); padding: 56px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 40px; }
.footer-tag { font-size: 0.9rem; color: rgba(232, 241, 250, 0.6); margin-top: 14px; max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-nav h4 { color: #fff; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-nav a { display: block; color: rgba(232, 241, 250, 0.68); font-size: 0.9rem; padding: 4px 0; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  font-size: 0.82rem; color: rgba(232, 241, 250, 0.5);
}
.footer-bottom p { margin: 0; }
.footer-fine { font-style: italic; }

/* --------------------------------------------------------------- reveal */

/* Only hide reveal elements when JS is present to un-hide them again. Otherwise
   a blocked or failed script would leave half the page invisible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.is-flipped .feature-copy { order: 0; }
  .cta-card, .demo-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .audience-grid { grid-template-columns: 1fr; }
  .chal-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .stats { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .hero-shot { transform: translateY(20px); }
  .shot-url { display: none; }
}
