:root {
  --bg: #0b1220;
  --bg-soft: #121b2f;
  --panel: rgba(18, 27, 47, 0.72);
  --panel-strong: rgba(18, 27, 47, 0.92);
  --text: #e5eefc;
  --muted: #9fb0cc;
  --line: rgba(159, 176, 204, 0.16);
  --accent: #4da3ff;
  --accent-2: #7fc4ff;
  --success: #8fd6b5;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(77, 163, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #09111f 0%, #0b1220 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 13, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.24), rgba(127, 196, 255, 0.08));
  border: 1px solid rgba(127, 196, 255, 0.22);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-size: 0.98rem;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #06101d;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 30px rgba(77, 163, 255, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero,
.page-hero {
  padding: 64px 0 34px;
}

.small-page-hero {
  padding-bottom: 18px;
}

.narrow-copy {
  max-width: 820px;
}

.page-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.24), transparent 65%);
  pointer-events: none;
}

.eyebrow,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(127, 196, 255, 0.24);
  color: var(--accent-2);
  background: rgba(77, 163, 255, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-copy p,
.section-copy p,
.muted,
.contact-item p,
.faq-item p,
.footer-copy p,
.service-card p,
.step p,
.trust-card p,
.coverage-card p,
.page-subtitle,
.reading-card p,
.reading-list,
.sidebar-group p {
  color: var(--muted);
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.hero-point {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-point strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hero-point span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  padding: 28px;
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(18, 27, 47, 0.95), rgba(11, 18, 32, 0.86));
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
}

/* --- emergency layout patch: icon sizing + mobile menu visibility --- */

.brand-mark,
.mini-icon {
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark svg,
.mini-icon svg,
.contact-item .mini-icon svg,
.service-card .mini-icon svg,
.hero-card .mini-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
  flex: 0 0 20px !important;
}

.brand-mark svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
}

.mobile-panel {
  display: none !important;
}

.mobile-panel.open {
  display: grid !important;
}

.contact-item,
.static-item {
  align-items: flex-start;
}

.contact-item .mini-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
}