/* =====================================================================
   Akili Offers — shared design system
   Mirrors www.akili.co.za (Space Grotesk + Inter, navy/cyan, gradient pills)
   ===================================================================== */

:root {
  --navy: #0b1220;
  --navy-deep: #090e1a;
  --navy-light: #131c2e;
  --ink: #0f1729;
  --white: #f8fafc;

  --cyan: #00aceb;
  --cyan-light: #3be4f7;
  --royal: #3766e6;
  --verified: #2fa968;

  --text: #0f1729;
  --muted: #55627a;
  --muted-dark: rgba(214, 224, 240, 0.72);

  --line: rgba(15, 23, 41, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);

  --section: #fbfcfd;
  --section-alt: #f5f7fa;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 12px;
  --container: 1180px;

  --grad-brand: linear-gradient(120deg, #00aceb, #3766e6);
  --grad-text: linear-gradient(100deg, #00aceb, #3be4f7 35%, #3766e6 78%, #00aceb);

  --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(15, 23, 41, 0.28);
  --shadow-lg: 0 40px 80px -40px rgba(9, 14, 26, 0.55);
  --shadow-glow: 0 24px 60px -28px rgba(0, 172, 235, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--section);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--section-alt); }

.section-dark {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.eyebrow-light { color: var(--cyan-light); }

/* ---------- Buttons ---------- */
.button {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--grad-brand); background-size: 140% 140%;
  border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(0, 138, 210, 0.85);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.6s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0, 138, 210, 0.95); background-position: 100% 0; }
.button:active { transform: translateY(0); }
.button-full { width: 100%; }
.button-small { padding: 11px 20px; font-size: 12px; }

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  box-shadow: none; color: #fff;
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.09); box-shadow: none; }

.button-light {
  background: #fff; color: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(9, 14, 26, 0.6);
}
.button-light:hover { background: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px; color: inherit;
}
.text-link .play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; font-size: 11px;
  color: #fff; background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.text-link:hover .play-icon { transform: scale(1.08); background: rgba(0, 172, 235, 0.22); }

/* ---------- Gradient / shimmer text ---------- */
.text-gradient {
  background: var(--grad-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: text-shine 7s linear infinite;
}
@keyframes text-shine { to { background-position: 200% center; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 252, 253, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 15px; font-weight: 500; color: #33405a; transition: color 0.2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.button { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.site-header.is-open .nav-toggle span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(3) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--white);
  padding: 88px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 60% at 85% -8%, rgba(0, 172, 235, 0.24), transparent 60%),
    radial-gradient(42% 58% at 6% 108%, rgba(55, 102, 230, 0.22), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 100%);
}
.hero > .container { position: relative; z-index: 2; }

.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.6; }
.hero-orb-1 { width: 340px; height: 340px; top: -60px; right: -40px; background: radial-gradient(circle, rgba(0, 172, 235, 0.55), transparent 70%); animation: float 16s ease-in-out infinite; }
.hero-orb-2 { width: 300px; height: 300px; bottom: -80px; left: -30px; background: radial-gradient(circle, rgba(55, 102, 230, 0.5), transparent 70%); animation: float 20s ease-in-out infinite reverse; }
.hero-ring {
  position: absolute; top: 50%; right: 6%; width: 460px; height: 460px;
  transform: translateY(-50%); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: spin-slow 30s linear infinite;
}
.hero-ring::before {
  content: ""; position: absolute; inset: 60px; border-radius: 50%;
  border: 1px solid rgba(0, 172, 235, 0.12);
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.05rem); line-height: 1.02;
  letter-spacing: -0.03em; margin-bottom: 22px;
}
.hero-intro { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted-dark); max-width: 34em; margin-bottom: 30px; }

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted-dark); }
.hero-proof svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Product window mockup ---------- */
.product-window {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101a2e, #0b1322);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.window-bar > span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.window-dots i:first-child { background: #ff5f57; } .window-dots i:nth-child(2) { background: #febc2e; } .window-dots i:last-child { background: #28c840; }
.secure-label {
  margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan-light); background: rgba(0, 172, 235, 0.12);
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(0, 172, 235, 0.25);
}
.window-body { padding: 20px; display: grid; gap: 16px; }

.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mockup-kpi {
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px; padding: 14px;
}
.mockup-kpi small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-bottom: 6px; }
.mockup-kpi strong { font-family: "Space Grotesk", sans-serif; font-size: 24px; color: #fff; }
.mockup-kpi em { font-style: normal; font-size: 11px; color: var(--cyan-light); }
.mockup-kpi.warn em { color: #ffcf6b; }

.mockup-chart { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 16px; }
.mockup-chart .chart-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mockup-chart .chart-title strong { font-size: 13px; color: #fff; font-family: "Inter", sans-serif; font-weight: 600; }
.mockup-chart .chart-title small { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.bar-row { display: grid; grid-template-columns: 92px 1fr 28px; align-items: center; gap: 12px; margin-bottom: 11px; font-size: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row span { color: rgba(255, 255, 255, 0.7); }
.bar-row i { height: 8px; border-radius: 999px; background: var(--grad-brand); width: var(--bar, 60%); box-shadow: 0 0 12px rgba(0, 172, 235, 0.4); }
.bar-row b { color: #fff; font-weight: 600; text-align: right; }

.mockup-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px; padding: 12px 14px; font-size: 12px;
}
.mockup-row .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-cyan { background: var(--cyan); } .dot-amber { background: #ffbf47; } .dot-green { background: var(--verified); } .dot-red { background: #ff6b6b; }
.mockup-row .m-title { color: #fff; font-weight: 500; }
.mockup-row .m-meta { color: rgba(255, 255, 255, 0.5); margin-left: auto; }
.pill-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; }
.pill-tag.on-track { color: #7ee0a8; background: rgba(47, 169, 104, 0.16); }
.pill-tag.at-risk { color: #ffcf6b; background: rgba(255, 176, 32, 0.16); }

/* ---------- Metrics band ---------- */
.metrics-band {
  position: relative; z-index: 2;
  margin-top: 66px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 40px; border-top: 1px solid var(--line-dark);
}
.metrics-band div { display: flex; flex-direction: column; gap: 6px; }
.metrics-band strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 3vw, 2.7rem); color: #fff; line-height: 1; }
.metrics-band span { font-size: 13.5px; color: var(--muted-dark); }

/* ---------- Section heading ---------- */
.section-heading { max-width: 640px; }
.section-heading h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-heading > p { font-size: 1.06rem; color: var(--muted); }
.section-dark .section-heading > p { color: var(--muted-dark); }
.section-heading-centred { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-heading-centred .eyebrow { justify-content: center; }

/* ---------- Problem split ---------- */
.split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.problem-list { display: grid; gap: 18px; }
.problem-list article {
  display: flex; gap: 20px; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.problem-list article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0, 172, 235, 0.35); }
.problem-list span {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; color: var(--cyan);
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: rgba(0, 172, 235, 0.08); border: 1px solid rgba(0, 172, 235, 0.18);
}
.problem-list h3 { font-size: 1.16rem; margin-bottom: 6px; }
.problem-list p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(130deg, rgba(0, 172, 235, 0.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 172, 235, 0.14), rgba(55, 102, 230, 0.14));
  border: 1px solid rgba(0, 172, 235, 0.2);
}
.feature-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--cyan); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Lifecycle ---------- */
.lifecycle { display: flex; align-items: stretch; gap: 0; margin-top: 54px; flex-wrap: wrap; }
.lifecycle-step { flex: 1 1 140px; text-align: center; padding: 0 12px; }
.lifecycle-step span {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; color: #fff;
  border-radius: 50%; background: var(--grad-brand); box-shadow: var(--shadow-glow);
}
.section-dark .lifecycle-step h3 { color: #fff; }
.lifecycle-step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.lifecycle-step p { font-size: 0.9rem; color: var(--muted); }
.section-dark .lifecycle-step p { color: var(--muted-dark); }
.lifecycle-line { flex: 0 1 60px; height: 2px; margin-top: 27px; align-self: flex-start;
  background: linear-gradient(90deg, rgba(0, 172, 235, 0.6), rgba(55, 102, 230, 0.2)); border-radius: 2px; }

/* ---------- Compliance / panel ---------- */
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.compliance-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.compliance-copy > p { color: var(--muted-dark); margin-bottom: 26px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 0.97rem; color: rgba(255, 255, 255, 0.9); }
.check-list span {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none; font-size: 13px;
  color: #fff; border-radius: 50%; background: rgba(47, 169, 104, 0.9);
}

.compliance-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-head > span:first-child { font-weight: 600; color: #fff; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cyan-light); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-light); box-shadow: 0 0 0 0 rgba(59, 228, 247, 0.6); animation: pulse-ring 2s infinite; }
.panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.panel-stats div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px; }
.panel-stats small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; }
.panel-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 30px; color: #fff; line-height: 1; margin-bottom: 6px; }
.panel-stats em { font-style: normal; font-size: 12px; color: var(--muted-dark); }
.panel-chart { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.panel-chart .chart-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel-chart .chart-title strong { font-size: 13.5px; color: #fff; }
.panel-chart .chart-title small { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.panel-alert { display: flex; align-items: center; gap: 14px; padding: 15px; border-radius: 14px;
  background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255, 176, 32, 0.25); }
.panel-alert > span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; font-weight: 700; color: #ffcf6b;
  border-radius: 50%; background: rgba(255, 176, 32, 0.18); }
.panel-alert strong { display: block; font-size: 13.5px; color: #fff; font-family: "Inter", sans-serif; }
.panel-alert small { font-size: 12px; color: var(--muted-dark); }
.panel-alert b { margin-left: auto; font-size: 12px; color: var(--cyan-light); cursor: pointer; }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.demo-points { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.demo-points span { font-size: 0.95rem; color: var(--muted); }
.demo-points b { font-family: "Space Grotesk", sans-serif; color: var(--cyan); font-size: 1.05rem; }
.video-shell {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--navy-deep);
}
.video-shell .mockup-screen { aspect-ratio: 16 / 10; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3;
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.1), rgba(9, 14, 26, 0.55));
}
.video-play button {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 24px 14px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); color: #fff; font-weight: 600; font-size: 14px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.video-play button:hover { transform: scale(1.04); background: rgba(0, 172, 235, 0.25); }
.video-play .play-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); font-size: 12px; }

/* ---------- Integration ---------- */
.integration-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: center; }
.integration-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.integration-cards article {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.integration-cards article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.integration-cards span {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; color: var(--royal);
  background: rgba(55, 102, 230, 0.1); border: 1px solid rgba(55, 102, 230, 0.2);
}
.integration-cards h3 { font-size: 1.05rem; margin-bottom: 4px; }
.integration-cards p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted-dark); margin-bottom: 26px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-details a { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan-light); font-weight: 500; width: fit-content; }
.contact-details a:hover { color: #fff; }

.contact-form {
  background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6); display: grid; gap: 16px;
}
.contact-form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--section-alt);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0, 172, 235, 0.12);
}
.contact-form textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); font-weight: 400; }
.form-message { font-size: 14px; font-weight: 600; }
.form-message.success { color: var(--verified); }
.form-message.error { color: #d64545; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--muted-dark); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.brand-footer img { height: 34px; }
.footer-grid > p { font-size: 0.95rem; max-width: 30em; }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; }
.footer-grid > div a { font-size: 0.95rem; color: var(--muted-dark); transition: color 0.2s ease; }
.footer-grid > div a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 0.88rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes spin-slow { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(59, 228, 247, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(59, 228, 247, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 228, 247, 0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split-grid, .compliance-grid, .demo-grid, .integration-grid, .contact-shell { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-band { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hero-ring { display: none; }
  .integration-grid .section-heading, .demo-grid .section-heading { max-width: none; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 16px 24px 24px;
    background: rgba(251, 252, 253, 0.98); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s var(--ease);
  }
  .site-header.is-open .site-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 10px 4px; font-size: 16px; }
  .site-nav a.button { justify-content: center; margin-top: 6px; }
  .feature-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mockup-kpis { grid-template-columns: 1fr 1fr; }
  .lifecycle-line { display: none; }
  .lifecycle-step { flex-basis: 45%; margin-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { gap: 16px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .metrics-band { grid-template-columns: 1fr 1fr; }
  .mockup-kpis { grid-template-columns: 1fr; }
}
