/* Shared shell refresh for legacy Cloudflare support pages. */
:root {
  --cv-shell-bg:
    radial-gradient(circle at top left, rgba(46, 99, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(213, 161, 69, 0.14), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, #f6efe4 42%, #eef3f0 100%);
  --cv-shell-panel: rgba(255, 255, 255, 0.92);
  --cv-shell-panel-soft: rgba(250, 245, 236, 0.9);
  --cv-shell-ink: #151a22;
  --cv-shell-muted: rgba(21, 26, 34, 0.72);
  --cv-shell-line: rgba(21, 26, 34, 0.1);
  --cv-shell-gold: #d5a145;
  --cv-shell-gold-deep: #8f6321;
  --cv-shell-cobalt: #2e63ff;
  --cv-shell-green: #1f8b73;
  --cv-shell-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
  --cv-shell-shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body {
  background: var(--cv-shell-bg) !important;
  color: var(--cv-shell-ink);
}

.topbar {
  background: #11161e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  min-height: 38px !important;
  justify-content: center !important;
  text-align: center;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(21, 26, 34, 0.08) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.site-header .wrap {
  min-height: 84px !important;
  gap: 18px !important;
}

.brand {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-left: 78px !important;
  min-height: 56px;
  color: var(--cv-shell-ink) !important;
}

.brand::before {
  content: "CV";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 46px;
  border: 1px solid var(--cv-shell-line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(46, 99, 255, 0.9), rgba(129, 60, 230, 0.92) 52%, rgba(70, 203, 255, 0.92));
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.14);
}

.brand strong {
  display: block;
  font-size: 15px !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.brand span {
  color: var(--cv-shell-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.main-nav {
  gap: 10px !important;
}

.main-nav a {
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(21, 26, 34, 0.09) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--cv-shell-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  transform: translateY(-1px);
  background: #fff7e8 !important;
  border-color: rgba(213, 161, 69, 0.38) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

main {
  padding-bottom: 72px !important;
}

.breadcrumbs {
  align-items: center;
  gap: 8px !important;
  margin-bottom: 18px !important;
  color: var(--cv-shell-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--cv-shell-cobalt) !important;
}

.hero {
  gap: 24px !important;
  align-items: stretch !important;
}

.panel,
.hero-copy,
.hero-media,
.action-panel,
.helpdesk,
.section.panel,
.card,
.route,
.city-card,
.timeline-item,
.fact,
.note,
.warn,
.detail-list,
.toc a,
.link-grid a {
  border: 1px solid rgba(21, 26, 34, 0.08) !important;
  border-radius: 24px !important;
  background: var(--cv-shell-panel) !important;
  box-shadow: var(--cv-shell-shadow-soft) !important;
}

.hero-copy,
.action-panel,
.helpdesk,
.hero-media {
  overflow: hidden;
}

.hero-copy {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(213, 161, 69, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(46, 99, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 232, 0.92)) !important;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 139, 115, 0.12), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  color: var(--cv-shell-green) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0.13em !important;
}

h1 {
  max-width: 12ch !important;
  font-size: clamp(42px, 6vw, 74px) !important;
  line-height: 0.95 !important;
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px) !important;
  line-height: 1.08 !important;
}

.intro,
.section-head p:last-child,
.body-copy,
.card p,
.action span span,
.link-grid span,
.fact span,
.timeline-item span {
  color: var(--cv-shell-muted) !important;
}

.hero-actions,
.hero-meta,
.hero__chips,
.chip-cloud {
  gap: 10px !important;
}

.hero-actions .btn,
.btn {
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(21, 26, 34, 0.1) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--cv-shell-ink) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.hero-actions .btn-primary,
.btn-primary {
  background: linear-gradient(135deg, rgba(213, 161, 69, 0.96), rgba(143, 99, 33, 0.94)) !important;
  border-color: rgba(143, 99, 33, 0.22) !important;
  color: #fff !important;
}

.hero-actions .btn:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.route-card,
.helpdesk__top,
.section,
.contact-card,
.info-card,
.card,
.action {
  background: transparent;
}

.action {
  border-radius: 18px !important;
}

.step-num {
  background: linear-gradient(135deg, rgba(46, 99, 255, 0.92), rgba(31, 139, 115, 0.92)) !important;
  box-shadow: 0 12px 24px rgba(46, 99, 255, 0.18);
}

.fact strong {
  color: var(--cv-shell-ink);
}

.site-footer {
  background: #111827 !important;
}

@media (max-width: 980px) {
  .brand {
    min-height: 52px;
  }

  .site-header .wrap {
    min-height: 76px !important;
  }
}

@media (max-width: 720px) {
  .brand {
    padding-left: 62px !important;
  }

  .brand::before {
    width: 48px;
    height: 40px;
    font-size: 13px;
  }

  .main-nav {
    justify-content: flex-start !important;
  }

  .main-nav a {
    flex: 1 1 calc(50% - 10px);
  }

  .panel,
  .hero-copy,
  .hero-media,
  .action-panel,
  .helpdesk,
  .section.panel,
  .card,
  .route,
  .city-card,
  .timeline-item,
  .fact,
  .note,
  .warn,
  .detail-list,
  .toc a,
  .link-grid a {
    border-radius: 20px !important;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
  }
}
