:root {
  --static-accent: #ff6233;
  --static-bg: #f5f6f8;
  --static-surface: #ffffff;
  --static-surface-soft: #f8fafc;
  --static-text: #111319;
  --static-muted: #667085;
  --static-border: #e5e7eb;
  --static-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --static-shell-max: 1120px;
  --static-content-max: 860px;
  --static-radius: 22px;
  --static-radius-sm: 16px;
}

:root[data-theme="dark"] {
  --static-bg: #0b1018;
  --static-surface: #111827;
  --static-surface-soft: #0f1724;
  --static-text: #eef2f7;
  --static-muted: #a8b3c2;
  --static-border: #223044;
  --static-shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
}

body.v3-static-shell-page {
  background: var(--static-bg);
  color: var(--static-text);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.v3-static-shell {
  min-height: 100vh;
}

.v3-static-shell__container {
  width: min(calc(100% - 2rem), var(--static-shell-max));
  margin: 0 auto;
}

.v3-static-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 98, 51, 0.18), transparent 26%),
    radial-gradient(circle at 78% 26%, rgba(29, 78, 216, 0.22), transparent 30%),
    linear-gradient(135deg, #07101f 0%, #0e1625 48%, #101826 100%);
  color: #f7f8fb;
  padding-top: clamp(6.2rem, 10vw, 7.4rem);
}

.v3-static-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.08) 0%, rgba(7, 16, 31, 0.22) 100%);
  pointer-events: none;
}

.v3-static-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--static-hero-image);
  background-size: cover;
  background-position: center center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.v3-static-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.2rem, 4vw, 3.6rem) 0 clamp(1.7rem, 3vw, 2.2rem);
  max-width: 780px;
}

.v3-static-hero--cover .v3-static-hero__inner {
  min-height: clamp(240px, 34vw, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.v3-static-breadcrumbs {
  margin-bottom: 0.85rem;
}

.v3-static-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(247, 248, 251, 0.78);
}

.v3-static-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.v3-static-breadcrumbs li + li::before {
  content: "/";
  color: rgba(247, 248, 251, 0.42);
  font-weight: 700;
}

.v3-static-breadcrumbs a,
.v3-static-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.v3-static-hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.v3-static-hero__subtitle {
  margin: 0.9rem 0 0;
  max-width: 62ch;
  color: rgba(247, 248, 251, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.v3-static-shell__content {
  padding: clamp(1.5rem, 3vw, 2.3rem) 0 clamp(3rem, 6vw, 5rem);
}

.static-v3-stack {
  display: grid;
  gap: 1.4rem;
}

.static-v3-card {
  background: var(--static-surface);
  border: 1px solid var(--static-border);
  border-radius: var(--static-radius);
  box-shadow: var(--static-shadow);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.static-v3-card--narrow {
  max-width: var(--static-content-max);
}

.static-v3-card--soft {
  background: var(--static-surface-soft);
}

.static-v3-card h2,
.static-v3-card h3 {
  margin: 0 0 0.9rem;
  color: var(--static-text);
  line-height: 1.22;
}

.static-v3-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}

.static-v3-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-top: 1.5rem;
}

.static-v3-prose p,
.static-v3-prose li {
  color: var(--static-text);
  line-height: 1.72;
  font-size: 1rem;
}

.static-v3-prose p {
  margin: 0 0 1rem;
}

.static-v3-prose p:last-child {
  margin-bottom: 0;
}

.static-v3-prose strong {
  color: var(--static-text);
}

.static-v3-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.static-v3-prose li + li {
  margin-top: 0.45rem;
}

.static-v3-prose a {
  color: var(--static-accent);
  text-decoration: none;
  font-weight: 700;
}

.static-v3-prose a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.static-v3-meta {
  display: grid;
  gap: 0.9rem;
}

.static-v3-meta__item {
  padding: 1rem 1.1rem;
  border-radius: var(--static-radius-sm);
  border: 1px solid var(--static-border);
  background: var(--static-surface-soft);
}

.static-v3-meta__item dt {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--static-muted);
}

.static-v3-meta__item dd {
  margin: 0;
  color: var(--static-text);
  line-height: 1.65;
}

.static-v3-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--static-muted);
}

.static-v3-grid {
  display: grid;
  gap: 1rem;
}

.static-v3-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.static-v3-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.static-v3-links li {
  margin: 0;
}

.static-v3-links a {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--static-radius-sm);
  border: 1px solid var(--static-border);
  background: var(--static-surface-soft);
  color: var(--static-text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.static-v3-links a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--static-accent) 35%, var(--static-border));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.static-v3-links small {
  display: block;
  margin-top: 0.2rem;
  color: var(--static-muted);
  font-weight: 600;
}

.static-v3-section-label {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--static-accent);
}

@media (max-width: 760px) {
  .v3-static-shell__container {
    width: min(calc(100% - 1.25rem), var(--static-shell-max));
  }

  .v3-static-hero {
    padding-top: 5.8rem;
  }

  .v3-static-hero__title {
    line-height: 1.02;
  }

  .static-v3-grid--two {
    grid-template-columns: 1fr;
  }
}
