:root {
  --blue: #155dfc;
  --blue-2: #0695ff;
  --ink: #0b1736;
  --text: #172541;
  --muted: #60708b;
  --soft: #f4f8ff;
  --soft-2: #eef5ff;
  --line: #dbe7fb;
  --white: #ffffff;
  --cyan: #67e8f9;
  --green: #19b982;
  --red: #ef476f;
  --gradient: linear-gradient(135deg, #155dfc 0%, #0695ff 55%, #67e8f9 100%);
  --shadow: 0 24px 80px rgba(21, 93, 252, 0.14);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(21, 93, 252, 0.12), transparent 28%),
    radial-gradient(circle at 100% 5%, rgba(103, 232, 249, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(21, 93, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 93, 252, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
  pointer-events: none;
}

body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.7rem, 7.2vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  color: var(--ink);
  max-width: 980px;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.065em;
  color: var(--ink);
  margin-bottom: 18px;
}
h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}
p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}
strong { color: var(--ink); }

.blue-accent {
  color: var(--blue);
  position: relative;
}
.blue-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  width: 100%;
  height: 0.22em;
  background: rgba(21,93,252,0.11);
  z-index: -1;
  border-radius: 999px;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 23, 54, 0.11) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, transparent 90%);
}

.cursor-light {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 93, 252, 0.11), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #ffffff;
  overflow: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-map {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(21, 93, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 93, 252, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: loaderMap 1.8s linear infinite;
}
.loader-letter {
  font-size: clamp(5rem, 18vw, 13rem);
  font-weight: 950;
  letter-spacing: -0.09em;
  color: var(--blue);
  text-shadow: 0 0 38px rgba(21, 93, 252, 0.24);
  animation: letterBeat 0.42s ease-in-out infinite alternate;
}
.loader-letter.fade {
  opacity: 0;
  transform: scale(0.4);
  filter: blur(12px);
  transition: 0.45s ease;
}
.loader-final {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
}
.loader-final.show { animation: finalReveal 0.85s ease forwards; }
.loader-word {
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  background: var(--gradient);
  color: transparent;
  -webkit-background-clip: text;
  clip-path: inset(0 100% 0 0);
}
.loader-final.show .loader-word { animation: writeWord 0.95s ease 0.35s forwards; }

/* Logo */
.logo-mark {
  display: inline-block;
  width: 38px;
  height: 38px;
  position: relative;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--gradient);
  box-shadow: 0 14px 34px rgba(21, 93, 252, 0.23);
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: #ffffff;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 34%;
  height: 34%;
  border-radius: inherit;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(6, 149, 255, 0.52);
}
.loader-logo { width: clamp(64px, 12vw, 104px); height: clamp(64px, 12vw, 104px); }
.loader-logo::before { inset: 20%; }

/* Header */
.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 200;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  height: 64px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(219, 231, 251, 0.96);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(11, 23, 54, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 5px; }
.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #40516d;
  font-weight: 720;
  font-size: 0.92rem;
  transition: 0.18s ease;
}
.nav a:hover { color: var(--blue); background: var(--soft-2); }
.nav .nav-cta { background: var(--ink); color: #ffffff; padding-inline: 18px; }
.nav .nav-cta:hover { color: #ffffff; background: var(--blue); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--soft-2);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* Shared */
.section {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 82px 0;
}
.micro {
  margin-bottom: 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 0.76rem;
  font-weight: 950;
}
.lead { font-size: clamp(1.05rem, 1.55vw, 1.24rem); max-width: 760px; }
.btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 890;
  letter-spacing: -0.025em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-size: 0.96rem;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gradient); color: #ffffff; box-shadow: 0 18px 38px rgba(21, 93, 252, 0.24); }
.btn.secondary { background: #ffffff; color: var(--ink); border-color: var(--line); }
.section-intro { max-width: 780px; margin-bottom: 36px; }

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: 154px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-note {
  display: inline-grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(11, 23, 54, 0.05);
}
.hero-note span:first-child { font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.hero-note span:last-child { color: var(--muted); font-size: 0.92rem; }

.diagnostic-panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 0%, rgba(21, 93, 252, 0.12), transparent 38%),
    rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(6,149,255,0.24), transparent);
  transform: translateX(-100%);
  animation: panelSweep 7s ease-in-out infinite;
}
.panel-header {
  height: 54px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(255,255,255,0.75);
}
.panel-dots { display: flex; gap: 7px; }
.panel-dots span { width: 9px; height: 9px; border-radius: 999px; background: #c5d8f7; }
.panel-header strong {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #7988a2;
}
.scan-box {
  margin: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,255,0.92));
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(21, 93, 252, 0.38);
  animation: scan 4.4s ease-in-out infinite;
}
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 950;
  color: var(--blue);
  margin-bottom: 14px;
}
.detected-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.detected-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
  color: #33445f;
  font-size: 0.94rem;
  line-height: 1.45;
  opacity: 0.4;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
}
.detected-list li.active {
  opacity: 1;
  color: var(--ink);
  transform: translateX(0);
}
.detected-list li span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(21,93,252,0.18);
  box-shadow: 0 0 12px rgba(21,93,252,0.12);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.detected-list li.active span {
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(21,93,252,0.35);
}

.system-route { padding: 0 20px 22px; }
.route-grid {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.route-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--blue);
  font-weight: 950;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}
.route-grid i {
  height: 1px;
  background: linear-gradient(90deg, rgba(21,93,252,0.05), rgba(21,93,252,0.45), rgba(21,93,252,0.05));
  position: relative;
  overflow: hidden;
}
.route-grid i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--gradient);
  animation: routePulse 2.2s linear infinite;
}

/* Manifest */
.manifesto {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 46px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.manifesto-label {
  color: var(--blue);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.manifesto p { max-width: 860px; margin-bottom: 0; font-size: 1.08rem; }

/* Fixes */
.fix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fix-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 14px 44px rgba(11,23,54,0.055);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 0%), rgba(21,93,252,0.14), transparent 42%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.fix-card:hover::before { opacity: 1; }
.fix-card > * { position: relative; }

.fix-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--soft-2);
  color: var(--blue);
  margin-bottom: 22px;
}
.fix-num svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fix-card p { margin-bottom: 0; }
.fix-card.special {
  background: radial-gradient(circle at 100% 0%, rgba(21,93,252,0.14), transparent 36%), #ffffff;
}

/* Photo strip */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.photo-card {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(11,23,54,0.08);
  position: relative;
}
.photo-card.tall { transform: translateY(20px); }
.photo-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.photo-card.tall img { height: 340px; }
.photo-card figcaption {
  padding: 18px 18px 20px;
  display: grid;
  gap: 4px;
}
.photo-card figcaption strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}
.photo-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Services */
.service-cases { display: grid; gap: 14px; }
.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 46px rgba(11,23,54,0.055);
  position: relative;
  overflow: hidden;
}
.case::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 999px;
  background: var(--gradient);
  transform: scaleY(0.2);
  transform-origin: top;
  transition: transform 0.25s ease;
}
.case:hover::before { transform: scaleY(1); }
.case-left span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 950;
  font-size: 0.72rem;
}
.case-right p { margin-bottom: 18px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-tile {
  min-height: 88px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,93,252,0.05), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.case:hover .feature-tile {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(21,93,252,0.08);
}
.case:hover .feature-tile::after { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--soft-2);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.case:hover .feature-icon {
  transform: scale(1.06) rotate(-4deg);
  background: linear-gradient(135deg, rgba(21,93,252,0.12), rgba(103,232,249,0.16));
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-tile span {
  font-weight: 820;
  color: var(--ink);
  line-height: 1.25;
}

/* Thinking */
.thinking {
  border-radius: 38px;
  background: radial-gradient(circle at 0% 0%, rgba(21,93,252,0.14), transparent 34%), linear-gradient(180deg, #ffffff, #f5f9ff);
  padding: 28px 0;
}
.thinking-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: start;
}
.thinking-copy {
  position: sticky;
  top: 112px;
  padding: 18px 12px 18px 18px;
}
.principles { display: grid; gap: 16px; }
.principle {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 40px rgba(11,23,54,0.045);
}
.principle strong {
  display: block;
  color: var(--blue);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.principle p { margin-bottom: 0; }

/* Value */
.value-panel {
  padding: clamp(30px, 6vw, 64px);
  border-radius: 36px;
  background: radial-gradient(circle at 85% 0%, rgba(103,232,249,0.24), transparent 36%), linear-gradient(135deg, #071735, #123777 58%, #155dfc);
  color: white;
  box-shadow: 0 26px 88px rgba(21,93,252,0.25);
  position: relative;
  overflow: hidden;
}
.value-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: blueGrid 7s linear infinite;
}
.value-panel > * { position: relative; }
.value-panel h2, .value-panel p { color: white; }
.value-panel .micro { color: #9fe8ff; }
.value-panel p { max-width: 860px; color: rgba(255,255,255,0.78); }

.contrast-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contrast-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(11,23,54,0.055);
  position: relative;
}
.contrast-card.best {
  border: 2px solid rgba(21,93,252,0.32);
  box-shadow: 0 24px 70px rgba(21,93,252,0.14);
}
.best-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(21,93,252,0.12), rgba(103,232,249,0.18));
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.contrast-card.best h3 {
  color: var(--blue);
}

.contrast-card ul, .fit-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #40516d;
  line-height: 1.85;
}

/* Windows */
.window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.window-card {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(11,23,54,0.055);
}
.window-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}
.window-card p { margin-bottom: 0; }

/* Audiences */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audience-card {
  min-height: 300px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.13) 0 6deg, transparent 6deg 18deg);
  animation: spin 20s linear infinite;
  opacity: 0.5;
}
.audience-card > * { position: relative; }
.audience-card span {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 950;
  letter-spacing: 0.16em;
}
.audience-card.b2b { background: var(--ink); color: white; }
.audience-card.b2c { background: var(--gradient); color: white; }
.audience-card h2, .audience-card p { color: white; }
.audience-card p { color: rgba(255,255,255,0.75); max-width: 620px; }

/* Fit */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card {
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(11,23,54,0.055);
}
.fit-card.no h3 { color: #81223b; }
.fit-card.yes h3 { color: #0d6b51; }
.fit-card.no { background: linear-gradient(180deg, #ffffff, #fff7fa); }
.fit-card.yes { background: linear-gradient(180deg, #ffffff, #f3fffb); }

/* Ecosystem */
.ecosystem {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
  border-radius: 38px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 54px);
}
.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-cloud span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #40516d;
  font-weight: 780;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tool-cloud span:hover {
  transform: translateY(-3px) rotate(-1deg);
  background: var(--blue);
  color: white;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(11,23,54,0.045);
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--ink);
  letter-spacing: -0.03em;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 1.2rem;
}
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; }

/* Contact */
.contact-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: radial-gradient(circle at 0% 0%, rgba(21,93,252,0.13), transparent 34%), #ffffff;
  box-shadow: var(--shadow);
}
.contact-copy { position: sticky; top: 112px; }
.diagnostic-form {
  display: grid;
  gap: 14px;
  grid-column: 2 / 3;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 880;
}
input, select, textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #d8e6fb;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  background: #ffffff;
  border-color: rgba(21,93,252,0.56);
  box-shadow: 0 0 0 4px rgba(21,93,252,0.09);
}
textarea { resize: vertical; }
.checkbox-fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-fieldset legend {
  margin: 0 0 8px;
  padding: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 880;
}

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: #40516d;
  font-weight: 730;
  cursor: pointer;
  transition: border 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.checkbox-option:hover {
  background: #ffffff;
  border-color: rgba(21,93,252,0.32);
  box-shadow: 0 8px 22px rgba(21,93,252,0.07);
}

.checkbox-option:has(input:checked) {
  background: linear-gradient(135deg, rgba(21,93,252,0.1), rgba(103,232,249,0.13));
  border-color: rgba(21,93,252,0.42);
  color: var(--ink);
}

.checkbox-option input { width: auto; }
.signal-meter { display: grid; gap: 8px; }
.signal-meter span {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 950;
}
.meter {
  height: 10px;
  border-radius: 999px;
  background: #e8f1ff;
  overflow: hidden;
}
.meter i {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
  transition: width 0.25s ease;
}
.form-note { font-size: 0.82rem; margin: 0; }

/* Footer */
.footer {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer p { margin: 0; }

/* Hover card generic */
.hover-card {
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(21,93,252,0.13);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* Animations */
@keyframes loaderMap { to { transform: translate(42px, 42px); } }
@keyframes letterBeat { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes finalReveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes writeWord { to { clip-path: inset(0 0 0 0); } }
@keyframes panelSweep {
  0%, 34% { transform: translateX(-120%); }
  64%, 100% { transform: translateX(120%); }
}
@keyframes scan {
  0%, 100% { top: 0; opacity: 0.35; }
  50% { top: calc(100% - 2px); opacity: 1; }
}
@keyframes routePulse {
  from { transform: translateX(-100%); }
  to { transform: translateX(260%); }
}
@keyframes blueGrid { to { background-position: 42px 42px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 980px) {
  .hero,
  .thinking-grid,
  .ecosystem,
  .contact-shell { grid-template-columns: 1fr; }

  .thinking-copy,
  .contact-copy { position: static; }

  .form-alert { grid-column: 1 / -1; }
  .diagnostic-form { grid-column: 1 / -1; }

  .fix-grid,
  .contrast-grid,
  .window-grid,
  .photo-grid { grid-template-columns: repeat(2, 1fr); }

  .case { grid-template-columns: 1fr; gap: 18px; }
  .manifesto { grid-template-columns: 1fr; gap: 18px; }
  .audiences,
  .fit-grid { grid-template-columns: 1fr; }

  .photo-card.tall { transform: none; }
}

@media (max-width: 740px) {
  .topbar { border-radius: 24px; }
  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 20px 60px rgba(11,23,54,0.11);
  }
  .nav.open { display: flex; }
  .nav a { text-align: center; }

  .section {
    width: 100%;
    max-width: 1180px;
    padding: 64px 20px;
  }
  .hero { padding-top: 132px; }

  .fix-grid,
  .contrast-grid,
  .window-grid,
  .form-row,
  .checkbox-grid,
  .feature-grid,
  .photo-grid { grid-template-columns: 1fr; }

  .route-grid { grid-template-columns: 1fr; }
  .route-grid i {
    height: 18px;
    width: 1px;
    justify-self: center;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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


/* Final deployment additions */
.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.logo-svg {
  width: 38px;
  height: 38px;
  display: inline-block;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 24px rgba(21, 93, 252, 0.18));
}

.loader-logo-img {
  width: clamp(64px, 12vw, 104px);
  height: clamp(64px, 12vw, 104px);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-alert {
  grid-column: 2 / 3;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 820;
  line-height: 1.4;
}

.form-alert.success {
  background: #eefcf7;
  border: 1px solid rgba(25, 185, 130, 0.28);
  color: #0d6b51;
}

.form-alert.error {
  background: #fff3f6;
  border: 1px solid rgba(239, 71, 111, 0.26);
  color: #81223b;
}


/* Multipage additions */
.inline-service-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.clients {
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(21,93,252,0.10), transparent 34%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 54px);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.client-logo-slot {
  min-height: 104px;
  border-radius: 24px;
  border: 1px dashed rgba(21,93,252,0.28);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  display: grid;
  place-items: center;
  color: #7b8aa6;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: transform 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.client-logo-slot:hover {
  transform: translateY(-4px);
  border-color: rgba(21,93,252,0.50);
  box-shadow: 0 18px 44px rgba(21,93,252,0.10);
}

.client-logo-slot img {
  max-width: 70%;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo-slot:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.client-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.client-note code {
  color: var(--blue);
  background: var(--soft-2);
  padding: 2px 5px;
  border-radius: 6px;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border 0.18s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.social-links svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Service detail pages */
.service-page-hero {
  min-height: 72vh;
  padding-top: 154px;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 48px;
  align-items: center;
}

.service-page-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 42px);
}

.service-page-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #40516d;
  line-height: 1.85;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.detail-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(11,23,54,0.055);
}

.detail-card p {
  margin-bottom: 0;
}

.service-cta {
  border-radius: 36px;
  background:
    radial-gradient(circle at 85% 0%, rgba(103,232,249,0.24), transparent 36%),
    linear-gradient(135deg, #071735, #123777 58%, #155dfc);
  color: #ffffff;
  padding: clamp(30px, 6vw, 64px);
  box-shadow: 0 26px 88px rgba(21,93,252,0.25);
}

.service-cta h2,
.service-cta p {
  color: #ffffff;
}

.service-cta p {
  color: rgba(255,255,255,0.78);
  max-width: 760px;
}

@media (max-width: 980px) {
  .logo-wall,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-page-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .logo-wall,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
  }
}


/* Bilingual additions */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.lang-switch a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #40516d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.lang-switch a.active {
  background: var(--blue);
  color: #ffffff;
}

@media (max-width: 740px) {
  .lang-switch {
    justify-content: center;
    margin-left: 0;
  }

  .lang-switch a {
    text-align: center;
  }
}


/* Upgraded fit section */
.upgraded-fit .fit-card {
  padding: 0;
  overflow: hidden;
}

.fit-card-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(219, 231, 251, 0.78);
}

.fit-status-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.fit-status-icon svg,
.fit-item svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.no-icon {
  color: #a12d49;
  background: #fff0f4;
  border: 1px solid rgba(239, 71, 111, 0.18);
}

.yes-icon {
  color: #0d6b51;
  background: #eefcf7;
  border: 1px solid rgba(25, 185, 130, 0.2);
}

.fit-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 950;
}

.fit-card.no .fit-kicker {
  color: #a12d49;
}

.fit-card.yes .fit-kicker {
  color: #0d6b51;
}

.fit-card-head h3 {
  margin: 0;
}

.fit-items {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.fit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(219, 231, 251, 0.76);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.fit-item span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--blue);
  border: 1px solid var(--line);
  transition: transform 0.2s ease;
}

.fit-card.no .fit-item span {
  color: #a12d49;
  background: #fff8fa;
}

.fit-card.yes .fit-item span {
  color: #0d6b51;
  background: #f4fffb;
}

.fit-item p {
  margin: 0;
  color: #40516d;
  line-height: 1.45;
  font-weight: 720;
  font-size: 0.94rem;
}

.fit-card:hover .fit-item {
  background: #ffffff;
}

.fit-item:hover {
  transform: translateX(4px);
  border-color: rgba(21,93,252,0.26);
  box-shadow: 0 12px 30px rgba(21,93,252,0.08);
}

.fit-item:hover span {
  transform: scale(1.06) rotate(-4deg);
}

.fit-card.yes {
  position: relative;
}

.fit-card.yes::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(25,185,130,0.09), transparent 46%, rgba(21,93,252,0.06));
  opacity: 0.9;
}

.fit-card.yes > * {
  position: relative;
  z-index: 1;
}

.client-name-wall {
  grid-template-columns: repeat(3, 1fr);
}

.client-name-card {
  text-align: left;
  place-items: start;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-decoration: none;
}

.client-name {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.client-context {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 650;
}

.client-name-card:hover .client-name {
  color: var(--blue);
}

@media (max-width: 900px) {
  .client-name-wall {
    grid-template-columns: 1fr;
  }
}