/* ============================================================
   Aqaris · Design System
   Brand: pastel violet #6F4AC9 · indigo #463084 · soft blue #3A7BD0
   Type: Nunito (active display + body face; brand fonts load via Google Fonts in HTML)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand · softened pastel (same hues, lighter & easier on the eyes) */
  --c-primary:        #6F4AC9;
  --c-primary-deep:   #463084;
  --c-action:         #3A7BD0;
  --c-white:          #FFFFFF;
  --c-black:          #000000;
  --c-bg:             #FAF8FE;   /* soft pastel page background (not stark white) */

  /* Ink · softened from near-black to dark slate (gentler contrast) */
  --c-ink-900:        #232036;
  --c-ink-700:        #3C3756;
  --c-ink-600:        #595273;
  --c-ink-400:        #847FA0;
  --c-ink-300:        #A6A2BA;
  --c-ink-200:        #CEC9DC;

  /* Surfaces · pastel lavender tints */
  --c-surface:        #FFFFFF;
  --c-surface-50:     #F6F3FC;
  --c-surface-100:    #ECE6F8;
  --c-surface-200:    #DCD4F0;

  /* Status · slightly softened */
  --c-success:        #2E9E6A;
  --c-warning:        #E0A93A;
  --c-danger:         #D5564F;

  /* Signature gradient · the "Aqaris Sweep" (softened pastel) */
  --gradient-sweep:   linear-gradient(135deg, #463084 0%, #6F4AC9 55%, #5B93DE 100%);
  --gradient-sweep-soft: linear-gradient(135deg, rgba(111,74,201,0.06) 0%, rgba(111,74,201,0.08) 55%, rgba(91,147,222,0.06) 100%);
  --gradient-text:    linear-gradient(135deg, #6F4AC9 0%, #3A7BD0 100%);

  /* Type */
  --font-display: 'ISOCPEUR', 'GENISO', 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(11,10,20,.06);
  --sh-md: 0 6px 16px rgba(11,10,20,.08);
  --sh-lg: 0 18px 40px rgba(11,10,20,.10);
  --sh-glow: 0 12px 40px rgba(111,74,201,.22);

  /* Layout */
  --container: 1240px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-900);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-action); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--c-primary); }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2em; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--c-ink-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--c-ink-700); }
.lead { font-size: 1.18rem; color: var(--c-ink-600); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: 14px;
}
.eyebrow::before { content:""; width:18px; height:2px; background: var(--c-primary); border-radius:2px; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.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-5 { gap: 24px; }

@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .15s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-sweep);
  color: var(--c-white);
  box-shadow: var(--sh-glow);
}
.btn-primary:hover { color: var(--c-white); box-shadow: 0 16px 48px rgba(111,74,201,.28); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink-900);
  border-color: var(--c-surface-200);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: var(--c-white);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: var(--c-white); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11,10,20,.06);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em;
  color: var(--c-ink-900);
}
.brand:hover { color: var(--c-ink-900); }
.brand-glyph {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--gradient-sweep);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 800; font-size: .95rem;
  box-shadow: var(--sh-glow);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto 0 8px;
  list-style: none; padding: 0;
}
.nav-links a {
  display: inline-block; padding: 8px 14px;
  color: var(--c-ink-700);
  font-weight: 600; font-size: .95rem;
  border-radius: var(--r-md);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--c-primary); background: var(--c-surface-100); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1.5px solid var(--c-surface-200);
  background: var(--c-white);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-weight: 700; font-size: .85rem;
  color: var(--c-ink-700);
  letter-spacing: .04em;
}
.lang-toggle:hover { border-color: var(--c-primary); color: var(--c-primary); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--c-surface-100);
  border: none;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content:""; display:block; width:18px; height:2px; background: var(--c-ink-900); border-radius:2px;
  transition: transform .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top:-6px; left:0; }
.nav-toggle span::after  { position: absolute; top: 6px; left:0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--c-white);
    flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--c-surface-100);
    box-shadow: var(--sh-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
    margin: 0;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content:""; position:absolute; inset:-20% -10% auto auto;
  width: 60%; height: 80%;
  background: var(--gradient-sweep);
  filter: blur(120px); opacity: .25;
  border-radius: 50%;
  z-index: -1;
}
.hero::after {
  content:""; position:absolute; bottom:-30%; left:-10%;
  width: 40%; height: 60%;
  background: radial-gradient(circle, rgba(58,123,208,.16) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  margin-bottom: 20px;
}
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-bottom: 28px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--c-ink-600); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .check { width: 16px; height: 16px; color: var(--c-success); }

/* Hero product mockup */
.mockup {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--gradient-sweep);
  padding: 18px;
  box-shadow: var(--sh-glow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mockup-window {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--c-surface-50);
  border-bottom: 1px solid var(--c-surface-100);
}
.mockup-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-surface-200);
}
.mockup-bar i:nth-child(1) { background: #FF5F57; }
.mockup-bar i:nth-child(2) { background: #FEBC2E; }
.mockup-bar i:nth-child(3) { background: #28C840; }
.mockup-body { padding: 22px; min-height: 320px; }
.mockup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--c-surface-100);
}
.mockup-row:last-child { border-bottom: 0; }
.mockup-row .lbl { font-weight: 600; color: var(--c-ink-700); font-size: .92rem; }
.mockup-row .val { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); font-size: 1rem; }
.mockup-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700;
  background: rgba(27,158,90,.12); color: var(--c-success);
}
.mockup-pill.warning { background: rgba(224,163,13,.14); color: var(--c-warning); }
.mockup-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.mockup-stat {
  background: var(--c-surface-50);
  border-radius: var(--r-md);
  padding: 12px;
}
.mockup-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-ink-900);
  display: block;
  line-height: 1.1;
}
.mockup-stat .lbl-sm {
  font-size: .72rem; color: var(--c-ink-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- Human moment band ---------- */
.human-band .container { display: flex; justify-content: center; }
.human-figure {
  margin: 0;
  width: 100%;
  max-width: 920px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative;
  isolation: isolate;
}
.human-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(111,74,201,.10) 0%, transparent 55%);
  pointer-events: none;
}
.human-figure img {
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Compliance badge bar ---------- */
.compliance-bar {
  background: var(--c-surface-50);
  border-top: 1px solid var(--c-surface-100);
  border-bottom: 1px solid var(--c-surface-100);
}
.compliance-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 28px;
}
.compliance-bar .label {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-ink-400);
}
.compliance-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.compliance-logos .logo {
  font-family: var(--font-display); font-weight: 700;
  color: var(--c-ink-600); font-size: 1.05rem;
  letter-spacing: .04em;
  opacity: .7;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.compliance-logos .logo:hover { opacity: 1; color: var(--c-primary); }

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: var(--c-surface-200); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gradient-sweep-soft);
  color: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-ink-600); margin-bottom: 0; font-size: .96rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-weight: 700; font-size: .92rem;
  color: var(--c-primary);
}
.card-link:hover { gap: 10px; }

.card-dark {
  background: linear-gradient(160deg, #0B0A14 0%, #1B1438 100%);
  color: var(--c-white);
  border-color: transparent;
  position: relative; overflow: hidden;
}
.card-dark h3 { color: var(--c-white); }
.card-dark p { color: rgba(255,255,255,.72); }
.card-dark::after {
  content:""; position:absolute; top:-40%; right:-30%;
  width: 80%; height: 100%;
  background: radial-gradient(circle, rgba(111,74,201,.35) 0%, transparent 60%);
  filter: blur(40px);
}

/* Problem section: pain → answer */
.problem-card {
  background: var(--c-white);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.problem-card .pain {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--c-ink-900); margin-bottom: 14px;
}
.problem-card .answer {
  font-size: .95rem; color: var(--c-ink-600);
  padding-top: 16px; border-top: 2px dashed var(--c-surface-200);
  position: relative;
}
.problem-card .answer::before {
  content: "✦"; position: absolute; top: -14px; left: 0;
  width: 28px; height: 28px;
  background: var(--gradient-sweep);
  color: white; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: var(--sh-glow);
}

/* ---------- Persona switcher ---------- */
.persona-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  background: var(--c-surface-50);
  padding: 8px;
  border-radius: var(--r-pill);
  margin-bottom: 32px;
  justify-content: center;
}
.persona-tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: transparent; border: none;
  font-weight: 700; font-size: .92rem;
  color: var(--c-ink-600);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.persona-tab:hover { color: var(--c-primary); }
.persona-tab.is-active {
  background: var(--c-white);
  color: var(--c-primary);
  box-shadow: var(--sh-sm);
}
.persona-panel { display: none; }
.persona-panel.is-active { display: block; animation: fadeUp .3s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Stakeholder grid (Manager/Owner/Resident/Vendor) ---------- */
.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .stakeholder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stakeholder-grid { grid-template-columns: 1fr; } }
.stakeholder {
  background: var(--c-white);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative; overflow: hidden;
}
.stakeholder .pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gradient-sweep-soft);
  color: var(--c-primary);
  margin-bottom: 14px;
}
.stakeholder h4 { margin-bottom: 8px; font-size: 1.15rem; }
.stakeholder p { font-size: .92rem; color: var(--c-ink-600); margin-bottom: 0; }

/* ---------- Pricing cards ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-surface-100);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--c-white), var(--c-white)) padding-box,
    var(--gradient-sweep) border-box;
  border: 2px solid transparent;
  box-shadow: var(--sh-lg);
  transform: translateY(-8px);
}
.price-card .tag {
  display: inline-block;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--gradient-sweep);
  color: var(--c-white);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
}
.price-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; color: var(--c-ink-900); }
.price-card .desc { font-size: .92rem; color: var(--c-ink-400); margin-bottom: 20px; }
.price-card .price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--c-ink-900); line-height: 1;
}
.price-card .price small { font-size: .9rem; font-weight: 600; color: var(--c-ink-400); display:block; margin-top: 4px; font-family: var(--font-body); }
.price-card ul {
  list-style: none; padding: 0; margin: 24px 0;
  flex: 1;
}
.price-card li {
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .94rem; color: var(--c-ink-700);
}
.price-card li::before {
  content:""; flex-shrink: 0; margin-top: 6px;
  width: 16px; height: 16px;
  background: var(--gradient-sweep-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E16BA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 11px 11px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--c-surface-100);
  position: relative;
}
.testimonial .quote-mark {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--c-surface-100);
  line-height: 1;
  pointer-events: none;
}
.testimonial blockquote {
  margin: 0 0 24px; padding: 0;
  font-size: 1.08rem; line-height: 1.6; color: var(--c-ink-900);
  font-weight: 500;
}
.testimonial .author { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-sweep);
  color: var(--c-white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.testimonial .meta .name { display:block; font-weight: 700; color: var(--c-ink-900); font-size: .98rem; }
.testimonial .meta .role { font-size: .85rem; color: var(--c-ink-400); }
.testimonial .stat {
  display: inline-block;
  padding: 6px 12px;
  margin-left: auto;
  background: var(--gradient-sweep-soft);
  color: var(--c-primary);
  border-radius: var(--r-pill);
  font-weight: 800; font-size: .82rem;
}

/* ---------- Integrations grid ---------- */
.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 960px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
.integration {
  background: var(--c-white);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-md);
  padding: 18px 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700; color: var(--c-ink-700);
  font-size: .9rem;
  letter-spacing: .03em;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.integration:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--c-white);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--c-surface-200); box-shadow: var(--sh-sm); }
.faq summary {
  padding: 22px 24px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--c-ink-900);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.6rem; color: var(--c-primary); font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding: 0 24px 22px;
  color: var(--c-ink-600);
  line-height: 1.6;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--gradient-sweep);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  color: var(--c-white);
  text-align: center;
  position: relative; overflow: hidden;
  margin: 0 var(--gutter);
}
.cta-band::before, .cta-band::after {
  content:""; position:absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}
.cta-band::before {
  top:-30%; left:-10%;
  width: 50%; height: 80%;
  background: var(--c-action);
}
.cta-band::after {
  bottom:-40%; right:-10%;
  width: 60%; height: 100%;
  background: var(--c-primary-deep);
}
.cta-band h2 { color: var(--c-white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn-primary { background: var(--c-white); color: var(--c-primary); box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.cta-band .btn-primary:hover { color: var(--c-primary-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #0B0A14 0%, #1B1438 100%);
  color: rgba(255,255,255,.72);
  padding: clamp(56px, 8vw, 88px) 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--c-white); margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.6); }
.footer h5 {
  color: var(--c-white); font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.7); font-size: .94rem; }
.footer a:hover { color: var(--c-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
}

/* ---------- Section header ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--c-ink-600); font-size: 1.08rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 80px 0 64px;
  background: var(--c-surface-50);
  border-bottom: 1px solid var(--c-surface-100);
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { font-size: 1.15rem; color: var(--c-ink-600); max-width: 640px; margin: 0 auto; }

/* ---------- Pricing toggle ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--c-surface-50); padding: 6px;
  border-radius: var(--r-pill); margin-bottom: 24px;
}
.billing-toggle button {
  padding: 8px 18px; border-radius: var(--r-pill); border: none;
  background: transparent; font-weight: 700; color: var(--c-ink-600);
}
.billing-toggle button.is-active { background: var(--c-white); color: var(--c-primary); box-shadow: var(--sh-sm); }
.save-pill {
  display: inline-block; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: var(--c-success); color: var(--c-white);
  margin-left: 6px;
}

/* ---------- Forms ---------- */
form .field { margin-bottom: 18px; }
form label {
  display: block; font-weight: 700; font-size: .88rem;
  margin-bottom: 6px; color: var(--c-ink-700);
}
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-surface-200);
  border-radius: var(--r-md);
  background: var(--c-white);
  font: inherit; color: var(--c-ink-900);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(111,74,201,.12);
}
form input:focus-visible, form select:focus-visible, form textarea:focus-visible {
  outline: 2px solid var(--c-action);
  outline-offset: 2px;
}
form textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }  .mt-2 { margin-top: 16px; }  .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }  .mb-2 { margin-bottom: 16px; }  .mb-4 { margin-bottom: 32px; }
.surface-soft { background: var(--c-surface-50); }
.no-pad-bottom { padding-bottom: 0 !important; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .eyebrow::before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .mockup { transform: perspective(1200px) rotateY(6deg) rotateX(2deg); }
[dir="rtl"] body { font-family: 'Cairo', 'IBM Plex Sans Arabic', var(--font-body); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', var(--font-display);
}
[dir="rtl"] .card-link:hover { gap: 10px; flex-direction: row-reverse; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .mockup { transform: none; }
}

/* ---------- Inline meaning icons (replace em dashes) ----------
   Usage: <i class="ic ic-link" aria-hidden="true"></i>
   Mask-based so the glyph inherits an intentional brand colour
   and flips to white inside dark sections automatically.        */
.ic {
  display: inline-block;
  width: 1.02em; height: 1.02em;
  vertical-align: -0.16em;
  margin: 0 0.16em;
  background-color: var(--c-primary);
  -webkit-mask: var(--ic) center / contain no-repeat;
          mask: var(--ic) center / contain no-repeat;
}
.card-dark .ic, .cta-band .ic { background-color: rgba(255,255,255,.92); }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }

.ic-link    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
.ic-layers  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.ic-clock   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-globe   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z'/%3E%3C/svg%3E"); }
.ic-check   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E"); }
.ic-arrow   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 5l7 7-7 7'/%3E%3C/svg%3E"); }
.ic-shield  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ic-wallet  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M3 7l2-3h11l2 3'/%3E%3Ccircle cx='17' cy='13' r='1.5'/%3E%3C/svg%3E"); }
.ic-phone   { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.ic-zap     { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.ic-chat    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H8l-4 4V5a2 2 0 0 1 2-2h13a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ic-sync    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9 9 0 0 1-7-3.3'/%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9 9 0 0 1 7 3.3'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M3 21v-5h5'/%3E%3C/svg%3E"); }
.ic-grid    { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.ic-target  { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }

/* ============================================================
   NEW CLASSES — appended by executor
   ============================================================ */

/* ---------- .badge-soon (coming-soon badge) ---------- */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gradient-sweep-soft);
  color: var(--c-primary);
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid var(--c-surface-200);
}

/* ---------- .coming-soon-hero ---------- */
.coming-soon-hero {
  min-height: 60vh;
  display: flex; align-items: center;
  background: var(--c-surface-50);
  border-bottom: 1px solid var(--c-surface-100);
}

/* ---------- .prose (legal / long-form text pages) ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--c-ink-700);
}
.prose h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--c-ink-900);
  margin: 2.4em 0 .5em;
  padding-top: 1em;
  border-top: 1px solid var(--c-surface-100);
}
.prose h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--c-action); text-decoration: underline; }
.prose a:hover { color: var(--c-primary); }
.prose strong { color: var(--c-ink-900); }

/* ---------- .stats-band ---------- */
.stats-band {
  background: var(--gradient-sweep);
  padding: clamp(40px, 6vw, 64px) 0;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content:""; position:absolute; top:-40%; right:-20%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 60%);
}
.stats-band-head {
  text-align: center; margin-bottom: 32px;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .stats-band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .stats-band-grid { grid-template-columns: 1fr; } }

.stat-metric {
  text-align: center;
  padding: 20px;
}
.stat-metric-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-metric-lbl {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}

/* ---------- .founding-grid / .founding-card ---------- */
.founding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 960px) { .founding-grid { grid-template-columns: 1fr; } }

.founding-card {
  background: var(--c-white);
  border: 1px solid var(--c-surface-100);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.founding-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.founding-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gradient-sweep-soft);
  color: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.founding-icon svg { width: 22px; height: 22px; }
.founding-card h3 { margin-bottom: 8px; font-size: 1.18rem; }
.founding-card p { color: var(--c-ink-600); font-size: .96rem; margin-bottom: 0; }

.founding-cta {
  text-align: center;
}
.founding-note {
  margin-top: 12px;
  font-size: .88rem;
  color: var(--c-ink-400);
  margin-bottom: 0;
}

/* ---------- .form-status (contact form feedback) ---------- */
.form-status {
  margin-bottom: 12px;
  padding: 0;
  font-size: .95rem;
  border-radius: var(--r-md);
  min-height: 0;
  transition: all .2s var(--ease);
}
.form-status.is-success {
  padding: 14px 16px;
  background: rgba(27,158,90,.10);
  color: var(--c-success);
  border: 1px solid rgba(27,158,90,.2);
}
.form-status.is-error {
  padding: 14px 16px;
  background: rgba(215,58,58,.08);
  color: var(--c-danger);
  border: 1px solid rgba(215,58,58,.18);
}

/* ---------- Skip link (accessibility — jumps keyboard users to #main) ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  z-index: 9999;
  padding: 12px 20px;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 0 0 var(--r-md) 0;
  text-decoration: none;
  transition: transform .15s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--c-white);
}
.skip-link:focus-visible {
  outline: 2px solid var(--c-action);
  outline-offset: 2px;
}

/* ---------- Global focus-visible ring (WCAG 2.4.11 / 2.4.13) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-action);
  outline-offset: 2px;
}

/* ---------- Nav dropdown (Features) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  color: var(--c-ink-700);
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  background: none; border: none; cursor: pointer;
  border-radius: var(--r-md);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--c-primary); background: var(--c-surface-100); }
.nav-dropdown-toggle .caret { transition: transform .2s var(--ease); }
.nav-dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  min-width: 360px;
  background: var(--c-white);
  border: 1px solid var(--c-surface-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 70;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-dropdown-menu a {
  display: block; padding: 10px 12px;
  color: var(--c-ink-700);
  font-weight: 600; font-size: .9rem;
  border-radius: var(--r-md);
}
.nav-dropdown-menu a:hover { color: var(--c-primary); background: var(--c-surface-100); }

@media (max-width: 960px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .nav-dropdown-menu {
    position: static; min-width: 0; box-shadow: none; border: none;
    padding: 0 0 0 12px; margin-top: 2px;
    grid-template-columns: 1fr;
    opacity: 1; transform: none; pointer-events: auto;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  .nav-dropdown-menu a { padding: 10px 14px; font-size: .92rem; }
}

/* ============================================================
   Mobile-friendly responsive enhancements (v3)
   Append-only. Hardens the existing layout on phones/tablets.
   ============================================================ */

/* 1. Kill horizontal overflow site-wide */
html, body { max-width: 100%; overflow-x: hidden; }

/* 2. Media never overflows its container */
img, svg, video, iframe { max-width: 100%; height: auto; }
.mockup, .card, .price-card, .testimonial, .problem-card, .stakeholder, .founding-card { min-width: 0; }
/* Long words / emails / URLs wrap instead of pushing width */
p, h1, h2, h3, h4, a, li, blockquote { overflow-wrap: break-word; word-break: break-word; }

/* 3. Tablet / large phone */
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  /* Stacked hero/CTA buttons go full width for easy tapping */
  .hero-cta { gap: 10px; }
  .hero-cta .btn,
  .cta-band .btn { width: 100%; justify-content: center; }
  .cta-band { padding-left: 22px; padding-right: 22px; }
  .cta-band .btn { margin: 6px 0 0; }
  /* Comfortable tap targets */
  .nav-links a, .nav-dropdown-toggle { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 44px; }
}

/* 4. Phone */
@media (max-width: 540px) {
  :root { --gutter: 18px; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  /* Persona tabs: let the 6 tabs scroll horizontally instead of cramming */
  .persona-tabs {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-radius: var(--r-lg);
    scrollbar-width: none;
  }
  .persona-tabs::-webkit-scrollbar { display: none; }
  .persona-tab { white-space: nowrap; flex: 0 0 auto; }
  /* Compliance / integration labels breathe */
  .compliance-bar .container { flex-direction: column; gap: 14px; text-align: center; }
  /* Dropdown menu: single column, full usable width */
  .nav-dropdown-menu { grid-template-columns: 1fr; }
  /* Reduce oversized inline mockup/cards padding pressure */
  .mockup-body { padding: 16px; min-height: 0; }
  .testimonial, .problem-card { padding: 24px; }
}

/* 5. Small phone */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .btn-lg { padding: 14px 20px; font-size: 1rem; }
  .stats-band-grid, .footer-grid { gap: 24px; }
}

/* ============================================================
   Split image/text spotlight blocks (v4) — break the
   "heading + card grid" monotony with alternating media rows.
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-copy .eyebrow { margin-bottom: 14px; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy p { color: var(--c-ink-600); font-size: 1.06rem; }
.split-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.split-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-ink-700); font-weight: 600; }
.split-list svg { width: 20px; height: 20px; color: var(--c-success); flex: 0 0 auto; margin-top: 2px; }

/* Media side */
.split-figure {
  margin: 0; width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  position: relative; isolation: isolate;
}
.split-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(111,74,201,.12) 0%, transparent 55%);
  pointer-events: none;
}
.split-figure img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Reverse = media on the right (alternating rhythm) */
.split.reverse .split-figure,
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }

/* Gradient "showcase" visual — used where we don't have a photo yet.
   Deliberately different from the product .mockup so it doesn't read as a repeat. */
.showcase {
  position: relative; border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  background: var(--gradient-sweep);
  box-shadow: var(--sh-lg); overflow: hidden; isolation: isolate;
  min-height: 320px; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.showcase::before {
  content: ""; position: absolute; inset: -30% -20% auto auto; width: 70%; height: 80%;
  background: rgba(255,255,255,.16); filter: blur(60px); border-radius: 50%; z-index: -1;
}
.showcase-tile {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  border-radius: var(--r-lg); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  color: #fff;
}
.showcase-tile .k { font-weight: 600; font-size: .95rem; opacity: .92; }
.showcase-tile .v { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.showcase-chip {
  font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: var(--c-primary-deep);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-figure,
  .split.reverse .split-media,
  .split.reverse .split-copy { order: 0; }
}

/* Contact page wide image banner */
.contact-banner { box-shadow: var(--sh-md); }
.contact-banner img { aspect-ratio: 16 / 7; }
@media (max-width: 540px) { .contact-banner img { aspect-ratio: 16 / 10; } }

/* ============================================================
   Design Spec (v7) — visual variety: pastel section surfaces,
   accent tints, social icons, role/module accents, feature
   layout variants, full-bleed image band.
   ============================================================ */

/* --- Pastel accent tokens (additive; brand hues unchanged) --- */
:root {
  --c-lav-50:   #F3EDFF;   /* pastel lavender section bg */
  --c-gray-50:  #F8F9FA;   /* light gray section bg */
  --c-mint-50:  #E8F5E9;   /* success / active tint */
  --c-mint-600: #2E9E6A;
  --c-peach-50: #FFF3E0;   /* warning / expiring tint */
  --c-peach-700:#B5751B;
}

/* --- Section background helpers (rotate to break monotony) --- */
.surface-lav  { background: var(--c-lav-50); }
.surface-gray { background: var(--c-gray-50); }

/* --- Status pill tints (mint = good, peach = warning) --- */
.mockup-pill { background: var(--c-mint-50); color: var(--c-mint-600); }
.mockup-pill.warning { background: var(--c-peach-50); color: var(--c-peach-700); }
.badge-mint  { background: var(--c-mint-50);  color: var(--c-mint-600);  }
.badge-peach { background: var(--c-peach-50); color: var(--c-peach-700); }

/* ---------- Footer social row ---------- */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; display: block; }

/* ---------- Role cards: icon + pastel hover ---------- */
.stakeholder { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .25s var(--ease), border-color .2s var(--ease); }
.stakeholder:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); background: var(--c-lav-50); border-color: var(--c-surface-200); }
.stakeholder .role-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-sweep-soft); color: var(--c-primary);
  margin-bottom: 14px;
}
.stakeholder .role-icon svg { width: 24px; height: 24px; }

/* ---------- Module cards: colored left accent border ---------- */
.card.accent-l { border-left: 3px solid var(--c-primary); }
.card.accent-l.a1 { border-left-color: #6F4AC9; }
.card.accent-l.a2 { border-left-color: #3A7BD0; }
.card.accent-l.a3 { border-left-color: #2E9E6A; }
.card.accent-l.a4 { border-left-color: #B5751B; }
.card.accent-l.a5 { border-left-color: #463084; }

/* ---------- Testimonial avatar initials ---------- */
.tm-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-sweep); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  flex: 0 0 auto;
}
.tm-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tm-meta .who { font-size: .9rem; color: var(--c-ink-600); }

/* ---------- Feature problem-section: dark band variant (C) ---------- */
.dark-band {
  background: linear-gradient(160deg, var(--c-primary-deep) 0%, #2C1E5E 100%);
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.dark-band::after {
  content:""; position:absolute; inset:-30% -10% auto auto; width:60%; height:90%;
  background: radial-gradient(circle, rgba(111,74,201,.45) 0%, transparent 60%);
  filter: blur(50px); z-index:-1;
}
.dark-band .eyebrow { color: #B9A6F0; }
.dark-band .eyebrow::before { background: #B9A6F0; }
.dark-band h2 { color:#fff; }
.dark-band p { color: rgba(255,255,255,.82); }
.dark-band .band-narrow { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- Feature problem-section: stacked variant (A) ---------- */
.stack-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.stack-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 920px; margin: 0 auto 44px; }
.stack-cols h3 { font-size: 1.1rem; margin-bottom: 10px; }
.stack-mockup { max-width: 860px; margin: 0 auto; }
@media (max-width: 760px) { .stack-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Full-bleed image band with overlay (homepage breaks) ---------- */
.image-band {
  position: relative; isolation: isolate;
  padding: clamp(72px, 11vw, 140px) 0;
  color: #fff; overflow: hidden;
}
.image-band > img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.image-band::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(120deg, rgba(35,32,54,.86) 0%, rgba(70,48,132,.74) 60%, rgba(58,123,208,.55) 100%);
}
.image-band .eyebrow { color:#C9BAF5; }
.image-band .eyebrow::before { background:#C9BAF5; }
.image-band h2 { color:#fff; max-width: 640px; }
.image-band p { color: rgba(255,255,255,.9); max-width: 600px; }
.image-band .split-list li { color: rgba(255,255,255,.92); }
