/* ==========================================================================
   Airevonix — main stylesheet
   Brand colours sampled from the official logo (AIRE blue #0434A0,
   VONIX graphite #323230, amber swoosh, green growth bar).
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see /fonts) */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #081a40;
  --navy-2: #0b2659;
  --navy-3: #061430;
  --blue: #0a3fb5;
  --blue-700: #072f8c;
  --blue-50: #eaf1fd;
  --sky: #1e9bf0;
  --amber: #ff8a00;
  --amber-600: #d96f00;
  --green: #27b025;
  --wa: #0e7a3c;
  --wa-700: #0a6130;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink: #172033;
  --graphite: #323230;
  --muted: #536079;
  --line: #dde4ef;
  --line-strong: #c7d2e3;
  --on-dark: #e9eefb;
  --on-dark-muted: #aebbd6;

  --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 64, .06), 0 2px 8px rgba(8, 26, 64, .04);
  --shadow: 0 2px 4px rgba(8, 26, 64, .04), 0 12px 32px -8px rgba(10, 63, 181, .18);
  --shadow-lg: 0 4px 8px rgba(8, 26, 64, .05), 0 32px 64px -16px rgba(10, 63, 181, .28);

  --header-h: 76px;
  --container: 1200px;
  --section-pad: clamp(72px, 9vw, 120px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; 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: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }

/* ---------- Typography helpers ---------- */
.section-title { font-size: clamp(1.85rem, 3.3vw, 2.7rem); font-weight: 600; max-width: 22ch; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head p, .why-head p { color: var(--muted); font-size: 1.125rem; margin-top: 16px; }
.lead { font-size: 1.25rem; color: var(--navy); font-weight: 500; }
.fine-print { color: var(--muted); font-size: .875rem; margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.0625rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 63, 181, .6); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-700); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-weight: 600; text-decoration: none; color: var(--blue);
}
.text-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: height .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { --header-h: 64px; height: 64px; border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(8, 26, 64, .2); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 40px; width: auto; transition: height .25s ease; }
.is-scrolled .brand-logo { height: 34px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .9688rem; text-decoration: none;
}
.main-nav a:not(.btn):hover { color: var(--blue); background: var(--blue-50); }
.main-nav a.is-active { color: var(--blue); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(8, 26, 64, .3);
    padding: 12px 20px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-mobile-cta { display: flex; width: 100%; margin-top: 18px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-logo { height: 32px; }
  .is-scrolled .brand-logo { height: 30px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(30, 155, 240, .14), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(10, 63, 181, .08), transparent 70%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(10, 63, 181, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-title span { display: block; }
@media (max-width: 960px) { .hero-orbit { display: none; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--blue); font-weight: 600; font-size: .9375rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 138, 0, .18); }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.85rem); text-wrap: balance; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.hero-sub { margin: 22px 0 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--blue); }
.hero-desc { color: var(--muted); font-size: 1.125rem; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-highlights li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .96875rem; }
.hero-highlights .icon { color: var(--blue); }

/* Console illustration */
.console {
  margin: 0; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.console-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.console-title { font-size: .875rem; font-weight: 600; color: var(--muted); }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--wa); }
.console-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.console-body { padding: 22px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff, #f8fafd); }
.flow-step { position: relative; }
.flow-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; background: #e6f6ec; color: var(--wa);
}
.flow-chip .icon { width: 16px; height: 16px; }
.flow-time { float: right; font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.bubble { margin: 10px 0 0; padding: 11px 15px; border-radius: 16px; font-size: .9375rem; line-height: 1.45; max-width: 86%; }
.bubble-in { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.bubble-ai { margin: 0 0 0 auto; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.qual-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.qual-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: 10px; }
.qual-head .icon { width: 18px; height: 18px; color: var(--amber-600); }
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.qual-grid dt { font-size: .75rem; color: var(--muted); }
.qual-grid dd { margin: 2px 0 0; font-size: .875rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.meter { width: 44px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 82%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--green)); }
.flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: var(--radius); background: var(--blue-50); }
.mini-card .icon { color: var(--blue); margin-top: 2px; }
.mini-card strong { display: block; font-size: .875rem; color: var(--navy); }
.mini-card span { font-size: .8125rem; color: var(--muted); }

/* One orchestrated entrance: the workflow plays once on load */
@media (prefers-reduced-motion: no-preference) {
  .console .flow-step { animation: stepIn .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d) * .6s + .35s); }
  .console .meter span { animation: meterFill .9s ease-out both; animation-delay: 1.9s; }
  .console-live::before { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes meterFill { from { width: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(39, 176, 37, .45); } 50% { box-shadow: 0 0 0 6px rgba(39, 176, 37, 0); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .console { max-width: 560px; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .console-body { padding: 16px; }
  .qual-grid { grid-template-columns: 1fr 1fr; }
  .flow-row { grid-template-columns: 1fr; }
  .console-live { display: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy .section-title { margin-bottom: 24px; }
.about-copy p:not(.lead) { color: var(--muted); max-width: 62ch; }
.benefit-stack { display: grid; gap: 0; border-top: 1px solid var(--line); }
.benefit-stack li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.benefit-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.benefit-stack li:nth-child(2) .benefit-icon { background: #e7f5fe; color: #0b77c2; }
.benefit-stack li:nth-child(3) .benefit-icon { background: #fff1e0; color: var(--amber-600); }
.benefit-stack h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.benefit-stack p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Problems ---------- */
.problems { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.problems::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 155, 240, .22), transparent 65%); pointer-events: none;
}
.problems .section-title { color: #fff; max-width: 24ch; }
.problems-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 48px; position: relative; }
.problems-head p { color: var(--on-dark-muted); font-size: 1.125rem; margin: 0; }
.problem-table { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
.problem-row { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 32px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.problem-row span:first-child { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 1.125rem; display: flex; gap: 14px; align-items: baseline; }
.problem-row:not(.problem-row-head) span:first-child::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: translateY(-2px); }
.problem-row span:last-child { color: var(--on-dark-muted); }
.problem-row:not(.problem-row-head) span:last-child { padding-left: 18px; border-left: 2px solid var(--sky); }
.problem-row-head { padding: 14px 0; }
.problem-row-head span, .problem-row-head span:first-child { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .problems-head { grid-template-columns: 1fr; }
  .problem-row { grid-template-columns: 1fr; gap: 10px; }
  .problem-row-head { display: none; }
}

/* ---------- Solutions ---------- */
.solutions { background: var(--paper); }
.solution {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.solution h3 { font-size: 1.1875rem; }
.solution p { color: var(--muted); margin: 0; font-size: 1rem; }
.solution-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.check-list { display: grid; gap: 8px; margin: 4px 0 8px; }
.check-list li { position: relative; padding-left: 26px; font-size: .9688rem; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.solutions-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.solution-feature { padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.solution-feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.solution-feature + .solution-feature::before { background: linear-gradient(90deg, var(--wa), var(--green)); }
.solution-feature + .solution-feature .solution-icon { background: #e6f6ec; color: var(--wa); }
.solution-feature h3 { font-size: 1.6rem; }
.solution-feature p { font-size: 1.0625rem; }
.solution-feature .check-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.solution-feature .btn { align-self: flex-start; margin-top: auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .solutions-featured { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-feature .check-list { grid-template-columns: 1fr; }
  .solution-feature .btn { width: 100%; white-space: normal; }
}

/* ---------- Platforms ---------- */
.platforms { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0a3394 100%); color: var(--on-dark); }
.section-head-light .section-title { color: #fff; }
.section-head-light p { color: var(--on-dark-muted); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.platform {
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.platform-art {
  min-height: 190px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(39, 176, 37, .25), transparent 60%), rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.pa-bubble { max-width: 74%; padding: 10px 14px; border-radius: 14px; font-size: .9063rem; line-height: 1.4; }
.pa-left { align-self: flex-start; background: rgba(255, 255, 255, .92); color: var(--ink); border-bottom-left-radius: 4px; }
.pa-right { align-self: flex-end; background: var(--wa); color: #fff; border-bottom-right-radius: 4px; }
.platform-art-call { align-items: center; background: radial-gradient(80% 120% at 0% 0%, rgba(30, 155, 240, .3), transparent 60%), rgba(255, 255, 255, .04); }
.pa-wave { display: flex; align-items: center; gap: 6px; height: 72px; }
.pa-wave i { width: 6px; border-radius: 6px; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.pa-wave i:nth-child(1), .pa-wave i:nth-child(12) { height: 16px; }
.pa-wave i:nth-child(2), .pa-wave i:nth-child(11) { height: 30px; }
.pa-wave i:nth-child(3), .pa-wave i:nth-child(10) { height: 46px; }
.pa-wave i:nth-child(4), .pa-wave i:nth-child(9) { height: 62px; }
.pa-wave i:nth-child(5), .pa-wave i:nth-child(8) { height: 40px; }
.pa-wave i:nth-child(6), .pa-wave i:nth-child(7) { height: 70px; background: linear-gradient(180deg, var(--amber), var(--sky)); }
.pa-call-meta { font-size: .875rem; color: var(--on-dark-muted); font-weight: 500; }
.platform-body { padding: 28px clamp(24px, 3vw, 36px) 34px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.platform-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--sky); }
.platform h3 { color: #fff; font-size: 1.5rem; }
.platform p { color: var(--on-dark-muted); margin: 0 0 8px; }
.platform .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .platform-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .platform .btn { width: 100%; white-space: normal; } }

/* ---------- Templates ---------- */
.templates { overflow-x: clip; }
.templates-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.templates-figure {
  position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center;
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--blue-50) 70%);
  box-shadow: inset 0 0 0 1px rgba(10, 63, 181, .08);
}
.templates-figure::before, .templates-figure::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(10, 63, 181, .18); }
.templates-figure::after { inset: 4% -7%; border-color: rgba(255, 138, 0, .55); border-width: 2px; transform: rotate(-18deg); border-left-color: transparent; border-bottom-color: transparent; }
.templates-number {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 11vw, 8.5rem); line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--blue) 20%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.templates-caption { font-weight: 600; color: var(--muted); margin-top: 8px; max-width: 16ch; margin-inline: auto; }
.templates-copy p { color: var(--muted); font-size: 1.125rem; margin: 18px 0 26px; max-width: 56ch; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tag-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-strong); font-weight: 600; font-size: .9375rem; color: var(--navy);
}
.tag-list .icon { color: var(--blue); }
@media (max-width: 860px) {
  .templates-grid { grid-template-columns: 1fr; }
  .templates-figure { max-width: 280px; }
}
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }
@media (max-width: 480px) { .templates-copy .btn { width: 100%; white-space: normal; } }

/* ---------- Industries ---------- */
.industries { background: var(--paper); }
.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.industry-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); margin-bottom: 6px; }
.industry h3 { font-size: 1.1875rem; }
.industry p { color: var(--muted); margin: 0; font-size: 1rem; }
.industry-other { background: transparent; border: 1.5px dashed var(--line-strong); justify-content: center; }
.industry-other .text-link { margin-top: 6px; }
@media (max-width: 960px) { .industry-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .industry-list { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.why-head p { margin: 0; }
.positioning {
  margin: clamp(40px, 5vw, 56px) 0; padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg); background: var(--navy); position: relative; overflow: hidden;
}
.positioning::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--amber), var(--sky)); }
.positioning::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(30, 155, 240, .25); }
.positioning p { margin: 0; position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; color: #fff; max-width: 40ch; letter-spacing: -0.01em; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-grid li { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.why-grid .icon { color: var(--blue); width: 26px; height: 26px; }
.why-grid h3 { font-size: 1.0313rem; line-height: 1.3; }
.why-grid p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .why-head { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky) 70%, rgba(30, 155, 240, .2)); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; margin-bottom: 22px;
}
.step:last-child .step-num { background: var(--blue); color: #fff; }
.step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--sky)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; padding-top: 4px; }
}

/* ---------- Pricing ---------- */
.pricing { padding-block: 0 var(--section-pad); background: var(--paper); }
.pricing-panel {
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: radial-gradient(70% 140% at 100% 0%, rgba(30, 155, 240, .45), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.pricing .section-title { color: #fff; }
.pricing-copy p { color: #d7e3fb; font-size: 1.125rem; margin: 16px 0 0; max-width: 58ch; }
.pricing-price { display: grid; gap: 4px; }
.price-label { font-size: .875rem; color: #d7e3fb; }
.price-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; }
.price-note { font-size: .875rem; color: #d7e3fb; }
.pricing .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }
.pricing .btn-primary:hover { background: var(--blue-50); }
@media (max-width: 800px) { .pricing-panel { grid-template-columns: 1fr; } .pricing-action .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p { color: var(--muted); margin-top: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary .icon { color: var(--blue); transition: transform .25s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }
.faq-body p { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -300px; bottom: -380px; width: 900px; height: 600px; border-radius: 50%;
  border: 2px solid rgba(255, 138, 0, .25); transform: rotate(-14deg); pointer-events: none;
}
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .section-title { color: #fff; }
.contact-info > p { color: var(--on-dark-muted); font-size: 1.125rem; margin: 18px 0 28px; }
.contact-list { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list dt { display: flex; align-items: center; gap: 10px; color: var(--on-dark-muted); font-size: .9375rem; }
.contact-list dt .icon { width: 18px; height: 18px; color: var(--sky); }
.contact-list dd { margin: 0; color: #fff; }
.contact-list a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.contact-list a:hover { color: var(--sky); }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.form-title { font-size: 1.5rem; }
.form-intro { color: var(--muted); font-size: .9375rem; margin: 6px 0 22px; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--navy); }
.req { color: #b4231a; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23536079' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 63, 181, .15); }
.field [aria-invalid="true"] { border-color: #b4231a; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 26, .15); }
.field-hint { font-size: .8438rem; color: var(--muted); margin: 0; }
.field-error { font-size: .875rem; color: #b4231a; margin: 0; font-weight: 500; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 6px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.field-check label { font-weight: 400; font-size: .9375rem; color: var(--ink); }
.field-check .field-error { grid-column: 2; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { margin: 0; font-weight: 500; font-size: .9688rem; }
.form-status.is-success { color: var(--wa); }
.form-status.is-error { color: #b4231a; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .enquiry-form { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .form-actions .btn, .contact-info .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 80px); font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: #fff; padding: 14px 18px; border-radius: var(--radius); }
.footer-logo img { width: 180px; }
.footer-brand p { margin-top: 18px; color: var(--on-dark); }
.footer-col h2 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(14, 122, 60, .6);
  transition: transform .2s ease, background-color .2s ease, opacity .25s ease;
}
.wa-float:hover { background: var(--wa-700); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Revision 2 additions
   ========================================================================== */

/* Demo journey steps (contact section) */
.journey { display: grid; gap: 12px; margin: 4px 0 0; counter-reset: none; }
.journey li { display: flex; align-items: center; gap: 14px; color: var(--on-dark); font-weight: 500; }
.journey-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); font-family: var(--font-display); font-size: .9375rem; color: #fff;
}
.journey li:last-child .journey-num { background: var(--wa); border-color: var(--wa); }

/* Success state after confirmed submission */
.form-success { text-align: center; padding: clamp(16px, 4vw, 40px) clamp(4px, 2vw, 24px); }
.form-success:focus { outline: none; }
.form-success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #e6f6ec; color: var(--wa); margin-bottom: 18px;
}
.form-success-icon .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.form-success p { color: var(--muted); max-width: 44ch; margin: 12px auto 24px; font-size: 1.0625rem; }
.form-success .form-success-note { font-size: .875rem; margin: 14px auto 18px; }
.text-button {
  background: none; border: 0; padding: 6px 4px; cursor: pointer;
  color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.text-button:hover { color: var(--blue-700); }
.enquiry-form[aria-busy="true"] { opacity: .85; }
@media (max-width: 560px) { .form-success .btn { width: 100%; } }

/* Customer success stories */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result {
  --accent: var(--blue);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 26px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.result::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.result-amber { --accent: var(--amber); }
.result-sky { --accent: var(--sky); }
.result-green { --accent: var(--green); }
.result-industry {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .8438rem; font-weight: 600; color: var(--navy);
}
.result-industry .icon { color: var(--accent); }
.result-figure { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.result-number {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--navy);
}
.result-label { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; color: var(--blue); letter-spacing: 0; }
.result p { margin: 0; color: var(--muted); font-size: .96875rem; }
.result-time { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink); padding-top: 6px; }
.result-time .icon { color: var(--muted); }
.results-note { text-align: left; }
@media (max-width: 1080px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
.legal-meta { color: var(--muted); margin-top: 12px; }
.draft-banner {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 20px; border-radius: var(--radius);
  background: #fff6e8; border: 1px solid #f5c98a; color: #6b3d00; max-width: 820px;
}
.draft-banner strong { color: #4f2d00; }
.draft-banner p { margin: 0; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-block: 56px var(--section-pad); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9375rem; }
.legal-toc h2 { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { display: grid; gap: 6px; counter-reset: toc; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
.legal-content { max-width: 72ch; }
.legal-content h2 { font-size: 1.5rem; margin: 44px 0 14px; padding-top: 8px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.125rem; margin: 24px 0 10px; }
.legal-content p, .legal-content li { color: #2b3550; }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.review {
  display: inline; background: #fff1d6; color: #6b3d00; padding: 1px 6px; border-radius: 4px;
  font-size: .9em; font-weight: 600; border: 1px dashed #e0a24a;
}
.review-block { display: block; padding: 10px 14px; margin: 0 0 1em; border-radius: var(--radius-sm); font-weight: 500; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } }

/* Simple page (404 / form response) */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 20px 80px; background: var(--paper); }
.simple-page h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 14px; }
.simple-page p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.simple-page .btn { margin: 8px 6px 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .hero-orbit, .legal-toc { display: none !important; }
  .legal-hero, .hero { padding-top: 24px; }
  body { font-size: 11pt; }
}
