/* ==========================================================================
   AegisKomply — design system and site styles
   1. Tokens          5. Shield-Flow Capsule system
   2. Base            6. Sections
   3. Layout          7. Pages (about, contact, legal)
   4. Components      8. Motion and accessibility
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Brand palette */
  --color-brand-cyan: #20969E;
  --color-brand-orange: #F28C28;
  /* No navy: dark text and dark surfaces use a neutral, teal-tinted charcoal. */
  --color-ink: #1B2628;
  --color-ink-soft: #2C393B;
  --color-brand-offwhite: #F4F5F2;

  /* Derived brand tones (contrast-checked) */
  --color-cyan-ink: #17747A;        /* cyan text on light surfaces: 5.3:1 on white, 4.9:1 on off-white */
  --color-cyan-50: #F0F8F8;         /* lightest tinted section */
  --color-cyan-soft: #E0F0F0;       /* tinted fills */
  --color-cyan-line: #A9D6D9;       /* tinted hairlines */
  --color-cyan-deep: #0F5F64;       /* deep brand cyan for the one dark band */
  --color-cyan-on-dark: #CDEFF0;    /* light cyan text on the deep cyan band: 5:1+ */
  --color-orange-strong: #E27A14;   /* orange hover */
  --color-whatsapp: #1A9E4B;        /* WhatsApp green, deepened so white reads on it (3.5:1) */
  --color-whatsapp-strong: #158A40;
  --color-orange-soft: #FDEEDD;
  --color-orange-ink: #8A4A07;      /* orange-family text on light: 6.4:1 */

  /* Surfaces and text */
  --color-background: var(--color-brand-offwhite);
  --color-surface: #FFFFFF;
  --color-surface-muted: #ECEFEB;
  --color-surface-sunken: #FAFBF9;
  --color-text-primary: var(--color-ink);
  --color-text-secondary: #526063;  /* 5.9:1 on off-white */
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: #D3ECEC;
  --color-border: #DCE3E2;
  --color-border-strong: #C3CFCE;
  --color-border-on-dark: rgba(255, 255, 255, 0.16);

  /* Status (always paired with text) */
  --color-status-ok: #1D7A55;
  --color-status-ok-soft: #E1F2EA;
  --color-status-due: #8A4A07;
  --color-status-due-soft: #FDEEDD;
  --color-status-overdue: #B23A2A;
  --color-status-overdue-soft: #F9E4E0;
  --color-error: #B23A2A;

  /* Accent palette for icons and categories. ink = text/stroke (4.5:1+ on its soft fill),
     mid = graphics and borders, soft = tinted fills. Meaning: cyan core platform, green done or
     compliant, amber upcoming/due, orange actions and partners, coral critical, blue data. */
  --tone-cyan-ink: #17747A;   --tone-cyan-mid: #20969E;   --tone-cyan-soft: #DDF0F0;
  --tone-green-ink: #1D7A55;  --tone-green-mid: #2FA36B;  --tone-green-soft: #DFF3E8;
  --tone-amber-ink: #835500;  --tone-amber-mid: #E3A21A;  --tone-amber-soft: #FCF0D2;
  --tone-orange-ink: #9A4A05; --tone-orange-mid: #F28C28; --tone-orange-soft: #FDEBD8;
  --tone-coral-ink: #B23A2A;  --tone-coral-mid: #E8604C;  --tone-coral-soft: #FBE4DF;
  --tone-blue-ink: #2759A6;   --tone-blue-mid: #3B7DDD;   --tone-blue-soft: #E2EBF8;

  /* Typography */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-2xs: 0.75rem;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-display: clamp(2.3rem, 1.25rem + 4.1vw, 4.6rem);
  --leading-tight: 1.02;
  --leading-snug: 1.2;
  --leading-body: 1.65;
  --tracking-tight: -0.025em;
  --tracking-caps: 0.14em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --container: 1240px;
  --measure: 62ch;

  /* Radius: one logic, derived from the logo's capsule */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-frame: 36px;
  --radius-capsule: 999px;

  /* Lines */
  --line-hair: 1px;
  --line-flow: 1.5px;
  --node-size: 9px;

  /* Elevation (borders first, shadows second) */
  --shadow-sm: 0 1px 2px rgba(22, 40, 42, 0.06);
  --shadow-md: 0 1px 2px rgba(22, 40, 42, 0.05), 0 14px 32px -16px rgba(22, 40, 42, 0.22);
  --shadow-lg: 0 2px 4px rgba(22, 40, 42, 0.05), 0 40px 80px -36px rgba(22, 40, 42, 0.38);
  --shadow-float: 0 1px 1px rgba(22, 40, 42, 0.04), 0 18px 40px -20px rgba(22, 40, 42, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-fast: 180ms;
  --dur-base: 240ms;
  --dur-move: 320ms;
  --dur-reveal: 640ms;
  --dur-enter: 760ms;

  --header-height: 80px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text-primary);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--space-4); }

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

a {
  color: var(--color-cyan-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--color-cyan-soft); color: var(--color-ink); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  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: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-3); }

main:focus { outline: none; }

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); position: relative; }
.section-surface { background: var(--color-surface); }
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.pt-0 { padding-top: 0; }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: var(--text-3xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-head p:not(.eyebrow) {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: var(--measure);
}
.section-head.center p:not(.eyebrow) { margin-inline: auto; }

.split {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-wide-right { grid-template-columns: 0.9fr 1.1fr; }
  .split-top { align-items: start; }
}

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid-2, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.lead { font-size: var(--text-lg); color: var(--color-text-secondary); }
.muted { color: var(--color-text-secondary); }
.h2-display { font-size: var(--text-3xl); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.stack-4 { margin-top: var(--space-4); }
.stack-5 { margin-top: var(--space-5); }

/* 4. Components ----------------------------------------------------------- */

/* Eyebrow: status pill with a connection node */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 6px 14px 6px 10px;
  border: var(--line-hair) solid var(--color-cyan-line);
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-cyan-ink);
}
.eyebrow::before {
  content: "";
  width: var(--node-size);
  height: var(--node-size);
  border-radius: 50%;
  border: 2px solid var(--color-brand-cyan);
  background: var(--color-surface);
}

/* Buttons */
.btn {
  --btn-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--btn-height);
  padding: 0 24px;
  border: var(--line-hair) solid transparent;
  border-radius: var(--radius-capsule);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-sm { --btn-height: 42px; padding: 0 18px; }
.btn-lg { --btn-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Orange directs attention; charcoal text keeps 6:1+ contrast. */
.btn-primary { background: var(--color-brand-orange); color: var(--color-ink); }
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}
.btn-cyan { background: var(--color-cyan-ink); color: #fff; }
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-orange-strong); }
  .btn-secondary:hover { border-color: var(--color-ink); }
  .btn-cyan:hover { background: var(--color-cyan-deep); }
  .btn-ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
  .btn .icon-arrow { transition: transform var(--dur-fast) var(--ease-out); }
  .btn:hover .icon-arrow { transform: translateX(3px); }
}

/* Sliding-badge button, adapted from hero-01: the round arrow badge travels to the
   other end on hover while the label shifts the opposite way. */
.btn-badge {
  position: relative;
  overflow: hidden;
  padding-inline: 26px calc(var(--btn-height) + 6px);
  transition:
    transform var(--dur-press) var(--ease-out),
    background-color var(--dur-fast) ease,
    padding var(--dur-move) var(--ease-in-out);
}
.btn-badge-icon {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: calc(var(--btn-height) - 10px);
  height: calc(var(--btn-height) - 10px);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-cyan-ink);
  box-shadow: 0 2px 6px -2px rgba(22, 40, 42, 0.25);
  transform: translateY(-50%);
  transition: right var(--dur-move) var(--ease-in-out), transform var(--dur-move) var(--ease-in-out);
}
.btn-badge .btn-badge-icon .icon { width: 16px; height: 16px; }
.btn-badge-label { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .btn-badge:hover { padding-inline: calc(var(--btn-height) + 6px) 26px; }
  .btn-badge:hover .btn-badge-icon {
    right: calc(100% - var(--btn-height) + 5px);
    transform: translateY(-50%) rotate(45deg);
  }
}

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.header-actions .btn { white-space: nowrap; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-cyan-ink);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 16px; height: 16px; stroke-width: 2; }

/* Status pill: compact capsule, never colour alone */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-capsule);
  font-size: var(--text-2xs);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  background: var(--color-surface-muted);
  color: var(--color-text-secondary);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill-plain::before { display: none; }
.pill-ok { background: var(--color-status-ok-soft); color: var(--color-status-ok); }
.pill-due { background: var(--color-status-due-soft); color: var(--color-status-due); }
.pill-overdue { background: var(--color-status-overdue-soft); color: var(--color-status-overdue); }
.pill-cyan { background: var(--color-cyan-soft); color: var(--color-cyan-ink); }
.pill-outline { background: transparent; border: 1px dashed var(--color-border-strong); }

/* Cards */
.card {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-base) ease;
}
.section-surface .card { background: var(--color-background); }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); border-color: var(--color-cyan-line); box-shadow: var(--shadow-md); }
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--tone-soft, var(--tone-cyan-soft)), #FFFFFF 150%);
  border: var(--line-hair) solid color-mix(in srgb, var(--tone-mid, var(--tone-cyan-mid)) 30%, transparent);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 16px -12px var(--tone-mid, var(--tone-cyan-mid));
  color: var(--tone-ink, var(--tone-cyan-ink));
  flex: none;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease;
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile-muted { background: var(--color-surface-muted); color: var(--color-ink); }

/* 5. Shield-Flow Capsule system ------------------------------------------ */
/*
   Shape family, used sparingly:
   .shield-frame     rounded frame with a tapered, shield-inspired lower contour (hero, layers, preview)
   .orbit            one or two thin ovals around a product visual
   flow connectors   smooth curves between stages or participants (steps, ecosystem, hero underline)
   .pill             status capsule (see Components)
   .node             connection point, only where a line meets a shape
   capsules          oblong cards: layers, ecosystem nodes, steps, labels
*/
.shield-frame {
  position: relative;
  isolation: isolate;
}
.shield-frame > .shield-shape {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.shield-shape path { vector-effect: non-scaling-stroke; }
.shield-shape .frame-fill { fill: url(#frame-gradient); stroke: var(--color-brand-cyan); stroke-width: var(--line-flow); }
.shield-shape .frame-inner { fill: none; stroke: var(--color-brand-cyan); stroke-width: 1; opacity: 0.28; }

.orbit ellipse { fill: none; stroke: var(--color-ink); stroke-width: 1; opacity: 0.12; vector-effect: non-scaling-stroke; }
.orbit .orbit-inner { stroke: var(--color-brand-cyan); opacity: 0.32; stroke-dasharray: 2 7; }

.node {
  display: block;
  width: var(--node-size);
  height: var(--node-size);
  border-radius: 50%;
  border: 2px solid var(--color-brand-cyan);
  background: var(--color-surface);
}
.node-accent { border-color: var(--color-brand-orange); background: var(--color-brand-orange); }

/* Brand signature line */
.signature {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--color-cyan-ink);
  margin: 0;
}
.signature-on-dark { color: var(--color-cyan-on-dark); }

/* 6. Sections ------------------------------------------------------------- */

/* Header: adapted hero-01 header ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  pointer-events: none; /* the shell re-enables; lets the hero glow show through edges */
}
.header-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  max-width: calc(var(--container) + 24px);
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border: var(--line-hair) solid transparent;
  border-radius: var(--radius-capsule);
  transition:
    background-color var(--dur-base) ease,
    border-color var(--dur-base) ease,
    box-shadow var(--dur-base) ease;
}
.site-header[data-scrolled="true"] .header-shell {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-color: rgba(195, 207, 206, 0.7);
  box-shadow: var(--shadow-float);
}

/* Official logo: aspect ratio always preserved; clear space from the shell padding. */
.brand { display: block; flex: none; border-radius: var(--radius-capsule); }
.brand img { width: auto; height: 38px; }

.primary-nav { display: none; }
.nav-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  list-style: none;
  border-radius: var(--radius-capsule);
  background: rgba(236, 239, 235, 0.9);
  border: var(--line-hair) solid var(--color-border);
}
.nav-track li { position: relative; z-index: 1; }
.nav-track a {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-capsule);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}
.nav-track a:hover, .nav-track a[aria-current="page"], .nav-track a[data-active] { color: var(--color-text-primary); }
/* Sliding active pill; JS positions it. Without JS the current link gets its own background. */
.nav-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(195, 207, 206, 0.6);
  opacity: 0;
  transition:
    transform var(--dur-move) var(--ease-out),
    width var(--dur-move) var(--ease-out),
    opacity var(--dur-fast) ease;
}
.nav-indicator.is-ready { opacity: 1; }
html:not(.js) .nav-track a[aria-current="page"] { background: var(--color-surface); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--line-hair) solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-ink);
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-fast) ease;
}
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle .icon { width: 20px; height: 20px; stroke-width: 1.8; }

/* Seven links plus three actions need ~1320px; below that the links move into the sheet while
   the actions stay in the header where space allows. */
@media (min-width: 1320px) {
  .primary-nav { display: block; }
  .menu-toggle[data-menu-open] { display: none; }
}
@media (max-width: 899px) { .header-demo { display: none; } }
@media (max-width: 639px) { .header-login { display: none; } }
.header-actions .btn-sm { --btn-height: 40px; }
@media (min-width: 1320px) {
  .header-shell { gap: 10px; padding-left: 10px; }
  .brand img { height: 34px; }
  .nav-track a { padding: 8px 10px; font-size: 0.875rem; }
  .header-actions { gap: 4px; }
  .header-login { padding: 0 10px; }
  .header-demo { padding: 0 12px; }
  .header-cta { padding-left: 16px; }
}
.header-demo { padding: 0 16px; }
@media (max-width: 479px) {
  .header-cta { display: none; }
  .brand img { height: 34px; }
}

/* Quiet secondary action, used for Log In */
.btn-ghost { background: transparent; color: var(--color-ink); border-color: transparent; }
.btn-ghost .icon { width: 17px; height: 17px; color: var(--color-cyan-ink); transition: transform var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: var(--color-surface); border-color: var(--color-border); }
  .btn-ghost:hover .icon { transform: translateX(2px); }
}
.site-header[data-scrolled="true"] .btn-ghost:hover { background: var(--color-surface-muted); }

/* Mobile sheet (native <dialog>: focus trap, Escape and inert page come for free) */
.nav-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 400px);
  max-width: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-background);
  color: var(--color-text-primary);
  box-shadow: -24px 0 60px -30px rgba(12, 29, 48, 0.45);
  pointer-events: auto;
  transform: translateX(100%);
  transition:
    transform var(--dur-move) var(--ease-drawer),
    overlay var(--dur-move) allow-discrete,
    display var(--dur-move) allow-discrete;
}
.nav-sheet[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .nav-sheet[open] { transform: translateX(100%); } }
.nav-sheet::backdrop {
  background: rgba(12, 29, 48, 0.36);
  opacity: 0;
  transition: opacity var(--dur-move) ease, overlay var(--dur-move) allow-discrete, display var(--dur-move) allow-discrete;
}
.nav-sheet[open]::backdrop { opacity: 1; }
@starting-style { .nav-sheet[open]::backdrop { opacity: 0; } }

.nav-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: var(--line-hair) solid var(--color-border);
}
.nav-sheet-head .brand img { height: 34px; }
.nav-sheet-body { display: grid; gap: var(--space-6); padding: var(--space-6) 24px; overflow-y: auto; }
.sheet-links { list-style: none; display: grid; gap: 2px; }
.sheet-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast) ease, transform var(--dur-base) var(--ease-out);
}
/* hero-01 detail: a short cyan dash leads the active link */
.sheet-links a::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: 0;
  background: var(--color-brand-cyan);
  border-radius: 2px;
  transition: width var(--dur-base) var(--ease-out), margin var(--dur-base) var(--ease-out);
}
.sheet-links a[aria-current="page"] { color: var(--color-cyan-ink); }
.sheet-links a[aria-current="page"]::before, .sheet-links a:hover::before { width: 16px; margin-right: 10px; }
.sheet-links a:hover { color: var(--color-text-primary); }
.sheet-actions { display: grid; gap: var(--space-3); }
.sheet-actions .btn { width: 100%; }
.sheet-login { justify-self: center; }
.nav-sheet-foot {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
  padding: var(--space-5) 24px calc(var(--space-5) + env(safe-area-inset-bottom));
  border-top: var(--line-hair) solid var(--color-border);
  font-size: var(--text-sm);
}
.nav-sheet-foot a { color: var(--color-text-secondary); text-decoration: none; font-weight: 600; }
.nav-sheet-foot a:hover { color: var(--color-cyan-ink); text-decoration: underline; }
.nav-sheet-foot .signature { margin-bottom: var(--space-2); }

/* Hero: adapted hero-01 hero ---------------------------------------------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-height) * -1);
  padding-top: calc(var(--header-height) + clamp(2.5rem, 1rem + 5vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
/* hero-01's blurred gradient capsule, in brand tints */
.hero-glow {
  position: absolute;
  z-index: -1;
  top: 140px;
  left: 50%;
  width: min(1100px, 120%);
  height: 560px;
  border-radius: var(--radius-capsule);
  background: linear-gradient(90deg, rgba(32, 150, 158, 0.22), rgba(255, 255, 255, 0.6) 50%, rgba(242, 140, 40, 0.16));
  filter: blur(64px);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: transform;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 {
  font-size: var(--text-display);
  line-height: var(--leading-tight);
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 24ch;
}
.hero-gradient {
  /* Large text only: every stop keeps at least 3:1 on the off-white background. */
  background: linear-gradient(100deg, var(--tone-cyan-ink), #12867D);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--color-cyan-ink);
  -webkit-text-fill-color: transparent;
}
/* Positioned (for the underline), so it paints its own gradient: background-clip: text on the
   parent does not reach a positioned child's text. */
.hero-accent {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(100deg, #12867D, #B4580B);
  -webkit-background-clip: text;
  background-clip: text;
}
@media (max-width: 767px) { .hero-break { display: none; } }

/* Free-access hook: prominent, but smaller than the headline */
.offer-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-5);
  padding: 5px 6px 5px 5px;
  overflow: hidden;
  border-radius: var(--radius-capsule);
  border: var(--line-hair) solid rgba(242, 140, 40, 0.45);
  background: linear-gradient(90deg, #FFF3E6, #FFFFFF 70%);
  box-shadow: 0 10px 28px -16px rgba(242, 140, 40, 0.75);
  color: var(--color-ink);
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-base) ease, transform var(--dur-press) var(--ease-out);
}
.offer-badge:active { transform: scale(0.98); }
.offer-badge-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F28C28, #F6A957);
  color: var(--color-ink);
}
.offer-badge-icon .icon { width: 16px; height: 16px; stroke-width: 1.9; }
.offer-badge-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-capsule);
  background: var(--tone-orange-soft);
  color: var(--tone-orange-ink);
  letter-spacing: 0;
  text-transform: none;
  font-size: var(--text-xs);
}
.offer-badge-more .icon { width: 14px; height: 14px; stroke-width: 2; transition: transform var(--dur-fast) var(--ease-out); }
/* One light sweep after the entrance draws the eye once, then stops. */
.offer-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: badge-sweep 1100ms var(--ease-in-out) 1200ms 1 both;
  pointer-events: none;
}
@keyframes badge-sweep { to { transform: translateX(100%); } }
@media (hover: hover) and (pointer: fine) {
  .offer-badge:hover { border-color: var(--color-brand-orange); box-shadow: 0 12px 30px -14px rgba(242, 140, 40, 0.9); }
  .offer-badge:hover .offer-badge-more .icon { transform: translateX(3px); }
}
@media (max-width: 479px) {
  .offer-badge { letter-spacing: 0.06em; }
  .offer-badge-more { padding: 6px; }
  .offer-badge-more .more-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.hero-terms { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-secondary); max-width: 60ch; }
.hero-terms a { font-weight: 700; }
.hero-underline {
  position: absolute;
  left: 2%;
  bottom: -0.16em;
  width: 96%;
  height: 0.26em;
  overflow: visible;
}
.hero-underline path { fill: none; stroke: var(--color-brand-cyan); stroke-width: 3; stroke-linecap: round; }
.hero-underline circle { fill: var(--color-brand-orange); }

.hero-tagline {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.hero-tagline::before, .hero-tagline::after {
  content: "";
  width: clamp(20px, 6vw, 56px);
  height: var(--line-hair);
  background: linear-gradient(90deg, transparent, var(--color-brand-cyan));
}
.hero-tagline::after { background: linear-gradient(90deg, var(--color-brand-cyan), transparent); }
@media (max-width: 479px) { .hero-tagline::before, .hero-tagline::after { display: none; } }

.hero-body {
  margin-top: var(--space-5);
  max-width: 62ch;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
@media (max-width: 479px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
/* Replaces hero-01's avatar list and star rating: the brand line, not invented social proof. */
.hero-signature { display: grid; justify-items: center; gap: var(--space-2); margin-top: var(--space-6); }
.signature-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--color-ink);
}
.signature-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-cyan); }
.signature-line i:last-of-type { background: var(--color-brand-orange); }
.hero-note { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* Hero product stage */
.hero-stage {
  position: relative;
  max-width: 1120px;
  margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0;
}
.stage-frame {
  position: relative;
  padding: clamp(10px, 2.4vw, 26px) clamp(10px, 2.4vw, 26px) clamp(48px, 9vw, 96px);
}
.stage-frame .orbit {
  position: absolute;
  inset: -5% -6% -2%;
  width: 112%;
  height: 107%;
  z-index: -2;
  pointer-events: none;
}
.visual-caption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: center;
}

/* Dock heading, with fading rules either side */
.rail-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
}
.rail-label::before, .rail-label::after {
  content: "";
  flex: 0 1 160px;
  height: var(--line-hair);
  background: linear-gradient(90deg, transparent, var(--color-border-strong));
}
.rail-label::after { background: linear-gradient(90deg, var(--color-border-strong), transparent); }
@media (max-width: 639px) { .rail-label::before, .rail-label::after { display: none; } }
/* Problem */
.problem-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .problem-layout { grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .problem-layout .section-head { position: sticky; top: calc(var(--header-height) + 32px); margin-bottom: 0; }
}
.problem-list { list-style: none; border-top: var(--line-hair) solid var(--color-border-strong); }
.problem {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-6) 0;
  border-bottom: var(--line-hair) solid var(--color-border-strong);
}
.problem-index { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; color: var(--color-text-secondary); padding-top: 12px; min-width: 2ch; }
.problem .icon-tile { margin: 0; }
.problem h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.problem p { margin-top: var(--space-2); color: var(--color-text-secondary); max-width: 52ch; }
@media (max-width: 479px) {
  .problem { grid-template-columns: auto 1fr; }
  .problem-index { display: none; }
}

.eco-legend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}
.eco-legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.eco-legend i { display: inline-block; width: 28px; height: 0; border-top: 1.5px solid var(--color-brand-cyan); }
.eco-legend i.dashed { border-top-style: dashed; }

.fine-print {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  max-width: 80ch;
}
.fine-print.center { margin-inline: auto; text-align: center; }

/* Outcomes */
.outcome { display: flex; flex-direction: column; }
.supported-by {
  margin-top: auto;
  padding-top: var(--space-5);
  font-size: var(--text-xs) !important;
  font-weight: 600;
  color: var(--color-text-primary) !important;
}
.supported-by span {
  display: block;
  margin-bottom: 4px;
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan-ink);
}
.outcome > p:not(.supported-by) { margin-bottom: 0; }

.compare {
  margin-top: var(--space-7);
  border: var(--line-hair) solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare caption {
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-weight: 700;
  font-size: var(--text-lg);
  border-bottom: var(--line-hair) solid var(--color-border);
}
.compare caption span { display: block; margin-top: 4px; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); }
.compare th[scope="col"] {
  text-align: left;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border-bottom: var(--line-hair) solid var(--color-border);
}
.compare th[scope="col"]:last-child { color: var(--color-cyan-ink); }
.compare td, .compare th[scope="row"] {
  padding: var(--space-4) var(--space-6);
  vertical-align: top;
  font-size: var(--text-sm);
  line-height: 1.55;
  text-align: left;
  border-bottom: var(--line-hair) solid var(--color-border);
}
.compare th[scope="row"] { font-weight: 700; width: 18%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare td:nth-child(2) { color: var(--color-text-secondary); }
.compare td:last-child { position: relative; padding-left: calc(var(--space-6) + 22px); }
.compare td:last-child::before {
  content: "";
  position: absolute;
  left: var(--space-6);
  top: calc(var(--space-4) + 5px);
  width: 12px; height: 7px;
  border-left: 2px solid var(--color-cyan-ink);
  border-bottom: 2px solid var(--color-cyan-ink);
  transform: rotate(-45deg);
}
@media (max-width: 767px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: var(--space-4) var(--space-5); border-bottom: var(--line-hair) solid var(--color-border); }
  .compare tr:last-child { border-bottom: 0; }
  .compare th[scope="row"], .compare td { display: block; width: auto; padding: 0; border: 0; }
  .compare td { margin-top: var(--space-2); }
  .compare td:nth-child(2)::before { content: "Common challenge: "; font-weight: 700; color: var(--color-text-primary); }
  .compare td:last-child { padding-left: 22px; }
  .compare td:last-child::before { left: 0; top: 6px; }
  .compare caption { padding: var(--space-5); }
}

/* Product preview tabs: muted track with a sliding active capsule */
.tabs { display: grid; gap: var(--space-6); }
.tablist {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-capsule);
  background: var(--color-surface-muted);
  border: var(--line-hair) solid var(--color-border);
  justify-self: center;
  max-width: 100%;
}
.tab {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-capsule);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { color: #fff; }
html:not(.js) .tab[aria-selected="true"] { background: var(--color-cyan-ink); }
.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-capsule);
  background: var(--color-cyan-ink);
  box-shadow: 0 6px 16px -8px rgba(23, 116, 122, 0.8);
  opacity: 0;
  transition:
    transform var(--dur-move) var(--ease-out),
    width var(--dur-move) var(--ease-out),
    height var(--dur-move) var(--ease-out),
    opacity var(--dur-fast) ease;
}
.tab-indicator.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tab:not([aria-selected="true"]):hover { color: var(--color-text-primary); }
}
@media (max-width: 639px) {
  .tablist { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); width: 100%; }
  .tab, .tab-indicator { border-radius: var(--radius-md); }
}

.preview-stage {
  position: relative;
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(12px, 3vw, 32px) clamp(12px, 3vw, 32px) clamp(64px, 10vw, 104px);
}
.tabpanel[hidden] { display: none; }
.tabpanel { animation: panel-in var(--dur-base) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.preview-cta { display: grid; justify-items: center; }

/* Partners */
.partner-grid { list-style: none; display: grid; gap: var(--space-4); }
.partner-card { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); }
.partner-card .icon-tile { margin: 0; }
.partner-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-6); }

/* Free access */
.offer {
  position: relative;
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  padding: clamp(1.5rem, 0.75rem + 4vw, 4.5rem);
  border-radius: var(--radius-frame);
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.offer::before {
  /* shield-inspired lower contour as a quiet accent */
  content: "";
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  border: var(--line-flow) solid rgba(32, 150, 158, 0.25);
  pointer-events: none;
}
@media (min-width: 1024px) { .offer { grid-template-columns: 1fr 1fr; align-items: start; } }
.offer h2 { font-size: var(--text-3xl); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.offer-sub {
  display: inline-flex;
  margin-top: var(--space-4);
  padding: 6px 14px;
  border-radius: var(--radius-capsule);
  background: var(--color-orange-soft);
  color: var(--color-orange-ink);
  font-weight: 700;
  font-size: var(--text-sm);
}
.offer-body { margin-top: var(--space-5); color: var(--color-text-secondary); }
.offer .btn-row { margin-top: var(--space-6); }
@media (max-width: 479px) { .offer .btn-row .btn { width: 100%; } }
.terms-note {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-background);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.terms-note .icon { color: var(--color-cyan-ink); width: 18px; height: 18px; margin-top: 1px; }

.offer-steps { list-style: none; display: grid; gap: var(--space-4); position: relative; }
.offer-steps::before {
  content: "";
  position: absolute;
  left: 21px; top: 28px; bottom: 28px;
  width: var(--line-flow);
  background: linear-gradient(var(--color-brand-cyan), var(--color-brand-orange));
  opacity: 0.6;
}
.offer-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: 18px 22px 18px 0; }
.offer-steps .num {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: var(--line-flow) solid var(--color-brand-cyan);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-cyan-ink);
}
.offer-steps li:last-child .num { border-color: var(--color-brand-orange); color: var(--color-orange-ink); }
.offer-steps h3 { font-size: var(--text-lg); }
.offer-steps p { margin-top: 4px; color: var(--color-text-secondary); font-size: var(--text-sm); }

/* FAQ */
.faq-layout { display: grid; gap: var(--space-7); }
.faq-layout .section-head { margin-bottom: 0; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 0.75fr 1.25fr; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-height) + 32px); } }
.faq-list { border-top: var(--line-hair) solid var(--color-border); }
.faq-item { border-bottom: var(--line-hair) solid var(--color-border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; }
.faq-icon {
  width: 32px; height: 32px; padding: 6px;
  border-radius: 50%;
  border: var(--line-hair) solid var(--color-border-strong);
  color: var(--color-ink);
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--color-cyan-soft); border-color: transparent; color: var(--color-cyan-ink); }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover .faq-q { color: var(--color-cyan-ink); } }
.faq-a { padding: 0 var(--space-7) var(--space-5) 0; color: var(--color-text-secondary); max-width: 70ch; }
@media (max-width: 639px) { .faq-a { padding-right: 0; } }

/* At a glance */
.glance {
  border-radius: var(--radius-lg);
  border: var(--line-hair) solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
}
.glance h3 {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-lg);
  border-bottom: var(--line-hair) solid var(--color-border);
  background: var(--color-surface-sunken);
}
.glance h3 .node { flex: none; }
.glance dl { margin: 0; }
.glance div { display: grid; gap: 4px; padding: var(--space-4) var(--space-6); border-bottom: var(--line-hair) solid var(--color-border); }
.glance div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .glance div { grid-template-columns: 160px 1fr; gap: var(--space-5); } }
.glance dt { font-size: var(--text-2xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); padding-top: 3px; }
.glance dd { margin: 0; font-size: var(--text-sm); }

/* Final CTA: the one deep-cyan band (brand colour, not navy). Gradient stops keep white text 6:1+. */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(242, 140, 40, 0.18), transparent 55%),
    linear-gradient(135deg, #0B4F53 0%, var(--color-cyan-deep) 55%, #146B70 100%);
  color: #fff;
  text-align: center;
}
.final-cta .bg-capsules { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bg-capsules rect, .bg-capsules path { fill: none; stroke: var(--color-cyan-on-dark); vector-effect: non-scaling-stroke; }
.final-cta .container { position: relative; }
.final-cta h2 { font-size: var(--text-3xl); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; max-width: 20ch; margin: var(--space-5) auto 0; }
.final-cta p.lead { margin: var(--space-5) auto 0; color: var(--color-text-on-dark-muted); max-width: 56ch; }
.final-cta .btn-row { justify-content: center; margin-top: var(--space-6); }
.final-tagline { margin-top: var(--space-5); font-weight: 700; color: #FFFFFF; }
.final-cta :focus-visible { outline-color: var(--color-cyan-on-dark); }
@media (max-width: 479px) { .final-cta .btn-row .btn { width: 100%; } }

/* Footer: light, so the final CTA remains the one dark moment */
.site-footer {
  background: var(--color-background);
  color: var(--color-text-secondary);
  padding-top: var(--space-8);
  font-size: var(--text-sm);
}
.footer-grid { display: grid; gap: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.footer-logo { display: inline-block; border-radius: var(--radius-capsule); }
.footer-logo img { width: auto; height: 44px; }
.footer-description { margin-top: var(--space-5); max-width: 42ch; }
.footer-brand .signature { margin-top: var(--space-5); }
.footer-tagline { margin-top: 6px; font-weight: 700; color: var(--color-text-primary); }
.glance-wrap { margin-top: var(--space-7); }
.footer-heading { font-size: var(--text-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-primary); margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; display: grid; gap: var(--space-3); }
.site-footer a { color: var(--color-text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--color-cyan-ink); text-decoration: underline; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; }
.icon-ext { width: 14px; height: 14px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: var(--space-3); align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--color-cyan-ink); }
.footer-bottom {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-5) var(--space-6);
  border-top: var(--line-hair) solid var(--color-border);
  font-size: var(--text-xs);
}
@media (min-width: 900px) { .footer-bottom { grid-template-columns: 1fr 1fr; } .footer-bottom p:last-child { text-align: right; } }


/* Accent tones ------------------------------------------------------------ */
.tone-cyan   { --tone-ink: var(--tone-cyan-ink);   --tone-mid: var(--tone-cyan-mid);   --tone-soft: var(--tone-cyan-soft); }
.tone-green  { --tone-ink: var(--tone-green-ink);  --tone-mid: var(--tone-green-mid);  --tone-soft: var(--tone-green-soft); }
.tone-amber  { --tone-ink: var(--tone-amber-ink);  --tone-mid: var(--tone-amber-mid);  --tone-soft: var(--tone-amber-soft); }
.tone-orange { --tone-ink: var(--tone-orange-ink); --tone-mid: var(--tone-orange-mid); --tone-soft: var(--tone-orange-soft); }
.tone-coral  { --tone-ink: var(--tone-coral-ink);  --tone-mid: var(--tone-coral-mid);  --tone-soft: var(--tone-coral-soft); }
.tone-blue   { --tone-ink: var(--tone-blue-ink);   --tone-mid: var(--tone-blue-mid);   --tone-soft: var(--tone-blue-soft); }

/* Hover: the icon lifts and tilts slightly, so cards feel responsive without constant motion */
@media (hover: hover) and (pointer: fine) {
  .card:hover .icon-tile, .module-card:hover .module-icon, .eco-node:hover .icon-tile, .layer:hover .icon-tile {
    transform: translateY(-2px) rotate(-6deg) scale(1.05);
  }
}

/* Floating capability cards around the hero device */
.stage-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: var(--space-4);
}
.stage-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 18px;
  /* Solid background, no backdrop blur: the cards move, and a moving blur repaints every frame. */
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.stage-card.is-external { border-style: dashed; border-color: var(--tone-mid); }
.stage-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--tone-soft), #FFFFFF 150%);
  color: var(--tone-ink);
}
.stage-card-icon .icon { width: 20px; height: 20px; }
.stage-card em { display: block; font-style: normal; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tone-ink); }
.stage-card b { display: block; font-size: 0.86rem; line-height: 1.3; }
.stage-card small { display: block; font-size: 0.75rem; color: var(--color-text-secondary); }
@media (min-width: 1080px) {
  .stage-cards { display: block; margin: 0; }
  .stage-card { position: absolute; width: 238px; }
  /* Placed in the empty corners beside the shield's tapered base and over the empty top bar. */
  /* The lower cards sit below the device so they never cover the introduction video's controls. */
  .stage-card.at-left { left: 0; bottom: 0; }
  .stage-card.at-top { right: 7%; top: -34px; }
  .stage-card.at-right { right: 0; bottom: -12px; }
}
/* With room either side, let the cards break out past the frame */
@media (min-width: 1320px) {
  .stage-card.at-left { left: -44px; }
  .stage-card.at-right { right: -44px; }
}

/* Platform modules ---------------------------------------------------------- */
.module-tabs { gap: var(--space-5); }
.tab-icon { display: inline-flex; align-items: center; gap: 8px; }
.tab-icon .icon { width: 18px; height: 18px; }
.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: rgba(22, 40, 42, 0.08);
  font-size: 0.75rem;
  transition: background-color var(--dur-fast) ease;
}
.tab[aria-selected="true"] .tab-count { background: rgba(255, 255, 255, 0.2); }
@media (max-width: 639px) { .module-tabs .tablist { grid-template-columns: 1fr; } .module-tabs .tab { justify-content: center; } }
/* Without JavaScript every area is listed; the tabs only appear once they work. */
html:not(.js) .module-tabs .tablist { display: none; }
html:not(.js) .module-panel + .module-panel { margin-top: var(--space-7); }

.module-panel-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--tone-soft), rgba(255, 255, 255, 0) 80%);
}
.module-panel-head h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.module-panel-head p { font-size: var(--text-sm); color: var(--color-text-secondary); }

.module-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--tone-soft, var(--tone-cyan-soft)), #FFFFFF 150%);
  border: var(--line-hair) solid color-mix(in srgb, var(--tone-mid, var(--tone-cyan-mid)) 30%, transparent);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 16px -12px var(--tone-mid, var(--tone-cyan-mid));
  color: var(--tone-ink, var(--tone-cyan-ink));
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.module-icon .icon { width: 23px; height: 23px; }

.module-grid { list-style: none; display: grid; gap: 12px; align-items: start; }
@media (min-width: 640px) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.module-card {
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-base) ease, transform var(--dur-base) var(--ease-out);
}
.module-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  list-style: none;
  cursor: pointer;
  border-radius: inherit;
}
.module-card summary::-webkit-details-marker { display: none; }
.module-head h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; }
.module-head span { display: block; margin-top: 2px; font-size: var(--text-xs); line-height: 1.45; color: var(--color-text-secondary); }
.module-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: var(--line-hair) solid var(--color-border-strong);
  color: var(--color-ink);
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease;
}
.module-toggle .icon { width: 15px; height: 15px; }
.module-card[open] { border-color: color-mix(in srgb, var(--tone-mid) 55%, transparent); box-shadow: var(--shadow-md); }
.module-card[open] .module-toggle { transform: rotate(45deg); background: var(--tone-soft); border-color: transparent; }
.module-card[open] .module-icon { background: var(--tone-ink); color: #FFFFFF; }
.module-detail { display: grid; gap: 10px; margin: 0; padding: 0 16px 16px; }
.module-detail div { padding-top: 10px; border-top: var(--line-hair) dashed var(--color-border); }
.module-detail dt { font-size: var(--text-2xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tone-ink); }
.module-detail dd { margin: 2px 0 0; font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-secondary); }
.module-card[open] .module-detail { animation: panel-in var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .module-card:hover { border-color: color-mix(in srgb, var(--tone-mid) 45%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

/* Expanding capabilities: clearly separate from current modules */
.expanding {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1.5px dashed var(--color-cyan-line);
  background: linear-gradient(120deg, rgba(32, 150, 158, 0.06), rgba(242, 140, 40, 0.05));
}
@media (min-width: 1024px) { .expanding { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.expanding-head { display: grid; gap: var(--space-2); justify-items: start; }
.expanding-head p { font-size: var(--text-sm); color: var(--color-text-secondary); }
.expanding-head strong { color: var(--color-text-primary); }
.pill-new { background: var(--color-cyan-ink); color: #FFFFFF; letter-spacing: 0.08em; text-transform: uppercase; }
.expanding-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.expanding-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 700;
}
.expanding-list .module-icon { width: 32px; height: 32px; border-radius: 50%; }
.expanding-list .module-icon .icon { width: 17px; height: 17px; }


/* Genuine product images --------------------------------------------------
   Slots render <img class="shot-img"> once the file exists beside the page source (src/pages/);
   until then a brand treatment (never a fake interface) fills the space. Screenshots keep their own
   proportions: the frame drops its placeholder ratio and the image is never cropped or stretched. */
.shot-img { display: block; width: 100%; height: auto; object-fit: contain; }
.shot-frame:has(> .shot-img), .device-screen:has(> .shot-img) { aspect-ratio: auto; }
.shot-fallback { position: relative; width: 100%; height: 100%; }
.shot-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: var(--radius-capsule);
  border: 1px dashed var(--color-brand-orange);
  background: #FFFFFF;
  color: var(--tone-orange-ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.shot-frame { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); background: var(--color-surface); aspect-ratio: 16 / 10; }

/* Hero device frame: light aluminium bezel, screen is a genuine screenshot slot */
.device {
  position: relative;
  padding: 0 10px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFFFF, #EEF2F0);
  border: 1px solid #D5DDDB;
  box-shadow: var(--shadow-lg);
}
.device-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DDDB; }
.device-bar i:first-child { background: var(--color-brand-orange); }
.device-bar i:nth-child(2) { background: var(--color-brand-cyan); }
.device-bar span { margin-left: auto; margin-right: auto; padding-right: 33px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--color-text-secondary); }
.device-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  container-type: inline-size;
}
/* Product introduction video in the hero device: 16:9 like the film, never cropped */
.device-screen.intro { aspect-ratio: 16 / 9; background: #EEF3F2; }
.device-screen.intro.is-failed { aspect-ratio: auto; }
.device-screen.intro.is-failed:has(.brand-screen) { aspect-ratio: 16 / 10; }
.intro-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #EEF3F2; }
.intro-video[hidden], .intro-play[hidden] { display: none; }
.intro-fallback { height: 100%; }
.intro-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px;
  border-radius: var(--radius-capsule);
  border: 1px solid rgba(32, 150, 158, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px -20px rgba(22, 40, 42, 0.55);
  color: var(--color-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: scale var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.intro-play-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-brand-orange); color: #FFFFFF; }
.intro-play-icon svg { width: 20px; height: 20px; margin-left: 2px; fill: currentColor; }
.intro-play-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro-play small { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-secondary); }
.intro-play:hover { scale: 1.03; border-color: var(--color-brand-orange); box-shadow: 0 20px 44px -18px rgba(242, 140, 40, 0.65); }
.intro-play:active { scale: 0.97; }
.intro-play:focus-visible { outline: 3px solid var(--color-cyan-ink); outline-offset: 3px; }
.intro.is-playing .intro-play { visibility: hidden; opacity: 0; pointer-events: none; }
/* With room, the button carries its label and sits low, clear of the film's centre and its controls */
@container (min-width: 560px) {
  .intro-play { top: auto; bottom: 16%; translate: -50% 0; padding-right: 20px; }
  .intro-play-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
.brand-screen {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.4cqw;
  height: 100%;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 150, 158, 0.18), transparent 58%),
    radial-gradient(circle at 85% 90%, rgba(242, 140, 40, 0.12), transparent 40%),
    linear-gradient(160deg, #FFFFFF, #EDF6F5);
}
.brand-screen::before {
  /* fine engineering grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 40, 42, 0.1) 1px, transparent 1px);
  background-size: 2.4cqw 2.4cqw;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.brand-screen-ring { position: absolute; left: 50%; top: 47%; border-radius: 50%; translate: -50% -50%; }
.brand-screen-ring.r1 { width: 34cqw; height: 34cqw; border: 1.5px dashed rgba(32, 150, 158, 0.4); }
.brand-screen-ring.r2 { width: 52cqw; height: 52cqw; border: 1px solid rgba(32, 150, 158, 0.16); }
.brand-screen img {
  /* The symbol file has a white background, so it is presented as an app-icon tile (logo artwork unchanged). */
  position: relative;
  width: 14cqw;
  height: auto;
  border-radius: 22%;
  border: 1px solid var(--color-border);
  box-shadow: 0 1.6cqw 3.2cqw -1.4cqw rgba(23, 116, 122, 0.45);
}
.brand-screen-title { position: relative; font-size: 4.4cqw; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.brand-screen-sub { position: relative; font-size: 1.9cqw; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-cyan-ink); }
.brand-screen-modules { position: relative; list-style: none; display: flex; gap: 1.2cqw; margin-top: 1.4cqw; }
.brand-screen-modules li {
  display: grid;
  place-items: center;
  width: 5.6cqw;
  height: 5.6cqw;
  border-radius: 1.6cqw;
  background: linear-gradient(145deg, var(--tone-soft), #FFFFFF 150%);
  border: 1px solid color-mix(in srgb, var(--tone-mid) 35%, transparent);
  color: var(--tone-ink);
}
.brand-screen-modules .icon { width: 2.8cqw; height: 2.8cqw; }

/* Feature dock (Apple Dock-style magnification on fine pointers) -------------- */
.dock-wrap { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.dock ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: var(--space-5) auto 0;
}
.dock-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.dock-item:active { transform: scale(0.97); }
.dock-icon {
  display: grid;
  place-items: center;
  width: calc(52px * var(--s, 1));
  height: calc(52px * var(--s, 1));
  border-radius: calc(16px * var(--s, 1));
  background: linear-gradient(145deg, var(--tone-soft), #FFFFFF 150%);
  border: 1px solid color-mix(in srgb, var(--tone-mid) 35%, transparent);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 10px 18px -12px var(--tone-mid);
  color: var(--tone-ink);
}
.dock-icon .icon { width: calc(26px * var(--s, 1)); height: calc(26px * var(--s, 1)); }
.dock-label { font-size: var(--text-xs); font-weight: 700; line-height: 1.25; }
@media (min-width: 640px) { .dock ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* On a desktop pointer the grid becomes a dock: one frosted shelf, tooltips above, magnification. */
@media (hover: hover) and (pointer: fine) and (min-width: 820px) {
  .dock ul {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    height: 82px;
    padding: 0 16px 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border: 1px solid rgba(195, 207, 206, 0.8);
    box-shadow: var(--shadow-float);
  }
  .dock-item { position: relative; padding: 0; border: 0; background: none; }
  .dock-item:active { transform: none; }
  .dock-label {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
    pointer-events: none;
  }
  .dock-item:hover .dock-label, .dock-item:focus-visible .dock-label { opacity: 1; transform: translate(-50%, 0); }
  .dock-item:focus-visible { outline: none; }
  .dock-item:focus-visible .dock-icon { outline: 2px solid var(--color-brand-cyan); outline-offset: 3px; }
  /* Without JavaScript-driven magnification, focus still enlarges the icon */
  .dock-item:focus-visible { --s: 1.25; }
}

/* About ---------------------------------------------------------------------- */
.about-section {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--color-background) 0%, #EAF4F3 45%, #F1F6F3 75%, var(--color-background) 100%);
}
.about-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-shape { position: absolute; border-radius: 50%; filter: blur(70px); }
.about-shape.s1 { width: 520px; height: 520px; right: -140px; top: 60px; background: rgba(32, 150, 158, 0.18); }
.about-shape.s2 { width: 420px; height: 420px; left: -160px; bottom: 40px; background: rgba(242, 140, 40, 0.12); }
.about-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-for-label { margin-top: var(--space-6); font-size: var(--text-2xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-secondary); }
.audience { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.audience li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--tone-mid) 30%, var(--color-border));
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.audience .icon { width: 18px; height: 18px; color: var(--tone-ink); }
@media (hover: hover) and (pointer: fine) { .audience li:hover { background: var(--tone-soft); border-color: var(--tone-mid); } }
.value-list { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.value-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; }
.value-list .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 14px; }
.value-list .icon-tile .icon { width: 22px; height: 22px; }
.value-list strong { display: block; font-weight: 800; }
.value-list span { color: var(--color-text-secondary); font-size: var(--text-sm); }
.about-more { margin-left: var(--space-2); }

.about-visual { position: relative; }
/* Genuine About images (src/pages/aegiskomply-about-*.webp). The brand image replaces the emblem;
   the platform and ecosystem images appear below the copy only when supplied. Each keeps its own
   aspect ratio (from its width and height attributes), so nothing is stretched or cropped. */
.about-visual > .shot-img, .about-figure .shot-img { height: auto; object-fit: contain; border-radius: var(--radius-xl); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); background: var(--color-surface); }
.about-visual > .shot-fallback { height: auto; }
.about-gallery { display: grid; gap: var(--space-5); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
/* Two images side by side at equal height: 16:10 and 3:2 columns in a 16 : 15 ratio. One image is centred. */
@media (min-width: 768px) { .about-gallery:has(.about-figure + .about-figure) { grid-template-columns: minmax(0, 16fr) minmax(0, 15fr); align-items: start; } }
.about-gallery:not(:has(.about-figure + .about-figure)) { max-width: 880px; margin-inline: auto; }
.about-figure { margin: 0; }
.about-figure figcaption { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 700; color: var(--color-text-secondary); text-align: center; }
.about-emblem { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.emblem-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; }
.emblem-ring.r1 { width: 100%; height: 100%; border: 1px solid rgba(32, 150, 158, 0.18); }
.emblem-ring.r2 { width: 76%; height: 76%; border: 1.5px dashed rgba(32, 150, 158, 0.38); }
.emblem-ring.r3 { width: 54%; height: 54%; border: 1px dashed rgba(242, 140, 40, 0.45); }
.emblem-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  width: 44%;
  aspect-ratio: 1;
  padding: 6%;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 55%, #F1F8F7);
  border: 1.5px solid var(--color-brand-cyan);
  box-shadow: 0 0 0 12px rgba(32, 150, 158, 0.07), var(--shadow-lg);
  text-align: center;
}
.emblem-core img { width: 46%; height: auto; border-radius: 22%; }
.emblem-core p { font-size: clamp(0.72rem, 0.6rem + 0.4vw, 0.85rem); font-weight: 800; line-height: 1.25; color: var(--color-cyan-ink); }
.emblem-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  font-size: var(--text-xs);
  font-weight: 800;
  white-space: nowrap;
}
.emblem-chip .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tone-soft); color: var(--tone-ink); }
.emblem-chip.c1 { left: 2%; top: 16%; }
.emblem-chip.c2 { right: 0; top: 48%; }
.emblem-chip.c3 { left: 14%; bottom: 10%; }

.pillar-row { list-style: none; display: grid; gap: var(--space-4); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 768px) { .pillar-row { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease, border-color var(--dur-fast) ease;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--tone-mid), transparent); }
.pillar .icon-tile { margin: 0; }
.pillar-word { font-size: var(--text-lg); font-weight: 800; letter-spacing: 0.14em; color: var(--tone-ink); }
.pillar p:not(.pillar-word) { margin-top: 4px; font-size: var(--text-sm); color: var(--color-text-secondary); }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--tone-mid) 45%, transparent); }
  .pillar:hover .icon-tile { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
}

/* Circular EHS ecosystem ------------------------------------------------------
   Level 1 hub; level 2 main modules (inner orbit) and every other feature (feature orbit);
   level 3 independent participants (outer orbit, dashed). Mobile-first: a compact orbit of
   decorative orbs above grouped, labelled lists. From 960px the labelled nodes sit on the orbits. */
.ecosystem-section { overflow: hidden; }
.eco-stage { position: relative; }
.eco-core { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin: 0 auto var(--space-6); }
.eco-core::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 150, 158, 0.18), transparent 70%);
  pointer-events: none;
}
.eco-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.eco-ring.ring-main { width: 48%; height: 48%; border: 1.5px solid rgba(32, 150, 158, 0.32); }
.eco-ring.ring-features { width: 72%; height: 72%; border: 1.5px dashed rgba(32, 150, 158, 0.3); }
.eco-ring.ring-out { width: 90%; height: 90%; border: 1.5px dashed rgba(242, 140, 40, 0.32); }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.eco-line line { stroke: var(--color-brand-cyan); stroke-width: 0.4; stroke-linecap: round; opacity: 0.55; transition: opacity var(--dur-base) ease, stroke-width var(--dur-base) ease; }
.eco-line.is-feature line { stroke-width: 0.25; opacity: 0; }
.eco-line.is-external line { stroke: var(--color-brand-orange); stroke-dasharray: 0.9 1.1; opacity: 0.65; }
.eco-line.is-active line { opacity: 1; stroke-width: 0.6; }
.eco-line.is-feature.is-active line { stroke-width: 0.4; }
.eco-particle { fill: var(--color-brand-cyan); opacity: 0; }
.eco-line.is-external .eco-particle { fill: var(--color-brand-orange); }
.eco-line.is-feature .eco-particle { display: none; }
.eco-line.is-feature.is-active .eco-particle { display: block; }

.eco-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  padding: 4%;
  border-radius: 50%;
  translate: -50% -50%;
  text-align: center;
  container: eco-hub / inline-size;
  background: radial-gradient(circle at 50% 30%, #FFFFFF, #EFF8F7);
  border: 1.5px solid var(--color-brand-cyan);
  box-shadow: 0 0 0 8px rgba(32, 150, 158, 0.08), 0 0 0 18px rgba(32, 150, 158, 0.04), var(--shadow-lg);
}
.eco-hub-default, .eco-hub-detail {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  /* Fill the hub's content box exactly: content wider than its track would otherwise start at the
     left edge and overflow to the right instead of centring (the previous misalignment). */
  width: 100%;
  min-width: 0;
  transition: opacity var(--dur-base) ease, transform var(--dur-base) var(--ease-out);
}
.eco-hub-default img { width: 100%; max-width: 210px; height: auto; }
.eco-hub-title, .eco-hub .signature { display: none; }
.eco-hub-title { max-width: 100%; font-size: clamp(0.75rem, 8cqi, 0.95rem); font-weight: 800; line-height: 1.25; overflow-wrap: break-word; }
.eco-hub .signature { max-width: 100%; font-size: 0.56rem; letter-spacing: 0.08em; white-space: nowrap; }
/* Hub content scales with the hub, so the logo, name and supporting line stay centred and inside the
   circle at every size. The supporting line appears once the hub can hold it; the pillars only on
   large hubs, where they fit on one line. */
@container eco-hub (min-width: 84px) { .eco-hub-default .eco-hub-title { display: block; } .eco-hub-default img { width: 82%; } }
@container eco-hub (min-width: 150px) { .eco-hub-default .signature { display: block; font-size: min(0.6rem, 5.6cqi); } }
.eco-hub-detail { opacity: 0; transform: scale(0.96); pointer-events: none; }
/* The compact orbit has no hover readout (the lists carry the content), so the hub stays a circle. */
@media (max-width: 959px) { .eco-hub-detail { display: none; } }
.eco-hub-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--tone-soft, var(--tone-cyan-soft)); color: var(--tone-ink, var(--tone-cyan-ink)); }
.eco-hub-icon .icon { width: 20px; height: 20px; }
.eco-hub-name { font-size: 0.9rem; font-weight: 800; line-height: 1.2; }
.eco-hub-desc { display: none; }
.eco-hub-more { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-cyan-ink); }
.eco-hub.is-showing .eco-hub-default { opacity: 0; transform: scale(0.96); }
.eco-hub.is-showing .eco-hub-detail { opacity: 1; transform: none; }

/* Compact orbit orbs (decorative; the lists below carry the content) */
.eco-mini { list-style: none; }
.eco-mini li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 6.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--tone-soft) 75%);
  border: 1px solid color-mix(in srgb, var(--tone-mid) 50%, transparent);
  color: var(--tone-ink);
}
.eco-mini li.is-primary { width: 13%; border-width: 1.5px; box-shadow: 0 8px 18px -12px var(--tone-mid); }
.eco-mini li.is-external { width: 10.5%; border: 1.5px dashed var(--color-brand-orange); }
.eco-mini .icon { width: 52%; height: 52%; }

.eco-group + .eco-group { margin-top: var(--space-5); }
.eco-group-title { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); font-size: var(--text-sm); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); }
.eco-key { width: 26px; height: 0; border-top: 2px solid var(--color-brand-cyan); }
.eco-key.is-thin { border-top: 2px dotted var(--color-brand-cyan); }
.eco-key.is-dashed { border-top-style: dashed; border-color: var(--color-brand-orange); }
.eco-group ul { list-style: none; display: grid; gap: 8px; }
@media (min-width: 560px) { .eco-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eco-node {
  position: relative;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--tone-mid);
}
.eco-node.is-feature { padding: 8px 12px; border-left-width: 1px; }
.eco-node.is-feature .eco-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.eco-node.is-external { border-style: dashed; border-left-style: solid; border-color: color-mix(in srgb, var(--color-brand-orange) 55%, transparent); border-left-color: var(--color-brand-orange); }
.eco-link { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; color: var(--color-text-primary); text-decoration: none; }
.eco-orb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--tone-soft) 75%);
  border: 1.5px solid color-mix(in srgb, var(--tone-mid) 50%, transparent);
  box-shadow: 0 10px 22px -14px var(--tone-mid);
  color: var(--tone-ink);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease;
}
.eco-node.is-feature .eco-orb { width: 30px; height: 30px; }
.eco-node.is-feature .eco-orb .icon { width: 16px; height: 16px; }
.eco-node.is-external .eco-orb { border-style: dashed; border-color: var(--color-brand-orange); }
.eco-orb .icon { width: 19px; height: 19px; }
.eco-name { font-weight: 800; line-height: 1.25; font-size: var(--text-sm); }
.eco-node.is-feature .eco-name { font-weight: 700; font-size: var(--text-xs); }
.eco-desc { margin-top: 6px; font-size: var(--text-xs); line-height: 1.5; color: var(--color-text-secondary); }
.eco-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: var(--radius-capsule); font-size: 0.75rem; font-weight: 800; background: var(--tone-orange-soft); color: var(--tone-orange-ink); }

@media (min-width: 960px) {
  /* Fit the whole circle in one view: viewport height minus the sticky header and room for the
     bottom partner's label, never wider than the container, never so small that labels suffer. */
  .eco-orbit {
    container-name: eco;
    --fit: calc(100svh - var(--header-height) - 92px);
    position: relative;
    width: min(100%, 940px, max(560px, var(--fit)));
    aspect-ratio: 1;
    margin: 30px auto 52px;
    container-type: inline-size;
    scroll-margin-top: calc(var(--header-height) + 12px);
  }
  .eco-core { position: absolute; inset: 0; width: auto; margin: 0; aspect-ratio: auto; }
  .eco-mini { display: none; }
  .eco-hub { width: 24%; padding: 3.5%; box-shadow: 0 0 0 10px rgba(32, 150, 158, 0.08), 0 0 0 24px rgba(32, 150, 158, 0.04), var(--shadow-lg); }
  .eco-group + .eco-group { margin-top: 0; }
  .eco-group-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .eco-group ul { display: block; }
  .eco-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 3;
    --orb: clamp(50px, 9.4cqw, 88px);
    width: clamp(128px, 18cqw, 170px);
    padding: 0;
    border: 0;
    background: none;
    translate: -50% calc(var(--orb) / -2);
    text-align: center;
  }
  .eco-link { grid-template-columns: 1fr; justify-items: center; gap: 8px; border-radius: 18px; }
  .eco-orb { width: var(--orb); height: var(--orb); border-width: 2px; }
  .eco-orb .icon { width: 39%; height: 39%; }
  .eco-name { padding: 3px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.92); font-size: clamp(0.75rem, 1.5cqw, 0.92rem); }
  /* Main module labels stay on one line so they never reach the feature orbit */
  .eco-node.is-primary { width: auto; }
  .eco-node.is-primary .eco-name { white-space: nowrap; padding: 3px 7px; }
  .eco-node.is-feature { --orb: clamp(30px, 4.7cqw, 44px); width: var(--orb); translate: -50% -50%; }
  .eco-node.is-feature .eco-orb { border-width: 1.5px; }
  /* The tap target is at least 44 x 44 px even when the orb itself is drawn smaller */
  .eco-node.is-feature { width: max(44px, var(--orb)); }
  .eco-node.is-feature .eco-link { width: max(44px, var(--orb)); height: max(44px, var(--orb)); place-items: center; }
  .eco-node.is-feature .eco-orb .icon { width: 46%; height: 46%; }
  .eco-node.is-feature .eco-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
  .eco-node.is-external { --orb: clamp(48px, 8cqw, 76px); width: clamp(120px, 16cqw, 150px); }
  .eco-node.is-external .eco-name { font-size: clamp(0.76rem, 1.35cqw, 0.82rem); }
  /* Outer nodes in the upper half put their label above the orb, away from the feature orbit. */
  .eco-node.is-external.is-up { translate: -50% calc(-100% + var(--orb) / 2); }
  .eco-node.is-primary.label-up { translate: -50% calc(-100% + var(--orb) / 2); }
  .eco-node.is-primary.label-up .eco-link { display: flex; flex-direction: column-reverse; align-items: center; }
  @container eco (max-width: 680px) {
    .eco-hub { width: 22%; padding: 3%; }
    .eco-hub-more { display: none; }
  }
  .eco-node.is-external.is-up .eco-link { display: flex; flex-direction: column-reverse; align-items: center; }
  /* Descriptions are read in the hub on hover/focus; screen readers get them via aria-describedby. */
  .eco-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .eco-node.is-active .eco-orb { transform: scale(1.1); box-shadow: 0 0 0 7px var(--tone-soft), 0 14px 30px -12px var(--tone-mid); }
  .eco-node.is-active .eco-name { color: var(--tone-ink); }
  .eco-link:focus-visible { outline: none; }
  .eco-link:focus-visible .eco-orb { outline: 2px solid var(--color-brand-cyan); outline-offset: 4px; }
}
.eco-legend i.dots { border-top: 2px dotted var(--color-brand-cyan); }

/* Caption under the circle: the legend, replaced by the hovered/selected node's description */
.eco-caption { display: grid; margin-top: var(--space-5); }
.eco-caption > * { grid-area: 1 / 1; align-self: center; margin: 0; transition: opacity var(--dur-base) ease; }
.eco-readout {
  justify-self: center;
  max-width: 72ch;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid rgba(32, 150, 158, 0.3);
  box-shadow: 0 10px 26px -18px rgba(23, 116, 122, 0.7);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.eco-readout strong { color: var(--color-cyan-ink); }
.eco-stage.is-reading .eco-readout { opacity: 1; }
.eco-stage.is-reading .eco-legend { opacity: 0; }
/* The compact (phone/tablet) layout lists every description, so it needs no readout */
@media (max-width: 959px) { .eco-readout { display: none; } }

/* Compliance News: a solid, illuminated cyan main node with an orange "update" marker */
.eco-node.is-news .eco-orb, .eco-mini li.is-news {
  background: radial-gradient(circle at 35% 30%, #2BB0B8, var(--color-cyan-ink) 75%);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(32, 150, 158, 0.14), 0 12px 28px -10px rgba(23, 116, 122, 0.8);
}
.eco-orb { position: relative; }
.eco-badge {
  position: absolute;
  top: 6%;
  right: 6%;
  width: 22%;
  height: 22%;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  background: var(--color-brand-orange);
  border: 2px solid #FFFFFF;
}
.eco-node.is-news .eco-orb::after {
  /* restrained glow pulse; paused off-screen and removed for reduced motion */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(32, 150, 158, 0.55);
  pointer-events: none;
  animation: news-pulse 2.8s var(--ease-out) infinite;
}
@keyframes news-pulse { from { opacity: 0.8; scale: 1; } to { opacity: 0; scale: 1.45; } }
.is-paused .eco-node.is-news .eco-orb::after { animation-play-state: paused; }
.eco-line.is-news line { stroke-width: 0.55; opacity: 0.85; }
@media (max-width: 959px) {
  .eco-node.is-news { border-left-color: var(--color-cyan-ink); box-shadow: 0 0 0 3px rgba(32, 150, 158, 0.1); }
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1.5px dashed color-mix(in srgb, var(--color-brand-orange) 50%, transparent);
  background: linear-gradient(110deg, var(--tone-cyan-soft), #FFFFFF 50%, var(--tone-orange-soft));
}
.partner-strip > div { flex: 1 1 420px; }
.partner-strip h3 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.partner-strip p { margin-top: 6px; font-size: var(--text-sm); color: var(--color-text-secondary); max-width: 70ch; }

/* Problems & outcomes ----------------------------------------------------------
   Cards sit on a soft cyan light field; each has an illuminated hairline border, a solid
   numbered badge and a clearly separated outcome panel. Glow intensifies on hover/focus. */
#challenges { overflow: hidden; isolation: isolate; }
#challenges::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 38%;
  width: min(1100px, 120%);
  height: 70%;
  border-radius: 50%;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(32, 150, 158, 0.16), rgba(242, 140, 40, 0.06) 70%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.pcards { list-style: none; display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  /* Illuminated border: a white fill over a cyan-to-tone gradient border box */
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(145deg, rgba(32, 150, 158, 0.55), rgba(220, 227, 226, 0.9) 40%, color-mix(in srgb, var(--tone-mid) 55%, transparent)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 0 1px rgba(32, 150, 158, 0.04), 0 18px 40px -26px rgba(32, 150, 158, 0.55), 0 0 32px -12px rgba(32, 150, 158, 0.28);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-move) ease;
}
.pcard::before {
  /* soft light from the top-left corner */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 0% 0%, rgba(32, 150, 158, 0.09), transparent 60%);
  pointer-events: none;
}
.pcard-top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
/* Solid number badge: filled brand cyan, white numerals (5.3:1), restrained glow */
.pcard-num {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1A8A92, var(--color-cyan-ink));
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 18px -8px rgba(23, 116, 122, 0.75), 0 0 0 4px rgba(32, 150, 158, 0.12);
  transition: box-shadow var(--dur-move) ease, transform var(--dur-base) var(--ease-out);
}
/* Selective orange: the last card (audit preparation) and hovered badges pick up the accent ring */
.pcard .icon-tile { margin: 0; }
.pcard h3 { position: relative; font-size: var(--text-lg); letter-spacing: -0.01em; }
.pcard-problem { position: relative; margin-top: 6px; font-size: var(--text-sm); color: var(--color-text-secondary); }
.pcard-outcome {
  position: relative;
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(32, 150, 158, 0.09), rgba(32, 150, 158, 0.03));
  border: 1px solid rgba(32, 150, 158, 0.22);
  font-size: var(--text-sm);
  font-weight: 600;
}
.pcard-outcome span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan-ink);
}
.pcard-outcome span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand-orange); box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.2); }
.pcard-rel { position: relative; margin-top: auto; padding-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-secondary); }
.pcard-rel a { font-weight: 700; }
.pcard:focus-within { box-shadow: 0 0 0 1px rgba(32, 150, 158, 0.3), 0 22px 46px -24px rgba(32, 150, 158, 0.7), 0 0 44px -10px rgba(32, 150, 158, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(32, 150, 158, 0.3), 0 26px 50px -24px rgba(32, 150, 158, 0.75), 0 0 52px -10px rgba(32, 150, 158, 0.5);
  }
  .pcard:hover .pcard-num { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -8px rgba(23, 116, 122, 0.9), 0 0 0 5px rgba(242, 140, 40, 0.28); }
  .pcard:hover .icon-tile { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
}

/* Highlighted module card (Compliance News) and its source note */
.module.is-highlight .module-card { border-color: rgba(32, 150, 158, 0.45); box-shadow: 0 0 0 3px rgba(32, 150, 158, 0.08), 0 14px 30px -18px rgba(32, 150, 158, 0.6); }
.module.is-highlight .module-icon { background: linear-gradient(145deg, #1A8A92, var(--color-cyan-ink)); color: #FFFFFF; border-color: transparent; }
.module-note { margin: 0 16px 16px; padding-top: 10px; border-top: 1px dashed var(--color-border); font-size: var(--text-xs); color: var(--color-text-secondary); }

/* Product screenshot placeholders (shown until a genuine image is supplied) */
.shot-frame { position: relative; }
.shot-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  height: 100%;
  padding: var(--space-5);
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tone-mid) 18%, transparent), transparent 60%),
    linear-gradient(160deg, #FFFFFF, var(--tone-soft));
}
.shot-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 40, 42, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}
.shot-ph-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #FFFFFF; border: 1px solid color-mix(in srgb, var(--tone-mid) 35%, transparent); color: var(--tone-ink); box-shadow: 0 14px 30px -18px var(--tone-mid); }
.shot-ph-icon .icon { width: 30px; height: 30px; }
.shot-ph-title { position: relative; font-size: var(--text-xl); font-weight: 800; }
.shot-ph-text { position: relative; font-size: var(--text-sm); color: var(--color-text-secondary); max-width: 40ch; }
.shot-placeholder .btn { position: relative; margin-top: 4px; }
#screens .tablist { flex-wrap: wrap; justify-content: center; }
/* Genuine screenshots: a quiet cyan-tinted edge so the application UI stays the focus */
#screens .shot-frame:has(> .shot-img) { border-color: rgba(32, 150, 158, 0.32); box-shadow: 0 0 0 4px rgba(32, 150, 158, 0.06), var(--shadow-lg); }
.tabpanel:has(.shot-zoom) { display: grid; justify-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel > .shot-frame { width: 100%; }
.shot-caption { position: relative; max-width: 68ch; margin: var(--space-4) auto 0; text-align: center; font-size: var(--text-sm); color: var(--color-text-secondary); text-wrap: pretty; }
.shot-zoom {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: var(--space-3);
  padding: 0 18px;
  border-radius: var(--radius-capsule);
  border: 1px solid rgba(32, 150, 158, 0.35);
  background: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-cyan-ink);
  text-decoration: none;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.shot-zoom .icon { width: 16px; height: 16px; }
.shot-zoom:hover, .shot-zoom:focus-visible { border-color: var(--color-brand-orange); color: var(--tone-orange-ink); box-shadow: 0 8px 20px -12px rgba(242, 140, 40, 0.7); }
@media (max-width: 639px) {
  #screens .tab { justify-content: center; }
  #screens .tab:last-of-type { grid-column: 1 / -1; }
  #screens .shot-frame:not(:has(> .shot-img)) { aspect-ratio: auto; min-height: 280px; }
  #screens .shot-placeholder { min-height: 280px; }
}
@media (max-width: 639px) { #screens .tablist { grid-template-columns: 1fr 1fr; } #screens .tab { padding: 0 12px; font-size: var(--text-xs); } }

/* Getting started ---------------------------------------------------------------- */
.gsteps { list-style: none; display: grid; gap: var(--space-4); counter-reset: none; }
@media (min-width: 640px) { .gsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .gsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gstep {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease;
}
.gstep-num {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tone-ink);
  padding: 2px 10px;
  border-radius: var(--radius-capsule);
  background: var(--tone-soft);
}
.gstep .icon-tile { grid-row: 1 / 3; margin: 0; }
.gstep h3 { align-self: center; padding-right: 48px; font-size: var(--text-lg); letter-spacing: -0.01em; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; }
.gstep p { margin-top: 6px; font-size: var(--text-sm); color: var(--color-text-secondary); }
@media (hover: hover) and (pointer: fine) { .gstep:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }
.gsteps-cta { margin-top: var(--space-6); justify-content: center; }

/* Trust list (inside Benefits & trust) */
.trust-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.trust-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-secondary); }
.trust-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 8px; background: var(--tone-soft); color: var(--tone-ink); }
.trust-list strong { color: var(--color-text-primary); }
#benefits .about-grid { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
#benefits .outcomes .card { background: var(--color-surface); }

/* Free access points */
.offer-points { list-style: none; display: grid; gap: var(--space-4); align-content: start; }
.offer-points li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-background); border: 1px solid var(--color-border); }
.offer-points .icon { width: 26px; height: 26px; color: var(--color-cyan-ink); }
.offer-points h3 { font-size: var(--text-base); }
.offer-points p { margin-top: 4px; font-size: var(--text-sm); color: var(--color-text-secondary); }


/* Touch and narrow screens: every standalone control is at least 44 x 44 px ---------------- */
@media (pointer: coarse), (max-width: 767px) {
  .brand { padding-block: 5px; }
  .btn, .btn-sm { min-height: 44px; }
  .header-actions .btn-sm { --btn-height: 44px; }
  .offer-badge { min-height: 44px; }
  .text-link { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer li > a, .footer-contact span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
}
/* Compact ecosystem lists: the whole row is the tap target */
@media (max-width: 959px) {
  .eco-node { padding: 0; }
  .eco-link { min-height: 48px; padding: 10px 14px; }
  .eco-desc { margin: 0; padding: 0 14px 12px; }
  .eco-node.is-feature .eco-link { min-height: 46px; padding: 7px 10px; }
  /* 17 short feature names: two columns even on phones, so the list stays short */
  .eco-group-features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-node.is-feature .eco-name { font-size: 0.78rem; line-height: 1.25; }
}

/* 7. Pages ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-height) * -1);
  padding-top: calc(var(--header-height) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem));
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 40px;
  right: -10%;
  width: 70%;
  height: 360px;
  border-radius: var(--radius-capsule);
  background: linear-gradient(90deg, rgba(32, 150, 158, 0.16), rgba(242, 140, 40, 0.1));
  filter: blur(64px);
  pointer-events: none;
}
.page-hero h1 { font-size: var(--text-3xl); line-height: 1.08; max-width: 22ch; font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { margin-top: var(--space-5); max-width: 60ch; }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-7); margin-bottom: var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.prose p, .prose li { color: var(--color-text-secondary); }
.prose ul { padding-left: 1.25rem; display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.prose p + ul { margin-top: var(--space-3); }
.prose strong { color: var(--color-text-primary); }
.prose-meta { font-size: var(--text-sm); color: var(--color-text-secondary); margin-top: var(--space-4); }

.not-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.not-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--color-text-secondary); }
.not-list .icon { color: var(--color-ink); width: 20px; height: 20px; margin-top: 1px; }
.not-list strong { color: var(--color-text-primary); }

/* Contact */
.contact-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 0.9fr; } }

.form-card {
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: var(--line-hair) solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: var(--space-5); }
/* The form is hidden once an enquiry is sent; display:grid above would otherwise keep it on screen with the button stuck on "Sending". */
.form-grid[hidden] { display: none; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }

.field { display: grid; gap: var(--space-2); align-content: start; }
.field label, .field .label { font-size: var(--text-sm); font-weight: 700; }
.field .req { color: var(--color-error); margin-left: 2px; }
.field .optional { font-weight: 500; color: var(--color-text-secondary); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: var(--line-hair) solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 1rem; /* prevents iOS zoom */
  line-height: 1.4;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.input::placeholder { color: #75828F; }
.input:focus { outline: none; border-color: var(--color-brand-cyan); box-shadow: 0 0 0 3px rgba(32, 150, 158, 0.22); }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23142B45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
textarea.input { min-height: 140px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(178, 58, 42, 0.18); }
.field-error { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; color: var(--color-error); }
.field-error:empty { display: none; }
.field-error .icon { width: 16px; height: 16px; }
.field-hint { font-size: var(--text-xs); color: var(--color-text-secondary); }

.checkbox { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: var(--text-sm); color: var(--color-text-secondary); }
.field label.checkbox { font-weight: 500; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--color-ink); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-2); }
.form-actions .btn { min-width: 220px; }
@media (max-width: 479px) { .form-actions .btn { width: 100%; } }

.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 600ms linear infinite;
  display: none;
}
.btn[aria-busy="true"] .spinner { display: block; }
.btn[aria-busy="true"] .icon-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  gap: var(--space-4);
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.form-status.is-visible { display: grid; animation: panel-in var(--dur-base) var(--ease-out); }
.form-status .icon { width: 24px; height: 24px; }
.form-status h3 { font-size: var(--text-base); margin-bottom: 4px; }
.form-status p + p { margin-top: var(--space-2); }
.form-status[data-tone="success"] { background: var(--color-status-ok-soft); color: #145A3E; }
.form-status[data-tone="error"] { background: var(--color-status-overdue-soft); color: #8A2B1E; }
.form-status[data-tone="info"] { background: var(--color-cyan-soft); color: #0F555A; }
.form-status .btn { margin-top: var(--space-4); }
.form-status .btn .icon { width: 18px; height: 18px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }

.contact-aside { display: grid; gap: var(--space-5); }
.contact-aside .card h2 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.login-card h2 { margin-bottom: var(--space-2) !important; }
.login-card .btn { margin-top: var(--space-4); }
.login-card .btn .icon { color: var(--color-cyan-ink); }
.contact-aside .card:hover { transform: none; box-shadow: none; }
.contact-methods { list-style: none; display: grid; gap: var(--space-4); }
.contact-methods li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.contact-methods .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--color-cyan-ink); }
.contact-methods .is-wa .icon { color: var(--color-whatsapp); }
.contact-methods span { display: block; font-size: var(--text-xs); color: var(--color-text-secondary); font-weight: 600; }
.contact-methods a, .contact-methods b { font-weight: 700; color: var(--color-text-primary); text-decoration: none; overflow-wrap: anywhere; }
.contact-methods a:hover { color: var(--color-cyan-ink); text-decoration: underline; }
.next-steps { list-style: none; display: grid; gap: var(--space-3); counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text-secondary); counter-increment: next; }
.next-steps li::before {
  content: counter(next);
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-cyan-soft);
  color: var(--color-cyan-ink);
  font-size: 0.75rem; font-weight: 800;
}

.notfound { min-height: 60vh; display: grid; align-content: center; }

/* 8. Motion and accessibility -------------------------------------------- */

/* Hero entrance: hero-01's staggered fade-up, shortened and on a strong ease-out. CSS-only,
   so it never waits on JavaScript and the copy is readable within ~1s. */
[data-enter] { animation: enter-up var(--dur-enter) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes enter-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* The underline beneath "Ecosystem" loops while the hero is on screen: it draws in, holds, sweeps out
   to the right, rests briefly, then draws again (4.8 s per cycle). Only the stroke offset and the dot's
   opacity change, so the headline never moves. It pauses when the hero is off screen (.is-paused). */
.hero-underline path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: underline-loop 4.8s var(--ease-in-out) 420ms infinite both; }
.hero-underline circle { animation: underline-dot 4.8s ease 420ms infinite both; }
.hero.is-paused .hero-underline path, .hero.is-paused .hero-underline circle { animation-play-state: paused; }
@keyframes underline-loop {
  0% { stroke-dashoffset: 1; }
  20%, 70% { stroke-dashoffset: 0; }
  86% { stroke-dashoffset: -1; animation-timing-function: step-end; }
  100% { stroke-dashoffset: -1; }
}
@keyframes underline-dot {
  0%, 16% { opacity: 0; }
  22%, 68% { opacity: 1; }
  76%, 100% { opacity: 0; }
}
/* Replay: while the headline is off screen the underline waits undrawn; removing the class restarts
   the same draw animation (set by initHeroUnderline in main.js). */
.is-underline-reset .hero-underline path { animation: none; stroke-dashoffset: 1; }
.is-underline-reset .hero-underline circle { animation: none; opacity: 0; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Product stage: the frame fades in behind the device */
.hero-stage .shield-shape, .hero-stage .orbit { animation: fade-in 700ms ease 240ms both; }

/* Scroll reveal (content is visible without JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Cards keep their quick hover transition once revealed */
.js .card[data-reveal].is-visible { transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-base) ease, opacity var(--dur-reveal) var(--ease-out); transition-delay: 0ms; }



/* Hero glow drifts once as the page settles, then rests: a large blurred layer is too costly to
   animate forever on ordinary phones. */
.hero-glow { animation: glow-drift 9s ease-in-out 1 both; }
@keyframes glow-drift {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to { transform: translateX(-46%) translateY(18px) scale(1.06); }
}

/* Capability cards float gently around the device (wide screens only); paused when the hero is off-screen. */
@media (min-width: 1080px) {
  .stage-card { animation: card-in 600ms var(--ease-out) both, card-float 7s ease-in-out infinite; }
  .stage-card.at-left { animation-delay: 1100ms, 1700ms; }
  .stage-card.at-top { animation-delay: 1200ms, 2600ms; }
  .stage-card.at-right { animation-delay: 1300ms, 3400ms; }
  .hero.is-paused .stage-card { animation-play-state: paused; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Icons pop in as their section is revealed */
/* Only the starting frame is held (fill: backwards), so hover transforms still apply afterwards. */
.js [data-reveal]:not(.is-visible) .icon-tile, .js [data-reveal]:not(.is-visible) .module-icon { transform: scale(0.82); opacity: 0; }
.js [data-reveal].is-visible .icon-tile, .js [data-reveal].is-visible .module-icon {
  animation: icon-pop 480ms var(--ease-out) backwards;
  animation-delay: calc(var(--reveal-index, 0) * 70ms + 140ms);
}
@keyframes icon-pop { from { transform: scale(0.82); opacity: 0; } }
/* Panels that appear after a tab switch are already revealed */
.js .module-panel .module-icon { animation-delay: 60ms; }


/* Slow orbit rotation: compositor-only (the individual rotate property), and paused off-screen. */
@keyframes orbit-spin { to { rotate: 360deg; } }
.brand-screen-ring.r1 { animation: orbit-spin 70s linear infinite; }
.emblem-ring.r2 { animation: orbit-spin 90s linear infinite; }
.emblem-ring.r3 { animation: orbit-spin 70s linear infinite reverse; }
.eco-ring.ring-features { animation: orbit-spin 160s linear infinite; }
.eco-ring.ring-out { animation: orbit-spin 220s linear infinite reverse; }
.is-paused .brand-screen-ring, .is-paused .emblem-ring, .is-paused .eco-ring, .is-paused .emblem-chip { animation-play-state: paused; }

/* About emblem chips drift a few pixels, out of step with each other */
@keyframes chip-float { 50% { transform: translateY(-6px); } }
.emblem-chip { animation: chip-float 8s ease-in-out infinite; }
.emblem-chip.c2 { animation-delay: -2.6s; }
.emblem-chip.c3 { animation-delay: -5.2s; }

/* Ecosystem entrance (replays on re-entry): hub first, then the orbits, then the connectors in
   sequence, then the nodes settle onto their orbits; light points follow once everything is in place. */
.js .eco-hub { transition: opacity 500ms var(--ease-out), scale 600ms var(--ease-out); }
.js .eco-stage:not(.is-visible) .eco-hub { opacity: 0; scale: 0.86; }
.js .eco-ring { transition: opacity 700ms ease 150ms, scale 900ms var(--ease-out) 150ms; }
.js .eco-stage:not(.is-visible) .eco-ring { opacity: 0; scale: 0.9; }
.js .eco-line { transition: opacity 420ms ease; transition-delay: calc(var(--i, 0) * 28ms + 320ms); }
.js .eco-stage:not(.is-visible) .eco-line { opacity: 0; }
@media (min-width: 960px) {
  .js .eco-node { transition: opacity 480ms var(--ease-out), scale 480ms var(--ease-out); transition-delay: calc(var(--i) * 40ms + 420ms); }
  .js .eco-stage:not(.is-visible) .eco-node { opacity: 0; scale: 0.82; }
  /* Main modules (including Compliance News) land first and slightly larger, for emphasis */
  .js .eco-node.is-primary { transition-duration: 620ms; }
  .js .eco-stage:not(.is-visible) .eco-node.is-primary { scale: 0.7; }
  .eco-hub::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-brand-cyan);
    opacity: 0;
    pointer-events: none;
  }
  .eco-stage.is-visible .eco-hub::after { animation: hub-pulse 1600ms var(--ease-out) 1200ms 2; }
}
@keyframes hub-pulse { from { opacity: 0.55; scale: 1; } to { opacity: 0; scale: 1.35; } }
@media (max-width: 959px) {
  .js .eco-mini li { transition: opacity 480ms var(--ease-out), scale 480ms var(--ease-out); transition-delay: calc(var(--i) * 60ms + 200ms); }
  .js .eco-stage:not(.is-visible) .eco-mini li { opacity: 0; scale: 0.8; }
}

/* Particles carry information into the platform: two passes on entrance, continuous on the active node */
@keyframes particle {
  0% { transform: translate(0, 0); opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px)); opacity: 0; }
}
.eco-stage.is-visible .eco-particle { animation: particle 2.6s var(--ease-in-out) calc(var(--d) + 1.4s) 2 both; }
.eco-stage .eco-line.is-active .eco-particle { animation: particle 1.5s var(--ease-in-out) 0s infinite both; }


/* Section heading underline: a short cyan rule with an orange tip that draws from left to right
   when the heading is revealed, and again whenever the section is revisited. */
.section-head h2::after, .about-copy h2::after, .offer h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-brand-cyan) 0 74%, transparent 74% 80%, var(--color-brand-orange) 80%);
  box-shadow: 0 0 12px rgba(32, 150, 158, 0.45);
  transform-origin: left center;
  transition: transform 750ms var(--ease-out) 220ms, opacity 400ms ease 220ms;
}
.section-head.center h2::after { margin-inline: auto; }
.js [data-reveal]:not(.is-visible) h2::after { transform: scaleX(0); opacity: 0; }

/* Challenges: badges scale in after their card, and the card's corner light fades up (replays) */
.js .pcard[data-reveal] .pcard-num {
  transition: box-shadow var(--dur-move) ease, scale 460ms var(--ease-out), opacity 360ms ease;
  transition-delay: 0s, calc(var(--reveal-index, 0) * 70ms + 200ms), calc(var(--reveal-index, 0) * 70ms + 200ms);
}
.js .pcard[data-reveal]:not(.is-visible) .pcard-num { scale: 0.6; opacity: 0; }
.js .pcard[data-reveal]::before { transition: opacity 900ms ease 300ms; }
.js .pcard[data-reveal]:not(.is-visible)::before { opacity: 0; }

/* Premium glow: Getting Started, Benefits and Free Access ------------------------------------
   Quiet at rest. Hover or focus within lights the border, adds a soft cyan glow and a faint corner
   light, and warms badges and icons with a touch of orange. Touch screens get one soft pulse as each
   card is revealed instead. Only box-shadow, border-colour, opacity and transform change, so nothing
   reflows. */
.gstep, .outcome, .pillar, .offer-points li, .offer {
  --glow-rest: 0 0 0 0 rgba(32, 150, 158, 0), 0 0 0 0 rgba(32, 150, 158, 0), 0 0 0 0 rgba(32, 150, 158, 0);
  --glow-lit: 0 0 0 1px rgba(32, 150, 158, 0.3), 0 22px 44px -24px rgba(32, 150, 158, 0.7), 0 0 40px -12px rgba(32, 150, 158, 0.42);
  isolation: isolate;
}
.offer-points li { position: relative; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-move) ease; }
.gstep { transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-move) ease; }
.offer { transition: border-color var(--dur-move) ease, box-shadow var(--dur-move) ease; }
.js .gstep[data-reveal].is-visible, .js .pillar[data-reveal].is-visible {
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) ease, box-shadow var(--dur-move) ease, opacity var(--dur-reveal) var(--ease-out);
  transition-delay: 0ms;
}
/* Soft corner light, behind the content */
.gstep::after, .outcome::after, .pillar::after, .offer-points li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 0% 0%, rgba(32, 150, 158, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity var(--dur-move) ease;
  pointer-events: none;
}
.gstep-num, .outcome .icon-tile, .pillar .icon-tile, .offer-points .icon {
  transition: box-shadow var(--dur-move) ease, transform var(--dur-base) var(--ease-out), color var(--dur-fast) ease;
}
.gstep:focus-within, .outcome:focus-within, .pillar:focus-within, .offer-points li:focus-within {
  border-color: rgba(32, 150, 158, 0.45);
  box-shadow: var(--glow-lit);
}
.offer:focus-within { border-color: var(--color-cyan-line); box-shadow: var(--shadow-md), 0 0 0 1px rgba(32, 150, 158, 0.2), 0 0 60px -20px rgba(32, 150, 158, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .gstep:hover, .outcome:hover, .pillar:hover, .offer-points li:hover {
    border-color: rgba(32, 150, 158, 0.45);
    box-shadow: var(--glow-lit);
  }
  .gstep:hover, .offer-points li:hover { transform: translateY(-3px); }
  .gstep:hover::after, .outcome:hover::after, .pillar:hover::after, .offer-points li:hover::after { opacity: 1; }
  .gstep:hover .gstep-num { box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.2), 0 8px 18px -8px var(--tone-mid); }
  .outcome:hover .icon-tile, .pillar:hover .icon-tile { box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 5px rgba(242, 140, 40, 0.14), 0 12px 24px -10px var(--tone-mid); }
  .offer-points li:hover .icon { color: var(--color-brand-orange); }
  .offer:hover { border-color: var(--color-cyan-line); box-shadow: var(--shadow-md), 0 0 0 1px rgba(32, 150, 158, 0.2), 0 0 60px -20px rgba(32, 150, 158, 0.45); }
}
.gstep:focus-within::after, .outcome:focus-within::after, .pillar:focus-within::after, .offer-points li:focus-within::after { opacity: 1; }

/* Calls to action in these sections: a glow that matches the button, clear focus and press states */
#get-started .btn, #free-access .btn { transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-move) ease; }
#get-started .btn-primary:hover, #free-access .btn-primary:hover,
#get-started .btn-primary:focus-visible, #free-access .btn-primary:focus-visible { box-shadow: 0 12px 28px -12px rgba(242, 140, 40, 0.95), 0 0 0 4px rgba(242, 140, 40, 0.16); }
#get-started .btn-secondary:hover, #free-access .btn-secondary:hover,
#get-started .btn-secondary:focus-visible, #free-access .btn-secondary:focus-visible { border-color: var(--color-brand-cyan); box-shadow: 0 10px 26px -14px rgba(32, 150, 158, 0.9), 0 0 0 4px rgba(32, 150, 158, 0.12); }
#get-started .btn:focus-visible, #free-access .btn:focus-visible { outline-offset: 4px; border-radius: var(--radius-capsule); }
#get-started .btn:active, #free-access .btn:active { box-shadow: 0 4px 12px -8px rgba(22, 40, 42, 0.5); }

/* Touch screens: one soft pulse as each card is revealed (replays with the reveal) */
@keyframes glow-pulse { 0%, 100% { box-shadow: var(--glow-rest); } 45% { box-shadow: var(--glow-lit); } }
@media (hover: none) {
  .js .gstep[data-reveal].is-visible, .js .outcome[data-reveal].is-visible, .js .pillar[data-reveal].is-visible {
    animation: glow-pulse 1600ms ease calc(var(--reveal-index, 0) * 90ms + 420ms) 1;
  }
  .js .offer[data-reveal].is-visible .offer-points li { animation: glow-pulse 1600ms ease 520ms 1; }
  .js .offer[data-reveal].is-visible .offer-points li:nth-child(2) { animation-delay: 610ms; }
  .js .offer[data-reveal].is-visible .offer-points li:nth-child(3) { animation-delay: 700ms; }
}

/* Floating WhatsApp button ----------------------------------------------------------
   Bottom-right, above the phone's safe area. A 52 px circle (48 px on phones); on desktop a
   "Chat with us" label slides out on hover or keyboard focus. Enters once, never pulses. */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 10px 24px -10px rgba(21, 107, 52, 0.75), 0 2px 6px rgba(22, 40, 42, 0.18);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out), box-shadow var(--dur-move) ease;
  animation: wa-in 520ms var(--ease-out) 1400ms backwards;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:active { transform: scale(0.95); }
.wa-float:focus-visible { outline: 3px solid var(--color-cyan-ink); outline-offset: 3px; border-radius: 50%; }
.wa-float-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 7px 12px;
  border-radius: var(--radius-capsule);
  background: var(--color-surface);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  translate: 6px -50%;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease, translate var(--dur-base) var(--ease-out);
}
.wa-float:focus-visible .wa-float-label { opacity: 1; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--color-whatsapp-strong); box-shadow: 0 14px 30px -10px rgba(21, 107, 52, 0.85), 0 0 0 5px rgba(26, 158, 75, 0.14); }
  .wa-float:hover .wa-float-label { opacity: 1; translate: 0 -50%; }
}
@media (max-width: 767px) {
  .wa-float { width: 48px; height: 48px; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .wa-float .icon { width: 24px; height: 24px; }
}
/* Keep the last lines of the footer clear of the button at the bottom of the page */
.site-footer { padding-bottom: 76px; }
@keyframes wa-in { from { opacity: 0; scale: 0.85; } }
/* WhatsApp icon inside existing buttons and links keeps the WhatsApp green */
.btn-wa .icon, .partner-ask .icon, .footer-contact a[href^="https://wa.me"] .icon, .nav-sheet-foot a[href^="https://wa.me"] { color: var(--color-whatsapp); }
.btn-ghost-dark.btn-wa .icon { color: #FFFFFF; }
.partner-ask { margin-top: var(--space-5); text-align: center; }
.partner-ask .text-link { display: inline-flex; align-items: center; gap: 8px; }
.partner-ask .icon { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  .js [data-reveal] { transform: none !important; transition: opacity 200ms ease; transition-delay: 0ms; }
  .hero-glow, .stage-card, .offer-badge::after, .brand-screen-ring, .emblem-ring, .emblem-chip, .eco-ring, .eco-particle, .eco-hub::after, .eco-node.is-news .eco-orb::after { animation: none !important; }
  .pcard:hover { transform: none; }
  .gstep:hover, .offer-points li:hover, .pillar:hover { transform: none; }
  .gstep, .outcome, .pillar, .offer-points li { animation: none !important; }
  .is-underline-reset .hero-underline path { stroke-dashoffset: 0; }
  .hero-underline path, .hero-underline circle { animation: none !important; }
  .hero-underline circle { opacity: 1; }
  .wa-float { animation: none !important; }
  .intro-play:hover, .intro-play:active { scale: none; }
  .wa-float:active { transform: none; }
  .wa-float-label { transition: opacity var(--dur-fast) ease; }
  .is-underline-reset .hero-underline circle { opacity: 1; }
  .js .eco-node, .js .eco-lines, .js .eco-mini li, .js .eco-hub, .js .eco-ring, .js .eco-line { transition: none !important; opacity: 1 !important; scale: none !important; }
  .js [data-reveal] h2::after { transform: none !important; transition: opacity 200ms ease; }
  .js .pcard[data-reveal] .pcard-num { scale: none !important; transition: opacity 200ms ease; }
  .eco-node.is-active .eco-orb, .pillar:hover, .pillar:hover .icon-tile { transform: none; }
  .offer-badge::after { display: none; }
  .js [data-reveal]:not(.is-visible) .icon-tile, .js [data-reveal]:not(.is-visible) .module-icon { transform: none; opacity: 1; }
  .js [data-reveal] .icon-tile, .js [data-reveal] .module-icon { animation: none !important; }
  .card:hover .icon-tile, .module-card:hover .module-icon, .eco-node:hover .icon-tile, .layer:hover .icon-tile, .module-card:hover { transform: none; }
  .btn:active, .tab:active, .menu-toggle:active { transform: none; }
  .card:hover { transform: none; }
  .btn-badge, .btn-badge-icon, .nav-indicator, .tab-indicator, .nav-sheet { transition-property: opacity, background-color, color; }
  .btn-badge:hover { padding-inline: 26px calc(var(--btn-height) + 6px); }
  .btn-badge:hover .btn-badge-icon { right: 5px; transform: translateY(-50%); }
}

@media (forced-colors: active) {
  .btn, .pill, .tab, .eco-orb, .eco-hub, .stage-card, .module-card, .dock-icon { border: 1px solid CanvasText; }
  .tab[aria-selected="true"] { outline: 2px solid Highlight; }
}

@media print {
  .site-header, .site-footer, .final-cta, .hero-stage, .hero-glow, .skip-link { display: none !important; }
  .hero { margin-top: 0; padding-top: 2rem; }
  body { background: #fff; }
}

/* ==========================================================================
   9. 2027 elevation: industrial hero scene, Manage · Connect · Advance,
      roadmap, industries, Mr. Pip, status matrix and inner-page blocks
   ========================================================================== */

/* Hero scene: client-supplied industrial plant under a deep brand-cyan overlay (no navy). */
.hero.hero-scene-on { padding-top: 0; --hero-overlap: clamp(7rem, 3.5rem + 10vw, 13rem); }
.hero-top {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-height) + clamp(3rem, 1.5rem + 6vw, 6.5rem));
  padding-bottom: var(--hero-overlap);
  color: #FFFFFF;
}
.hero-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0B4447; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.03); }
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(242, 140, 40, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(5, 42, 45, 0.9) 0%, rgba(8, 60, 64, 0.82) 38%, rgba(12, 82, 87, 0.66) 66%, rgba(244, 245, 242, 0.0) 84%, var(--color-background) 100%);
}
.hero-scene-on .hero-glow { top: auto; bottom: 4%; }
.hero-scene-on .hero-stage { margin-top: calc(var(--hero-overlap) * -1 + 1.5rem); }
.hero-scene-on .hero h1, .hero-scene-on h1 { color: #FFFFFF; max-width: 20ch; }
.hero-scene-on .hero-gradient { background: linear-gradient(100deg, #9BE7EA, #F7B56A); -webkit-background-clip: text; background-clip: text; color: #CDEFF0; }
.hero-scene-on .hero-accent { background: linear-gradient(100deg, #A6ECEE, #F8BA72); -webkit-background-clip: text; background-clip: text; }
.hero-scene-on .hero-tagline { color: #FFFFFF; max-width: 46ch; justify-content: center; text-align: center; }
.hero-scene-on .hero-tagline::before, .hero-scene-on .hero-tagline::after { flex: none; }
.hero-scene-on .hero-body { color: rgba(255, 255, 255, 0.86); }
.hero-scene-on .hero-terms { color: rgba(255, 255, 255, 0.74); }
.hero-scene-on .hero-terms a { color: #FFFFFF; }
.hero-scene-on .signature-line { color: #FFFFFF; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-5);
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-capsule);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--color-cyan-on-dark);
  font-size: var(--text-2xs);
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.hero-kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand-orange); box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.25); }
.hero-kicker-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
@media (max-width: 479px) { .hero-kicker { letter-spacing: 0.08em; } }
/* The header sits over the dark scene before scrolling, so it starts as a light capsule. */
body:has(.hero-scene-on) .site-header:not([data-scrolled="true"]) .header-shell {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.5);
}
.eyebrow-on-dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); color: var(--color-cyan-on-dark); }

/* Mr. Pip: a supporting guide, always small and never enlarged beyond his pixel size. */
.mascot { margin: 0; display: grid; justify-items: center; gap: var(--space-3); }
.mascot img { width: auto; height: auto; max-height: 100%; filter: drop-shadow(0 18px 20px rgba(22, 40, 42, 0.18)); }
.mascot figcaption { display: grid; text-align: center; font-size: var(--text-xs); color: var(--color-text-secondary); }
.mascot figcaption strong { color: var(--color-text-primary); font-size: var(--text-sm); }
.mascot-tablet img { height: clamp(150px, 12vw + 80px, 230px); }
.mascot-idea img { height: clamp(130px, 10vw + 70px, 210px); }
.mascot-welcome img { height: clamp(140px, 10vw + 80px, 220px); }
@media (prefers-reduced-motion: no-preference) {
  .mascot img { animation: pip-bob 5.5s var(--ease-in-out) infinite; }
  @keyframes pip-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* Manage · Connect · Advance */
.mca-head { display: grid; gap: var(--space-6); align-items: end; }
.mca-head .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .mca-head { grid-template-columns: 1fr auto; } }
@media (max-width: 899px) { .mca-head .mascot { display: none; } }
.mca-grid { list-style: none; display: grid; gap: var(--space-5); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 900px) { .mca-grid { grid-template-columns: repeat(3, 1fr); } }
.mca-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(22, 40, 42, 0.06));
  overflow: hidden;
}
.mca-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--tone-mid), transparent); }
.mca-top { display: flex; justify-content: space-between; align-items: center; }
.mca-num { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; color: var(--color-text-secondary); }
.mca-card .icon-tile { margin: 0; background: var(--tone-soft); color: var(--tone-ink); }
.mca-card h3 { font-size: var(--text-2xl); letter-spacing: -0.03em; font-weight: 800; color: var(--tone-ink); }
.mca-lead { font-weight: 700; color: var(--color-text-primary); }
.mca-card p:not(.mca-lead) { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.6; }
.mca-card .text-link { margin-top: auto; padding-top: var(--space-2); }
.mca-line { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; color: var(--color-text-secondary); }
.mca-line strong { color: var(--color-cyan-ink); }

/* Innovation band and roadmap */
.innovation-band {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: end;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 100% 100%, rgba(242, 140, 40, 0.22), transparent 60%),
    linear-gradient(135deg, var(--color-cyan-deep), #0B4A4E);
  color: #FFFFFF;
  overflow: hidden;
}
@media (min-width: 900px) { .innovation-band { grid-template-columns: 1fr auto; } }
@media (max-width: 899px) { .innovation-band .mascot { display: none; } }
.innovation-copy h2 { font-size: var(--text-3xl); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; max-width: 26ch; }
.innovation-copy > p:not(.eyebrow) { margin-top: var(--space-5); color: var(--color-text-on-dark-muted); max-width: 62ch; font-size: var(--text-lg); }
.innovation-copy .btn-row { margin-top: var(--space-6); }
.roadmap-grid { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 640px) { .roadmap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .roadmap-grid { grid-template-columns: repeat(5, 1fr); } }
.roadmap-card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg, 22px);
  background: var(--color-background);
}
.roadmap-card .icon-tile { margin: 0; background: var(--tone-soft); color: var(--tone-ink); }
.roadmap-card .pill { justify-self: start; }
.roadmap-card h3 { font-size: var(--text-lg); letter-spacing: -0.015em; }
.roadmap-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* Industries */
.industry-grid { list-style: none; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 22px);
  background: var(--color-surface);
}
.industry-card .icon-tile { margin: 0; grid-row: span 2; background: var(--tone-soft); color: var(--tone-ink); }
.industry-card h3 { font-size: var(--text-lg); letter-spacing: -0.015em; align-self: center; }
.industry-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* Inner pages: status matrix, workflow stories, Q&A guide */
.status-legend { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-secondary); }
.status-legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.cap-groups { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .cap-groups { grid-template-columns: repeat(2, 1fr); } }
.cap-group { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.section-surface .cap-group { background: var(--color-background); }
.cap-group-head { display: flex; gap: var(--space-4); align-items: center; margin-bottom: var(--space-4); }
.cap-group-head .icon-tile { margin: 0; background: var(--tone-soft); color: var(--tone-ink); }
.cap-group-head h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.cap-group-head p { font-size: var(--text-sm); color: var(--color-text-secondary); }
.cap-list { list-style: none; display: grid; }
.cap-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--color-border); }
.cap-list h4 { font-size: var(--text-base); font-weight: 700; }
.cap-list p { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }
.cap-list .pill { align-self: start; white-space: nowrap; }
.flow-grid { list-style: none; display: grid; gap: var(--space-5); counter-reset: flow; }
@media (min-width: 900px) { .flow-grid { grid-template-columns: repeat(3, 1fr); } }
.flow-card { padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--color-border); background: var(--color-surface); }
.flow-card h3 { font-size: var(--text-xl); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.flow-steps { list-style: none; display: grid; gap: var(--space-3); }
.flow-steps li { position: relative; padding-left: 34px; font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.55; }
.flow-steps li::before { content: ""; position: absolute; left: 9px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-brand-cyan); box-shadow: 0 0 0 4px var(--color-cyan-soft); }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 20px; bottom: -14px; width: 2px; background: var(--color-cyan-line); }
.flow-steps strong { color: var(--color-text-primary); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); font-size: var(--text-sm); }
.compare-table th, .compare-table td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: var(--color-cyan-50); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-cyan-ink); }
.compare-table tbody th { font-weight: 700; width: 24%; }
.compare-table td { color: var(--color-text-secondary); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 639px) { .compare-table { min-width: 560px; } }
.guide-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 1024px) { .guide-layout { grid-template-columns: 260px 1fr; align-items: start; } .guide-toc { position: sticky; top: calc(var(--header-height) + 24px); } }
.guide-toc { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg, 22px); background: var(--color-surface); }
.guide-toc h2 { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: var(--space-3); }
.guide-toc ol { list-style: none; display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.guide-toc a { color: var(--color-text-primary); text-decoration: none; font-weight: 600; }
.guide-toc a:hover { color: var(--color-cyan-ink); text-decoration: underline; }
.guide-article { scroll-margin-top: calc(var(--header-height) + 24px); padding-bottom: var(--space-7); margin-bottom: var(--space-7); border-bottom: 1px solid var(--color-border); }
.guide-article:last-child { border-bottom: 0; }
.guide-article .pillar-tag { display: inline-block; margin-bottom: var(--space-3); font-size: var(--text-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-cyan-ink); }
.guide-article h2 { font-size: var(--text-2xl); letter-spacing: -0.025em; line-height: 1.15; }
.guide-article .answer { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--color-text-primary); font-weight: 600; line-height: 1.55; }
.guide-article .prose { margin-top: var(--space-4); }
.guide-article .guide-cta { margin-top: var(--space-5); }
.split-mascot { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .split-mascot { grid-template-columns: 1fr auto; } }
@media (max-width: 899px) { .split-mascot .mascot { display: none; } }
.prose ol { padding-left: 1.25rem; display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.h3-like { font-size: var(--text-lg); letter-spacing: -0.015em; font-weight: 800; margin: var(--space-4) 0 var(--space-3); }
.partner-strip .h3-like { margin-top: 0; }
.cap-group .prose { max-width: none; }
.cap-group .prose p + p { margin-top: var(--space-3); }
.hero-scene-on .hero-tagline { display: block; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem); line-height: 1.45; }
.hero-scene-on .hero-tagline::before, .hero-scene-on .hero-tagline::after { display: none; }
@media (max-width: 479px) { .hero-kicker-sep, .hero-kicker-extra { display: none; } }
.section-head .status-legend { font-size: var(--text-sm); }
/* Small phones: CTAs straight after the promise, description after them, so the primary action sits
   above the floating WhatsApp button on first view. */
@media (max-width: 479px) {
  .hero-scene-on .hero-top { padding-top: calc(var(--header-height) + 1.5rem); }
  .hero-scene-on .hero-kicker { margin-bottom: var(--space-4); }
  .hero-scene-on .hero-tagline { margin-top: var(--space-4); }
  .hero-scene-on .hero-actions { order: 1; margin-top: var(--space-5); }
  .hero-scene-on .hero-body, .hero-scene-on .hero-terms, .hero-scene-on .hero-signature { order: 2; }
}
/* Vector hero scene: already dark and on-brand, so the overlay only adds headline contrast at the top and
   the fade into the page at the bottom. No scaling transform: vectors stay sharp at any size. */
.hero-scene img { transform: none; object-position: center 74%; }
.hero-scene::after {
  background: linear-gradient(180deg, rgba(4, 32, 35, 0.62) 0%, rgba(4, 32, 35, 0.34) 34%, rgba(4, 32, 35, 0.08) 62%, rgba(244, 245, 242, 0) 80%, var(--color-background) 100%);
}

/* Ambition line: always labelled as an ambition, never presented as a ranking */
.hero-ambition, .ambition-inline {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 700;
}
.hero-ambition { color: #FFFFFF; }
.hero-ambition span, .ambition-inline span {
  padding: 4px 10px; border-radius: var(--radius-capsule); background: var(--color-brand-orange); color: var(--color-ink);
  font-size: var(--text-2xs); font-weight: 800; letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.ambition-inline { justify-content: flex-start; color: var(--color-text-primary); }

/* Digital safety tools grid (home) */
.tools-block { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.tools-head { max-width: 62ch; margin-bottom: var(--space-5); }
.tools-head .h3-like { margin-top: 0; font-size: var(--text-xl); }
.tools-head p { color: var(--color-text-secondary); }
.tools-grid { list-style: none; display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-link {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; height: 100%;
  padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface);
  color: var(--color-text-primary); text-decoration: none;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-base) ease, transform var(--dur-press) var(--ease-out);
}
.tool-link .icon-tile { margin: 0; width: 44px; height: 44px; background: var(--tone-soft); color: var(--tone-ink); }
.tool-link .icon-tile .icon { width: 20px; height: 20px; }
.tool-link strong { display: block; font-size: var(--text-sm); }
.tool-link small { display: block; margin-top: 2px; font-size: var(--text-xs); color: var(--color-text-secondary); line-height: 1.4; }
.tool-arrow { width: 16px; height: 16px; color: var(--tone-ink); transition: transform var(--dur-fast) var(--ease-out); }
.tool-link:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tool-link:hover { border-color: var(--tone-mid); box-shadow: var(--shadow-sm); }
  .tool-link:hover .tool-arrow { transform: translateX(3px); }
}

/* Solution landing pages */
.solution-hero h1 { max-width: 24ch; }
.answer-lead { font-size: var(--text-lg); font-weight: 600; color: var(--color-text-primary) !important; }
.prose .answer-lead + p { margin-top: var(--space-4); }
.prose p + p { margin-top: var(--space-4); }
.solution-shot { margin: 0; }
.solution-shot img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); background: var(--color-surface); }
.solution-shot figcaption { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-secondary); text-align: center; }
.problem-cards { list-style: none; }
.solution-steps { list-style: none; max-width: 760px; padding: var(--space-6); }
.h4-like { font-size: var(--text-base); font-weight: 700; }
.check-list { list-style: none; display: grid; gap: var(--space-4); }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; color: var(--color-text-secondary); }
.check-list .icon { width: 22px; height: 22px; color: var(--color-status-ok); margin-top: 1px; }
.check-list strong { color: var(--color-text-primary); }
.related-tools { padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--color-border); background: var(--color-background); }
.related-tools .h3-like { margin-top: 0; }
.related-tools ul { list-style: none; display: grid; }
.related-tools li a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); color: var(--color-text-primary); font-weight: 700; text-decoration: none; }
.related-tools li a:hover { color: var(--color-cyan-ink); }
.related-tools .icon { width: 16px; height: 16px; flex: none; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.3fr; } }
/* Keep the scene vivid at the sides and calm behind the copy. */
.hero-scene::after {
  background:
    radial-gradient(52% 46% at 50% 42%, rgba(3, 28, 31, 0.8) 0%, rgba(3, 28, 31, 0.5) 55%, rgba(3, 28, 31, 0) 100%),
    linear-gradient(180deg, rgba(4, 32, 35, 0.6) 0%, rgba(4, 32, 35, 0.3) 34%, rgba(4, 32, 35, 0.06) 62%, rgba(244, 245, 242, 0) 80%, var(--color-background) 100%);
}
.hero-kicker > span:not([class]) { white-space: nowrap; }
@media (max-width: 479px) {
  .hero-scene::after {
    background: linear-gradient(180deg, rgba(3, 28, 31, 0.78) 0%, rgba(3, 28, 31, 0.62) 55%, rgba(3, 28, 31, 0.2) 78%, rgba(244, 245, 242, 0) 88%, var(--color-background) 100%);
  }
  .hero-scene-on .hero-ambition { order: 2; }
}

/* 2027 statement line: bold, prominent, consistent across pages */
.hero-ambition, .ambition-inline {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: nowrap;
  margin-top: var(--space-5); padding: 6px 18px 6px 6px;
  border-radius: var(--radius-capsule);
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem); font-weight: 800; letter-spacing: -0.005em; line-height: 1.25;
  text-align: left;
}
.hero-ambition {
  color: #FFFFFF;
  border: 1px solid rgba(242, 140, 40, 0.55);
  background: linear-gradient(90deg, rgba(242, 140, 40, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow: 0 12px 32px -18px rgba(242, 140, 40, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ambition-inline {
  color: var(--color-text-primary);
  border: 1px solid rgba(242, 140, 40, 0.45);
  background: linear-gradient(90deg, #FFF1E2, #FFFFFF 75%);
  box-shadow: 0 10px 26px -18px rgba(242, 140, 40, 0.8);
}
.hero-ambition span, .ambition-inline span {
  flex: none; padding: 6px 12px; border-radius: var(--radius-capsule);
  background: var(--color-brand-orange); color: var(--color-ink);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: none;
}
@media (max-width: 479px) {
  .hero-ambition, .ambition-inline { padding-right: 14px; font-size: 0.9rem; }
  .hero-scene-on .hero-ambition { order: 0; }
}
@media (max-width: 359px) { .hero-scene-on .hero-ambition { order: 2; } }

/* Hero hierarchy (Nov 2026): H1 hook, then the positioning line, then value copy and workflow links */
.hero-scene-on h1 { max-width: 21ch; }
.hero-positioning {
  margin-top: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.65rem);
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; color: #FFFFFF; text-align: center;
}
.hero-positioning span { color: #F7B56A; white-space: nowrap; }
.hero-workflows { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--space-5); max-width: 760px; }
.hero-workflows a {
  display: inline-block; padding: 6px 12px; border-radius: var(--radius-capsule);
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07);
  color: #E3F6F7; font-size: var(--text-xs); font-weight: 700; text-decoration: none;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.hero-workflows a:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
.hero-workflows a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
@media (max-width: 479px) {
  .hero-scene-on .hero-positioning { order: 0; margin-top: var(--space-4); }
  .hero-scene-on .hero-workflows { order: 2; }
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-4); font-size: var(--text-xs); color: var(--color-text-secondary); }
.breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--color-border-strong); }
.breadcrumb a { color: var(--color-cyan-ink); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
