/* ---------- Tokens (match dev.fixmymedtech.org + logo) ---------- */
:root {
  --navy-950: #0a1a33;
  --navy-900: #0f2a5c;
  --blue-800: #14438b;
  --blue-600: #0b6ce0;
  --brand-teal: #00a4b4;
  --brand-blue: #0175aa;
  --brand-deep: #044a80;
  --gear-navy: #132a44;
  --mint: #5eead4;
  --primary: #2563eb;

  --bg: #f9fafb;
  --bg-2: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --green: #16a34a;
  --green-lt: #dcfce7;
  --amber: #d97706;
  --amber-lt: #fef3c7;

  --on-dark: #f1f5f9;
  --on-dark-2: #bcd0ea;
  --line-dark: rgba(255, 255, 255, 0.12);

  --grad-hero: linear-gradient(135deg, #0f2a5c 0%, #14438b 55%, #0b6ce0 100%);
  --grad-brand: linear-gradient(135deg, #00a4b4 0%, #0175aa 55%, #044a80 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(10, 26, 51, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px;
  background: var(--navy-900); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  background: var(--mint); color: var(--navy-950);
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); background: #99f6e4; box-shadow: 0 10px 28px rgba(94, 234, 212, 0.3); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 0.925rem; background: var(--navy-900); color: #fff; }
.btn--sm:hover { background: var(--blue-800); box-shadow: 0 8px 20px rgba(15, 42, 92, 0.25); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.075rem; }
.btn--lg:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-900); }
.logo img { width: 40px; height: auto; transition: transform 0.6s var(--ease); }
.logo:hover img { transform: rotate(-10deg); }
.logo strong { font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a:not(.btn) { padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--text-2); transition: color 0.2s, background-color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--navy-900); background: var(--bg-2); }
.nav__links .btn { margin-left: 10px; }
.nav__links { order: 1; margin-left: auto; }
.lang { position: relative; order: 2; margin-left: 12px; }
.nav__toggle { order: 3; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer; list-style: none;
  font-size: 0.9rem; font-weight: 600; color: var(--navy-900); transition: background-color 0.2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bg-2); }
.lang summary .icon { width: 18px; height: 18px; color: var(--brand-blue); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.lang a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; color: var(--text); }
.lang a:hover { background: var(--bg-2); }
.lang a[aria-current] { font-weight: 700; color: var(--brand-blue); }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: 10px; color: var(--navy-900); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: var(--on-dark); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(110deg, #000 10%, transparent 65%);
  -webkit-mask-image: linear-gradient(110deg, #000 10%, transparent 65%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 80px 20px 72px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 24px;
  border: 1px solid rgba(94, 234, 212, 0.45); border-radius: 999px; background: rgba(94, 234, 212, 0.12);
  color: #ccfbf1; font-size: 0.875rem; font-weight: 600;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--mint), #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 1.125rem; color: var(--on-dark-2); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--on-dark-2); font-size: 0.925rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 18px; height: 18px; color: var(--mint); }

.hero__art { position: relative; }

/* Repair journey card */
.journey-stage { position: relative; max-width: 480px; margin: 0 auto; padding-top: 44px; }
.jcard {
  position: relative; padding: 22px; border-radius: 20px; background: #fff; color: var(--text);
  box-shadow: 0 30px 70px rgba(5, 15, 35, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.jcard--ghost {
  position: absolute; top: 0; left: 28px; right: -18px; padding: 16px 18px;
  opacity: 0.55; transform: rotate(2.5deg); box-shadow: 0 16px 40px rgba(5, 15, 35, 0.3);
  animation: ghost 7s ease-in-out infinite;
}
@keyframes ghost { 50% { transform: rotate(2.5deg) translateY(-6px); } }
.jcard__head { display: flex; align-items: center; gap: 12px; }
.jcard__device { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #dbeafe; color: var(--primary); }
.jcard__device .icon { width: 22px; height: 22px; }
.jcard__name { display: grid; min-width: 0; line-height: 1.35; }
.jcard__name strong { color: var(--navy-900); font-size: 1rem; }
.jcard__name span { color: var(--text-2); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jpill { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.jpill--warn { background: var(--amber-lt); color: #92400e; }
.jpill--info { background: #dbeafe; color: #1e40af; }
.jpill--ai { background: #ede9fe; color: #5b21b6; }
.jpill--ok { background: var(--green-lt); color: #166534; }

.jprogress { height: 6px; margin: 18px 0 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.jprogress__bar { display: block; height: 100%; width: calc((var(--p, 5) + 1) / var(--n, 6) * 100%); border-radius: 3px; background: var(--grad-brand); transition: width 0.7s var(--ease); }

.jsteps { margin: 0; padding: 0; list-style: none; }
.jstep { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.jstep + .jstep { border-top: 1px dashed var(--border); }
.jstep__icon {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: var(--bg-2); color: var(--text-3); transition: background-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.jstep__icon .icon { width: 18px; height: 18px; }
.jstep__body { display: grid; min-width: 0; line-height: 1.35; }
.jstep__body strong { font-size: 0.95rem; color: var(--text-3); transition: color 0.4s; }
.jstep__body span { font-size: 0.82rem; color: var(--text-3); transition: color 0.4s; }
.jopt { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #ede9fe; color: #5b21b6; font-size: 0.7rem; font-style: normal; font-weight: 600; vertical-align: 1px; }
.jstep__time { margin-left: auto; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--text-3); opacity: 0; transition: opacity 0.4s; }

.jstep.is-done .jstep__icon { background: #ccfbf1; color: #0f766e; }
.jstep.is-done .jstep__body strong { color: var(--navy-900); }
.jstep.is-done .jstep__body span { color: var(--text-2); }
.jstep.is-done .jstep__time { opacity: 1; }
.jstep.is-active .jstep__icon { background: var(--blue-600); color: #fff; transform: scale(1.08); }
.jstep.is-active .jstep__icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--blue-600); opacity: 0; animation: ring 1.4s ease-out infinite; }
.jstep.is-active .jstep__body strong { color: var(--navy-900); }
.jstep.is-active .jstep__body span { color: var(--text-2); }
.jstep.is-active .jstep__time { opacity: 1; }
.jstep:last-child.is-done .jstep__icon { background: var(--green); color: #fff; }
@keyframes ring { 0% { opacity: 0.7; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.35); } }

.jcard__foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: #115e59; }
.jfaces { display: inline-flex; }
.jfaces span { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border-radius: 50%; border: 2px solid #fff; background: var(--grad-brand); color: #fff; font-size: 0.7rem; font-weight: 700; }
.jfaces span:first-child { margin-left: 0; }

/* Spinning gears (SVG + icons) */
.spin { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
.spin--slow { animation-duration: 12s; }
.spin--fast { animation-duration: 8s; }
.spin--mid { animation-duration: 10s; }
.spin--rev { animation-direction: reverse; }
@keyframes spin { from { transform: rotate(var(--from, 0deg)); } to { transform: rotate(calc(var(--from, 0deg) + 360deg)); } }

/* Device marquee */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); background: rgba(10, 26, 51, 0.35); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li { display: inline-flex; align-items: center; gap: 18px; padding: 16px 0 16px 18px; white-space: nowrap; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--on-dark-2); }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--mint); transform: rotate(45deg); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue);
}
.eyebrow--light { color: var(--mint); }
.eyebrow__gear { width: 16px; height: 16px; animation: spin 8s linear infinite; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.125rem; color: var(--text-2); }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.why__head { position: sticky; top: 120px; }
.why__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.why__item {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.why__item:hover { transform: translateX(6px); border-color: #bfdbfe; box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 16px 36px rgba(15, 42, 92, 0.1); }
.why__item p { margin: 0; color: var(--text-2); }
.why__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--amber-lt); color: var(--amber); }
.why__item:hover .why__icon .icon { animation: wobble 0.5s var(--ease); }
@keyframes wobble { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }

/* Loop */
.loop { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.loop__art svg { width: 100%; max-width: 440px; margin: 0 auto; }
.node circle { fill: #fff; stroke: var(--border); stroke-width: 2; }
.node use { fill: none; stroke: var(--navy-900); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.crowd use { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.crowd__pulse { fill: #2dd4bf; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 3.6s var(--ease) infinite; animation-delay: var(--d); }
.support line { animation: flow 1.6s linear infinite; opacity: 0.7; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.loop__legend { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.loop__legend-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2); }
.loop__crowd { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px !important; padding: 8px 12px; border-radius: 10px; background: #f0fdfa; border: 1px solid #ccfbf1; font-size: 0.9rem; color: #115e59 !important; }
.loop__crowd .icon { width: 16px; height: 16px; margin-top: 3px; color: #0d9488; }
.loop__steps { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.loop__steps li { display: flex; gap: 16px; }
.loop__steps p { margin: 0; color: var(--text-2); }
.loop__n { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--navy-900); color: var(--mint); font-weight: 700; font-size: 0.95rem; }

/* Bento */
.bento { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tile { position: relative; overflow: hidden; padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.tile p { color: var(--text-2); margin: 0; }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: #dbeafe; color: var(--primary); }
.tile--map { grid-row: span 2; background: var(--grad-hero); color: var(--on-dark); border: 0; }
.tile--map h3 { color: #fff; font-size: 1.5rem; }
.tile--map p { color: var(--on-dark-2); max-width: 460px; }
.tile--map .tile__icon { background: rgba(94, 234, 212, 0.15); color: var(--mint); }
.tile__map { margin: 24px auto -40px; max-width: 420px; }
.map { width: 100%; height: auto; }
.map__dots circle { fill: rgba(188, 208, 234, 0.35); }
.pin__dot { fill: var(--mint); }
.pin__pulse { fill: var(--mint); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; animation-delay: var(--d); }
.pin:nth-of-type(3n) .pin__dot, .pin:nth-of-type(3n) .pin__pulse { fill: #fbbf24; }
@keyframes pulse { 0% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(4); } }

.ticket { margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); font-size: 0.9rem; }
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.ticket__title { font-weight: 700; color: var(--navy-900); }
.status { padding: 3px 10px; border-radius: 999px; background: var(--amber-lt); color: #92400e; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.ticket__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticket__steps li { display: flex; align-items: center; gap: 10px; color: var(--text); line-height: 1.4; }
.ticket__steps .icon { width: 18px; height: 18px; }
.ticket__steps .done .icon { color: var(--green); }
.ticket__steps .todo { color: var(--text-2); }
.spinner { display: inline-flex; color: var(--brand-blue); }
.spinner .icon { animation: spin 3s linear infinite; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }

/* Vision / factory */
.vision { position: relative; overflow: hidden; padding: 112px 0; background: var(--navy-950); color: var(--on-dark); }
.vision::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(11, 108, 224, 0.35), transparent 70%); pointer-events: none; }
.vision .container { position: relative; }
.vision__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.vision h2 { color: #fff; }
.vision .lead { color: var(--on-dark-2); }
.factory { max-width: 900px; margin: 0 auto; }
.factory__stations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.station { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); font-weight: 600; text-align: center; }
.station .icon { width: 30px; height: 30px; color: var(--mint); }
.station--goal { background: var(--grad-brand); border-color: transparent; }
.station--goal .icon { color: #fff; }
.belt { position: relative; height: 104px; }
.belt__items { position: absolute; left: 0; right: 0; top: 0; height: 56px; overflow: hidden; }
.crate {
  position: absolute; left: 0; top: 6px; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 10px; background: #1e3a6b; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--mint);
  animation: convey 12s linear infinite;
}
.crate .icon { width: 24px; height: 24px; }
.crate:nth-child(2) { animation-delay: -2.4s; }
.crate:nth-child(3) { animation-delay: -4.8s; }
.crate:nth-child(4) { animation-delay: -7.2s; }
.crate:nth-child(5) { animation-delay: -9.6s; }
@keyframes convey { from { transform: translateX(-60px); } to { transform: translateX(min(900px, 92vw)); } }
.belt__surface { position: absolute; left: 0; right: 0; top: 56px; height: 10px; border-radius: 5px; background: repeating-linear-gradient(90deg, #334155 0 14px, #1e293b 14px 28px); background-size: 28px 10px; animation: belt 0.8s linear infinite; }
@keyframes belt { to { background-position: 28px 0; } }
.belt__rollers { position: absolute; left: 0; right: 0; top: 68px; display: flex; justify-content: space-between; padding: 0 8px; }
.roller { width: 30px; height: 30px; color: #64748b; animation: spin 2.4s linear infinite reverse; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.member { text-align: center; padding: 36px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.25s var(--ease); }
.member:hover { transform: translateY(-4px); }
.member__avatar {
  display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%;
  font-size: 1.8rem; font-weight: 800; color: #fff; background: var(--grad-brand);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px #bae6fd;
}
.member p { margin: 0; color: var(--text-2); }
.member__where { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 3px 12px; border-radius: 999px; background: var(--bg-2); font-size: 0.875rem; font-weight: 600; color: var(--navy-900); }
.member__where .icon { width: 14px; height: 14px; color: var(--brand-blue); }

/* CTA */
.cta { padding: 0 0 112px; }
.cta__box { position: relative; overflow: hidden; padding: 72px 48px; border-radius: 28px; text-align: center; background: var(--grad-hero); color: var(--on-dark); }
.cta__box > *:not(.cta__gear) { position: relative; }
.cta__box h2 { color: #fff; }
.cta__box .lead { color: var(--on-dark-2); max-width: 640px; margin: 0 auto 28px; }
.cta__gear { position: absolute; color: rgba(255, 255, 255, 0.07); animation: spin 30s linear infinite; }
.cta__gear--a { width: 260px; height: 260px; left: -70px; bottom: -90px; }
.cta__gear--b { width: 160px; height: 160px; right: -30px; top: -40px; animation-direction: reverse; animation-duration: 20s; }
.audiences { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.audiences li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); font-size: 0.9rem; font-weight: 600; }
.audiences .icon { width: 16px; height: 16px; color: var(--mint); }
.cta__note { margin: 16px 0 0; font-size: 0.9rem; color: var(--on-dark-2); }

/* Footer */
.footer { padding: 32px 0 40px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.925rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 64px; }
  .hero__art { max-width: 480px; margin: 0 auto; width: 100%; }
  .why, .loop { grid-template-columns: 1fr; gap: 40px; }
  .why__head { position: static; }
  .loop__art { order: 2; }
  .bento { grid-template-columns: 1fr; }
  .tile--map { grid-row: auto; }
}
/* Collapse the menu early: translated labels are longer than English */
@media (max-width: 1000px) {
  .nav__toggle { display: inline-flex; margin-left: 8px; }
  .lang { margin-left: auto; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 14px; }
  .nav__links .btn { margin: 8px 0 0; }
}
@media (max-width: 760px) {
  .hero__inner { padding: 48px 20px 56px; }
  .jcard { padding: 18px; }
  .jcard--ghost { right: 0; }
  .jstep__time { display: none; }
  .section, .vision { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .team { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
  .factory__stations { grid-template-columns: 1fr; }
  .belt { display: none; }
  .cta { padding-bottom: 80px; }
  .cta__box { padding: 48px 20px; border-radius: 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
