:root {
      --bg:      #ffffff;
      --surface: #f7f7f8;
      --fg:      #1a1a1a;
      --muted:   #6b6b6b;
      --border:  #e5e5e5;
      --accent:  #1890ff;

      --accent-soft: color-mix(in oklch, var(--accent) 10%, transparent);
      --fg-soft:     color-mix(in oklch, var(--fg) 4%, transparent);
      --surface-alt: #f0f0f2;
      --surface-elevated: #ffffff;

      --font-display: 'Open Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
      --font-body:    'Open Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
      --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

      --fs-h1: clamp(32px, 4.5vw, 52px);
      --fs-h2: clamp(24px, 3vw, 36px);
      --fs-h3: 20px;
      --fs-lead: 18px;
      --fs-body: 16px;
      --fs-meta: 13px;
      --fs-caption: 12px;

      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 24px;
      --gap-lg: 40px;
      --gap-xl: 72px;
      --gap-2xl: 128px;
      --container: 1280px;
      --gutter: 48px;

      --radius: 8px;
      --radius-lg: 16px;
    }

body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.7;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

.reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

.eyebrow {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--gap-sm);
    }

/* ---- Topnav ---- */
    .topnav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      height: 64px;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: background 0.3s, border-color 0.3s;
    }

.topnav nav a {
      font-size: 16px; font-weight: 500;
      color: rgba(255,255,255,0.65);
      transition: color 0.25s;
      position: relative;
      letter-spacing: 0.01em;
    }

.topnav nav a.active { color: #ffffff; }

.topnav nav a.active::after { transform: scaleX(1); }

.topnav.scrolled nav a.active { color: #1a1a1a; }

.topnav .nav-cta {
      font-size: 15px; font-weight: 600;
      color: #ffffff;
      padding: 10px 28px;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: var(--radius);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 0.02em;
    }

.topnav .nav-cta:active { transform: scale(0.96); transition-duration: 0.1s; }

/* ---- Article Hero ---- */
    .article-hero {
      position: relative;
      padding-top: 160px;
      padding-bottom: 64px;
      background: #000000;
      overflow: hidden;
      color: #ffffff;
    }

.article-hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24,144,255,0.05) 0%, transparent 70%);
      pointer-events: none;
    }

.article-hero .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: var(--fs-caption);
      color: rgba(255,255,255,0.6);
      margin-bottom: var(--gap-lg);
      font-family: var(--font-mono);
      letter-spacing: 0.02em;
    }

.article-hero .breadcrumb a {
      color: rgba(255,255,255,0.6);
      transition: color 0.2s;
    }

.article-hero .breadcrumb a:hover { color: #ffffff; }

.article-hero .breadcrumb .sep { opacity: 0.4; }

.article-hero .breadcrumb .current { color: #ffffff; }

.article-hero h1 {
      font-size: var(--fs-h1);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      max-width: 880px;
      color: #ffffff;
    }

.article-hero .eyebrow { color: #ffffff; }

.article-hero .article-meta .tag { color: #ffffff; border-color: rgba(255,255,255,0.3); }

.article-hero .article-meta .date,
    .article-hero .article-meta .read-time { color: rgba(255,255,255,0.6); }

.article-meta {
      display: flex;
      align-items: center;
      gap: var(--gap-md);
      margin-top: var(--gap-md);
      flex-wrap: wrap;
    }

.article-meta .tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      padding: 4px 10px;
      border: 1px solid var(--accent-soft);
      border-radius: 100px;
      font-family: var(--font-mono);
      letter-spacing: 0.04em;
    }

.article-meta .date {
      font-family: var(--font-mono);
      font-size: var(--fs-caption);
      color: var(--muted);
    }

.article-meta .read-time {
      font-family: var(--font-mono);
      font-size: var(--fs-caption);
      color: var(--muted);
    }

/* ---- Hero Image ---- */
    .hero-image {
      position: relative;
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding-inline: var(--gutter);
      margin-bottom: var(--gap-2xl);
    }

.hero-image-inner {
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface);
    }

.hero-image-inner img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 72vh;
      object-fit: contain;
    }

.hero-image-caption {
      margin-top: var(--gap-sm);
      font-size: var(--fs-caption);
      color: var(--muted);
      text-align: right;
    }

/* ---- Article Body ---- */
    .article-body {
      max-width: 760px;
      margin-inline: auto;
      padding-bottom: var(--gap-2xl);
    }

.article-body .lead {
      font-size: var(--fs-lead);
      color: rgba(0,0,0,0.65);
      line-height: 1.8;
      margin-bottom: var(--gap-lg);
      padding-bottom: var(--gap-lg);
      border-bottom: 1px solid var(--border);
    }

.article-body h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      letter-spacing: -0.01em;
      margin-top: var(--gap-xl);
      margin-bottom: var(--gap-md);
      line-height: 1.3;
    }

.article-body h3 {
      font-size: var(--fs-h3);
      font-weight: 600;
      margin-top: var(--gap-lg);
      margin-bottom: var(--gap-sm);
    }

.article-body p {
      margin-bottom: var(--gap-md);
      color: rgba(0,0,0,0.75);
      line-height: 1.8;
    }

.article-body ul, .article-body ol {
      margin: var(--gap-md) 0;
      padding-left: 24px;
      color: rgba(0,0,0,0.75);
    }

.article-body li {
      margin-bottom: 8px;
      line-height: 1.7;
    }

.article-body strong {
      color: var(--fg);
      font-weight: 600;
    }

/* ---- Inline Image ---- */
    .article-image {
      margin: var(--gap-xl) calc(-1 * var(--gutter));
      padding-inline: var(--gutter);
    }

.article-image-inner {
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface);
    }

.article-image-inner img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

.article-image figcaption {
      margin-top: var(--gap-sm);
      font-size: var(--fs-caption);
      color: var(--muted);
      text-align: center;
    }

/* ---- Spec Table ---- */
    .spec-table {
      width: 100%;
      margin: var(--gap-lg) 0;
      border-collapse: collapse;
      font-size: var(--fs-body);
    }

.spec-table tr { border-bottom: 1px solid var(--border); }

.spec-table th {
      text-align: left;
      padding: 14px 16px;
      font-weight: 500;
      color: var(--muted);
      font-size: var(--fs-meta);
      font-family: var(--font-mono);
      letter-spacing: 0.02em;
      width: 40%;
      background: var(--surface);
    }

.spec-table td {
      padding: 14px 16px;
      color: var(--fg);
      background: var(--surface-alt);
    }

/* ---- Pull Quote ---- */
    .pull-quote {
      margin: var(--gap-xl) 0;
      padding: var(--gap-lg) var(--gap-xl);
      border-left: 3px solid var(--accent);
      background: var(--surface-elevated);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

.pull-quote p {
      font-size: var(--fs-lead);
      font-weight: 500;
      color: var(--fg);
      line-height: 1.6;
      font-style: italic;
    }

.pull-quote cite {
      display: block;
      margin-top: var(--gap-sm);
      font-size: var(--fs-meta);
      color: var(--muted);
      font-style: normal;
      font-family: var(--font-mono);
    }

/* ---- Related News ---- */
    .related-section {
      padding-block: var(--gap-2xl);
      background: var(--surface-alt);
      border-top: 1px solid var(--border);
    }

.related-section .section-header {
      margin-bottom: var(--gap-lg);
    }

.related-section .section-header h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
    }

.related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--gap-md);
    }

.related-card {
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color 0.3s, box-shadow 0.3s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

.related-card:hover { border-color: rgba(0,0,0,0.15); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.related-card-img {
      aspect-ratio: 16 / 9;
      background: var(--surface);
      overflow: hidden;
    }

.related-card-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

.related-card:hover .related-card-img img { transform: scale(1.03); }

.related-card-body { padding: var(--gap-md); }

.related-card-body .news-date {
      font-family: var(--font-mono);
      font-size: var(--fs-caption);
      color: var(--muted);
      margin-bottom: 6px;
    }

.related-card-body h3 {
      font-size: 16px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 6px;
    }

.related-card-body p {
      font-size: var(--fs-meta);
      color: var(--muted);
      line-height: 1.5;
    }

/* ---- CTA ---- */
    .cta-section {
      padding-block: var(--gap-2xl);
      background: var(--bg);
      text-align: center;
      border-top: 1px solid var(--border);
    }

.cta-section h2 {
      font-size: var(--fs-h2);
      font-weight: 700;
      margin-bottom: var(--gap-md);
    }

.cta-section .lead {
      font-size: var(--fs-lead);
      color: var(--muted);
      max-width: 560px;
      margin-inline: auto;
      margin-bottom: var(--gap-lg);
    }

.cta-buttons {
      display: flex;
      gap: var(--gap-md);
      justify-content: center;
      flex-wrap: wrap;
    }

.btn {
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

.btn-primary {
      background: var(--fg);
      color: var(--bg);
      border: 1px solid var(--fg);
    }

.btn-primary:hover { background: transparent; color: var(--fg); }

.btn-primary:active { transform: scale(0.97); transition-duration: 0.1s; }

.btn-secondary {
      background: transparent;
      color: var(--fg);
      border: 1px solid rgba(0,0,0,0.15);
    }

.btn-secondary:hover { border-color: rgba(0,0,0,0.4); background: rgba(0,0,0,0.04); }

.btn-secondary:active { transform: scale(0.97); transition-duration: 0.1s; background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.3); }

/* ---- Footer ---- */
    .pagefoot {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding-block: var(--gap-xl);
    }

.footer-inner {
      display: grid;
      grid-template-columns: 1.5fr auto auto auto;
      gap: var(--gap-xl);
      align-items: start;
    }

.footer-brand {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--fg);
      margin-bottom: 10px;
    }

.footer-col h4 {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(0,0,0,0.45);
      margin-bottom: 16px;
    }

.footer-bottom {
      margin-top: var(--gap-xl);
      padding-top: var(--gap-lg);
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: rgba(0,0,0,0.4);
    }

.footer-desc {
      max-width: 32ch;
      font-size: 13px;
      color: var(--muted);
    }

/* ---- Focus visible ---- */
    :focus { outline: none; }

:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
      border-radius: 4px;
    }

.btn:focus-visible { outline-offset: 4px; }

.topnav nav a:focus-visible { outline-offset: 6px; }

/* ---- Nav dropdowns ---- */
    .nav-dropdown {
      position: relative;
    }

.nav-dropdown > a {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

.nav-dropdown > a::before {
      content: '';
      display: none;
    }

.nav-dropdown .dropdown-arrow {
      width: 8px;
      height: 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform 0.25s;
      flex-shrink: 0;
      opacity: 0.6;
    }

.dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      min-width: 180px;
      background: rgba(10,10,10,0.95);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius);
      padding: 8px 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s, background 0.3s, border-color 0.3s;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
      z-index: 120;
    }

.topnav.scrolled .dropdown-menu {
      background: rgba(255,255,255,0.98);
      border-color: var(--border);
      box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

.nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

.nav-dropdown:hover .dropdown-arrow {
      transform: rotate(-135deg) translateY(-2px);
    }

.dropdown-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }

.dropdown-menu a:hover {
      background: rgba(255,255,255,0.08);
      color: #ffffff;
    }

.topnav.scrolled .dropdown-menu a:hover {
      background: var(--surface);
      color: var(--fg);
    }

.dropdown-menu a::after {
      display: none !important;
    }

/* ---- Mobile Nav ---- */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px; height: 40px;
      padding: 8px;
      border-radius: var(--radius);
      cursor: pointer;
      z-index: 110;
    }

.nav-toggle span {
      display: block;
      width: 100%; height: 2px;
      background: #ffffff;
      border-radius: 1px;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
      transform-origin: center;
    }

.topnav.scrolled .nav-toggle span { background: var(--fg); }

.mobile-nav { display: none; }

/* ---- Responsive ---- */
    @media (max-width: 1024px) { :root { --gutter: 32px; } }

@media (max-width: 920px) {
      .nav-toggle { display: flex; }
      .topnav nav { display: none; }
      .topnav > .container > .nav-cta { display: none; }
      .nav-toggle.active span { background: #ffffff !important; }
      .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid var(--border);
        padding: 16px var(--gutter) 24px;
        gap: 8px;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
      .mobile-nav nav { display: flex; flex-direction: column; gap: 0; }
      .mobile-nav nav a {
        font-size: 16px; font-weight: 500;
        color: rgba(0, 0, 0, 0.75);
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        transition: color 0.2s;
      }
      .mobile-nav nav a:last-child { border-bottom: none; }
      .mobile-nav nav a:hover { color: #1a1a1a; }
      .mobile-nav nav a.active { color: #1a1a1a; }
      .mobile-nav .nav-cta {
        margin-top: 12px; text-align: center;
        font-size: 15px; font-weight: 600;
        color: #1a1a1a;
        padding: 12px 28px;
        border: 1px solid rgba(0, 0, 0, 0.25);
        border-radius: var(--radius);
        transition: all 0.25s;
      }
      .mobile-nav .nav-cta:hover {
        background: #1a1a1a; color: #ffffff; border-color: #1a1a1a;
      }

      .related-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
      .footer-bottom { flex-direction: column; gap: var(--gap-sm); text-align: center; }
      :root { --gutter: 24px; }

      .dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        pointer-events: auto;
        transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .nav-dropdown.open .dropdown-menu,
        .nav-dropdown:hover .dropdown-menu,
        .nav-dropdown:focus-within .dropdown-menu {
        max-height: 600px;
        overflow-y: auto;
        transform: none;
      }
      .dropdown-menu a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--border);
      }
      .dropdown-menu a:last-child {
        border-bottom: none;
      }
    }

@media (max-width: 640px) {
      .footer-inner { grid-template-columns: 1fr; }
      .article-hero { padding-top: 120px; padding-bottom: 40px; }
      .hero-image-inner img { max-height: 56vh; }
      .article-image { margin-inline: calc(-1 * var(--gutter)); }
      .pull-quote { padding: var(--gap-md); }
      .spec-table th, .spec-table td { padding: 10px 12px; font-size: var(--fs-meta); }
      .cta-buttons { flex-direction: column; align-items: center; }
      .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
    }

@media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
      .related-card-img img { transition: none !important; }
    }
