:root {
  --bg: #050c19;
  --bg-soft: #0a1425;
  --surface: rgba(13, 25, 47, 0.8);
  --surface-solid: #101d33;
  --surface-strong: #14253f;
  --text: #f5f8ff;
  --text-muted: #a9b6cc;
  --text-soft: #7f8da5;
  --line: rgba(185, 208, 244, 0.14);
  --line-strong: rgba(185, 208, 244, 0.27);
  --brand: #22d3ee;
  --blue: #60a5fa;
  --mint: #5eead4;
  --violet: #a78bfa;
  --shadow: 0 28px 88px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 118px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 8% 5%, rgba(34, 211, 238, 0.08), transparent 28rem), var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  color: var(--text-muted);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::before {
  position: fixed;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(rgba(185, 208, 244, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 208, 244, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.ambient {
  position: absolute;
  z-index: -3;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
}

.ambient-cyan {
  top: 8rem;
  right: -12rem;
  background: var(--brand);
}

.ambient-blue {
  top: 55rem;
  left: -15rem;
  background: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  color: #06101d;
  background: var(--mint);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
}

.top-strip {
  min-height: 36px;
  border-bottom: 1px solid rgba(185, 208, 244, 0.1);
  background: rgba(4, 9, 20, 0.9);
}

.top-strip-inner,
.top-strip-messages,
.top-strip-contact {
  display: flex;
  align-items: center;
}

.top-strip-inner {
  min-height: 36px;
  justify-content: space-between;
  gap: 24px;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
}

.top-strip-messages {
  min-width: 0;
  gap: 24px;
}

.top-strip-messages > span:first-child {
  color: #dce6f8;
}

.top-strip-promise {
  color: var(--text-soft);
}

.top-strip-contact {
  align-self: stretch;
  flex: 0 0 auto;
  gap: 20px;
}

.top-strip-contact a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.top-strip-contact a:last-child {
  color: var(--mint);
}

.top-strip-contact a:hover {
  color: var(--text);
}

.nav-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 82px;
  border-bottom: 1px solid transparent;
  background: rgba(5, 12, 25, 0.7);
  backdrop-filter: blur(18px);
  content: "";
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled::after {
  border-bottom-color: var(--line);
  background: rgba(5, 12, 25, 0.93);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 43px;
  height: 43px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button).is-current {
  color: var(--text);
}

.primary-nav > a:not(.button).is-current::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.primary-nav {
  margin-left: auto;
}

.nav-toggle span {
  width: 19px;
  height: 1.5px;
  margin: 2.5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #06101d;
  background: linear-gradient(135deg, var(--brand), var(--blue) 58%, var(--mint));
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.18);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.25);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(10, 20, 38, 0.56);
  box-shadow: none;
}

.button-light {
  color: #071123;
  background: var(--text);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.section {
  position: relative;
  padding-block: 118px;
}

.section-muted {
  border-block: 1px solid rgba(185, 208, 244, 0.09);
  background: rgba(10, 18, 35, 0.55);
}

.hero {
  min-height: 850px;
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 92px;
}

.hero-grid {
  display: grid;
  min-height: 625px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.45vw, 5.25rem);
}

.text-gradient,
.section-heading h2 span,
.decision-copy h2 span,
.faq-intro h2 span,
.contact-panel h2 span {
  color: transparent;
  background: linear-gradient(120deg, var(--brand), var(--blue) 58%, var(--mint));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-signals {
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.hero-signals li > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.65);
}

.migration-console,
.path-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(18, 33, 61, 0.97), rgba(7, 15, 30, 0.98));
  box-shadow: var(--shadow);
}

.migration-console::before {
  position: absolute;
  inset: 48px 0 0;
  background:
    linear-gradient(rgba(185, 208, 244, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 208, 244, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.console-header,
.console-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.61rem;
}

.console-header {
  border-bottom: 1px solid var(--line);
}

.console-header > div,
.console-status,
.console-footer span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.console-header strong {
  color: var(--text-muted);
  font-weight: 500;
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots i,
.console-status i,
.console-footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-soft);
}

.window-dots i:first-child {
  background: var(--brand);
}

.window-dots i:nth-child(2) {
  background: var(--blue);
}

.window-dots i:last-child,
.console-status i,
.console-footer i {
  background: var(--mint);
}

.console-status,
.console-footer span:first-child {
  color: var(--mint);
}

.console-status i,
.console-footer i {
  box-shadow: 0 0 9px currentColor;
}

.migration-map {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 0.78fr 84px 1.22fr;
  gap: 12px;
  padding: 22px 18px;
}

.legacy-stack,
.target-stack {
  display: grid;
  gap: 8px;
}

.legacy-stack > small,
.target-stack > small {
  margin: 0 5px 3px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.09em;
}

.legacy-stack > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(185, 208, 244, 0.1);
  border-radius: 9px;
  background: rgba(8, 16, 32, 0.7);
}

.legacy-stack span {
  color: #d9e3f5;
  font-size: 0.67rem;
}

.legacy-stack b {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.52rem;
  font-weight: 500;
}

.change-lane {
  display: flex;
  align-items: center;
}

.change-lane span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--text-soft), var(--brand));
}

.change-lane i {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 50%;
  color: var(--brand);
  background: #0c1830;
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
}

.target-stack > div {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 24, 44, 0.78);
}

.target-stack > div > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid var(--text-soft);
  border-radius: 50%;
}

.target-stack .is-done > i {
  border-color: var(--mint);
  background: var(--mint);
}

.target-stack .is-active {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
}

.target-stack .is-active > i {
  border-color: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

.target-stack > div > span {
  display: grid;
}

.target-stack b {
  font-size: 0.68rem;
}

.target-stack em {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
}

.decision-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 18px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--line);
}

.decision-strip article {
  display: grid;
  min-width: 0;
  padding: 12px;
  background: rgba(9, 18, 35, 0.9);
}

.decision-strip small,
.path-header span {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.51rem;
  letter-spacing: 0.08em;
}

.decision-strip strong {
  margin-top: 3px;
  font-size: 0.66rem;
}

.decision-strip span {
  color: var(--text-soft);
  font-size: 0.54rem;
}

.console-footer {
  border-top: 1px solid var(--line);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(9, 17, 33, 0.82);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: grid;
  min-height: 120px;
  align-content: center;
  gap: 5px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
}

.trust-grid span {
  color: #dce5f5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  margin-bottom: 58px;
}

.section-heading.compact {
  align-items: center;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-heading h2,
.decision-copy h2,
.migration-copy h2,
.faq-intro h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.8vw, 4.35rem);
}

.section-heading > p {
  max-width: 560px;
  margin-bottom: 4px;
}

.service-grid,
.scenario-grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.scenario-grid article,
.model-card,
.decision-matrix article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19, 33, 59, 0.78), rgba(10, 18, 35, 0.84));
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.scenario-grid article:hover,
.model-card:hover,
.decision-matrix article:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-4px);
}

.service-card {
  min-height: 435px;
  padding: 27px;
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.27);
  border-radius: 15px;
  color: var(--brand);
  background: rgba(34, 211, 238, 0.08);
}

.icon-box svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-index {
  position: absolute;
  top: 29px;
  right: 27px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
}

.service-card h3 {
  margin: 25px 0 13px;
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 17px;
  color: #ccd7e9;
  font-size: 0.78rem;
}

.service-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.decision-grid,
.migration-grid,
.faq-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr);
  gap: 80px;
}

.decision-copy > p:not(.eyebrow),
.migration-copy > p:not(.eyebrow),
.faq-intro > p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 30px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 700;
}

.text-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.decision-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.decision-matrix article {
  min-height: 205px;
  padding: 23px;
}

.decision-matrix article > span,
.scenario-grid article > span,
.model-card > span,
.process-list small {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.09em;
}

.decision-matrix h3 {
  margin: 35px 0 11px;
  font-size: 1.12rem;
}

.decision-matrix p {
  margin: 0;
  font-size: 0.79rem;
}

.decision-matrix .repair {
  border-color: rgba(96, 165, 250, 0.24);
}

.decision-matrix .isolate {
  border-color: rgba(167, 139, 250, 0.22);
}

.decision-matrix .replace {
  border-color: rgba(94, 234, 212, 0.24);
}

.migration-grid {
  grid-template-columns: minmax(500px, 1.08fr) minmax(0, 0.92fr);
}

.path-header {
  display: grid;
  gap: 4px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}

.path-header strong {
  font-family: "Space Grotesk", sans-serif;
}

.path-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.path-panel li {
  display: grid;
  min-height: 68px;
  align-items: center;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 20, 39, 0.76);
}

.path-panel li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 10px;
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
}

.path-panel li > div {
  display: grid;
}

.path-panel li strong {
  font-size: 0.75rem;
}

.path-panel li small {
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.53rem;
}

.path-panel li > i {
  padding: 5px 7px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
  color: var(--mint);
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
}

.migration-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.migration-principles article {
  display: grid;
  min-height: 110px;
  align-content: center;
  gap: 6px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.migration-principles strong {
  color: var(--brand);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
}

.migration-principles span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.scenario-grid article {
  min-height: 238px;
  padding: 27px;
}

.scenario-grid article > span {
  color: var(--blue);
}

.scenario-grid h3 {
  margin: 40px 0 13px;
  font-size: 1.23rem;
}

.scenario-grid p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 112px;
  align-items: center;
  grid-template-columns: 64px minmax(250px, 0.82fr) minmax(280px, 1.18fr);
  gap: 25px;
  padding: 19px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.process-list li:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateX(4px);
}

.process-list li > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 14px;
  color: var(--mint);
  background: rgba(94, 234, 212, 0.07);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

.process-list h3 {
  margin: 5px 0 0;
  font-size: 1.08rem;
}

.process-list li > p {
  margin: 0;
  font-size: 0.82rem;
}

.model-card {
  min-height: 355px;
  padding: 29px;
}

.model-card.featured {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(11, 22, 43, 0.87));
}

.model-card h3 {
  margin: 48px 0 17px;
  font-size: 1.43rem;
}

.model-card p {
  font-size: 0.86rem;
}

.model-card strong {
  display: block;
  margin: 28px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mint);
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.faq-grid {
  align-items: start;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(34, 211, 238, 0.33);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 54px 19px 21px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.faq-list summary > span::before,
.faq-list summary > span::after {
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 1.5px;
  background: var(--brand);
  content: "";
  transition: transform 0.2s ease;
}

.faq-list summary > span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary > span::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: 0;
  padding: 0 54px 21px 21px;
  font-size: 0.85rem;
}

.contact-section {
  padding-top: 40px;
}

.contact-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 70px;
  padding: 62px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 12%, rgba(96, 165, 250, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(12, 25, 48, 0.94) 48%, rgba(94, 234, 212, 0.08));
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 780px;
}

.contact-panel p:not(.eyebrow) {
  max-width: 650px;
  margin: 25px 0 0;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.contact-actions span {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.site-footer {
  padding: 76px 0 24px;
  border-top: 1px solid var(--line);
  background: #040a15;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(145px, 0.65fr));
  gap: 48px;
}

.footer-brand p {
  max-width: 390px;
  margin: 22px 0 16px;
  font-size: 0.84rem;
}

.footer-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--mint);
  font-weight: 700;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 5px;
}

.footer-column a {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.79rem;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  :root {
    --container: min(100% - 40px, 980px);
  }

  .primary-nav {
    gap: 14px;
  }

  .primary-nav > a:not(.button) {
    font-size: 0.74rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(430px, 1.04fr);
    gap: 36px;
  }

  .service-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 410px;
  }

  .decision-grid,
  .migration-grid {
    gap: 46px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 114px;
  }

  .top-strip-promise {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    max-height: calc(100dvh - var(--header-height) - 20px);
    overflow-y: auto;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(7, 14, 29, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav > a:not(.button) {
    min-height: 48px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .primary-nav > a:not(.button)::after {
    right: auto;
    left: 12px;
    width: 34px;
  }

  .primary-nav .button {
    margin-top: 5px;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero-grid,
  .decision-grid,
  .migration-grid,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 10vw, 5.2rem);
  }

  .hero-visual {
    width: min(100%, 670px);
    margin-inline: auto;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .decision-grid,
  .migration-grid,
  .faq-grid {
    gap: 52px;
  }

  .path-panel {
    order: 2;
  }

  .migration-copy {
    order: 1;
  }

  .process-list li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
  }

  .process-list li > p {
    grid-column: 2;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .model-card {
    min-height: auto;
  }

  .faq-intro {
    position: static;
  }

  .contact-panel {
    gap: 38px;
    padding: 48px;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 32px, 560px);
    --header-height: 110px;
  }

  .top-strip-inner {
    font-size: 0.62rem;
  }

  .top-strip-contact {
    gap: 12px;
  }

  .top-strip-contact a:first-child {
    display: none;
  }

  .nav-shell {
    min-height: 74px;
  }

  .site-header::after {
    height: 74px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 55px);
  }

  .hero h1 {
    font-size: clamp(2.72rem, 13.7vw, 4.1rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-signals {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .migration-map {
    grid-template-columns: 1fr;
  }

  .change-lane {
    min-height: 30px;
    transform: rotate(90deg);
  }

  .decision-strip {
    grid-template-columns: 1fr;
  }

  .console-footer span:last-child {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section-heading h2,
  .decision-copy h2,
  .migration-copy h2,
  .faq-intro h2,
  .contact-panel h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .service-grid,
  .scenario-grid,
  .decision-matrix,
  .migration-principles {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 20px;
  }

  .process-list li > span {
    width: 44px;
    height: 44px;
  }

  .contact-panel {
    padding: 35px 25px;
    border-radius: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .top-strip-messages > span:first-child {
    font-size: 0;
  }

  .top-strip-messages > span:first-child::after {
    font-size: 0.6rem;
    content: "Modernizácia systémov";
  }

  .top-strip-contact a:last-child {
    font-size: 0;
  }

  .top-strip-contact a:last-child::after {
    font-size: 0.66rem;
    content: "Kontakt";
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2.56rem;
  }

  .console-status {
    font-size: 0;
  }

  .decision-strip {
    margin-inline: 12px;
  }

  .path-panel li {
    grid-template-columns: 38px 1fr;
  }

  .path-panel li > i {
    display: none;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .process-list li > p {
    grid-column: auto;
  }

  .faq-list summary {
    padding-left: 18px;
    font-size: 0.9rem;
  }

  .faq-list details p {
    padding-left: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Shared Perfect.sk chrome typography, order and alignment. */
.top-strip,
.primary-nav a,
.site-footer {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.top-strip :is(span, a, p) {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: left;
}

.primary-nav {
  order: 0;
  gap: 4px;
}

.primary-nav a:not(.button) {
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

.primary-nav .button {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.nav-toggle {
  order: 0;
}

.primary-nav .nav-contact-cta {
  min-height: 44px;
  justify-content: center;
  color: #06111f !important;
  margin-left: 6px;
  padding: 0 16px;
  text-align: center;
}

.site-footer :is(.footer-grid, .footer-brand, .footer-column, .footer-links) {
  text-align: left;
}

.site-footer {
  padding: 72px 0 0;
}

.site-footer .footer-grid {
  gap: 44px;
  padding: 0;
}

.site-footer .footer-brand p {
  max-width: 390px;
  margin: 18px 0 14px;
  font-size: 0.86rem;
  line-height: 1.65;
}

.site-footer :is(.footer-column h3, .footer-column strong, .footer-links strong) {
  margin: 0 0 16px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.site-footer :is(.footer-column nav, .footer-column ul, .footer-links > div) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer :is(.footer-column a, .footer-links a) {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
}

.footer-bottom,
.footer-bottom p {
  font-size: 0.7rem;
  line-height: 1.5;
}

.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.site-footer .footer-bottom > * {
  flex: 1 1 260px;
  margin: 0;
}

.site-footer .footer-bottom > :last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .top-strip :is(span, a, p) {
    font-size: 0.64rem;
  }

  .primary-nav a:not(.button),
  .primary-nav .button {
    font-size: 0.9rem;
  }

  .primary-nav a:not(.button) {
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    text-align: left;
  }

  .primary-nav a:not(.button)::after {
    display: none;
  }

  .primary-nav a:not(.button).active,
  .primary-nav a:not(.button).is-current {
    background: var(--surface-strong);
  }

  .primary-nav .nav-contact-cta {
    display: flex;
    justify-content: center;
    min-height: 48px;
    margin: 5px 0 0;
    padding: 8px 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer .footer-grid {
    gap: 32px;
  }

  .site-footer .footer-bottom > :last-child,
  .footer-bottom p:last-child {
    text-align: left;
  }
}
