/* ==========================================================================
   GeoAI — website stylesheet
   Based on "Huisstijl Handboek GeoAI v1.0"
   Typography : Lato Black (headings) / Lato Light (body)
   Colours    : Magenta #E6007E + Russian Violet #261E47 and their tints only
   ========================================================================== */

:root {
  /* Brand — primary */
  --magenta: #E6007E;
  --violet: #261E47;

  /* Brand — tints (from the brandbook, strongest → lightest) */
  --magenta-80: #DB5797;
  --magenta-60: #E381B1;
  --magenta-40: #EDABCB;
  --magenta-20: #F6D5E5;
  --violet-80: #504B6A;
  --violet-60: #7C788F;
  --violet-40: #A7A5B4;
  --violet-20: #D4D2DA;

  --white: #FFFFFF;

  /* Semantic */
  --text: var(--violet);
  --text-soft: var(--violet-80);
  --text-muted: var(--violet-60);
  --line: var(--violet-20);
  --bg: var(--white);
  --bg-dark: var(--violet);

  /* Type */
  --font: "Lato", Calibri, "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 84px;

  --shadow-sm: 0 2px 8px rgba(38, 30, 71, .06);
  --shadow: 0 18px 50px -18px rgba(38, 30, 71, .28);
  --shadow-lg: 0 40px 90px -30px rgba(38, 30, 71, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 900; line-height: 1.1; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
ul { margin: 0; padding: 0; }
::selection { background: var(--magenta); color: var(--white); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--magenta); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--dark { background: var(--violet); color: var(--white); }
.section--dark .lead, .section--dark p { color: var(--violet-20); }
.section--pattern { position: relative; isolation: isolate; }
.section--pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("../img/map-pattern.svg");
  background-size: 900px auto; opacity: .55;
}
.section--dark.section--pattern::before { background-image: url("../img/map-pattern-dark.svg"); opacity: 1; }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--top { align-items: start; }

/* ---------- Typography components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--magenta-60); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-soft); }
.intro { font-weight: 700; font-size: 1.15rem; line-height: 1.55; }
.text-magenta { color: var(--magenta); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--magenta); }
.prose a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 900; background: var(--magenta-20); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--magenta); --btn-fg: var(--white); --btn-bd: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(230, 0, 126, .6); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--violet); --btn-bd: var(--violet-20); }
.btn--ghost:hover { --btn-bd: var(--violet); box-shadow: none; }
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn--light:hover { --btn-bd: var(--white); box-shadow: none; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--violet); --btn-bd: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--magenta);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg, .card:hover .link-arrow svg { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--magenta-20); color: var(--magenta);
}
.badge--violet { background: var(--violet-20); color: var(--violet); }
.badge--dark { background: rgba(255,255,255,.1); color: var(--white); }

.icon { width: 24px; height: 24px; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(38, 30, 71, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
  --header-h: 72px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; transition: height .3s; }
.is-scrolled .brand img { height: 30px; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 400; font-size: .98rem; color: rgba(255,255,255,.88);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--white); background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--white); font-weight: 700; }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--magenta);
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.is-open .chev { transform: rotate(180deg); }

.nav-item--mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 90vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--white); color: var(--violet); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-link { display: flex; gap: 14px; padding: 14px; border-radius: 12px; transition: background .2s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--magenta-20); }
.mega-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--violet); color: var(--white); transition: background .2s;
}
.mega-link:hover .mega-icon { background: var(--magenta); }
.mega-icon svg { width: 22px; height: 22px; }
.mega-title { display: block; font-weight: 900; line-height: 1.25; }
.mega-desc { display: block; font-size: .87rem; line-height: 1.45; color: var(--text-muted); margin-top: 3px; }
.mega-foot {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--violet); color: var(--white); font-size: .92rem;
}
.mega-foot a { color: var(--magenta-60); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.mega-foot a svg { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-cta, .mobile-only { display: none; }
@media (max-width: 980px) { .mobile-only { display: block; } }
.lang-switch {
  display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .8rem; font-weight: 700;
}
.lang-switch a { padding: 6px 10px; border-radius: 999px; color: rgba(255,255,255,.7); letter-spacing: .06em; transition: .2s; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="true"] { background: var(--white); color: var(--violet); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--violet); color: var(--white);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(80px, 9vw, 140px);
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-bg::after, .page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(230, 0, 126, .28), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(80, 75, 106, .9), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; margin-bottom: 24px; }
.hero h1 .text-magenta { display: inline; }
.hero .lead { color: var(--violet-20); max-width: 560px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: .9rem; color: var(--violet-40); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--magenta-60); }

/* Detection console visual */
.console { position: relative; }
.console-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #1d1738; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.6);
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: .78rem; color: var(--violet-40);
  border-bottom: 1px solid rgba(255,255,255,.08); letter-spacing: .04em;
}
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--violet-80); }
.console-bar i:first-child { background: var(--magenta); }
.console-bar b { margin-left: auto; color: var(--white); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.console-bar b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: pulse 1.6s infinite; }
.console-map { position: relative; aspect-ratio: 4 / 3.1; }
.console-map svg { width: 100%; height: 100%; }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(230, 0, 126, .22) 85%, var(--magenta) 100%);
  animation: scan 5.5s var(--ease) infinite;
}
.det { opacity: 0; transform-origin: center; transform-box: fill-box; animation: det-in 5.5s var(--ease) infinite; }
.det:nth-of-type(2) { animation-delay: .7s; }
.det:nth-of-type(3) { animation-delay: 1.4s; }
.det:nth-of-type(4) { animation-delay: 2.1s; }
.det:nth-of-type(5) { animation-delay: 2.8s; }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.console-foot div { padding: 14px 18px; font-size: .74rem; color: var(--violet-40); letter-spacing: .04em; }
.console-foot div + div { border-left: 1px solid rgba(255,255,255,.08); }
.console-foot strong { display: block; font-size: 1.25rem; color: var(--white); font-weight: 900; letter-spacing: 0; }

.float-card {
  position: absolute; background: var(--white); color: var(--violet); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px; animation: float 7s ease-in-out infinite;
}
.float-card--photo { width: 36%; left: -12%; bottom: 0; translate: 0 calc(100% - 4px); }
.console { margin-bottom: 90px; }
.float-card--photo figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; }
.float-card--photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.float-card--photo .bbox {
  position: absolute; left: 33%; top: 20%; width: 41%; height: 52%;
  border: 2px solid var(--magenta); border-radius: 4px; box-shadow: 0 0 0 999px rgba(38,30,71,.18);
}
.float-card--photo .bbox span {
  position: absolute; left: -2px; top: -24px; background: var(--magenta); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 7px; border-radius: 4px 4px 4px 0; white-space: nowrap;
}
.float-card figcaption { font-size: .78rem; padding: 8px 4px 2px; display: flex; justify-content: space-between; gap: 8px; }
.float-card figcaption b { font-weight: 900; }
.float-card--chip {
  right: -6%; top: 14%; padding: 12px 16px; display: flex; align-items: center; gap: 12px; animation-delay: -3s;
}
.float-card--chip .chip-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--magenta); color: #fff; display: grid; place-items: center; }
.float-card--chip .chip-icon svg { width: 22px; height: 22px; }
.float-card--chip small { display: block; font-size: .72rem; color: var(--text-muted); line-height: 1.2; }
.float-card--chip strong { font-weight: 900; font-size: .98rem; line-height: 1.2; }

@keyframes scan { 0% { transform: translateY(-80px); } 70%, 100% { transform: translateY(calc(var(--scan-h, 420px) + 10px)); } }
@keyframes det-in { 0%, 8% { opacity: 0; transform: scale(1.15); } 14%, 80% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,0,126,.6); } 100% { box-shadow: 0 0 0 10px rgba(230,0,126,0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--violet); color: var(--white);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 112px);
}
.page-hero-bg { background-image: url("../img/map-pattern-dark.svg"); background-size: 900px auto; }
.page-hero .lead { color: var(--violet-20); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; max-width: 720px; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--violet-40); margin-bottom: 28px; list-style: none; }
.breadcrumb a { color: var(--violet-20); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--violet-60); }
.page-hero--center .breadcrumb { justify-content: center; }

.hero-figure { position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-figure::before {
  content: ""; position: absolute; right: -18px; top: -18px; width: 42%; height: 42%;
  border-radius: var(--radius-lg); border: 2px solid var(--magenta); z-index: -1;
}
.hero-figure::after {
  content: ""; position: absolute; left: -22px; bottom: -22px; width: 110px; height: 110px;
  background-image: radial-gradient(var(--magenta-60) 2px, transparent 2.5px); background-size: 16px 16px; z-index: -1; opacity: .7;
}
.hero-figure .tag {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.95); color: var(--violet);
  border-radius: 12px; padding: 10px 14px; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.hero-figure .tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); animation: pulse 1.6s infinite; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); }
.card .link-arrow { margin-top: auto; padding-top: 22px; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--magenta-20); color: var(--magenta); transition: background .3s, color .3s, transform .35s var(--ease);
}
.card-icon svg { width: 28px; height: 28px; }
a.card:hover .card-icon { background: var(--magenta); color: var(--white); transform: rotate(-6deg); }
.card-num { font-weight: 900; font-size: .85rem; letter-spacing: .12em; color: var(--magenta); margin-bottom: 18px; display: block; }

.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: var(--white); }
.card--dark p { color: var(--violet-20); }
.card--dark .card-icon { background: rgba(230,0,126,.14); color: var(--magenta-60); }
.card--dark:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }

/* Service cards (home) */
.service-card { overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--magenta-20), transparent 70%); opacity: 0; transition: opacity .4s;
}
.service-card:hover::after { opacity: 1; }

/* Product bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.product {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); grid-column: span 2;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--violet-20); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-media img { transform: scale(1.06); }
.product-media .badge { position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--violet); box-shadow: var(--shadow-sm); }
.product-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 10px; }
.product-body p { color: var(--text-soft); font-size: 1rem; }
.product-body .link-arrow { margin-top: auto; padding-top: 18px; }
.product--feature { grid-column: span 6; flex-direction: row; background: var(--violet); color: var(--white); border-color: var(--violet); }
.product--feature .product-media { flex: 1.1; aspect-ratio: auto; min-height: 380px; }
.product--feature .product-body { flex: .9; padding: clamp(32px, 4vw, 56px); justify-content: center; }
.product--feature .product-body p { color: var(--violet-20); font-size: 1.08rem; }
.product--feature h3 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); }
.product--feature .link-arrow { color: var(--magenta-60); }
.product--half { grid-column: span 3; }
.product--soon { cursor: default; }
.product--soon .link-arrow { color: var(--text-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px clamp(16px, 2.5vw, 36px); border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { display: block; font-weight: 900; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; color: var(--white); letter-spacing: -.03em; }
.stat-value em { font-style: normal; color: var(--magenta); }
.stat-label { display: block; margin-top: 14px; color: var(--violet-20); font-size: .98rem; line-height: 1.45; max-width: 220px; }

/* Process flow (What is GeoAI) */
.flow { list-style: none; display: grid; gap: 14px; margin-top: 36px; counter-reset: flow; }
.flow li {
  display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); position: relative;
}
.flow li + li::before {
  content: ""; position: absolute; left: 41px; top: -15px; height: 16px; width: 2px; background: var(--magenta-40);
}
.flow-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--violet); color: #fff; display: grid; place-items: center; }
.flow li:last-child .flow-icon { background: var(--magenta); }
.flow-icon svg { width: 22px; height: 22px; }
.flow strong { display: block; font-weight: 900; line-height: 1.3; }
.flow span { font-size: .95rem; color: var(--text-muted); line-height: 1.5; }

/* Brain visual */
.orb { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.orb::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, var(--violet-80), var(--violet) 70%);
  box-shadow: var(--shadow-lg);
}
.orb img { position: relative; width: 88%; margin: 6% auto 0; filter: saturate(1.1); }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--violet-20); animation: spin 60s linear infinite; }
.orb-ring::before, .orb-ring::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 6px var(--magenta-20);
}
.orb-ring::before { top: 12%; left: 14%; }
.orb-ring::after { bottom: 6%; right: 26%; background: var(--violet); box-shadow: 0 0 0 6px var(--violet-20); }
.orb-label {
  position: absolute; background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 700;
  box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.orb-label svg { width: 16px; height: 16px; color: var(--magenta); }
.orb-label--1 { top: 10%; right: 0; }
.orb-label--2 { bottom: 16%; left: -4%; }
.orb-label--3 { bottom: 2%; right: 8%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Partners marquee */
.partners { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.partners-title { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 48px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-grid div { aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 18px; background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.partner-grid div:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner-grid img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.partner-grid div:hover img { filter: none; opacity: 1; }

/* Topics (inner pages) */
.topic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.topic + .topic { margin-top: clamp(64px, 8vw, 120px); }
.topic--reverse .topic-media { order: 2; }
.topic-media { position: relative; }
.topic-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.topic-media--plain img { box-shadow: none; }
.topic-media .accent {
  position: absolute; width: 38%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--magenta); z-index: -1;
  right: -16px; bottom: -16px;
}
.topic--reverse .topic-media .accent { right: auto; left: -16px; background: var(--violet); }

.check-list { list-style: none; display: grid; gap: 14px; margin: 24px 0; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--magenta-20) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6007E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(230,0,126,.18); }

.tabs { margin-top: 8px; }
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-bottom: 32px; }
.tab-list button { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--text-soft); transition: .25s; }
.tab-list button:hover { color: var(--violet); }
.tab-list button[aria-selected="true"] { background: var(--violet); color: var(--white); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade-up .5s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.screen { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--white); }
.screen-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--violet); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--violet-80); }
.screen-bar i:first-child { background: var(--magenta); }
.screen img { width: 100%; }

/* Download card */
.download-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 26px 28px; border-radius: var(--radius); background: var(--white); color: var(--violet); box-shadow: var(--shadow-lg); margin-top: 36px;
}
.download-card .card-icon { margin: 0; background: var(--magenta); color: #fff; }
.download-card strong { display: block; font-weight: 900; font-size: 1.1rem; }
.download-card small { color: var(--text-muted); font-size: .88rem; display: block; line-height: 1.5; }
.notice {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; font-size: .93rem; line-height: 1.55; margin-top: 18px;
  background: rgba(230, 0, 126, .12); border: 1px solid rgba(230,0,126,.35); color: var(--magenta-20);
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--magenta-60); }
.notice--light { background: var(--magenta-20); color: var(--violet); border-color: var(--magenta-40); }
.notice--light svg { color: var(--magenta); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: .85rem; font-weight: 400; color: var(--violet-20); }
.chips--light .chip { border-color: var(--line); color: var(--text-soft); }

/* Vacancies */
.job {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--magenta); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.job:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.job:hover::before { transform: scaleY(1); }
.job h3 { margin: 0; font-size: 1.45rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job p { color: var(--text-soft); font-size: 1rem; }
.job .link-arrow { margin-top: auto; }

.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-lg);
  background: var(--violet); color: var(--white); overflow: hidden; isolation: isolate;
}
.aside-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/map-pattern-dark.svg") center / 700px auto; opacity: .8; }
.aside-card h3 { font-size: 1.35rem; }
.aside-card p { color: var(--violet-20); font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: 12px; }
.person { display: flex; gap: 14px; align-items: center; padding: 16px 0; margin: 18px 0; border-block: 1px solid rgba(255,255,255,.12); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; flex: none; }
.person strong { display: block; font-weight: 900; line-height: 1.3; }
.person small { color: var(--violet-40); font-size: .85rem; }
.contact-lines { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.contact-lines a { display: flex; align-items: center; gap: 10px; color: var(--violet-20); transition: color .2s; }
.contact-lines a:hover { color: var(--white); }
.contact-lines svg { width: 18px; height: 18px; color: var(--magenta-60); }

.offer-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.offer-list li { padding: 20px; border-radius: 14px; border: 1px solid var(--line); display: flex; gap: 14px; font-size: .98rem; line-height: 1.55; color: var(--text-soft); }
.offer-list li svg { width: 24px; height: 24px; color: var(--magenta); flex: none; }
.offer-list b { color: var(--violet); display: block; font-weight: 900; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .card-icon { margin: 0; width: 52px; height: 52px; }
.contact-card small { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.contact-card strong { font-weight: 900; font-size: 1.1rem; line-height: 1.35; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.office { padding: 22px; border-radius: var(--radius); background: var(--violet); color: var(--white); position: relative; overflow: hidden; }
.office::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; border: 18px solid rgba(230,0,126,.35); }
.office small { color: var(--magenta-60); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.office strong { display: block; font-size: 1.25rem; font-weight: 900; margin: 4px 0 6px; }
.office p { font-size: .92rem; color: var(--violet-20); margin: 0; }
.office a { color: var(--white); font-weight: 700; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; position: relative; z-index: 1; }
.office a svg { width: 14px; height: 14px; }

/* Forms */
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--violet-20); background: var(--white);
  font-weight: 400; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23261E47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--violet-40); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px var(--magenta-20); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--magenta); }
.field-error { font-size: .85rem; color: var(--magenta); font-weight: 700; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--text-muted); font-size: .88rem; max-width: 380px; line-height: 1.5; }
.form-foot small a { color: var(--magenta); text-decoration: underline; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 400; background: var(--magenta-20); }
.form-status.is-visible { display: flex; gap: 12px; align-items: flex-start; animation: fade-up .4s var(--ease); }
.form-status svg { width: 22px; height: 22px; color: var(--magenta); flex: none; }

.tip-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.tip-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tip-list li svg { width: 24px; height: 24px; color: var(--magenta-60); flex: none; }
.tip-list strong { display: block; color: var(--white); font-weight: 900; }
.tip-list span { color: var(--violet-20); font-size: .95rem; line-height: 1.5; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--magenta); color: var(--white); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/map-pattern-light.svg") center / 900px auto; opacity: .35; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--violet); opacity: .25; z-index: -1; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--magenta-20); font-size: var(--fs-lead); max-width: 620px; margin: 0; }
.cta-band .btn { --btn-bg: var(--violet); --btn-bd: var(--violet); }
.cta-band .btn:hover { box-shadow: 0 14px 30px -12px rgba(38,30,71,.7); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn--light { --btn-bd: rgba(255,255,255,.5); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--violet); color: var(--violet-20); position: relative; isolation: isolate; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/map-pattern-dark.svg") center / 900px auto; opacity: .6; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 64px); padding-block: clamp(64px, 7vw, 96px) 48px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 1rem; max-width: 320px; }
.footer-title { color: var(--white); font-weight: 900; font-size: 1rem; margin-bottom: 18px; letter-spacing: .01em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--violet-20); font-size: .97rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .97rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: 12px; color: var(--violet-20); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { width: 18px; height: 18px; color: var(--magenta-60); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: var(--white); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--magenta); border-color: var(--magenta); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: var(--violet-40); }
.footer-bottom a { color: var(--violet-20); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom nav { display: flex; gap: 20px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--magenta); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(230,0,126,.7);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .det { opacity: 1; }
  .scanline { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link { padding: 10px 10px; font-size: .94rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .float-card--photo { left: -4%; }
  .float-card--chip { right: -2%; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--violet); overflow-y: auto;
    padding: 24px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--violet); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.25rem; font-weight: 700; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .nav-link[aria-current="page"]::after, .nav-link.is-active::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--magenta-60); }
  .mega {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; color: var(--white);
    grid-template-columns: 1fr; padding: 0 0 14px; display: none;
  }
  .nav-item.is-open .mega { display: grid; transform: none; }
  .mega-link { padding: 12px 4px; }
  .mega-link:hover { background: rgba(255,255,255,.05); }
  .mega-icon { background: rgba(255,255,255,.08); }
  .mega-desc { color: var(--violet-40); }
  .mega-foot { display: none; }
  .header-actions .btn { display: none; }
  .mobile-cta { display: flex !important; flex-direction: column; gap: 12px; margin-top: 28px; }

  .hero-grid, .page-hero-grid, .split, .topic, .contact-grid { grid-template-columns: 1fr; }
  .split--wide-left { grid-template-columns: 1fr; }
  .topic--reverse .topic-media { order: 0; }
  .console { max-width: 620px; margin: 24px auto 140px; width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .product, .product--half { grid-column: span 1; }
  .product--feature { grid-column: span 2; flex-direction: column; }
  .product--feature .product-media { min-height: 0; aspect-ratio: 16 / 9; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .aside-card { position: static; }
  .hero-figure { max-width: 640px; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; }
  .console { margin-bottom: 150px; }
  .grid-2, .grid-3, .grid-4, .bento, .offer-list, .offices, .form-grid { grid-template-columns: 1fr; }
  .product--feature { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .float-card--photo { width: 44%; left: 2%; }
  .float-card--chip { right: 0; top: -9%; padding: 8px 12px; }
  .float-card--chip .chip-icon { width: 32px; height: 32px; }
  .console-foot div { padding: 12px; }
  .console-foot strong { font-size: 1.05rem; }
  .download-card { grid-template-columns: 1fr; text-align: left; }
  .lang-switch a { padding: 6px 8px; }
  .brand img { height: 28px; }
  .btn-row .btn { flex: 1 1 auto; }
  .tab-list { border-radius: 18px; }
  .orb-label { font-size: .75rem; padding: 6px 12px; }
  .hero-figure::before { right: -8px; top: -8px; }
  .hero-figure::after { left: -8px; bottom: -8px; }
}

/* Inline icons in small headings */
h4 .icon { display: inline-block; width: 20px; height: 20px; vertical-align: -3px; margin-right: 6px; color: var(--magenta); }
.section--dark h4 .icon { color: var(--magenta-60); }
