:root {
  --navy: #001b44;
  --blue: #0a67d8;
  --office: #2f80ed;
  --com: #8b4ab8;
  --bunker: #f39c12;
  --learn: #6e9a95;
  --ink: #16233a;
  --muted: #637086;
  --line: #dde6f1;
  --soft: #f6f8fb;
  --white: #ffffff;
  --active: var(--blue);
  --shadow: 0 24px 70px rgba(0, 27, 68, 0.14);
  --module-height: calc(100vh - 190px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fbff 0%, #eef3f8 100%);
  font-family: Inter, "Avenir Next", Montserrat, Arial, sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.intro-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(22px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.intro-image,
.intro-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-image {
  z-index: -2;
  object-fit: cover;
  animation: introDrift 14s ease-in-out infinite alternate;
}

.intro-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 27, 68, 0.86), rgba(0, 27, 68, 0.5) 52%, rgba(0, 27, 68, 0.18)),
    radial-gradient(circle at 42% 52%, rgba(10, 103, 216, 0.2), transparent 38%);
}

.intro-content {
  width: min(850px, 100%);
  margin-right: auto;
  color: var(--white);
  animation: introContent 900ms ease both;
}

.intro-content img {
  max-width: min(310px, 72vw);
  max-height: 82px;
  margin-bottom: clamp(24px, 5vw, 54px);
}

.intro-content .eyebrow {
  color: #9ec7ff;
}

.intro-content h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.intro-content p:not(.eyebrow) {
  max-width: 650px;
  color: #d9e7f8;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.intro-scenarios {
  position: relative;
  width: min(520px, 100%);
  margin-top: 24px;
  padding: 16px 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.intro-scenarios::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #9ec7ff;
  content: "";
}

.intro-scenario-count {
  display: block;
  margin-bottom: 7px;
  color: #9ec7ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-scenarios strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.intro-scenarios p {
  margin: 7px 0;
  color: #d9e7f8;
  line-height: 1.45;
}

.intro-scenarios em {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 820;
}

.intro-scenarios.is-switching {
  animation: caseSwitch 520ms ease both;
}

.intro-case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(520px, 100%);
  margin-top: 12px;
}

.intro-case-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.intro-case-dot.is-active {
  background: #ffffff;
}

.intro-action,
.summary-detail-button,
.ghost-button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.intro-action {
  margin-top: 20px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.platform-story {
  --story-shift: 0px;
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  min-height: 92vh;
  padding: clamp(38px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
  background: #f8fbff;
}

.story-background {
  position: absolute;
  inset: -5% 0 0;
  z-index: -3;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--story-shift), 0) scale(1.04);
  transition: transform 120ms linear;
}

.story-halo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.78) 47%, rgba(248, 251, 255, 0.18) 100%),
    radial-gradient(circle at 16% 24%, rgba(10, 103, 216, 0.14), transparent 36%);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
}

.story-copy {
  max-width: 760px;
}

.story-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.15rem, 5vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.story-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #3f4e65;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.story-offers {
  position: relative;
  display: grid;
  gap: 12px;
}

.story-offer {
  position: relative;
  min-height: 124px;
  padding: 18px 18px 18px 74px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 230, 241, 0.92);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 27, 68, 0.11);
  transform: translateX(14px);
  opacity: 0.72;
  backdrop-filter: blur(16px);
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.story-offer::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
  content: "";
  transform: scaleY(0.35);
  transform-origin: center;
  transition: transform 260ms ease;
}

.story-offer span {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 920;
}

.story-offer h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.08rem;
}

.story-offer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.story-offer.is-active {
  border-color: color-mix(in srgb, var(--blue) 38%, white);
  animation: storyGlow 3.5s ease-in-out infinite;
  opacity: 1;
  transform: translateX(0);
}

.story-offer.is-active::before {
  transform: scaleY(1);
}

.sovereign-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(180px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.sovereign-strip > div,
.sovereign-strip article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 230, 241, 0.92);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 27, 68, 0.08);
  backdrop-filter: blur(16px);
}

.sovereign-strip strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.sovereign-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.sovereign-strip span {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
}

.sovereign-strip h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 1rem;
}

.experience-header {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 18px clamp(18px, 3vw, 34px) 0;
}

.header-brand,
.header-copy,
.map-stage,
.offer-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 230, 241, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.header-brand {
  display: grid;
  align-items: center;
  min-height: 132px;
  padding: 22px 26px;
}

.header-brand img {
  max-height: 108px;
  object-fit: contain;
}

.header-copy {
  min-height: 132px;
  padding: 17px 22px;
}

.offer-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 30px);
  min-height: calc(100vh - 122px);
  padding: clamp(18px, 3vw, 34px);
}

.focus-launch-button {
  width: 100%;
  min-height: 54px;
  margin: 10px 0 6px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--active), color-mix(in srgb, var(--active) 68%, var(--navy))),
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.3), transparent 30%);
  border: 1px solid color-mix(in srgb, var(--active) 62%, white);
  border-radius: 8px;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--active) 28%, transparent);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.focus-launch-button:hover,
.focus-launch-button:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--active) 38%, transparent);
  outline: none;
}

.simulator-focus-close {
  display: none;
}

.map-stage {
  position: relative;
  display: grid;
  overflow: hidden;
}

.eyebrow,
.block-label,
.panel-index,
.panel-topline {
  margin: 0;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.header-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: #43536c;
  font-size: 0.98rem;
  line-height: 1.5;
}

.map-shell {
  position: relative;
  height: var(--module-height);
  min-height: var(--module-height);
  max-height: var(--module-height);
  isolation: isolate;
}

.offer-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.map-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.16), rgba(246, 248, 251, 0) 46%, rgba(246, 248, 251, 0.12)),
    radial-gradient(circle at 50% 49%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35) 76%);
  pointer-events: none;
}

.map-center,
.hotspot {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
}

.map-center {
  left: 49.5%;
  top: 51%;
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 168px);
  min-height: 58px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.26), 0 14px 36px rgba(0, 27, 68, 0.16);
  transform: translate(-50%, -50%);
}

.map-center img {
  max-height: 38px;
  object-fit: contain;
}

.map-center::after {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(10, 103, 216, 0.32);
  border-radius: inherit;
  animation: centerPulse 2.8s ease-in-out infinite;
  content: "";
}

.map-center.is-active {
  box-shadow: 0 0 0 12px rgba(10, 103, 216, 0.12), 0 16px 40px rgba(0, 27, 68, 0.2);
}

.hotspot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 14px 9px 11px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 27, 68, 0.12);
  font-size: 0.9rem;
  font-weight: 850;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hotspot::before {
  width: 12px;
  aspect-ratio: 1;
  background: var(--pin);
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--pin) 18%, transparent);
  content: "";
}

.hotspot::after {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  aspect-ratio: 1;
  border: 1px solid var(--pin);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: markerPulse 2s ease-out infinite;
  content: "";
}

.hotspot:hover,
.hotspot:focus-visible,
.hotspot.is-active {
  background: var(--white);
  box-shadow: 0 16px 36px rgba(0, 27, 68, 0.18);
  outline: none;
  transform: translate(-50%, -50%) translateY(-3px);
}

.hotspot.is-active {
  color: var(--white);
  background: var(--pin);
}

.hotspot.is-active::before {
  background: var(--white);
}

.hotspot.office {
  --pin: var(--office);
  left: 27%;
  top: 31%;
}

.hotspot.com {
  --pin: #8b4ab8;
  left: 76%;
  top: 29%;
}

.hotspot.bunker {
  --pin: var(--bunker);
  left: 22%;
  top: 71%;
}

.hotspot.learn {
  --pin: var(--learn);
  left: 77%;
  top: 73%;
}

.detail-stage {
  height: var(--module-height);
  min-height: var(--module-height);
  max-height: var(--module-height);
  padding: clamp(18px, 3vw, 30px);
  overflow-y: auto;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 251, 0.86)),
    radial-gradient(circle at 18% 14%, color-mix(in srgb, var(--active) 14%, transparent), transparent 34%);
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.detail-head h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.detail-head p:not(.eyebrow) {
  color: var(--muted);
}

.ghost-button {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.primary-action {
  color: var(--white);
  background: var(--active);
  border-color: var(--active);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 14px;
}

.score-card,
.build-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 27, 68, 0.08);
}

.main-score strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1;
}

.main-score span {
  color: var(--active);
  font-weight: 850;
}

.score-bar {
  height: 9px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.score-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--active);
  border-radius: inherit;
  transition: width 240ms ease;
}

.progress-intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.score-list {
  display: grid;
  gap: 10px;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(108px, 0.72fr) 24px minmax(90px, 1fr) 38px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.score-info {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--active);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--active) 18%, transparent), 0 8px 18px rgba(0, 27, 68, 0.18);
  cursor: help;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.score-info:hover,
.score-info:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--active) 24%, transparent), 0 10px 22px rgba(0, 27, 68, 0.22);
}

.score-info::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 10;
  width: min(260px, 70vw);
  padding: 9px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 27, 68, 0.22);
  content: attr(data-tip);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.score-info:hover::after,
.score-info:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.score-line {
  height: 8px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.score-line span {
  display: block;
  height: 100%;
  background: var(--active);
  border-radius: inherit;
}

.environment-map,
.recommendations,
.badge-list,
.tools-recap {
  display: grid;
  gap: 9px;
}

.environment-node,
.recommendation,
.badge {
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #26364f;
  font-size: 0.88rem;
}

.environment-node {
  border-left: 4px solid var(--active);
  font-weight: 820;
}

.inline-edit-button {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--active) 28%, var(--line));
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 27, 68, 0.08);
  cursor: pointer;
  font-weight: 850;
}

.inline-edit-button:hover,
.inline-edit-button:focus-visible {
  color: var(--white);
  background: var(--active);
  outline: none;
}

.recommendation strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}

.recommendation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.recommendation-info {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--active);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--active) 18%, transparent), 0 8px 18px rgba(0, 27, 68, 0.18);
  cursor: help;
  font-size: 0.82rem;
  font-weight: 950;
}

.recommendation-info::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 12;
  width: min(280px, 70vw);
  padding: 9px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 27, 68, 0.22);
  content: attr(data-tip);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.recommendation-info:hover::after,
.recommendation-info:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.badge-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.badge {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 24px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 820;
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 24px;
  aspect-ratio: 1;
  color: var(--white);
  background: #9aa7b8;
  border-radius: 50%;
  font-size: 0.78rem;
}

.badge.is-complete {
  color: var(--navy);
  background: color-mix(in srgb, var(--active) 10%, white);
  border-color: color-mix(in srgb, var(--active) 28%, white);
}

.badge.is-complete .badge-icon {
  background: var(--active);
}

.badge-info {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--active);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--active) 18%, transparent), 0 8px 18px rgba(0, 27, 68, 0.18);
  cursor: help;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.badge-info:hover,
.badge-info:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--active) 24%, transparent), 0 10px 22px rgba(0, 27, 68, 0.22);
}

.badge-info::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 10;
  width: min(260px, 70vw);
  padding: 9px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 27, 68, 0.22);
  content: attr(data-tip);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.badge-info:hover::after,
.badge-info:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.badge-toast {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: calc(clamp(14px, 3vw, 34px) + (var(--toast-index, 0) * 78px));
  z-index: 1200;
  min-width: min(320px, calc(100vw - 28px));
  padding: 14px 16px 14px 56px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--active) 52%, var(--navy))),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.24), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 27, 68, 0.32);
  animation: badgeToastIn 420ms ease both;
}

.badge-toast-logo {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 28px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.badge-toast span {
  display: block;
  color: #bcd8ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-toast strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.badge-toast.is-leaving {
  animation: badgeToastOut 520ms ease forwards;
}

.badge-toast-lost {
  right: auto;
  left: clamp(14px, 3vw, 34px);
  background:
    linear-gradient(135deg, #5a2534, #001b44),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2), transparent 30%);
  border-color: rgba(255, 184, 184, 0.32);
}

.badges-card {
  grid-column: 1 / -1;
}

.maps-card {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active) 12%, white), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--active) 20%, transparent), transparent 34%);
  border-color: color-mix(in srgb, var(--active) 30%, white);
  box-shadow: 0 18px 46px rgba(0, 27, 68, 0.14);
}

.maps-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--active);
  content: "";
}

.tools-recap-card {
  grid-column: 1 / -1;
}

.tool-recap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.tool-recap-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-recap-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.96rem;
}

.tool-recap-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.tool-recap-item p,
.empty-recap {
  margin: 0;
  color: #35445e;
  font-size: 0.86rem;
  line-height: 1.4;
}

.tool-recap-link {
  width: fit-content;
  color: var(--active);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.tool-recap-link:hover,
.tool-recap-link:focus-visible {
  text-decoration: underline;
}

.map-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.36fr);
  gap: 10px;
  align-items: stretch;
}

.map-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--active) 24%, white);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 27, 68, 0.1);
  cursor: pointer;
  text-align: left;
}

.map-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.map-preview strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 1.02rem;
}

.map-preview span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.map-other-column {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid color-mix(in srgb, var(--active) 18%, white);
  border-radius: 8px;
}

.map-other-column p {
  margin: 0;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
}

.map-preview-alt {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 7px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 850;
}

.map-preview-alt img {
  width: 56px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.map-preview-alt:hover,
.map-preview-alt:focus-visible {
  border-color: var(--active);
  box-shadow: 0 10px 24px rgba(0, 27, 68, 0.12);
  outline: none;
}

.map-viewer {
  display: grid;
  gap: 14px;
}

.map-viewer[hidden] {
  display: none;
}

.map-viewer-head,
.contact-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.map-viewer-head h3,
.contact-panel h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.map-viewer-head p:not(.summary-kicker),
.contact-panel-head p:not(.summary-kicker) {
  color: var(--muted);
  line-height: 1.45;
}

.interactive-map-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 99 / 64;
  background: #061a34;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 27, 68, 0.18);
}

.interactive-map-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.map-zone-button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--active);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--active) 22%, transparent), 0 12px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.map-zone-button::after {
  width: 8px;
  aspect-ratio: 1;
  background: currentColor;
  border-radius: inherit;
  content: "";
}

.map-zone-button.is-active {
  background: var(--navy);
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--active) 34%, transparent), 0 16px 30px rgba(0, 0, 0, 0.28);
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--active) 9%, white)),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--active) 18%, transparent), transparent 34%);
  border: 1px solid color-mix(in srgb, var(--active) 22%, var(--line));
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 27, 68, 0.14);
}

.contact-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-value-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
}

.contact-value-grid strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-value-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 820;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.wide-field {
  grid-column: 1 / -1;
}

.offer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--module-height);
  min-height: var(--module-height);
  max-height: var(--module-height);
  padding: clamp(20px, 2vw, 26px);
  overflow-y: auto;
}

.offer-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--active);
  content: "";
}

.panel-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.panel-topline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--active);
}

.status-dot {
  width: 10px;
  aspect-ratio: 1;
  background: var(--active);
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--active) 14%, transparent);
}

.logo-frame {
  display: grid;
  align-items: center;
  min-height: 70px;
  margin: 20px 0 18px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-frame img {
  max-height: 46px;
  object-fit: contain;
}

.panel-index {
  margin-bottom: 8px;
  color: var(--muted);
}

h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.panel-signature {
  margin-bottom: 14px;
  color: var(--active);
  font-size: 1rem;
  font-weight: 850;
}

.panel-text,
.scenario-block p,
.explore-block p,
.platform-invite p {
  color: var(--muted);
  line-height: 1.52;
}

.dynamic-points {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}

.dynamic-point {
  position: relative;
  min-height: 40px;
  padding: 9px 11px 9px 34px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #27364e;
  font-size: 0.9rem;
  font-weight: 760;
  opacity: 0;
  transform: translateY(8px);
  animation: pointIn 420ms ease forwards;
}

.dynamic-point::before {
  position: absolute;
  left: 13px;
  top: 15px;
  width: 8px;
  aspect-ratio: 1;
  background: var(--active);
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--active) 16%, transparent);
  content: "";
}

.scenario-block,
.explore-block,
.platform-invite {
  padding: 16px;
  background: rgba(246, 248, 251, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-block {
  margin-top: 12px;
}

.explore-block,
.platform-invite {
  margin-top: 12px;
}

.scenario-block h3,
.explore-block h3 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.block-label {
  color: var(--active);
}

.configurator {
  margin-top: 14px;
}

.config-progress {
  height: 7px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.config-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--active);
  border-radius: inherit;
  transition: width 180ms ease;
}

.config-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.config-tab {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-height: 48px;
  padding: 7px 6px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
}

.config-tab span {
  display: grid;
  place-items: center;
  width: 20px;
  aspect-ratio: 1;
  color: var(--white);
  background: var(--active);
  border-radius: 50%;
  font-size: 0.72rem;
}

.config-tab:hover,
.config-tab:focus-visible,
.config-tab.is-active {
  color: var(--white);
  background: var(--active);
  border-color: var(--active);
  outline: none;
}

.config-tab.is-active span,
.config-tab:hover span,
.config-tab:focus-visible span {
  color: var(--active);
  background: var(--white);
}

.config-page {
  display: none;
}

.config-page.is-active {
  display: block;
}

.step-guide {
  margin-bottom: 10px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--active) 8%, white);
  border: 1px solid color-mix(in srgb, var(--active) 18%, white);
  border-radius: 8px;
}

.step-guide strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}

.step-guide p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.choice-list,
.selection-list {
  display: grid;
  gap: 8px;
}

.capacity-card {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), color-mix(in srgb, var(--active) 7%, white)),
    radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--active) 16%, transparent), transparent 32%);
  border: 1px solid color-mix(in srgb, var(--active) 28%, white);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 27, 68, 0.09);
}

.capacity-card.needs-action,
.choice-list.needs-action {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--active) 46%, white);
  border-radius: 8px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--active) 10%, transparent), 0 16px 34px rgba(0, 27, 68, 0.09);
  animation: invitePulse 2.6s ease-in-out infinite;
}

.choice-list.needs-action {
  padding: 10px;
  background: color-mix(in srgb, var(--active) 5%, white);
}

.capacity-card strong {
  color: var(--navy);
  font-size: 1rem;
}

.capacity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.capacity-card em {
  color: var(--active);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.35;
}

.capacity-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.capacity-options button {
  min-height: 42px;
  padding: 8px 9px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.capacity-options button:hover,
.capacity-options button:focus-visible,
.capacity-options button.is-selected {
  color: var(--white);
  background: var(--active);
  border-color: var(--active);
  outline: none;
}

.config-tab.is-locked,
.summary-detail-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.25);
}

.selection-placeholder {
  padding: 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed color-mix(in srgb, var(--active) 40%, var(--line));
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.tool-family {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-family + .tool-family {
  margin-top: 10px;
}

.tool-family h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.family-count {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-list button,
.selection-item {
  min-height: 48px;
  padding: 10px 12px;
  color: #26364f;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.choice-list button {
  cursor: pointer;
  font-weight: 820;
}

.choice-list button:hover,
.choice-list button:focus-visible,
.choice-list button.is-selected {
  color: var(--white);
  background: var(--active);
  border-color: var(--active);
  outline: none;
}

.selection-item {
  position: relative;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.selection-item.is-required {
  background: color-mix(in srgb, var(--active) 8%, white);
  border-color: color-mix(in srgb, var(--active) 34%, white);
}

.selection-item.is-required::after {
  position: absolute;
  top: 9px;
  right: 10px;
  padding: 3px 6px;
  color: var(--white);
  background: var(--active);
  border-radius: 999px;
  content: "Obligatoire";
  font-size: 0.62rem;
  font-weight: 850;
}

.selection-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.selection-item strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.selection-item span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.selection-item em,
.tool-link {
  color: var(--active);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
}

.tool-link {
  width: max-content;
  text-decoration: none;
}

.tool-link:hover,
.tool-link:focus-visible {
  text-decoration: underline;
}

.selection-item:has(input:checked) {
  border-color: var(--active);
  box-shadow: inset 4px 0 0 var(--active);
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 78px;
}

.tool-chip {
  padding: 3px 6px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.summary-card {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-kicker {
  margin-bottom: 6px;
  color: var(--active);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-card h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.summary-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-tags span {
  padding: 5px 8px;
  color: var(--navy);
  background: color-mix(in srgb, var(--active) 10%, white);
  border: 1px solid color-mix(in srgb, var(--active) 26%, white);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 820;
}

.summary-detail-button {
  width: 100%;
  margin-top: 14px;
  color: var(--white);
  background: var(--active);
}

[data-open-detail] {
  position: relative;
  min-height: 58px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--active), color-mix(in srgb, var(--active) 58%, var(--navy))),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.26), transparent 34%);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--active) 30%, transparent);
  transform: translateZ(0);
}

[data-open-detail]::after {
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  content: "";
  transform: skewX(-18deg);
  animation: ctaSweep 3.8s ease-in-out infinite;
}

[data-open-detail]:hover,
[data-open-detail]:focus-visible {
  box-shadow: 0 22px 54px color-mix(in srgb, var(--active) 42%, transparent);
  outline: none;
}

.tool-summary-button {
  position: sticky;
  top: 8px;
  z-index: 8;
  margin-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--active) 28%, transparent);
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.offer-panel.tools-summary-ready .tool-summary-button {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.detail-summary-visible .tool-summary-button {
  display: none;
}

.panel-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  background: rgba(246, 248, 251, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.selector {
  min-height: 40px;
  padding: 8px 9px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.selector:hover,
.selector:focus-visible,
.selector.is-active {
  color: var(--white);
  background: var(--active);
  border-color: var(--active);
  outline: none;
}

.panel-side-mode {
  display: grid;
  gap: 14px;
}

.panel-side-mode[hidden] {
  display: none;
}

.side-mode-section {
  padding: 16px;
  background: rgba(246, 248, 251, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-mode-section h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.side-mode-section p,
.side-mode-section li {
  color: var(--muted);
  line-height: 1.5;
}

.side-mode-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.asylor-footer {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(18px, 3vw, 34px);
  color: #42516a;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.asylor-footer img {
  max-height: 36px;
}

.asylor-footer p {
  margin: 0;
  color: var(--navy);
  font-weight: 820;
}

.asylor-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.asylor-footer a {
  text-decoration: none;
}

.asylor-footer a:hover {
  color: var(--blue);
}

.legal-page {
  background:
    linear-gradient(120deg, rgba(248, 251, 255, 0.96), rgba(238, 243, 248, 0.94)),
    url("../../assets/asylor-brand/visuals/asylor-charte-light-background.png") center / cover fixed;
}

.legal-hero,
.legal-content {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
}

.legal-hero {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 6vw, 72px) 0 28px;
}

.legal-hero img {
  max-height: 78px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 1;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 14px;
  padding-bottom: 48px;
}

.legal-card {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 230, 241, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 27, 68, 0.1);
  backdrop-filter: blur(14px);
}

.legal-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.legal-card p,
.legal-card li {
  color: #42516a;
  line-height: 1.62;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@keyframes introDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes introContent {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markerPulse {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

@keyframes centerPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes pointIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caseSwitch {
  0% {
    opacity: 0.6;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes storyGlow {
  0%,
  100% {
    box-shadow: 0 16px 44px rgba(0, 27, 68, 0.11);
  }
  50% {
    box-shadow: 0 18px 52px rgba(10, 103, 216, 0.16);
  }
}

@keyframes badgeToastIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badgeToastOut {
  to {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

@keyframes ctaSweep {
  0%,
  45% {
    left: -35%;
  }
  70%,
  100% {
    left: 120%;
  }
}

@keyframes invitePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--active) 8%, transparent), 0 16px 34px rgba(0, 27, 68, 0.09);
  }
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--active) 16%, transparent), 0 18px 40px rgba(0, 27, 68, 0.12);
  }
}

@media (min-width: 1181px) {
  body.simulator-focus {
    --module-height: calc(100vh - 68px);
    overflow: hidden;
  }

  body.simulator-focus::before {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(0, 27, 68, 0.48);
    backdrop-filter: blur(12px);
    content: "";
  }

  body.simulator-focus .offer-experience {
    position: fixed;
    inset: 22px;
    z-index: 1000;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
    min-height: auto;
    padding: 0;
    gap: 14px;
    background: rgba(248, 251, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 36px 100px rgba(0, 27, 68, 0.32);
  }

  body.simulator-focus .map-stage,
  body.simulator-focus .offer-panel {
    border-radius: 8px;
    box-shadow: none;
  }

  body.simulator-focus .simulator-focus-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1010;
    display: grid;
    place-items: center;
    width: 40px;
    aspect-ratio: 1;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 27, 68, 0.18);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
  }

  body.simulator-focus .simulator-focus-close:hover,
  body.simulator-focus .simulator-focus-close:focus-visible {
    color: var(--white);
    background: var(--active);
    outline: none;
  }

  body.simulator-focus .detail-stage {
    padding: 22px;
  }

  body.simulator-focus .interactive-map-shell {
    aspect-ratio: 99 / 64;
  }
}

@media (max-width: 1180px) {
  .story-layout,
  .sovereign-strip {
    grid-template-columns: 1fr;
  }

  .experience-header {
    grid-template-columns: 1fr;
  }

  .offer-experience {
    grid-template-columns: 1fr;
  }

  .focus-launch-button,
  .simulator-focus-close {
    display: none;
  }

  .map-shell,
  .detail-stage {
    height: auto;
    max-height: none;
    min-height: 66vh;
  }

  .offer-panel {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .map-gallery {
    grid-template-columns: 1fr;
  }

  .contact-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .platform-story {
    min-height: auto;
    padding: 32px 18px;
  }

  .story-offer {
    min-height: auto;
    padding: 16px 16px 16px 66px;
    transform: none;
  }

  .experience-header {
    padding: 0;
  }

  .header-brand,
  .header-copy,
  .map-stage,
  .offer-panel {
    border-radius: 0;
  }

  .header-brand {
    min-height: auto;
    padding: 14px 18px;
  }

  .header-brand img {
    max-height: 44px;
  }

  .header-copy {
    min-height: auto;
    padding: 16px 18px;
  }

  .offer-experience {
    padding: 0;
  }

  .map-shell {
    min-height: 58vh;
  }

  .offer-map {
    min-height: inherit;
  }

  .map-center {
    width: 118px;
    min-height: 46px;
    padding: 9px 12px;
  }

  .map-center img {
    max-height: 28px;
  }

  .hotspot {
    min-height: 34px;
    padding: 8px;
    font-size: 0;
  }

  .hotspot::before {
    width: 13px;
  }

  .detail-head {
    display: grid;
  }

  .detail-actions,
  .map-viewer-head,
  .contact-panel-head {
    display: grid;
    justify-content: stretch;
  }

  .detail-grid,
  .badge-list {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: minmax(92px, 0.8fr) 24px minmax(72px, 1fr) 34px;
  }

  .offer-panel {
    padding: 18px;
  }

  .panel-actions {
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    margin: 0 0 16px;
    padding: 8px;
    overflow-x: auto;
  }

  .config-tabs,
  .choice-list,
  .capacity-options,
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asylor-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .interactive-map-shell img {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .intro-hero {
    min-height: 92vh;
    padding: 22px;
  }

  .intro-content img {
    max-width: 230px;
  }

  .intro-content h1 {
    font-size: 2.32rem;
  }

  .header-copy h1 {
    font-size: 1.75rem;
  }

  .story-copy h2,
  .legal-hero h1 {
    font-size: 2rem;
  }

  .sovereign-strip > div,
  .sovereign-strip article,
  .legal-card {
    padding: 16px;
  }

  .map-shell {
    min-height: 52vh;
  }

  .hotspot.office {
    left: 24%;
    top: 28%;
  }

  .hotspot.com {
    left: 79%;
    top: 29%;
  }

  .hotspot.bunker {
    left: 22%;
    top: 73%;
  }

  .hotspot.learn {
    left: 78%;
    top: 72%;
  }

  .config-tabs,
  .choice-list,
  .capacity-options,
  .contact-form,
  .contact-value-grid,
  .map-gallery,
  .map-preview {
    grid-template-columns: 1fr;
  }

  .selector {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
