/* =============================================================
   EventusOS.com, Shared design system
   Direction A · Clear Confidence
   ============================================================= */

:root {
  --ink: #0B0F1F;
  --ink-2: #2A2F45;
  --muted: #5A627A;
  --muted-2: #6F7591;  /* darkened from #8A8FA8 for WCAG AA contrast on paper */
  --line: #E5E3EC;
  --line-2: #EFEDF5;
  --paper: #FAFAF7;
  --surface: #F4F2FB;
  --surface-2: #ECEAF5;
  --white: #FFFFFF;

  --cyan: #4FCEF6;
  --indigo: #6A6BF0;
  --purple: #6925C9;          /* darkened from #9C5EE8 for WCAG AA on white/paper */
  --purple-brand: #9C5EE8;    /* original purple, retained for decorative use (gradients, hover halos) */
  --gradient: linear-gradient(95deg, #4FCEF6 0%, #6A6BF0 50%, #9C5EE8 100%);
  --gradient-warm: linear-gradient(95deg, #6A6BF0 0%, #B65BE8 50%, #E15B9C 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79,206,246,.12) 0%, rgba(156,94,232,.12) 100%);

  --shadow-sm: 0 1px 2px rgba(11,15,31,.04), 0 1px 1px rgba(11,15,31,.03);
  --shadow-md: 0 4px 12px rgba(11,15,31,.06), 0 2px 4px rgba(11,15,31,.04);
  --shadow-lg: 0 24px 60px -20px rgba(11,15,31,.18), 0 8px 24px -8px rgba(11,15,31,.08);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Clip the transparent italic-overhang of .grad words (their padding-right
   paint room) so a slightly wider fallback font can't push a line-end word
   past the viewport edge. Scoped to main (a mid-tree block) rather than body:
   overflow on body propagates to the viewport and scrollWidth still counts
   clipped content, so it must sit below the propagation boundary. `clip`
   (not `hidden`) creates no scroll container, so sticky elements keep working. */
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Focus rings, every focusable element gets a visible ring. We prefer
   :focus-visible so mouse clicks don't show the ring, but on touch / mobile
   devices Chrome's :focus-visible heuristic is unreliable for keyboard Tab,
   so we ALSO provide a plain :focus rule as a guaranteed fallback. The
   visual is identical either way. */
:focus { outline: 2px solid #6A6BF0; outline-offset: 2px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #6A6BF0; outline-offset: 2px; border-radius: 6px; }
.btn:focus,
.btn:focus-visible { outline: 2px solid #6A6BF0; outline-offset: 3px; }
.btn:focus:not(:focus-visible) { outline: none; }
.btn:focus-visible { outline: 2px solid #6A6BF0; outline-offset: 3px; }
/* Touch devices: :focus-visible is unreliable. Force ring on :focus. */
@media (hover: none) {
  :focus, .btn:focus { outline: 2px solid #6A6BF0 !important; outline-offset: 2px; }
  .btn:focus { outline-offset: 3px; }
}

.mono { font-family: 'Geist Mono', ui-monospace, monospace; font-feature-settings: 'ss01'; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 56px; }

/* ────────── Nav ────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 19px; letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand img { height: 30px; width: auto; display: block; }
.brand-os {
  font-style: italic; font-weight: 600; font-family: inherit;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  margin-left: 1px;
  padding-right: 0.2em;
  margin-right: -0.15em;
  vertical-align: baseline;
}
.nav-links {
  justify-self: center;
  display: flex; align-items: center; gap: 28px;
  font-size: 14.5px; color: var(--ink-2);
}
.nav-links a { padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gradient); border-radius: 2px;
}
.nav-links .has-menu::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; opacity: .55; }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 8px; }

/* ────────── Buttons ────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  font-family: inherit;
  transition: transform .12s ease, box-shadow .15s ease, opacity .12s ease, background .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--line-2); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gradient { color: white; background: var(--gradient); position: relative; }
.btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(106,107,240,.45); }
.btn-outline { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn .arrow { font-size: 13px; opacity: .9; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-lg { padding: 14px 22px; font-size: 15.5px; }
.btn-xl { padding: 16px 28px; font-size: 16px; }

/* ────────── Eyebrows / section heads ────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line); background: white;
  border-radius: 999px; font-size: 12.5px; letter-spacing: 0.01em;
  color: var(--ink-2); font-weight: 500;
}
.eyebrow .pill {
  background: var(--gradient); color: white; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.section-eyebrow {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6E3FB8; font-weight: 600; margin-bottom: 14px;
}
.section-eyebrow::before { content: "· "; }

section.s { padding: 100px 0; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2 {
  font-size: 52px; line-height: 1.02; letter-spacing: -0.03em; font-weight: 600;
  margin: 0; color: var(--ink);
}
.section-head h2 .grad,
.grad-text,
.grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 500;
  /* Italic glyphs lean past the layout box. inline-block + padding-right
     extends the painted area so the final letter is not clipped, and a
     matching negative margin keeps surrounding text-flow visually intact. */
  display: inline-block;
  padding-right: 0.25em;
  margin-right: -0.18em;
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.section-head p {
  margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--muted);
  max-width: 640px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center > .section-eyebrow { display: block; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ────────── Page hero ────────── */
.page-hero { padding: 80px 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -200px 0 auto -200px; height: 700px;
  background: radial-gradient(50% 50% at 30% 40%, rgba(79,206,246,.08), transparent 60%),
              radial-gradient(50% 50% at 80% 20%, rgba(156,94,232,.10), transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-size: 80px; line-height: 0.95; letter-spacing: -0.035em;
  margin: 22px 0 0; font-weight: 600; max-width: 1100px; color: var(--ink);
}
.page-hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: italic; font-weight: 500;
}
.page-hero .lead {
  margin: 26px 0 36px; font-size: 20px; color: var(--muted);
  max-width: 720px; line-height: 1.45;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.crumbs {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* ────────── Cards ────────── */
.card {
  background: white; border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: rgba(106,107,240,.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.chip {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2); border: 1px solid transparent;
  font-weight: 500;
}
.chip-line { background: white; border-color: var(--line); }

/* ────────── Feature row (deep-dive sections) ────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 88px 0;
  border-top: 1px dashed var(--line);
}
.feature-row:first-of-type { border-top: 0; padding-top: 32px; }
.feature-row.reverse > .feature-copy { order: 2; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--purple); letter-spacing: 0.06em;
  background: rgba(156,94,232,.06); padding: 5px 10px; border-radius: 6px;
}
.feature-row h3 {
  font-size: 42px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  margin: 18px 0 16px;
}
.feature-row h3 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; font-weight: 500; }
.feature-row > .feature-copy > p { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin: 0 0 22px; }
.feature-bullets { list-style: none; padding: 0; margin: 0; }
.feature-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--line-2);
  font-size: 14.5px;
}
.feature-bullets li::before {
  content: ""; flex: 0 0 auto; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gradient);
}
.feature-bullets li b { font-weight: 600; }
.feature-bullets li span { color: var(--muted); }
.feature-visual {
  position: relative; aspect-ratio: 5/4;
  background: linear-gradient(135deg, #F0EFFA, #E9EFFE);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.feature-visual.phone {
  background: linear-gradient(135deg, #EEEEF7, #F7EEF5);
  aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center;
  padding: 36px;
}
.feature-visual.phone img.phone-img {
  max-height: 100%; max-width: 380px; width: auto;
  border-radius: 28px; box-shadow: 0 30px 60px -12px rgba(11,15,31,.25);
}
.feature-visual.dashboard img { width: 100%; height: 100%; object-fit: cover; }
.feature-visual .float-tag {
  position: absolute; top: 16px; right: 16px;
  background: white; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--muted); box-shadow: var(--shadow-sm);
}
.feature-visual.placeholder {
  background: repeating-linear-gradient(45deg, rgba(106,107,240,.06) 0 14px, transparent 14px 28px), #F4F2FB;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; color: var(--muted); font-size: 13px;
  aspect-ratio: 5/4;
}
.feature-visual.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ────────── Stats / dark block ────────── */
.stats {
  background: var(--ink); color: white;
  border-radius: var(--r-xl); padding: 64px 64px 56px;
  margin: 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: -120px -120px auto auto; width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(156,94,232,.32), transparent 70%);
  pointer-events: none;
}
.stats::after {
  content: ""; position: absolute; inset: auto auto -160px -160px; width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(79,206,246,.25), transparent 70%);
  pointer-events: none;
}
.stats-head { position: relative; max-width: 720px; margin-bottom: 44px; }
.stats-head .eyebrow-mono {
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #B6B5E8; margin-bottom: 14px;
}
.stats-head h2 { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.stats-head h2 .grad {
  background: linear-gradient(95deg, #6FD8F8 0%, #C198F2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.16); }
.stat { padding: 32px 24px 4px; border-right: 1px solid rgba(255,255,255,0.10); }
.stat:last-child { border-right: none; }
.stat .big {
  font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-weight: 500;
  background: linear-gradient(95deg, #6FD8F8 0%, #C198F2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,0.78); }
.stat .sub { margin-top: 6px; font-family: 'Geist Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.stats-foot {
  position: relative; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.stats-foot .quote { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 540px; margin: 0; }
.stats-foot .btn-gradient { padding: 12px 22px; }

/* ────────── Big CTA ────────── */
.big-cta {
  text-align: center; padding: 140px 0 100px; position: relative; overflow: hidden;
}
.big-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(156,94,232,.12), transparent 70%);
  pointer-events: none;
}
.big-cta h2 {
  font-size: 80px; font-weight: 500; letter-spacing: -0.035em; line-height: 1;
  margin: 0 0 24px; position: relative;
}
.big-cta h2 .grad {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.big-cta p { color: var(--muted); font-size: 18px; margin: 0 0 32px; position: relative; }
.big-cta .actions { position: relative; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.big-cta .btn-gradient, .big-cta .btn-outline { padding: 16px 28px; font-size: 16px; }

/* ────────── Footer ────────── */
footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: white; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-top h6 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.foot-top ul { list-style: none; padding: 0; margin: 0; }
.foot-top li { padding: 5px 0; font-size: 14px; color: var(--muted); }
.foot-top li a:hover { color: var(--ink); }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 280px; margin: 16px 0 0; }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.foot-bottom .small-links { display: flex; gap: 20px; }

/* ────────── Pillars (4 core) ────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: white; border-radius: var(--r-lg); border: 1px solid var(--line);
  padding: 28px 24px; position: relative; transition: transform .18s, box-shadow .18s, border-color .15s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(106,107,240,.3); }
.pillar .num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--purple); letter-spacing: 0.12em;
}
.pillar h4 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
  margin: 30px 0 10px;
}
.pillar p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.pillar .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gradient-soft); border: 1px solid rgba(106,107,240,.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--purple);
}

/* ────────── Logo cloud ────────── */
.cloud { padding: 64px 0 28px; }
.cloud-label {
  text-align: center; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.cloud-grid {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cloud-grid > div {
  padding: 28px 16px; text-align: center; color: var(--ink-2);
  border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  min-height: 88px;
  transition: opacity .15s;
}
.cloud-grid > div:last-child { border-right: none; }
.cloud-grid > div { opacity: 0.65; }
.cloud-grid > div:hover { opacity: 1; }
.cloud-grid svg { max-width: 100%; height: auto; }
.cloud-grid .small { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Geist', sans-serif; }

/* ============================================================
   Responsive layer
   Source pages were designed at fixed 1440px. Below ~1024px we
   tighten paddings; below ~768px we collapse multi-column grids.
   ============================================================ */

@media (max-width: 1100px) {
  .wrap { padding: 0 32px; }
  section.s { padding: 80px 0; }
  .section-head h2 { font-size: 44px; }
  .page-hero h1 { font-size: 64px; }
  .feature-row { gap: 56px; padding: 72px 0; }
  .feature-row h3 { font-size: 36px; }
  .stats { padding: 48px 40px 40px; }
  .stats-head h2 { font-size: 36px; }
  .stat .big { font-size: 52px; }
  .big-cta h2 { font-size: 64px; }
  .nav-links { gap: 20px; font-size: 13.5px; }
}

@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto 1fr auto; height: 60px; }
  .nav-links { display: none; }
  .nav-cta .btn { padding: 8px 14px; font-size: 13.5px; }
  .nav-cta .btn .arrow { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  section.s { padding: 64px 0; }

  /* Headings scale */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 34px; line-height: 1.05; }
  .section-head p { font-size: 16px; margin-top: 14px; }

  /* Page hero */
  .page-hero { padding: 48px 0 32px; }
  .page-hero h1 { font-size: 44px; line-height: 1; }
  .page-hero .lead { font-size: 17px; margin: 20px 0 28px; }

  /* Buttons */
  .btn-lg { padding: 12px 18px; font-size: 14.5px; }
  .btn-xl { padding: 14px 22px; font-size: 15px; }

  /* Pillars: 4 → 2 */
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pillar { padding: 22px 18px; }
  .pillar h4 { font-size: 18px; margin: 22px 0 8px; }

  /* Logo cloud */
  .cloud { padding: 40px 0 16px; }
  .cloud-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cloud-grid > div:nth-child(2n) { border-right: none; }
  .cloud-grid > div:nth-child(3) { border-top: 1px solid var(--line); }

  /* Feature deep-dive rows: 2 col → 1 col, image first */
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feature-row.reverse > .feature-copy { order: 0; }
  .feature-row h3 { font-size: 28px; margin: 12px 0 12px; }
  .feature-row > .feature-copy > p { font-size: 16px; margin-bottom: 18px; }
  .feature-visual.phone { padding: 24px; }
  .feature-visual.phone img.phone-img { max-width: 280px; box-shadow: 0 16px 28px -8px rgba(11,15,31,.22), 0 0 0 6px #1A1A1F; }

  /* Stats block */
  .stats { padding: 32px 24px; border-radius: var(--r-lg); }
  .stats-head h2 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px 4px; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.10); }
  .stat .big { font-size: 40px; }
  .stat .lbl { font-size: 13.5px; margin-top: 10px; }
  .stats-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-foot .quote { font-size: 13.5px; }

  /* Big CTA */
  .big-cta { padding: 80px 0 60px; }
  .big-cta h2 { font-size: 42px; }
  .big-cta p { font-size: 16px; }
  .big-cta .btn-gradient, .big-cta .btn-outline { padding: 12px 18px; font-size: 14.5px; }

  /* Footer */
  footer { padding: 48px 0 32px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Cards in general */
  .card { padding: 22px; }

  /* Hero CTA stacking */
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; justify-content: center; min-width: 0; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
  .big-cta h2 { font-size: 34px; }
  .feature-row h3 { font-size: 24px; }
  .stat .big { font-size: 34px; }

  .pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   Page-specific responsive collapses
   ============================================================ */
@media (max-width: 1024px) {
  /* Two-up grids collapse to one on narrow tablets / phones */
  .split, .audience-grid, .int-strip, .rez-grid, .features-layout, .use-grid, .cust-hero h1, .case { }
  .features-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .feat-rail { position: static !important; border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 24px !important; }
  .feat-section .head { grid-template-columns: 1fr !important; gap: 20px !important; }
  .case { grid-template-columns: 1fr !important; gap: 32px !important; padding: 60px 0 !important; }
}

@media (max-width: 768px) {
  /* Home,split / audience / profile / int-strip */
  .split, .audience-grid, .profile-grid, .int-strip { grid-template-columns: 1fr !important; gap: 16px !important; }
  .int-strip { padding: 28px 24px !important; gap: 24px !important; }
  .int-strip-logos { grid-template-columns: repeat(3, 1fr) !important; }
  .int-strip-copy h3 { font-size: 26px !important; }
  .split-card h3 { font-size: 24px !important; }
  .audience-card { padding: 26px 22px !important; }
  .audience-card h3 { font-size: 26px !important; }
  .profile-card { padding: 22px !important; }
  .profile-card h4 { font-size: 18px !important; }
  .audience-toggle { display: flex !important; flex-wrap: wrap; }
  .audience-toggle button { flex: 1; justify-content: center; }
  .hero h1 { font-size: 44px !important; }
  .hero { padding: 56px 0 24px !important; }

  /* Charter / Land hero bands and capability grids */
  .charter-hero h1, .land-hero h1 { font-size: 44px !important; line-height: 1 !important; }
  .charter-hero, .land-hero { padding: 40px 0 48px !important; }
  .hero-band { grid-template-columns: 1fr 1fr !important; gap: 12px !important; margin-top: 32px !important; }
  .hero-band .tile, .hero-band .vt { min-height: 200px !important; }
  .hero-meta { flex-wrap: wrap !important; gap: 20px !important; }
  .hero-meta > div { flex: 1 1 40% !important; }
  .cap-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .use-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .quick-q { grid-template-columns: 1fr !important; gap: 20px !important; padding: 24px 0 !important; margin-top: 60px !important; }

  /* Charter RezMagic block */
  .rez-block { padding: 32px 24px !important; margin: 60px 0 !important; }
  .rez-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .rez-grid h3 { font-size: 28px !important; }

  /* Features page */
  .f-list { grid-template-columns: 1fr !important; }
  .feat-hero h1 { font-size: 40px !important; }
  .feat-section .head h2 { font-size: 28px !important; }

  /* Customers page */
  .cust-hero h1 { font-size: 40px !important; }
  .stats-strip { grid-template-columns: 1fr 1fr !important; gap: 0 !important; padding: 0 !important; }
  .stats-strip > div { border-right: 1px solid var(--line) !important; padding: 20px 12px !important; }
  .stats-strip > div:nth-child(2n) { border-right: 0 !important; }
  .stats-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-strip .big { font-size: 32px !important; }
  .case h2 { font-size: 28px !important; }
  .case .facts { grid-template-columns: 1fr !important; }
  .case .facts.facts-compact { grid-template-columns: 1fr 1fr !important; }
  .case-visual { min-height: 280px !important; padding: 24px !important; }

  /* Pricing & About,graceful */
  .price-grid, .timeline, .about-grid, .values-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Pricing page,module cards, ROI panel, extras, FAQ */
  .price-hero { padding: 48px 0 32px !important; }
  .price-hero h1 { font-size: 38px !important; line-height: 1.02 !important; }
  .price-hero .lead { font-size: 17px !important; }
  .modules, .roi-section, .faq { padding: 56px 0 !important; }
  .module-grid, .extras-grid, .roi-grid, .faq-grid, .roi-table {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .module { padding: 24px !important; }
  .module .price .num { font-size: 38px !important; }
  .roi-shell { padding: 32px 24px !important; }
  .roi-grid h2 { font-size: 32px !important; }
  .example { padding: 24px !important; }
  .example .ex-head { flex-direction: column; align-items: flex-start !important; gap: 8px; }

  /* About page,manifesto / timeline / values / team */
  .about-hero { padding: 48px 0 32px !important; }
  .about-hero h1 { font-size: 40px !important; line-height: 1 !important; }
  .about-hero .lead { font-size: 17px !important; margin-top: 20px !important; }
  .manifesto, .timeline-section, .values, .team { padding: 56px 0 !important; }
  .manifesto-grid, .tl-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .manifesto-grid h3 { font-size: 26px !important; }
  .v-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

  /* Land page,integrations block: collapse padding and inner grids on phones.
     The desktop padding (56px) plus a 2-col grid pushed .int-logos past the
     viewport even after collapsing to 1 col, so we shrink padding too. */
  .int-block { padding: 28px 20px !important; margin: 60px 0 !important; }
  .int-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .int-grid h3 { font-size: 28px !important; }
  .int-logos { grid-template-columns: 1fr !important; }
  .int-logo { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }
  .int-logo:last-child { border-bottom: 0 !important; }

  .testimonial-strip { padding: 24px !important; }
  .testimonial-strip .wrap { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Quote card on home / others */
  .quote-card { padding: 28px 22px !important; }
  .quote-card .qmark { top: 8px; left: 12px; font-size: 56px !important; }
  .quote-card blockquote { font-size: 20px !important; padding-left: 0 !important; }
  .quote-card .attribution { padding-left: 0 !important; }
}

@media (max-width: 480px) {
  .int-strip-logos { grid-template-columns: 1fr !important; }
  .stats-strip { grid-template-columns: 1fr !important; }
  .stats-strip > div { border-right: 0 !important; border-top: 1px solid var(--line); }
}

/* Decorative SVGs in icon role should not be announced */
.btn svg, .pillar .ico svg, .cap .ico svg, .audience-feature span svg, .f-item .ico svg, .feat-rail a::before, .icn svg, .feature-bullets li::before, .pillar .num, .stat .big {
  /* purely decorative,no announcement needed */
}
