/* Stickfish Software — marketing site
   Self-hosted Inter (variable) — no third-party (Google Fonts) request, so no
   visitor-IP transmission to Google and no cookie/consent banner required for fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
  /* Stickfish brand: light theme, steel-blue accent (see logo) */
  --blue: #3f6fa3;
  --blue-dark: #2e5582;
  --blue-2: #5c87b6;
  --blue-soft: rgba(63, 111, 163, 0.10);
  --blue-line: rgba(63, 111, 163, 0.28);

  --bg: #ffffff;
  --bg-2: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --border: rgba(20, 40, 70, 0.12);
  --border-2: rgba(20, 40, 70, 0.20);
  --heading: #16202c;
  --text: #28323f;
  --muted: #5d6875;
  --shadow: 0 6px 22px rgba(20, 40, 70, 0.07);
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Hide the page until i18n has run (see the inline cloak script in each <head>).
   Prevents a flash of untranslated markup and of both language blocks at once. */
html.i18n-cloak body { visibility: hidden; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(63, 111, 163, 0.10), transparent 70%),
    radial-gradient(50% 40% at 0% 0%, rgba(63, 111, 163, 0.06), transparent 70%);
}

h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -0.02em; color: var(--heading); margin: 0 0 0.6rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.62rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(63, 111, 163, 0.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.7rem 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--heading); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 1.4rem; margin-left: 0.5rem; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }

/* Language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--border-2); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; color: var(--muted); border: 0; padding: 0.24rem 0.5rem; font: inherit; font-size: 0.72rem; font-weight: 600; cursor: pointer; line-height: 1; }
.lang-switch button.active { background: var(--blue); color: #fff; }
.lang-switch button:not(.active):hover { color: var(--blue); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
.hero .lead, .lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.7rem 0 1rem; }
.hero-note { font-size: 0.88rem; color: var(--muted); }

/* Browser frame (hero visual + any framed screenshot) */
.browser {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 24px 60px rgba(20, 40, 70, 0.12);
}
.browser img { display: block; width: 100%; height: auto; }
.hero-visual { width: 100%; }

/* Value strip */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 1.5rem; }
.strip strong { display: block; color: var(--heading); font-size: 1.05rem; }
.strip span { color: var(--muted); font-size: 0.88rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }

/* In-page jump anchor that clears the sticky header */
.jump-anchor { display: block; position: relative; top: -80px; visibility: hidden; }

/* ---- Roadmap: central road, module tiles paired left & right, summit at the bottom ---- */
.roadmap { margin-top: 3rem; }
.rm-path {
  list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 980px;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 4.5rem; row-gap: 1.3rem;
}
/* the road down the centre */
.rm-path::before {
  content: ''; position: absolute; top: 0.5rem; bottom: 6.5rem; left: 50%; transform: translateX(-50%);
  width: 3px; border-radius: 3px; background: linear-gradient(var(--blue-2), var(--blue));
}
/* each station: icon + card side by side, vertically centred */
.rm-station { position: relative; display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.rm-station:nth-child(odd) { grid-column: 1; flex-direction: row-reverse; }
.rm-station:nth-child(even) { grid-column: 2; }
/* offset the right column down by half a step → reading order zigzags Lean → Data Collection → Six Sigma … */
.rm-station:nth-child(even):not(.rm-summit) { transform: translateY(3.2rem); }
.rm-station:nth-child(odd) .rm-card { text-align: right; align-items: flex-end; }
.rm-node {
  flex: none; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: 999px;
  background: #fff; border: 2px solid var(--blue); box-shadow: 0 4px 14px rgba(63, 111, 163, 0.25);
}
.rm-node svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rm-node svg rect, .rm-node svg ellipse, .rm-node svg circle, .rm-node svg path { fill: none; }
/* short connector from each node toward the central road */
.rm-node::after { content: ''; position: absolute; top: 50%; width: 2rem; height: 2px; background: var(--blue-line); transform: translateY(-50%); }
.rm-station:nth-child(odd) .rm-node::after { left: 100%; }
.rm-station:nth-child(even) .rm-node::after { right: 100%; }
.rm-card {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
a.rm-card:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 12px 28px rgba(63, 111, 163, 0.18); }
.rm-name { font-weight: 700; color: var(--heading); font-size: 1.02rem; }
.rm-task { color: var(--muted); font-size: 0.88rem; }
.rm-go { color: var(--blue); font-weight: 600; font-size: 0.82rem; padding-top: 0.15rem; }
/* summit: centred tile at the very bottom, spanning both columns */
.rm-summit { grid-column: 1 / -1; flex-direction: column; align-items: center; margin-top: 4.5rem; }
.rm-summit-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.rm-summit .rm-node { width: 3.4rem; height: 3.4rem; border-width: 3px; }
.rm-summit .rm-node::after { display: none; }
.rm-summit .rm-node svg { width: 1.7rem; height: 1.7rem; }
.rm-card-summit {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark)); color: #fff; border: 0;
  text-align: center; padding: 2.4rem 2rem 1.6rem; max-width: 540px; width: 100%;
  border-radius: var(--radius); box-shadow: 0 18px 40px rgba(63, 111, 163, 0.32);
}
.rm-card-summit .rm-name { color: #fff; font-size: 1.5rem; }
.rm-card-summit .rm-task { color: rgba(255, 255, 255, 0.88); }
/* roadmap → videos hint: centred text, button below */
.roadmap-lead { text-align: center; margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.roadmap-lead p { margin: 0; color: var(--muted); max-width: 46rem; }

/* ---- Module / add-on cards ---- */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.module-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.module-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(63, 111, 163, 0.16); }
.module-card h3 { font-size: 1.2rem; }
.module-card p { color: var(--muted); margin: 0 0 1rem; }
.module-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.8rem; height: 2.8rem; border-radius: 12px; margin-bottom: 0.9rem;
  background: var(--blue-soft); border: 1px solid var(--blue-line);
}
.module-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.module-meta { display: flex; align-items: center; justify-content: space-between; }
.go { color: var(--blue); font-weight: 600; font-size: 0.9rem; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(180deg, var(--surface-2), #eef3fa);
  border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 2.6rem; text-align: center;
}
.cta-band p { color: var(--muted); max-width: 40rem; margin: 0 auto 1.4rem; }
.contact-info { margin: 1.4rem 0; }
.contact-info p { margin: 0 0 0.6rem; }
.contact-info strong { color: var(--heading); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 1.8rem; background: var(--bg-2); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 1.6rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 16rem; }
.footer-brand .brand img { height: 42px; margin-bottom: 0.7rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col h4 { color: var(--heading); font-size: 0.92rem; margin: 0 0 0.5rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.84rem;
}

/* ---- Sub-page bits: breadcrumb / back link / module hero ---- */
.back-link { display: inline-block; margin: 1.6rem 0 0; color: var(--blue); font-size: 0.92rem; }
.breadcrumb { margin: 1.6rem 0 0; font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { color: var(--blue); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--muted); }
.module-hero { padding: 2.5rem 0 1.5rem; }
.module-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.module-hero-art { display: flex; justify-content: center; }
.module-hero-art img { max-width: 200px; width: 100%; height: auto; border-radius: var(--radius); }

/* ---- App explorer (module pages): list + detail pane / mobile accordion ---- */
.app-explorer { display: grid; grid-template-columns: 320px 1fr; gap: 1.6rem; align-items: start; }
.ax-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.ax-item {
  width: 100%; display: flex; align-items: center; gap: 0.7rem; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.7rem 0.85rem; color: var(--text); font: inherit; cursor: pointer; transition: all 0.15s; box-shadow: var(--shadow);
}
.ax-item img { width: 1.5rem; height: 1.5rem; }
.ax-item:hover { border-color: var(--blue-2); }
.ax-item.is-active { border-color: var(--blue); background: var(--blue-soft); }
.ax-name { font-weight: 600; }
.ax-panel { display: none; }
.ax-detail {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.ax-detail-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.ax-detail-ico { width: 2.4rem; height: 2.4rem; }
.ax-detail-name { margin: 0; font-size: 1.4rem; }
.ax-detail-desc { color: var(--muted); margin: 0; }
.ax-photo, .ax-video { margin-top: 1.2rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ax-photo img, .ax-video video { display: block; width: 100%; height: auto; }

/* ---- Add-on: AI assistants + flow ---- */
.ai-assistants { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.ai-assistant { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.ai-assistant h3 { font-size: 1.1rem; color: var(--blue); }
.ai-assistant p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.ai-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ai-flow figure { margin: 0; }
.ai-flow img { border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.ai-flow figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; text-align: center; }

/* ---- Add-on: interfaces ---- */
.iface-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.iface-cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.iface-cat h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.iface-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.iface-tags span {
  display: inline-block; font-size: 0.82rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 0.26rem 0.7rem;
}

/* ---- Videos page ---- */
.video-hero {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow);
}
.video-thumb {
  position: relative; width: 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 0; cursor: pointer; overflow: hidden; padding: 0;
}
.video-thumb .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video-trigger:hover .poster { opacity: 1; }
.play {
  position: relative; z-index: 1; width: 4.2rem; height: 4.2rem; border-radius: 999px;
  background: rgba(63, 111, 163, 0.94); box-shadow: 0 10px 28px rgba(20, 40, 70, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.play::before { content: ''; border-style: solid; border-width: 0.7rem 0 0.7rem 1.15rem; border-color: transparent transparent transparent #fff; margin-left: 0.25rem; }
.soon {
  position: absolute; z-index: 1; bottom: 0.7rem; right: 0.7rem;
  background: rgba(22, 32, 44, 0.62); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.video-player { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; border-radius: var(--radius); }
/* "Weitere Videos": tiles stay small (≈ a quarter of the width); a lone card does not stretch */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; align-items: start; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card .video-thumb { aspect-ratio: 16 / 9; }
.video-card .soon { position: static; align-self: center; margin-top: 0.5rem; }
.video-card .video-thumb { flex-direction: column; gap: 0.5rem; }
.video-meta { padding: 0.8rem 1rem 1rem; }
.video-meta h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.video-meta p { color: var(--muted); margin: 0; font-size: 0.88rem; }
.yt-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  margin-top: 2.5rem; padding: 1.6rem 1.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.yt-band p { margin: 0; }
.yt-band strong { color: var(--heading); }
.yt-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---- App detail modal (built by main.js when .app-card cards exist) ---- */
.modal-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(22, 32, 44, 0.55); backdrop-filter: blur(4px); }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(20, 40, 70, 0.3); }
.modal-close { position: absolute; top: 0.6rem; right: 0.8rem; z-index: 1; background: rgba(255,255,255,0.85); border: 0; color: var(--heading); width: 2rem; height: 2rem; border-radius: 999px; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-media img { width: 100%; height: auto; display: block; }
.modal-body { padding: 1.6rem; }
.modal-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.chip { font-size: 0.8rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 0.24rem 0.7rem; }
.app-open { display: inline-block; margin-top: 0.7rem; color: var(--blue); font-size: 0.86rem; font-weight: 600; }

/* ---- Legal pages ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 1.5rem 0 3rem; }
.legal h1 { margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); }
.legal address { color: var(--muted); font-style: normal; margin-bottom: 1rem; }
.updated { color: var(--muted); font-size: 0.85rem; }

/* ---- About page ---- */
.about-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-top: 2.5rem; }
.about-section.reverse .about-text { order: 2; }
.about-text h2 { font-size: 1.6rem; }
.about-text p { color: var(--muted); }
.about-figure img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 18px 44px rgba(20, 40, 70, 0.12); }
.about-figure figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; text-align: center; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.office-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.office-card img { width: 100%; height: 220px; object-fit: cover; }
.office-card .office-body { padding: 1.3rem 1.5rem 1.6rem; }
.office-card h3 { font-size: 1.15rem; }
.office-card p { color: var(--muted); margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.value-card h3 { font-size: 1.1rem; color: var(--blue); }
.value-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
/* compact milestones table (years) */
.milestones { width: 100%; border-collapse: collapse; margin-top: 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.milestones th, .milestones td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.milestones tr:last-child td { border-bottom: 0; }
.milestones .yr { width: 6rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.milestones td { color: var(--muted); }

/* ---- Analog → digital comparison (e.g. Kamishibai) ---- */
.ax-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.ax-compare figure { margin: 0; }
.ax-compare img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.ax-compare figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; text-align: center; }
.ax-compare-arrow { color: var(--blue); font-size: 1.9rem; font-weight: 700; line-height: 1; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .module-hero-grid, .about-hero-grid { grid-template-columns: 1fr; }
  .hero-visual, .module-hero-art { order: -1; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .ai-flow { grid-template-columns: 1fr; }
  .about-section, .about-section.reverse { grid-template-columns: 1fr; }
  .about-section.reverse .about-text { order: 0; }
  .offices { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* roadmap collapses to a single left-aligned column */
  .rm-path { grid-template-columns: 1fr; column-gap: 0; }
  .rm-path::before { left: 1.45rem; }
  .rm-station, .rm-station:nth-child(odd), .rm-station:nth-child(even) { grid-column: 1; flex-direction: row; }
  .rm-station:nth-child(even):not(.rm-summit) { transform: none; }
  .rm-station:nth-child(odd) .rm-card,
  .rm-station:nth-child(even) .rm-card { text-align: left; align-items: flex-start; }
  .rm-node::after, .rm-station:nth-child(odd) .rm-node::after, .rm-station:nth-child(even) .rm-node::after { display: none; }
  .rm-summit { align-items: center; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  /* app explorer → accordion */
  .app-explorer { grid-template-columns: 1fr; }
  .ax-detail { display: none; }
  .ax-item.is-active + .ax-panel { display: block; padding: 1.2rem 0.2rem 0.4rem; }
  .ax-panel .ax-detail-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
  .ax-panel .ax-detail-ico { width: 2rem; height: 2rem; }
  .ax-panel .ax-detail-name { font-size: 1.15rem; }
  .ax-panel .ax-detail-desc { color: var(--muted); }
  .ax-photo, .ax-video { margin-top: 0.9rem; }
}
@media (max-width: 620px) {
  .nav { display: none; }
  .strip-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .header-actions .btn-ghost { display: none; }
  .header-inner { gap: 0.6rem; padding-inline: 1rem; }
  .header-actions { gap: 0.45rem; flex-shrink: 0; }
  .header-actions .btn { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
  .roadmap-lead, .yt-band, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .roadmap-lead { align-items: center; }
  .ax-compare { grid-template-columns: 1fr; }
  .ax-compare-arrow { transform: rotate(90deg); justify-self: center; }
  .section { padding: 3.2rem 0; }
}
