:root {
  --bg: #06070b;
  --bg-soft: #0d1016;
  --panel: rgba(17, 22, 33, 0.92);
  --panel-strong: #121725;
  --card: rgba(24, 31, 46, 0.92);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #99a4b3;
  --accent: #ef4444;
  --accent-soft: #f97316;
  --accent-gold: #f7b731;
  --success: #34d399;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1180px;
  --container-max: 1280px;
  --font-heading: "Outfit", sans-serif;
  --header-height: 80px;
  --z-sticky: 120;
  --z-modal: 300;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 40px;
  --space-3xl: 56px;
  --radius-full: 999px;
  --radius-sm: 10px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-2xl: 1.5rem;
  --text-primary: #f4f7fb;
  --text-primary-rgb: 244, 247, 251;
  --text-secondary: #c4cede;
  --text-muted: #99a4b3;
  --bg-primary-rgb: 6, 7, 11;
  --bg-secondary-rgb: 13, 16, 22;
  --bg-secondary: #0d1016;
  --bg-tertiary: #141925;
  --bg-card-hover: rgba(31, 39, 57, 0.96);
  --accent-primary: #ff3b3b;
  --accent-primary-rgb: 255, 59, 59;
  --accent-primary-light-rgb: 255, 120, 120;
  --accent-primary-hover-rgb: 255, 92, 92;
  --accent-primary-dark-rgb: 205, 35, 35;
  --accent-info-rgb: 247, 183, 49;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.38);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(247, 183, 49, 0.12), transparent 28%),
    linear-gradient(180deg, #090b11 0%, #06070b 58%, #090b11 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

#dm-site-header {
  display: block;
  min-height: var(--header-height);
}

#dm-site-footer {
  display: block;
}

.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

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

.dm-btn--primary {
  background: linear-gradient(135deg, rgb(var(--accent-primary-rgb)), rgba(var(--accent-info-rgb), 0.95));
  color: #fff;
  box-shadow: 0 18px 38px rgba(var(--accent-primary-rgb), 0.24);
}

.dm-btn--block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(6, 7, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.16);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__link {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 18px 38px rgba(239, 68, 68, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 48px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

.hero::before {
  top: 56px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.26), transparent 68%);
}

.hero::after {
  left: -110px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(247, 183, 49, 0.18), transparent 66%);
}

.hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(14, 18, 28, 0.95), rgba(10, 12, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffd7bf;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.article-hero h1 {
  margin: 18px 0 16px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero p,
.lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.metric {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-gold);
  font-family: "Outfit", sans-serif;
  font-size: 1.65rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 34px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -65% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 70%);
}

.card h3 {
  position: relative;
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.card p,
.card li {
  position: relative;
  color: var(--muted);
}

.card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #ffd7bf;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--text);
  font-weight: 800;
}

.card__link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card:hover .card__link::after,
.card:focus-within .card__link::after {
  transform: translateX(4px);
}

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

.quick-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.quick-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(247, 183, 49, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.cta-band h2,
.cta-band h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.article-shell {
  padding: 48px 0 70px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs span {
  opacity: 0.45;
}

.article-hero {
  margin-bottom: 24px;
  padding: 32px;
  background: linear-gradient(155deg, rgba(14, 18, 28, 0.96), rgba(10, 12, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.article-main,
.article-aside {
  min-width: 0;
}

.article-section {
  margin-bottom: 22px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-section h2,
.article-section h3 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.article-section p:last-child,
.article-section ul:last-child,
.article-section ol:last-child {
  margin-bottom: 0;
}

.article-section ul,
.article-section ol {
  padding-left: 1.2rem;
}

.article-section li + li {
  margin-top: 10px;
}

.note,
.warning,
.success-box {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.note {
  background: rgba(255, 255, 255, 0.04);
}

.warning {
  background: rgba(239, 68, 68, 0.09);
  border-color: rgba(239, 68, 68, 0.24);
}

.success-box {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.24);
}

.aside-card {
  position: sticky;
  top: 94px;
  padding: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.aside-card h3 {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.aside-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.aside-card li + li {
  margin-top: 10px;
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.topic-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
}

.topic-nav a:hover,
.topic-nav a:focus-visible,
.topic-nav a.is-active {
  color: var(--text);
  background: rgba(239, 68, 68, 0.16);
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 56px;
}

.site-footer__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--text);
}

.risk-scale {
  display: grid;
  gap: 14px;
}

.risk-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.risk-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
}

.risk-step--lower strong {
  background: rgba(52, 211, 153, 0.14);
  color: #7ef0c0;
}

.risk-step--medium strong {
  background: rgba(247, 183, 49, 0.14);
  color: #ffd67f;
}

.risk-step--higher strong {
  background: rgba(239, 68, 68, 0.14);
  color: #ff9f9f;
}

@media (max-width: 980px) {
  .hero__panel,
  .article-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }

  .grid--cards,
  .quick-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .section-header,
  .site-footer__panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .article-shell {
    padding-top: 34px;
  }

  .hero__panel,
  .article-hero,
  .article-section,
  .card {
    padding: 22px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}
