/* =========================================================================
   SKUsafe marketing site - shared styles
   Grounded in the SKUsafe app design system (emerald + neutrals + Geist).
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500&display=swap");

:root {
  /* Palette - from app.css */
  --white: #ffffff;
  --n50: #fafafa;
  --n100: #f5f5f5;
  --n200: #e5e5e5;
  --n300: #d4d4d4;
  --n400: #a3a3a3;
  --n500: #737373;
  --n600: #525252;
  --n700: #404040;
  --n800: #262626;
  --n900: #171717;
  --n950: #0a0a0a;

  --em50: #ecfdf5;
  --em100: #d1fae5;
  --em200: #a7f3d0;
  --em300: #6ee7b7; /* brand-mint */
  --em500: #10b981;
  --em700: #047857;
  --em800: #065f46;
  --em900: #064e3b; /* primary */
  --em950: #022c22;

  --or50: #fff7ed;
  --or200: #fed7aa;
  --or300: #fdba74; /* brand-peach */
  --or500: #f97316;
  --or700: #c2410c;

  --am100: #fef3c7;
  --am500: #f59e0b;
  --am700: #b45309;

  --red50: #fef2f2;
  --red500: #ef4444;
  --red700: #b91c1c;

  --blue50: #eff6ff;
  --blue700: #1d4ed8;

  --purple50: #faf5ff;
  --purple600: #9333ea;

  /* Semantic */
  --primary: var(--em900);
  --bg: #fcfcf9; /* matches the app */
  --ink: var(--n900);
  --ink-2: var(--n700);
  --muted: var(--n500);
  --line: var(--n200);
  --card: #ffffff;

  /* Shadows (from app) */
  --shadow-sm: 0px 0px 15px -7px rgba(6, 10, 0, 0.3);
  --shadow-md: 0px 0px 25px -12px rgba(6, 10, 0, 0.3);
  --shadow-lg: 0px 0px 40px -20px rgba(6, 10, 0, 0.3);
  --shadow-row: 0px 0px 4px 3px rgba(0, 0, 0, 0.1);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --font:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;

  --max: 1200px;
  --max-wide: 1320px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--em900);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Typography ----------------------------------------------------*/
.display {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--em950);
  text-wrap: balance;
}
.display .accent {
  color: var(--em700);
  font-style: italic;
  font-weight: 500;
  font-family: "Fraunces", "Geist", serif;
}

h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  color: var(--em950);
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
  color: var(--em950);
  text-wrap: balance;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
  color: var(--em950);
}
h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
  color: var(--em950);
}
p {
  margin: 0;
  color: var(--ink-2);
}
.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--n700);
  max-width: 60ch;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--em700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--em500);
}

/* ---------- Buttons -------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition:
    background 120ms,
    color 120ms,
    border-color 120ms;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--em900);
  color: #f5fdf8;
}
.btn-primary:hover {
  background: var(--em950);
}
.btn-ghost {
  background: transparent;
  color: var(--em950);
  border-color: var(--n300);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--em900);
}
.btn-light {
  background: var(--white);
  color: var(--em900);
  border-color: var(--n200);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  border-color: var(--em500);
}
.btn-mint {
  background: var(--em300);
  color: var(--em950);
}
.btn-mint:hover {
  background: #5ddba8;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--em800);
  font-weight: 500;
  font-size: 14px;
}
.arrow-link:hover {
  text-decoration: none;
  color: var(--em950);
}
.arrow-link svg {
  transition: transform 150ms;
}
.arrow-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Layout containers --------------------------------------------*/
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 96px 0;
  position: relative;
}
section.tight {
  padding: 64px 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.surface-em {
  background: var(--em950);
  color: #e8f5ef;
}
.surface-em h1,
.surface-em h2,
.surface-em h3,
.surface-em h4 {
  color: #f0fdf4;
}
.surface-em p,
.surface-em .lede {
  color: #9cc9b2;
}
.surface-em .eyebrow {
  color: var(--em300);
}
.surface-em .eyebrow::before {
  background: var(--em300);
}

.surface-mint {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
}
.surface-sand {
  background: #f5f1ea;
}
.surface-paper {
  background: #fcfcf9;
}

/* ---------- Nav -----------------------------------------------------------*/
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 252, 249, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(20, 83, 45, 0.12);
  box-shadow:
    0 1px 0 rgba(20, 83, 45, 0.05),
    0 6px 20px -12px rgba(20, 83, 45, 0.25);
}
.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--em950);
  letter-spacing: -0.01em;
}
.nav-logo:hover {
  text-decoration: none;
}
.nav-logo .mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--em900);
}
.nav-logo .mark svg {
  width: 18px;
  height: 18px;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex: 1;
  margin-left: 12px;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--em950);
  font-weight: 600;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition:
    background 140ms ease,
    color 140ms ease;
}
.nav-link:hover {
  background: var(--em50);
  color: var(--em900);
  text-decoration: none;
}
.nav-link.active {
  color: var(--em900);
  background: var(--em50);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--em800);
}
.nav-cta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.nav-link svg.chev {
  width: 12px;
  height: 12px;
  opacity: 0.75;
}
.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--em950);
  cursor: pointer;
}
.nav-menu-toggle svg {
  width: 100%;
  height: 100%;
}
.nav-mobile {
  display: none;
}

/* Dropdown */
.nav-link-wrap {
  position: relative;
  flex: 0 0 auto;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -8px;
  margin-top: 8px;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 50;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-link-wrap:hover .nav-dropdown,
.nav-link-wrap:focus-within .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--n800);
}
.nav-dropdown a:hover {
  background: var(--em50);
  text-decoration: none;
}
.nav-dropdown .nd-title {
  font-weight: 500;
  font-size: 14px;
  color: var(--em950);
  display: block;
  line-height: 1.3;
}
.nav-dropdown .nd-sub {
  font-size: 12px;
  color: var(--n500);
  display: block;
  line-height: 1.4;
  margin-top: 2px;
}
.nav-dropdown .nd-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--em50);
  color: var(--em800);
  display: grid;
  place-items: center;
}
.nav-dropdown .nd-icon svg {
  width: 16px;
  height: 16px;
}
.nav-dropdown-wide {
  min-width: 560px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-link-wrap:hover .nav-dropdown-wide,
.nav-link-wrap:focus-within .nav-dropdown-wide {
  display: grid;
}
.nav-dropdown .nd-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n500);
  padding: 10px 12px 6px;
  margin: 0;
}

/* ---------- Footer --------------------------------------------------------*/
.footer {
  background: var(--em950);
  color: #9cc9b2;
  padding: 80px 0 40px;
  margin-top: 120px;
}
.footer h4 {
  color: #ecfdf5;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer a {
  color: #9cc9b2;
  font-size: 14px;
  display: block;
  padding: 4px 0;
}
.footer a:hover {
  color: #ecfdf5;
  text-decoration: none;
}
.footer-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  color: #79a692;
  font-size: 14px;
  max-width: 280px;
  margin-top: 16px;
}
.footer-bottom {
  max-width: var(--max-wide);
  margin: 56px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(110, 231, 183, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #79a692;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  color: #79a692;
  transition: color 0.15s ease;
}
.footer-social:hover {
  color: var(--em400, #34d399);
}

/* ---------- Cards ---------------------------------------------------------*/
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 150ms,
    transform 150ms,
    box-shadow 150ms;
}
.card.hoverable:hover {
  border-color: var(--em500);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--n600);
  font-size: 15px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.feature-card:hover {
  border-color: var(--em500);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.feature-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--em50);
  color: var(--em800);
  display: grid;
  place-items: center;
}
.feature-card .fc-icon svg {
  width: 20px;
  height: 20px;
}
.feature-card h3 {
  font-size: 18px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--n600);
}

/* Pill / badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--n700);
}
.pill-em {
  background: var(--em50);
  color: var(--em800);
  border-color: var(--em100);
}
.pill-ai {
  background: var(--purple50);
  color: var(--purple600);
  border-color: #e9d5ff;
}
.pill-peach {
  background: var(--or50);
  color: var(--or700);
  border-color: var(--or200);
}
.text-underline-em {
  text-decoration: underline;
  text-decoration-color: var(--em500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a.text-underline-em {
  color: inherit;
}

/* Feature list with checks */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--n700);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--em100)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23047857' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 10.5 8.5 14 15 7'/></svg>")
    center / 12px no-repeat;
  margin-top: 2px;
}

/* Section divider callout */
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.callout blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--em950);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.callout cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  color: var(--n500);
}

/* ---------- Utility -------------------------------------------------------*/
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.grid-5 > * {
  min-width: 0;
}
@media (max-width: 1100px) {
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .pricing-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-2 > [style*="span 2"] {
    grid-column: auto !important;
  }
  .callout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .nav-inner {
    gap: 12px;
  }
  .nav-logo {
    margin-right: auto;
  }
  .nav-menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .nav-mobile.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 28px 18px;
    border-top: 1px solid var(--line);
    background: rgba(252, 252, 249, 0.98);
  }
  .nav-mobile a {
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--em950);
    font-size: 14px;
    font-weight: 600;
  }
  .nav-mobile a:hover,
  .nav-mobile a.active {
    background: var(--em50);
    color: var(--em900);
    text-decoration: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .results-band {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .results-band > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
@media (max-width: 640px) {
  .grid-5,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .pricing-modules {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    padding: 12px 20px;
  }
  .nav-mobile.is-open {
    grid-template-columns: 1fr;
    padding: 8px 20px 16px;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 12px;
}
.gap-4 {
  gap: 16px;
}
.gap-6 {
  gap: 24px;
}
.mt-6 {
  margin-top: 24px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-12 {
  margin-top: 48px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 32px 0;
}

/* Screenshot frame (for hi-fi product mocks) */
.screenshot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    var(--shadow-lg),
    0 40px 80px -40px rgba(6, 78, 59, 0.25);
  overflow: hidden;
}
.screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fafaf7;
}
.screenshot-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--n300);
}
.screenshot-chrome .addr {
  flex: 1;
  margin-left: 8px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: var(--n500);
  font-family: var(--font-mono);
}

/* Animated dot */
@keyframes pulseMint {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--em500);
  animation: pulseMint 1.8s ease-out infinite;
}

/* Marquee of logos */
.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}
.logo-track .logo {
  flex: 0 0 auto;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.4) contrast(1.1);
  opacity: 0.55;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease;
}
.logo-track .logo:hover {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}
@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* legacy fallback */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
  opacity: 0.72;
}
.logo-strip .logo {
  height: 28px;
  color: var(--n500);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
@media (max-width: 900px) {
  .logo-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Stat block */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  color: var(--em950);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .lbl {
  color: var(--n500);
  font-size: 14px;
  margin-top: 8px;
}
@media (max-width: 800px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 16px;
  font-size: 13px;
}
.tweaks-panel.on {
  display: block;
}
.tweaks-panel h5 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--n500);
}
.tweaks-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.tweaks-row label {
  font-size: 12px;
  color: var(--n600);
  font-weight: 500;
}
.tweaks-row .swatches {
  display: flex;
  gap: 6px;
}
.tweaks-row .swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.tweaks-row .swatch.on {
  border-color: var(--n800);
}
.tweaks-row select,
.tweaks-row input[type="range"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  font: inherit;
}

/* ==== Forms (book-demo) ==== */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-row label {
  font-size: 12px;
  font-weight: 500;
  color: var(--n700);
  letter-spacing: 0.01em;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  border: 1px solid var(--n200);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--n900);
  background: #fff;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--em700);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}
.form-row textarea {
  resize: vertical;
  min-height: 72px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-top: 4px;
}
.check-grid label {
  font-size: 13px;
  color: var(--n700);
  font-weight: 400;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.check-grid input[type="checkbox"] {
  accent-color: var(--em900);
}

/* ==== Check list ==== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.45;
  padding-left: 26px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--em50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8l3 3 5-6' fill='none' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==== ROI calculator ==== */
.roi-field {
  margin-bottom: 22px;
}
.roi-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--n700);
  margin-bottom: 8px;
}
.roi-field input[type="range"] {
  width: 100%;
  accent-color: var(--em900);
}
.roi-field .roi-val {
  font-size: 13px;
  color: var(--n500);
  margin-top: 6px;
}
.roi-field .roi-val b {
  color: var(--n900);
  font-weight: 600;
}
.roi-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.roi-radios label {
  font-size: 13px;
  color: var(--n700);
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
  cursor: pointer;
}
.roi-radios input[type="radio"] {
  accent-color: var(--em900);
}
@media (max-width: 860px) {
  #roi-inputs + #roi-output,
  .card[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==== Case study body ==== */
.case-body {
  color: var(--n800);
  font-size: 17px;
  line-height: 1.7;
}
.case-body p {
  margin: 16px 0;
}
.case-body h3 {
  margin: 40px 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--n900);
}
.case-body ul {
  margin: 14px 0;
  padding-left: 22px;
}
.case-body li {
  margin: 8px 0;
}
.case-body li ul {
  margin: 8px 0;
}
.case-body i,
.case-body em {
  color: var(--n700);
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==== Logo image ==== */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav .logo-img {
  height: 48px;
}
.footer .logo-img-footer {
  height: 26px;
  width: auto;
}

/* ==== Legal pages (Privacy, Terms, Security) ==== */
.legal-hero {
  padding: 96px 0 8px;
  background: var(--bg);
}
.legal-hero .eyebrow {
  color: var(--em800);
}
.legal-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--em950);
  font-weight: 700;
  margin: 14px 0 12px;
}
.legal-hero .meta {
  color: var(--n500);
  font-size: 14px;
}
.legal-body {
  padding: 16px 0 96px;
}
.legal-body .container-narrow {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.legal-body .case-body h2 {
  margin: 40px 0 12px;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--em950);
  font-weight: 600;
}
.legal-body .case-body h2:first-child {
  margin-top: 0;
}
.legal-body .case-body h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  color: var(--n900);
  font-weight: 600;
}
.legal-body .case-body p {
  margin: 14px 0;
}
.legal-body .case-body ul,
.legal-body .case-body ol {
  padding-left: 22px;
  margin: 12px 0;
}
.legal-body .case-body ul > li,
.legal-body .case-body ol > li {
  margin: 6px 0;
}
.legal-body .case-body strong {
  color: var(--n900);
  font-weight: 600;
}
.legal-body .case-body a {
  word-break: break-word;
}
.legal-body .upper {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
  color: var(--n600);
}
.legal-body .case-body .upper-block {
  background: var(--n50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--n700);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 20px 0;
}
.legal-toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal-toc h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--n500);
  margin-bottom: 12px;
}
.legal-toc ol {
  padding-left: 18px;
  margin: 0;
  font-size: 13px;
}
.legal-toc ol li {
  margin: 4px 0;
}
.legal-toc a {
  color: var(--em900);
}
@media (max-width: 880px) {
  .legal-body .container-narrow {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }
  .legal-toc ol {
    columns: 2;
    column-gap: 32px;
  }
}

/* Book a demo page */
.demo-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.demo-form-card {
  padding: 36px;
}
.demo-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .demo-form-card {
    position: static;
    padding: 24px;
  }
  .demo-h1 {
    font-size: clamp(30px, 7vw, 40px) !important;
  }
  .demo-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  section.demo-section {
    padding: 40px 0 32px !important;
  }
}
@media (max-width: 480px) {
  .demo-form-card {
    padding: 20px;
    border-radius: 14px;
  }
  section.demo-section .check-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Product mockups (flat vector UI snapshots) --------------------*/
.pm {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 12px;
  color: var(--ink-2);
  width: 100%;
}
.pm-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--n50);
  border-bottom: 1px solid var(--line);
}
.pm-bar .pm-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--n300);
}
.pm-bar .pm-title {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--n500);
}
.pm-body {
  padding: 16px;
  display: grid;
  gap: 14px;
  background: var(--card);
}
.pm-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.pm-panel.tintless {
  background: var(--bg);
}
.pm-h {
  font-size: 12px;
  font-weight: 650;
  color: var(--em950);
  margin: 0 0 8px;
}
.pm-sub {
  font-size: 11px;
  color: var(--muted);
}
.pm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--n100);
}
.pm-row:last-child {
  border-bottom: 0;
}
.pm-k {
  color: var(--muted);
}
.pm-v {
  color: var(--ink);
  font-weight: 550;
}
.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pm-badge.ok {
  background: var(--em50);
  color: var(--em800);
  border: 1px solid var(--em200);
}
.pm-badge.warn {
  background: var(--am100);
  color: var(--am700);
  border: 1px solid #fcd34d;
}
.pm-badge.neutral {
  background: var(--n100);
  color: var(--n600);
  border: 1px solid var(--line);
}
.pm-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--em900);
  color: var(--em50);
}
.pm-grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
}
.pm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}
.pm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.pm-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--n500);
  font-weight: 600;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
}
.pm-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--n100);
  color: var(--ink);
}
.pm-table td.num,
.pm-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pm-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pm-check li {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--em800);
}
.pm-check li svg {
  flex: 0 0 auto;
  color: var(--em500);
}
.pm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pm-steps {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pm-step {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 10.5px;
  color: var(--muted);
}
.pm-step.done {
  background: var(--em50);
  border-color: var(--em200);
  color: var(--em800);
  font-weight: 600;
}
.pm-step.now {
  background: var(--em900);
  border-color: var(--em900);
  color: #fff;
  font-weight: 650;
}
.pm-conn {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: stretch;
  position: relative;
}
.pm-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.pm-mini .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--n500);
  font-weight: 600;
}
.pm-bars {
  display: grid;
  gap: 4px;
}
.pm-bars i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--n200);
}
.pm-bars i.a {
  background: var(--em200);
}
.pm-bars i.b {
  background: var(--em500);
}
.pm-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--em100);
  color: var(--em800);
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 700;
}
.pm-label {
  border: 2px solid var(--n900);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: var(--n900);
  max-width: 300px;
  width: 100%;
  align-self: start;
  justify-self: start;
}
.pm-label .nf-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pm-label .nf-rule {
  height: 6px;
  background: var(--n900);
  margin: 5px 0;
}
.pm-label .nf-thin {
  height: 1px;
  background: var(--n900);
  margin: 3px 0;
}
.pm-label .nf-line {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  padding: 1.5px 0;
}
.pm-label .nf-line b {
  font-weight: 700;
}
.pm-swatch {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(
    135deg,
    var(--em900) 0 42%,
    var(--em500) 42% 60%,
    var(--em50) 60% 100%
  );
  min-height: 92px;
}
@media (max-width: 640px) {
  .pm-grid-2,
  .pm-conn,
  .pm-grid-4 {
    grid-template-columns: 1fr;
  }
  .pm-steps {
    flex-wrap: wrap;
  }
  .pm-step {
    flex: 1 1 40%;
  }
}

/* Results band (homepage) */
.results-band {
}
@media (max-width: 800px) {
  .results-band {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
}

/* ---------- Motion & interaction polish ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
.reveal-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 500ms cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 500ms cubic-bezier(0.16, 0.84, 0.44, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.card,
.feature-card,
.outcome-tile,
.pricing-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.card.hoverable:hover,
.feature-card:hover,
.outcome-tile:hover,
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--em500);
}
.btn-primary svg,
.btn-lg svg {
  transition: transform 160ms ease;
}
.btn-primary:hover svg,
.btn-lg:hover svg {
  transform: translateX(3px);
}
.nav-dropdown a {
  transition: background-color 160ms ease;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card.hoverable:hover,
  .feature-card:hover,
  .outcome-tile:hover,
  .pricing-card:hover {
    transform: none;
  }
  .btn-primary:hover svg,
  .btn-lg:hover svg {
    transform: none;
  }
  .logo-track {
    animation: none !important;
  }
}

.btn .btn-arrow,
.arrow-link .btn-arrow {
  display: inline-block;
  transition: transform 160ms ease;
}
.btn:hover .btn-arrow,
.arrow-link:hover .btn-arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover .btn-arrow,
  .arrow-link:hover .btn-arrow {
    transform: none;
  }
}
/* ---------- ProductMockup entrance animation (mirror of src/styles.css) */
/* ---------- ProductMockup entrance animation ---------------------------- */
/* Initial states apply only once JS has marked the mockup (.pm-anim), so
   no-JS and reduced-motion visitors always see the final state. */
.pm.pm-anim .pm-badge {
  opacity: 0;
  transform: translateY(3px);
}
.pm.pm-in .pm-badge {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease var(--pm-d, 0.25s),
    transform 0.55s ease var(--pm-d, 0.25s);
}
.pm.pm-anim .pm-badge svg path,
.pm.pm-anim .pm-check li svg path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
}
.pm.pm-in .pm-badge svg path,
.pm.pm-in .pm-check li svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s ease var(--pm-d, 0.1s);
}
.pm.pm-anim .pm-conn > .pm-mini {
  opacity: 0.25;
  transform: translateY(4px);
}
.pm.pm-in .pm-conn > .pm-mini {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease var(--pm-d, 0s),
    transform 0.5s ease var(--pm-d, 0s);
}
.pm.pm-anim .pm-check li {
  opacity: 0;
  transform: translateY(4px);
}
.pm.pm-in .pm-check li {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease var(--pm-d, 0s),
    transform 0.45s ease var(--pm-d, 0s);
}
@keyframes pmFlash {
  0% {
    background: var(--em50);
  }
  100% {
    background: transparent;
  }
}
.pm.pm-in .pm-row.pm-flash {
  animation: pmFlash 0.8s ease 0.35s both;
}
@media (prefers-reduced-motion: reduce) {
  .pm.pm-anim .pm-badge,
  .pm.pm-anim .pm-conn > .pm-mini,
  .pm.pm-anim .pm-check li {
    opacity: 1;
    transform: none;
  }
  .pm.pm-anim .pm-badge svg path,
  .pm.pm-anim .pm-check li svg path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
  .pm.pm-in .pm-row.pm-flash {
    animation: none;
  }
}

/* ---------- Hub-and-spoke partner diagram (hero art) ---------------------- */
.pm-hub {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.pm-hub svg {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
}

.pm-hub .hub-ring {
  stroke: var(--em200, #a7f3d0);
  stroke-width: 1;
  opacity: 0.5;
}
.pm-hub.pm-anim .hub-ring {
  opacity: 0;
}
.pm-hub.pm-in .hub-ring {
  opacity: 0.5;
  transition: opacity 0.6s ease calc(var(--d, 0ms) + 700ms);
}
.pm-hub .hub-spoke {
  stroke: var(--em300);
  stroke-width: 1.5;
}
/* Initial states only once JS marks the mockup; spokes draw outward from the
   center one at a time, then chips fade in. Reduced-motion / no-JS users see
   the final state. */
.pm-hub.pm-anim .hub-spoke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.pm-hub.pm-in .hub-spoke {
  stroke-dashoffset: 0;
  opacity: 1;
  transition:
    stroke-dashoffset 0.6s ease var(--d, 0ms),
    opacity 0.2s ease var(--d, 0ms);
}
.pm-hub.pm-anim .hub-arrow {
  opacity: 0;
}
.pm-hub.pm-in .hub-arrow {
  opacity: 1;
  transition: opacity 0.4s ease calc(var(--d, 0ms) + 450ms);
}
.pm-hub.pm-anim .hub-chip {
  opacity: 0;
  transform: translateY(5px);
}
.pm-hub.pm-in .hub-chip {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease calc(var(--d, 0ms) + 280ms),
    transform 0.45s ease calc(var(--d, 0ms) + 280ms);
}
@media (prefers-reduced-motion: reduce) {
  .pm-hub.pm-anim .hub-spoke,
  .pm-hub.pm-anim .hub-ring,
  .pm-hub.pm-anim .hub-arrow,
  .pm-hub.pm-anim .hub-chip {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
    transition: none;
  }
}
