/* Callivex — wholesale voice for ITSPs, contact centers, resellers.
 * Theme: light fintech minimalism, deep emerald accent, refined typographic scale.
 */

:root {
  /* Surfaces */
  --bg:           #fafaf6;
  --bg-elev:      #ffffff;
  --bg-card:      #ffffff;
  --bg-soft:      #f3f3ed;
  --bg-inline:    #ecede5;

  /* Lines */
  --border:        rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.13);
  --border-em:     rgba(14, 138, 95, 0.30);

  /* Type */
  --text:        #0c1119;
  --text-mute:   #3c4654;
  --text-dim:    #6e7785;
  --text-faint:  #9aa3b0;

  /* Accent (emerald) */
  --accent:        #0e8a5f;
  --accent-hi:     #13a672;
  --accent-deep:   #0a6a48;
  --accent-soft:   rgba(14, 138, 95, 0.07);
  --accent-mid:    rgba(14, 138, 95, 0.16);
  --accent-glow:   rgba(14, 138, 95, 0.28);

  /* Status */
  --success: #0e8a5f;
  --warn:    #b87a14;
  --err:     #c0382b;
  --info:    #1e5fff;

  /* Type stacks */
  --font-sans: 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px -16px rgba(15, 23, 42, 0.18), 0 4px 12px -6px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 28px 56px -28px rgba(15, 23, 42, 0.20), 0 12px 24px -12px rgba(15, 23, 42, 0.08);
  --shadow-em: 0 8px 28px -10px rgba(14, 138, 95, 0.30);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

@supports (font-variation-settings: normal) {
  :root { --font-sans: 'Inter var', 'Inter', system-ui, sans-serif; }
}

* { box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100dvh;
}

/* Subtle dot grid + warm wash */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 70%);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 30% at 18% -8%, rgba(14, 138, 95, 0.08), transparent 60%),
    radial-gradient(ellipse 35% 22% at 92% -2%, rgba(30, 95, 255, 0.04), transparent 65%);
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color .18s var(--ease-out); }
a:hover { color: var(--accent); }
::selection { background: var(--accent-mid); color: var(--text); }

img, svg { display: block; max-width: 100%; }

.container     { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-sm  { max-width: 760px;  margin: 0 auto; padding: 0 28px; }
.container-md  { max-width: 980px;  margin: 0 auto; padding: 0 28px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.site-header[data-scrolled="1"] {
  background: rgba(250, 250, 246, 0.92);
  border-bottom-color: var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: -0.015em; transition: opacity .2s var(--ease-out); }
.brand:hover { opacity: 0.78; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background-image: url('/icons/logo-mark.svg');
  background-size: contain; background-repeat: no-repeat;
  flex-shrink: 0;
}
.brand-text { font-size: 18px; color: var(--text); }
.brand-tagline {
  font-size: 11px; color: var(--text-dim); letter-spacing: 0.10em; text-transform: uppercase;
  border-left: 1px solid var(--border-strong); padding-left: 12px; margin-left: 6px; font-weight: 500;
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a {
  color: var(--text-mute);
  position: relative;
  font-weight: 500;
  transition: color .18s var(--ease-out);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-weight: 550;
  transition: background .18s var(--ease-out), transform .15s var(--ease-out);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border-strong);
  color: var(--text); padding: 5px 11px; border-radius: var(--r-sm); cursor: pointer; font-size: 18px;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 16px; right: 16px;
    background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r);
    flex-direction: column; align-items: stretch; padding: 14px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 10px; border-radius: var(--r-sm); font-size: 15px; }
  .nav-links a:hover { background: var(--bg-soft); }
  .nav-links a::after { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 96px 0 72px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--border-em);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}
@keyframes pulse-dot {
  0%, 60%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  30% { box-shadow: 0 0 0 6px transparent; }
}

h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.030em;
  margin: 0 0 26px;
  font-weight: 700;
  color: var(--text);
}
h1 .accent {
  color: var(--accent);
  font-style: normal;
}
h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-mute);
  max-width: 580px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero side panel — stylised live-CDR card */
.hero-side {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-side::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(160deg, var(--accent-soft) 0%, transparent 35%);
  pointer-events: none;
  border-radius: inherit;
}
.hero-side > * { position: relative; }
.hero-side h3 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.hero-side h3 .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s var(--ease-out) infinite;
}

.cdr-feed { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; }
.cdr-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-mute);
  opacity: 0;
  transform: translateY(8px);
  animation: row-in .5s var(--ease-out) forwards;
}
.cdr-row:nth-child(1) { animation-delay: .15s; }
.cdr-row:nth-child(2) { animation-delay: .35s; }
.cdr-row:nth-child(3) { animation-delay: .55s; }
.cdr-row:nth-child(4) { animation-delay: .75s; }
.cdr-row:nth-child(5) { animation-delay: .95s; }
@keyframes row-in {
  to { opacity: 1; transform: translateY(0); }
}
.cdr-row .num { color: var(--text); font-weight: 500; }
.cdr-row .pill { color: var(--accent-deep); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.cdr-summary {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-strong);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px;
}
.cdr-summary .lbl { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.cdr-summary .val { color: var(--text); font-weight: 600; font-family: var(--font-mono); font-size: 14px; }

@media (max-width: 880px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { order: 2; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r);
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text); color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-deep); color: var(--bg);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-elev); color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-soft); border-color: var(--text);
  color: var(--text); transform: translateY(-1px);
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px; flex-wrap: wrap;
}
.section-head .lead-col { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
}
.section-head p {
  margin: 0; color: var(--text-mute); font-size: 17px; max-width: 620px; line-height: 1.55;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .22s var(--ease-out), border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--border-em);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 18px;
  font-size: 18px;
  transition: transform .25s var(--ease-spring);
}
.card:hover .ic { transform: scale(1.06) rotate(-2deg); }
.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 650;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.55;
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-deep);
  position: relative;
}
.card-link::after {
  content: '→';
  transition: transform .2s var(--ease-out);
}
.card-link:hover { color: var(--accent); }
.card-link:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Feature alt rows
   ========================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature h3 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.022em;
  line-height: 1.18;
  font-weight: 700;
}
.feature p { margin: 0 0 14px; color: var(--text-mute); font-size: 16.5px; line-height: 1.6; }
.feature ul {
  margin: 18px 0 0; padding: 0; list-style: none;
  color: var(--text-mute); font-size: 15px;
}
.feature ul li {
  margin: 10px 0; padding-left: 22px; position: relative; line-height: 1.55;
}
.feature ul li::before {
  content: '';
  position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg);
}
.feature-mock {
  background: var(--text); color: #d8dde4;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.feature-mock::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 36px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feature-mock::after {
  content: '● ● ●';
  position: absolute; top: 12px; left: 16px;
  color: rgba(255,255,255,0.16); letter-spacing: 4px; font-size: 9px;
}
.feature-mock { padding-top: 50px; }
.feature-mock .k { color: #6fcc9e; }
.feature-mock .s { color: #f7c97a; }
.feature-mock .c { color: #6e7785; font-style: italic; }

@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature-img-r { order: -1; }
  .feature h3 { font-size: 24px; }
}

/* ==========================================================================
   Tables
   ========================================================================== */
.tbl-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl th {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  background: var(--bg-soft);
}
.tbl tr:hover td { background: var(--bg-soft); }
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid var(--border-em);
  font-weight: 600;
}
.tag.muted {
  background: var(--bg-soft);
  color: var(--text-dim);
  border-color: var(--border);
}

/* ==========================================================================
   Page heads (non-home)
   ========================================================================== */
.page-head {
  padding: 88px 0 36px;
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  margin: 0 0 16px;
  line-height: 1.08;
}
.page-head p {
  margin: 0;
  max-width: 740px;
  color: var(--text-mute);
  font-size: 18px;
  line-height: 1.55;
}
.page-head .crumbs {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.page-head .crumbs a { color: var(--text-dim); }
.page-head .crumbs a:hover { color: var(--accent); }

/* ==========================================================================
   Long-form prose (legal, about)
   ========================================================================== */
.prose {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.75;
}
.prose h2 {
  color: var(--text); font-size: 24px;
  margin: 44px 0 14px; letter-spacing: -0.015em; font-weight: 700;
}
.prose h3 {
  color: var(--text); font-size: 18px;
  margin: 28px 0 8px; font-weight: 650;
}
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 24px; }
.prose li { margin: 8px 0; }
.prose code {
  background: var(--bg-inline);
  padding: 2px 7px; border-radius: 4px;
  font-size: 13.5px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
}
.prose blockquote {
  margin: 22px 0;
  padding: 14px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--text-mute);
}
.prose hr {
  border: 0; border-top: 1px solid var(--border);
  margin: 32px 0;
}
.prose strong { color: var(--text); font-weight: 650; }
.prose a {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--border-em);
  font-weight: 500;
}
.prose a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ==========================================================================
   CTA strip
   ========================================================================== */
.cta-strip {
  background:
    linear-gradient(135deg, rgba(14,138,95,0.10) 0%, rgba(14,138,95,0.02) 60%),
    var(--bg-elev);
  border: 1px solid var(--border-em);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; right: -80px; top: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.020em;
  font-weight: 700;
}
.cta-strip p { margin: 0; color: var(--text-mute); font-size: 16px; max-width: 580px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 88px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-col h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  font-weight: 700;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-mute);
  font-size: 14.5px;
  transition: color .15s var(--ease-out), padding-left .15s var(--ease-out);
}
.foot-col a:hover { color: var(--accent-deep); padding-left: 4px; }
.foot-col p { margin: 0; color: var(--text-mute); font-size: 14.5px; line-height: 1.55; }
.foot-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--text-dim); flex-wrap: wrap;
}
.foot-bottom span { font-feature-settings: 'tnum'; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; gap: 16px; max-width: 580px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px; color: var(--text-mute); font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font: inherit; font-size: 15.5px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  resize: vertical;
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ==========================================================================
   Misc helpers
   ========================================================================== */
.muted { color: var(--text-dim); }
.center { text-align: center; }
.kbd {
  background: var(--bg-inline);
  border: 1px solid var(--border-strong);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mute);
}
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ==========================================================================
   Hero stats inline (under hero-grid)
   ========================================================================== */
.hero-stats-inline {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-inline .num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
}
.stat-inline .lbl {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hero-stats-inline { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}

/* ==========================================================================
   Logo strip / "as seen with" (optional placeholder for trust signals)
   ========================================================================== */
.logo-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.logo-strip p {
  margin: 0 0 18px; text-align: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--text-dim); font-weight: 600;
}
.logo-strip-row {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 48px; opacity: 0.55;
}
.logo-strip-row span {
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--text-dim);
}

/* ==========================================================================
   Scroll-reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"].is-revealed { transition-delay: 0.08s; }
[data-reveal-delay="2"].is-revealed { transition-delay: 0.16s; }
[data-reveal-delay="3"].is-revealed { transition-delay: 0.24s; }
[data-reveal-delay="4"].is-revealed { transition-delay: 0.32s; }
[data-reveal-delay="5"].is-revealed { transition-delay: 0.40s; }
[data-reveal-delay="6"].is-revealed { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
