  /* ============================================================
     DESIGN TOKENS — sama kuin muilla sivuilla
     ============================================================ */
  :root {
    --navy: #2d3a7d;
    --navy-dark: #232e66;
    --navy-deeper: #1a2452;
    --navy-50: #eef0f8;
    --pink: #e91e85;
    --pink-soft: #ffb3d9;
    --pink-50: #fdeaf3;
    --orange: #f58024;
    --orange-soft: #fcb549;
    --orange-50: #fff2e6;
    --red: #e64644;
    --magenta: #d823cd;
    --green: #1d8a4a;
    --green-soft: #e8f7ee;
    --teal: #0891b2;
    --teal-soft: #e0f6fb;
    --purple: #7c3aed;
    --purple-soft: #ede9fe;

    --grad: linear-gradient(90deg, #fcb549 0%, #e64644 50%, #d823cd 100%);
    --grad-tilt: linear-gradient(135deg, #fcb549 0%, #e64644 50%, #d823cd 100%);

    --bg: #ffffff;
    --surface: #f7f8fc;
    --border: #e8eaef;
    --text: #151515;
    --text-muted: #6f6f6f;

    --font: 'Figtree', system-ui, -apple-system, sans-serif;
    --sh-md: 0 4px 8px rgba(35,46,102,0.06), 0 8px 24px rgba(35,46,102,0.08);
    --sh-lg: 0 12px 24px -8px rgba(35,46,102,0.12), 0 24px 64px -12px rgba(35,46,102,0.18);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img, video, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ::selection { background: var(--pink); color: #fff; }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .container--narrow {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ============================================================
     ARTICLE HERO
     ============================================================ */
  .article-hero {
    padding: 150px 0 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% -10%, rgba(45,58,125,0.07) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at -5% 80%, rgba(232,30,133,0.055) 0%, transparent 55%),
      linear-gradient(180deg, #eaecf6 0%, #f2f4fa 55%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
  }

  /* Gradient accent bar at very top */
  .article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    z-index: 3;
  }

  /* Dot grid texture */
  .article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45,58,125,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.12) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.12) 70%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  /* Ambient orb — top right */
  .article-hero-orb-r {
    position: absolute;
    top: -120px; right: -80px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(45,58,125,0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
  }

  /* Second ambient orb — bottom left */
  .article-hero-orb {
    position: absolute;
    bottom: 80px; left: -140px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,30,133,0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
  }

  /* Two-column hero layout */
  .article-hero-grid {
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 2;
  }

  /* --- LEFT: text column --- */
  .article-hero-text {}

  /* Category eyebrow — clean text with left accent */
  .article-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .article-tag::before {
    content: '';
    width: 18px; height: 3px;
    border-radius: 2px;
    background: currentColor;
    flex-shrink: 0;
  }

  .article-hero h1 {
    font-size: clamp(34px, 4.2vw, 58px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.028em;
    color: var(--navy-dark);
    margin-bottom: 32px;
  }

  /* Subtle gradient underline on long titles */
  .article-hero h1 .title-accent {
    position: relative;
  }

  /* Excerpt with left accent line */
  .article-hero-excerpt-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 0;
  }
  .article-hero-excerpt-bar {
    flex-shrink: 0;
    width: 4px;
    min-height: 100%;
    align-self: stretch;
    background: var(--grad);
    border-radius: 4px;
    min-height: 48px;
  }
  .article-hero-excerpt {
    font-size: 18px;
    color: #3f4a6a;
    line-height: 1.75;
    margin: 0;
    font-weight: 450;
  }

  /* Meta row — below excerpt */
  .article-hero-meta-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(45,58,125,0.10);
    flex-wrap: wrap;
  }
  .hero-meta-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
  }
  .hero-meta-chip svg {
    width: 15px; height: 15px;
    flex-shrink: 0;
    stroke: var(--navy);
    opacity: 0.55;
  }
  .hero-meta-chip span { color: var(--navy-dark); font-weight: 700; }

  /* --- RIGHT: meta card --- */
  .article-hero-aside {
    padding-top: 4px;
  }
  .article-meta-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(35,46,102,0.10), 0 2px 8px rgba(35,46,102,0.06);
  }
  .article-meta-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(45,58,125,0.07);
  }
  .article-meta-card-row:first-child { padding-top: 0; }
  .article-meta-card-row:last-child { border-bottom: none; padding-bottom: 0; }
  .meta-card-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .meta-card-icon svg { width: 17px; height: 17px; }
  .meta-card-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
  }
  .meta-card-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
  }

  /* Card share row */
  .meta-card-share {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }
  .meta-share-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
  }
  .meta-share-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: scale(1.08);
  }
  .meta-share-btn svg { width: 14px; height: 14px; }

  /* Breadcrumb — above the grid */
  .article-hero-meta-top {
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
  }

  /* Hero image band */
  .article-hero-image {
    margin-top: 60px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    position: relative;
    background: var(--surface);
    box-shadow: 0 -12px 60px rgba(35,46,102,0.12), 0 -2px 0 rgba(255,255,255,0.6) inset;
  }
  .article-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
  }
  .article-hero-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.12) 100%);
    pointer-events: none;
  }
  .article-hero-image.no-image {
    height: 6px;
    background: var(--grad);
    border-radius: 4px 4px 0 0;
    box-shadow: none;
    margin-top: 52px;
  }
  .article-hero-image.no-image::after { display: none; }

  .article-hero-meta { display: none; }
  .hero-meta-item { display: none; }
  .hero-meta-sep { display: none; }

  /* ============================================================
     ARTICLE BODY
     ============================================================ */
  .article-body-wrap {
    padding: 72px 0 96px;
  }
  .article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
  }
  .article-body p {
    margin-bottom: 24px;
  }
  .article-body h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 900;
    color: var(--navy-dark);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 52px 0 20px;
    padding-top: 8px;
    scroll-margin-top: 96px;
  }
  .article-body h2:target,
  .article-body h3:target { background: transparent !important; }
  .article-body h2:first-child { margin-top: 0; }
  .article-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 36px 0 14px;
    scroll-margin-top: 96px;
  }
  .article-body ul, .article-body ol {
    margin: 4px 0 24px 0;
    padding-left: 0;
    list-style: none;
  }
  .article-body ul li, .article-body ol li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text);
  }
  .article-body ul li::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--grad);
    flex-shrink: 0;
    margin-top: 8px;
  }
  .article-body ol { counter-reset: ol-counter; }
  .article-body ol li { counter-increment: ol-counter; }
  .article-body ol li::before {
    content: counter(ol-counter) ".";
    font-weight: 800;
    color: var(--navy);
    font-size: 14px;
    min-width: 20px;
    flex-shrink: 0;
  }
  .article-body a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
  }
  .article-body a:hover { color: var(--pink); }
  .article-body strong { font-weight: 800; color: var(--navy-dark); }
  .article-body em { font-style: italic; }
  .article-body code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 15px;
    background: var(--navy-50);
    color: var(--navy-dark);
    padding: 2px 7px;
    border-radius: 5px;
  }
  .article-body blockquote {
    border-left: 4px solid var(--pink);
    margin: 32px 0;
    padding: 20px 28px;
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ============================================================
     TABLE OF CONTENTS
     ============================================================ */
  .toc-box {
    background: var(--navy-50);
    border: 1px solid rgba(45,58,125,0.10);
    border-left: 3px solid var(--navy);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin-bottom: 48px;
  }
  .toc-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .toc-label svg { width: 13px; height: 13px; opacity: 0.65; }
  .toc-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .toc-list li.toc-h3 { padding-left: 16px; }
  .toc-list a {
    font-size: 15.5px;
    font-weight: 600;
    color: #3d4a78;
    text-decoration: none;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.18s;
    padding: 4px 0;
  }
  .toc-list a::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(45,58,125,0.35);
    flex-shrink: 0;
    transition: background 0.18s;
    display: inline-block;
  }
  .toc-list a:hover { color: var(--navy-dark); }
  .toc-list a:hover::before { background: var(--navy); }
  .toc-list li.toc-h3 a { font-size: 14.5px; font-weight: 500; color: #5a6590; }
  .toc-list li.toc-h3 a::before { width: 4px; height: 4px; }

  /* ============================================================
     FAQ SECTION
     ============================================================ */
  .faq-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
  }
  .faq-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
  }
  .faq-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--navy-50);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .faq-icon svg { width: 20px; height: 20px; }
  .faq-header h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    color: var(--navy-dark);
    letter-spacing: -0.015em;
    margin: 0;
  }
  .faq-header h2 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
  }
  .faq-item.open {
    border-color: rgba(45,58,125,0.2);
    box-shadow: var(--sh-md);
  }
  .faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.4;
    font-family: var(--font);
    transition: background 0.18s, color 0.18s;
    border-radius: 16px 16px 0 0;
  }
  .faq-question:hover {
    background: var(--navy-50);
    color: var(--navy-dark);
  }
  .faq-item.open .faq-question {
    color: var(--navy-dark);
    background: var(--navy-50);
  }
  .faq-chevron {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  }
  .faq-chevron svg { width: 14px; height: 14px; stroke: var(--text-muted); transition: stroke 0.2s; }
  .faq-question:hover .faq-chevron {
    background: rgba(45,58,125,0.15);
  }
  .faq-question:hover .faq-chevron svg { stroke: var(--navy); }
  .faq-item.open .faq-chevron {
    background: var(--navy);
    transform: rotate(180deg);
  }
  .faq-item.open .faq-chevron svg { stroke: #fff; }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), padding 0.3s;
    padding: 0 24px;
  }
  .faq-item.open .faq-answer {
    max-height: 600px;
    padding-top: 14px;
    padding-bottom: 24px;
  }
  .faq-answer p {
    font-size: 15.5px;
    color: #4a5068;
    line-height: 1.75;
    margin: 0;
  }

  /* Floating share sidebar */
  .article-layout {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 64px;
    align-items: start;
  }
  .article-share {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 0;
  }
  .share-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.6;
  }
  .share-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
  }
  .share-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: scale(1.1);
    box-shadow: var(--sh-md);
  }
  .share-btn svg { width: 16px; height: 16px; }
  .share-divider {
    width: 1px; height: 32px;
    background: var(--border);
  }
  .share-btn.back-top {
    border-color: transparent;
    background: var(--surface);
    color: var(--text-muted);
  }
  .share-btn.back-top:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }

  /* ============================================================
     KIPINÄ INLINE WIDGET
     ============================================================ */
  .kipina-inline {
    margin: 52px 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 65%, #3b2a6b 130%);
    box-shadow: 0 16px 48px -8px rgba(35,46,102,0.30), 0 4px 12px rgba(35,46,102,0.12);
    position: relative;
  }
  .kipina-inline::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(252,181,73,0.18) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }
  .kipina-inline::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(232,30,133,0.18) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }
  .kipina-inline-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px 16px;
    position: relative;
    z-index: 2;
  }
  .kipina-inline-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(230,70,68,0.4);
  }
  .kipina-inline-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
  }
  .kipina-inline-status {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .kipina-inline-status::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 6px rgba(74,222,128,0.7);
  }
  .kipina-bubble {
    padding: 0 28px 16px;
    position: relative;
    z-index: 2;
  }
  .kipina-msg {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px 18px 18px 18px;
    padding: 13px 18px;
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    line-height: 1.65;
    max-width: 540px;
    backdrop-filter: blur(8px);
  }
  .kipina-input-row {
    display: flex;
    gap: 10px;
    padding: 12px 20px 20px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
  }
  .kipina-textarea {
    flex: 1;
    resize: none;
    border: 1.5px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 13px 18px;
    font-family: var(--font);
    font-size: 14.5px;
    color: #fff;
    outline: none;
    line-height: 1.5;
    min-height: 52px;
    max-height: 120px;
    transition: border-color 0.18s, background 0.18s;
    background: rgba(255,255,255,0.10);
  }
  .kipina-textarea::placeholder { color: rgba(255,255,255,0.45); }
  .kipina-textarea:focus {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.15);
  }
  .kipina-send-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 6px 20px -4px rgba(230,70,68,0.55);
  }
  .kipina-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px -4px rgba(230,70,68,0.7);
  }
  .kipina-send-btn svg { width: 18px; height: 18px; stroke: #fff; }

  /* ============================================================
     RELATED ARTICLES
     ============================================================ */
  .related-band {
    background: var(--surface);
    padding: 96px 0;
    border-top: 1px solid var(--border);
  }
  .kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
  }
  .kicker.navy { color: var(--navy); }
  .kicker.orange { color: var(--orange); }
  .section-head {
    margin-bottom: 52px;
  }
  .section-title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--navy-dark);
  }
  .section-title .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .related-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
  }
  .related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
  }
  .related-thumb {
    height: 160px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }
  .related-thumb img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
  }
  .related-card:hover .related-thumb img { transform: scale(1.05); }
  .related-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .related-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 12px;
  }
  .related-tag::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
  }
  .related-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    flex: 1;
    transition: color 0.2s;
  }
  .related-card:hover h3 {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .related-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
  }
  .related-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
  }
  .related-meta-item svg { width: 12px; height: 12px; stroke: var(--text-muted); }
  .related-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: auto;
  }

  /* ============================================================
     404
     ============================================================ */
  .not-found {
    padding: 160px 0 140px;
    text-align: center;
  }
  .not-found h1 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 900;
    color: var(--navy-dark);
    margin-bottom: 20px;
  }
  .not-found p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    box-shadow: 0 12px 28px -8px rgba(230,70,68,0.55);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(230,70,68,0.7);
  }

  /* ============================================================
     NEWSLETTER BAND
     ============================================================ */
  .newsletter-band {
    background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 70%, #3b2a6b 130%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
  }
  .newsletter-band::before {
    content: '';
    position: absolute;
    top: -180px; left: -180px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(252,181,73,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .newsletter-band::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,30,133,0.20) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .newsletter-inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  .newsletter-inner .kicker { color: var(--orange-soft); margin-bottom: 16px; }
  .newsletter-inner h2 {
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
  }
  .newsletter-inner h2 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .newsletter-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin-bottom: 36px;
  }
  .newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
  }
  .newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .newsletter-input::placeholder { color: rgba(255,255,255,0.52); }
  .newsletter-input:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.16);
  }
  .newsletter-btn {
    padding: 15px 28px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -6px rgba(230,70,68,0.55);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
  }
  .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px rgba(230,70,68,0.7);
  }
  .newsletter-note {
    margin-top: 16px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.48);
  }

  /* ============================================================
     REVEAL
     ============================================================ */
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
                transform 0.8s cubic-bezier(0.22,1,0.36,1);
  }
  [data-reveal].in { opacity: 1; transform: none; }
  [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
                transform 0.7s cubic-bezier(0.22,1,0.36,1);
  }
  [data-reveal-stagger].in > * { opacity: 1; transform: none; }
  [data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0.05s; }
  [data-reveal-stagger].in > *:nth-child(2) { transition-delay: 0.12s; }
  [data-reveal-stagger].in > *:nth-child(3) { transition-delay: 0.19s; }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 1100px) {
    .article-hero-grid { grid-template-columns: 1fr 248px; gap: 44px; }
  }
  @media (max-width: 900px) {
    .article-hero-grid { grid-template-columns: 1fr; }
    .article-hero-aside { display: none; }
    .article-layout { grid-template-columns: 1fr; }
    .article-share { display: none; }
    .related-grid { grid-template-columns: 1fr 1fr; }
  }
  /* ============================================================
     SELECTION TOOLBOX
     ============================================================ */
  .sel-toolbox {
    position: absolute;
    z-index: 9000;
    display: none;
    align-items: center;
    gap: 3px;
    background: var(--navy-dark);
    border-radius: 12px;
    padding: 6px 8px;
    box-shadow: 0 8px 28px -4px rgba(35,46,102,0.38), 0 2px 8px rgba(0,0,0,0.18);
    transform: translateX(-50%) translateY(-100%) translateY(-10px);
    pointer-events: all;
    white-space: nowrap;
  }
  .sel-toolbox.active { display: flex; }
  /* Arrow */
  .sel-toolbox::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--navy-dark);
  }
  .sel-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.80);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    font-family: var(--font);
  }
  .sel-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
  .sel-btn svg { width: 15px; height: 15px; pointer-events: none; }
  .sel-btn.sel-ask {
    width: auto;
    padding: 0 10px;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 3px 10px -2px rgba(230,70,68,0.45);
  }
  .sel-btn.sel-ask:hover { filter: brightness(1.1); background: var(--grad); color: #fff; }
  .sel-btn.sel-ask svg { width: 13px; height: 13px; }
  .sel-sep {
    width: 1px; height: 20px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 2px;
  }
  .sel-btn.copied { color: #4ade80; }

  /* Toast confirmation */
  .sel-toast {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    background: #1d8a4a;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 18px -4px rgba(29,138,74,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s cubic-bezier(0.22,1,0.36,1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .sel-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .sel-toast svg { width: 13px; height: 13px; }

  @media (max-width: 640px) {
    .container { padding: 0 20px; }
    .container--narrow { padding: 0 20px; }
    .article-hero { padding: 110px 0 0; }
    .article-body-wrap { padding: 48px 0 72px; }
    .article-body { font-size: 17px; }
    .article-hero-excerpt { font-size: 17px; }
    .article-hero-image { border-radius: 16px 16px 0 0; margin-top: 40px; }
    .article-hero-image img { height: 240px; }
    .related-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-btn { border-radius: 12px; }
    .article-cta-inner { flex-direction: column; align-items: flex-start; }
    .related-band { padding: 72px 0; }
    .article-hero-meta-strip { gap: 14px; }
    .hero-meta-chip { font-size: 12px; }
  }

/* Imported article media and long code/URLs must fit the article grid. */
.article-body { min-width: 0; overflow-wrap: anywhere; }
.article-body img { max-width: 100%; height: auto; }
.article-body figure { max-width: 100%; margin: 24px 0; }
.article-body pre { max-width: 100%; overflow-x: auto; white-space: pre; padding: 16px; border-radius: 10px; background: var(--navy-50); }
.article-body pre code { white-space: inherit; overflow-wrap: normal; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
.article-body th, .article-body td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.article-body details { margin: 16px 0; padding: 18px; border: 1px solid var(--border); border-radius: 12px; }
.article-body details summary { cursor: pointer; font-weight: 700; }
.article-body figcaption { margin-top: 8px; font-size: 14px; color: var(--text-muted); }
/* Legacy list items may contain several paragraphs, screenshots and inline links. */
.legacy-article-body ul:not(.toc-list) > li, .legacy-article-body ol:not(.toc-list) > li { display: block; position: relative; padding-left: 28px; }
.legacy-article-body ul:not(.toc-list) > li::before, .legacy-article-body ol:not(.toc-list) > li::before { position: absolute; left: 0; top: 4px; }
