:root {
  --navy: #0b1f3a;
  --blue: #1769c2;
  --blue-soft: #e9f3ff;
  --cyan: #17a2b8;
  --amber: #f5a623;
  --amber-soft: #fff3dc;
  --text: #172033;
  --muted: #62708a;
  --line: #dce5f2;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --shadow: 0 18px 45px rgba(10, 31, 68, 0.12);
  --shadow-soft: 0 10px 28px rgba(10, 31, 68, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-soft);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-hero {
  min-height: 92vh;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.95), rgba(23, 105, 194, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.32), transparent 34%),
    #0b1f3a;
  overflow: hidden;
}

.topbar,
.hero-content,
.method-section,
.filters-section,
.results-section {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border-radius: 12px;
  letter-spacing: 0;
}

.brand-text,
.nav-link {
  color: rgba(255, 255, 255, 0.86);
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 66px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 5.25rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 2.55rem;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 18px;
  color: #e7f1ff;
  font-size: 1.45rem;
  line-height: 1.45;
}

.hero-description {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}

.hero-actions,
.form-actions,
.roadmap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.card-actions {
  padding: 0 28px 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy);
  background: var(--amber);
  box-shadow: 0 14px 28px rgba(245, 166, 35, 0.26);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-ghost {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.metric-value {
  display: block;
  color: var(--blue);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.hero-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 8px 2px;
}

.hero-track span {
  height: 8px;
  background: rgba(255, 255, 255, 0.36);
  border-radius: 999px;
}

.hero-track span:nth-child(2) {
  background: var(--amber);
}

.method-section {
  padding: 72px 0 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p,
.modal-intro {
  color: var(--muted);
}

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

.method-card,
.planner-panel,
.process-overview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.method-card {
  padding: 22px;
}

.method-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1.1;
}

.method-card h3,
.process-card h4 {
  margin-bottom: 8px;
}

.method-card p,
.process-card p,
.planner-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-overview {
  margin-top: 18px;
  padding: 22px;
}

.process-overview h3 {
  margin-bottom: 18px;
}

.process-overview .source-note {
  margin-bottom: 16px;
}

.process-flow,
.roadmap-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.process-card {
  position: relative;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.process-card span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.filters-section {
  padding: 52px 0 28px;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 194, 0.12);
}

.results-section {
  padding: 18px 0 88px;
}

.planner-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
}

.planner-panel h3 {
  margin-bottom: 6px;
}

.planner-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.results-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.roadmap-grid {
  display: grid;
  gap: 22px;
}

.search-panel {
  margin-top: 22px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.search-panel .field {
  max-width: 680px;
}

.roadmap-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.roadmap-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  border-bottom: 1px solid var(--line);
}

.roadmap-body {
  display: grid;
  gap: 24px;
  padding: 24px 28px 0;
}

.roadmap-section-title {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
}

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

.outcome-box {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.outcome-box h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.outcome-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.source-note {
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  font-size: 0.92rem;
}

.roadmap-title {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.roadmap-description {
  margin-bottom: 18px;
  color: var(--muted);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.tag-accent {
  background: var(--amber-soft);
}

.duration-badge {
  display: grid;
  min-width: 112px;
  height: 112px;
  place-items: center;
  align-self: start;
  padding: 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(23, 105, 194, 0.1);
}

.duration-badge strong {
  display: block;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1.1;
}

.timeline {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 18px;
  padding: 30px 28px 32px;
  overflow-x: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 67px;
  left: 52px;
  right: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
  border-radius: 999px;
}

.timeline-step {
  position: relative;
  min-width: 180px;
  padding: 54px 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.07);
}

.live-roadmap {
  margin: 28px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #173761, #24356d);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

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

.live-roadmap-head .roadmap-section-title {
  margin-bottom: 6px;
  color: #fff;
}

.live-roadmap-head p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.live-roadmap-head > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--amber);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
}

.live-path-stage {
  position: relative;
  min-height: 640px;
  overflow: visible;
}

.live-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.live-path-base,
.live-path-active {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22;
}

.live-path-base {
  stroke: rgba(137, 213, 247, 0.38);
}

.live-path-active {
  stroke: #7fd6f6;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 12px rgba(127, 214, 246, 0.55));
  animation: livePathRun 4.8s linear forwards;
  will-change: stroke-dashoffset;
}

.live-phase {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: min(280px, 30%);
  min-height: 150px;
  animation: livePhaseIn 600ms ease both;
  animation-delay: var(--delay);
}

.live-node-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: #24356d;
  background: linear-gradient(180deg, #ffffff, #edf4fb);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: liveNodePulse 620ms ease-out both;
  animation-delay: var(--pulse-delay);
}

.live-node-button:hover {
  transform: translate(-50%, -54%) scale(1.03);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28), 0 0 0 7px rgba(127, 214, 246, 0.18);
}

.live-node-button span {
  align-self: end;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.live-node-button strong {
  align-self: start;
  font-size: 2rem;
  line-height: 0.95;
}

.live-phase-content {
  position: absolute;
  top: 48px;
  left: -16px;
  width: 270px;
  max-width: 260px;
  padding-left: 18px;
  border-left: 2px dotted rgba(255, 255, 255, 0.46);
}

.live-phase-3 .live-phase-content {
  left: -120px;
}

.live-phase-4 .live-phase-content {
  left: -30px;
}

.live-phase-5 .live-phase-content {
  left: -18px;
}

.live-phase-6 .live-phase-content {
  left: -18px;
}

.live-phase-content h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.live-phase-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}

.live-phase.is-priority .live-node-button {
  background: linear-gradient(180deg, #fff8e8, #ffd37d);
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.28);
}

.phase-detail-list {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.phase-detail-item {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.phase-module-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.phase-module-head strong {
  color: var(--navy);
}

.phase-detail-item p {
  margin-bottom: 14px;
  color: var(--muted);
}

.phase-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.phase-module-grid h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.95rem;
}

.phase-module-grid .content-list {
  margin: 0;
}

.phase-module-footer {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.phase-module-footer strong {
  color: var(--navy);
}

@keyframes livePathRun {
  0% {
    stroke-dashoffset: 100;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes livePhaseIn {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes livePathMobileRun {
  0% {
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
  }
}

@keyframes liveNodePulse {
  0%,
  16%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }

  8% {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(127, 214, 246, 0.24);
  }
}

.timeline-step.is-priority {
  border-color: rgba(245, 166, 35, 0.9);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.18);
}

.priority-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  color: #7a4a00;
  background: var(--amber-soft);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.step-marker {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(10, 31, 68, 0.22);
}

.step-index {
  position: absolute;
  top: 22px;
  right: 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.step-title {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.step-description {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.focus-chip {
  padding: 4px 7px;
  color: var(--muted);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.step-detail-button {
  width: 100%;
  min-height: 40px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.empty-state {
  padding: 46px 28px;
  background: #fff;
  border: 1px dashed #b9c7da;
  border-radius: var(--radius);
  text-align: center;
}

.empty-state p {
  max-width: 660px;
  margin: 0 auto 20px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 31, 0.64);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 840px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.modal-dialog-large {
  width: min(100%, 920px);
}

.modal-body {
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--navy);
  background: var(--surface-soft);
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.detail-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 16px;
  background: var(--blue-soft);
  border-radius: 16px;
  font-size: 1.8rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.detail-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.detail-source {
  margin: 18px 0;
}

.detail-box {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.detail-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.content-list {
  padding-left: 20px;
  color: var(--muted);
}

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.field-full,
.form-message,
.form-actions {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #0b7a43;
  font-weight: 800;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1);
}

.error-text {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-panel {
    max-width: 520px;
  }

  .method-grid,
  .filter-panel,
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar,
  .hero-content,
  .method-section,
  .filters-section,
  .results-section {
    width: min(100% - 28px, var(--container));
  }

  .site-hero {
    min-height: auto;
  }

  .topbar {
    padding: 18px 0;
  }

  .brand-text,
  .nav-link {
    display: none;
  }

  .hero-content {
    gap: 28px;
    padding: 42px 0 58px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .hero-actions,
  .results-toolbar,
  .roadmap-header,
  .planner-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .filter-panel,
  .consultation-form,
  .detail-grid,
  .detail-support,
  .phase-module-grid,
  .method-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-header {
    padding: 22px;
  }

  .duration-badge {
    width: 100%;
    height: auto;
  }

  .live-roadmap {
    margin: 22px;
    padding: 20px;
  }

  .live-roadmap-head {
    display: grid;
  }

  .live-path-stage {
    min-height: auto;
    display: grid;
    gap: 18px;
    overflow: visible;
  }

  .live-path-svg {
    display: none;
  }

  .live-path-stage::before,
  .live-path-stage::after {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 29px;
    width: 12px;
    border-radius: 999px;
  }

  .live-path-stage::before {
    background: rgba(137, 213, 247, 0.26);
  }

  .live-path-stage::after {
    background: #7fd6f6;
    box-shadow: 0 0 14px rgba(127, 214, 246, 0.5);
    transform: scaleY(0);
    transform-origin: top;
    animation: livePathMobileRun 4.8s linear forwards;
    will-change: transform;
  }

  .live-phase,
  .live-phase-1,
  .live-phase-2,
  .live-phase-3,
  .live-phase-4,
  .live-phase-5,
  .live-phase-6 {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 88px;
    padding-left: 84px;
    transform: none;
  }

  .live-node-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 58px;
    transform: none;
  }

  .live-node-button:hover {
    transform: translateY(-3px) scale(1.03);
  }

  .live-node-button strong {
    font-size: 1.65rem;
  }

  .live-phase-content {
    position: static;
    width: auto;
    max-width: none;
  }

  .timeline {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 16px;
    padding: 24px 22px 26px;
    overflow: visible;
  }

  .timeline::before {
    top: 32px;
    bottom: 32px;
    left: 41px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--cyan), var(--amber));
  }

  .timeline-step {
    min-width: 0;
    padding: 18px 16px 16px 74px;
  }

  .step-marker {
    top: 18px;
    left: 0;
  }

  .step-index {
    position: static;
    display: inline-flex;
    margin-bottom: 8px;
  }

  .modal {
    padding: 14px;
  }

  .modal-body {
    padding: 28px 20px 22px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .metric-value {
    font-size: 2.4rem;
  }
}
