/* =============================================
       Homepage v3 — 大气科技感杂志布局
       ============================================= */

    /* ---- Hero (full-screen) ---- */
    .home-hero {
      position: relative;
      width: 100%;
      min-height: 92vh;
      background: oklch(10% 0.025 260);
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: 80px 24px;
    }
    .home-hero .hero-canvas {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    #hero-particles {
      width: 100%;
      height: 100%;
    }
    .home-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 50% at 25% 30%, oklch(38% 0.18 270 / 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 60% 60% at 75% 70%, oklch(32% 0.12 220 / 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 100%, oklch(30% 0.10 145 / 0.08) 0%, transparent 50%);
      pointer-events: none;
    }
    .home-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(0deg, transparent, transparent 49px, oklch(100% 0 0 / 0.015) 49px, oklch(100% 0 0 / 0.015) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, oklch(100% 0 0 / 0.015) 49px, oklch(100% 0 0 / 0.015) 50px);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: var(--wide-width);
      margin: 0 auto;
      width: 100%;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border: 1px solid oklch(100% 0 0 / 0.10);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: oklch(100% 0 0 / 0.45);
      margin-bottom: 24px;
    }
    .hero-badge .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: oklch(68% 0.16 145);
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
    .hero-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    @media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 32px; } }
    .hero-left { max-width: 640px; }
    .hero-left h1 {
      font-size: clamp(48px, 6vw, 80px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.04;
      color: #fff;
      margin-bottom: 16px;
    }
    .hero-left h1 .grad-text {
      background: linear-gradient(135deg, oklch(72% 0.18 280), oklch(68% 0.16 145), oklch(72% 0.14 200));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-left h1 .line2 {
      display: block;
      font-weight: 600;
      color: oklch(100% 0 0 / 0.3);
      font-size: 0.5em;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-top: 12px;
    }
    .hero-left p {
      font-size: 17px;
      line-height: 1.7;
      color: oklch(100% 0 0 / 0.45);
      max-width: 48ch;
      margin-bottom: 32px;
    }
    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .hero-actions .btn-primary {
      padding: 14px 32px;
      border: none;
      border-radius: 8px;
      background: linear-gradient(135deg, oklch(58% 0.18 255), oklch(55% 0.16 280));
      color: #fff;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: opacity 0.2s, transform 0.2s;
    }
    .hero-actions .btn-primary:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }
    .hero-actions .btn-ghost {
      padding: 14px 28px;
      border: 1px solid oklch(100% 0 0 / 0.15);
      border-radius: 8px;
      background: transparent;
      color: oklch(100% 0 0 / 0.6);
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s;
    }
    .hero-actions .btn-ghost:hover { border-color: oklch(100% 0 0 / 0.3); color: #fff; text-decoration: none; }

    .hero-right {
      position: relative;
    }
    .hero-code-card {
      background: oklch(15% 0.03 260 / 0.6);
      backdrop-filter: blur(12px);
      border: 1px solid oklch(100% 0 0 / 0.06);
      border-radius: var(--radius-lg);
      padding: 28px;
      max-width: 480px;
      margin-left: auto;
    }
    .hero-code-card .hcc-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      font-size: 11px;
      color: oklch(100% 0 0 / 0.3);
      font-family: var(--font-mono);
    }
    .hero-code-card .hcc-header .dots { display: flex; gap: 6px; }
    .hero-code-card .hcc-header .dots span {
      width: 10px; height: 10px;
      border-radius: 50%;
    }
    .hero-code-card .hcc-header .dots .r { background: oklch(58% 0.18 30); }
    .hero-code-card .hcc-header .dots .y { background: oklch(65% 0.16 85); }
    .hero-code-card .hcc-header .dots .g { background: oklch(55% 0.14 145); }
    .hero-code-card pre {
      background: transparent;
      padding: 0;
      font-size: 13px;
      line-height: 1.8;
      color: oklch(100% 0 0 / 0.5);
      font-family: var(--font-mono);
    }
    .hero-code-card pre .kw { color: oklch(68% 0.16 255); }
    .hero-code-card pre .fn { color: oklch(72% 0.14 200); }
    .hero-code-card pre .str { color: oklch(65% 0.14 145); }
    .hero-code-card pre .cm { color: oklch(100% 0 0 / 0.25); font-style: italic; }
    .hero-code-card pre .num { color: oklch(70% 0.14 30); }
    .hero-code-card pre .line { display: block; }
    .hero-code-card pre .highlight {
      background: oklch(100% 0 0 / 0.04);
      border-radius: 3px;
      padding: 2px 8px;
      margin: 0 -8px;
    }
    .hero-ticker {
      margin-top: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      color: oklch(100% 0 0 / 0.3);
      font-family: var(--font-mono);
    }
    .hero-ticker .prompt { color: oklch(68% 0.16 145); }
    .hero-ticker .cursor {
      display: inline-block;
      width: 8px;
      height: 16px;
      background: oklch(68% 0.16 145 / 0.7);
      animation: blink 1s step-end infinite;
    }
    @keyframes blink { 50% { opacity: 0; } }

    @media (max-width: 900px) {
      .home-hero { min-height: 70vh; padding: 60px 24px; }
      .hero-code-card { max-width: 100%; margin-left: 0; }
    }

    /* ---- Live AI ticker ---- */
    .ai-ticker-bar {
      width: 100%;
      background: oklch(8% 0.03 260);
      border-bottom: 1px solid oklch(100% 0 0 / 0.04);
      overflow: hidden;
      padding: 10px 0;
    }
    .ai-ticker-track {
      display: flex;
      gap: 48px;
      animation: ticker-scroll 40s linear infinite;
      width: max-content;
    }
    .ai-ticker-track:hover { animation-play-state: paused; }
    @keyframes ticker-scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .ai-ticker-item {
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      font-size: 13px;
      color: oklch(100% 0 0 / 0.35);
      font-family: var(--font-mono);
    }
    .ai-ticker-item .ticker-tag {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .ai-ticker-item .ticker-dot {
      width: 4px; height: 4px;
      border-radius: 50%;
      background: oklch(68% 0.16 145);
      flex-shrink: 0;
    }

    /* ---- Stats bar ---- */
    .home-stats {
      width: 100%;
      border-bottom: 1px solid var(--border);
      background: var(--surface);
    }
    .stats-inner {
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 20px 24px;
      display: flex;
      gap: 48px;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .stat-item { display: flex; align-items: baseline; gap: 8px; }
    .stat-item .num {
      font-family: var(--font-mono);
      font-size: 26px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--fg);
      font-variant-numeric: tabular-nums;
    }
    .stat-item .label { font-size: 14px; color: var(--muted); }

    /* ---- Section label ---- */
    .section-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 20px;
    }
    .section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }
    .section-label .label-action {
      font-size: 12px;
      color: var(--accent);
      text-decoration: none;
      text-transform: none;
      letter-spacing: 0;
    }
    .section-label .label-action:hover { opacity: 0.8; text-decoration: none; }
    .section-label .label-badge {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      background: oklch(92% 0.02 255 / 0.4);
      color: var(--accent);
      margin-left: 4px;
    }

    .home-section {
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 52px 24px;
    }

    /* ---- Full-bleed wrappers ---- */
    .full-bleed-dark {
      width: 100%;
      background: oklch(10% 0.025 260);
      padding: 56px 0 48px;
      position: relative;
      overflow: hidden;
    }
    .full-bleed-dark::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .fb-inner {
      position: relative;
      z-index: 1;
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .full-bleed-dark .section-label { color: oklch(100% 0 0 / 0.35); }
    .full-bleed-dark .section-label::after { background: oklch(100% 0 0 / 0.06); }
    .full-bleed-dark .section-label .label-action { color: oklch(68% 0.16 280); }

    /* ---- Full-bleed light variant for AI section ---- */
    .full-bleed-light {
      width: 100%;
      background: var(--surface);
      padding: 56px 0 48px;
      position: relative;
      overflow: hidden;
    }
    .full-bleed-light::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 30% 20%, oklch(90% 0.02 270 / 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 70% 80%, oklch(92% 0.015 220 / 0.2) 0%, transparent 60%);
      pointer-events: none;
    }

    /* ===============================================
       AI DASHBOARD — live data feel
       =============================================== */
    .ai-dash-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    @media (max-width: 900px) { .ai-dash-grid { grid-template-columns: 1fr; } }

    .ai-dash-left {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .ai-dash-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 16px;
    }
    @media (max-width: 560px) { .ai-dash-right { grid-template-columns: 1fr; } }

    .ai-lead-card {
      border-radius: var(--radius-lg);
      border: 1px solid oklch(100% 0 0 / 0.06);
      background: oklch(16% 0.03 260 / 0.5);
      backdrop-filter: blur(6px);
      padding: 28px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.25s;
    }
    .ai-lead-card:hover { border-color: oklch(100% 0 0 / 0.15); }
    .ai-lead-card .alc-glow {
      position: absolute;
      top: -40%;
      right: -20%;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: oklch(55% 0.18 270 / 0.08);
      filter: blur(40px);
      pointer-events: none;
    }
    .ai-lead-card .alc-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    .ai-lead-card h3 {
      font-size: clamp(18px, 2vw, 24px);
      font-weight: 700;
      letter-spacing: -0.01em;
      color: #fff;
      margin-bottom: 8px;
      line-height: 1.3;
    }
    .ai-lead-card h3 a { color: #fff; text-decoration: none; }
    .ai-lead-card h3 a:hover { color: oklch(72% 0.16 280); }
    .ai-lead-card p {
      font-size: 14px;
      color: oklch(100% 0 0 / 0.4);
      line-height: 1.6;
    }
    .ai-lead-card .alc-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 14px;
      font-size: 12px;
      color: oklch(100% 0 0 / 0.25);
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
    }
    .ai-lead-card .alc-meta .alc-stat { display: flex; align-items: center; gap: 4px; }
    .ai-lead-card .alc-meta .alc-stat .bar {
      width: 60px; height: 4px;
      border-radius: 2px;
      background: oklch(100% 0 0 / 0.08);
      overflow: hidden;
    }
    .ai-lead-card .alc-meta .alc-stat .bar .fill {
      height: 100%;
      border-radius: 2px;
      width: 72%;
      background: linear-gradient(90deg, oklch(55% 0.16 280), oklch(58% 0.16 200));
    }

    .ai-sm-card {
      border-radius: var(--radius-md);
      border: 1px solid oklch(100% 0 0 / 0.06);
      background: oklch(16% 0.03 260 / 0.3);
      padding: 20px;
      transition: border-color 0.2s, transform 0.2s;
    }
    .ai-sm-card:hover {
      border-color: oklch(100% 0 0 / 0.15);
      transform: translateY(-1px);
    }
    .ai-sm-card .asc-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .ai-sm-card h4 {
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      line-height: 1.4;
      margin-bottom: 6px;
    }
    .ai-sm-card h4 a { color: #fff; text-decoration: none; }
    .ai-sm-card h4 a:hover { color: oklch(72% 0.16 280); }
    .ai-sm-card p {
      font-size: 12px;
      color: oklch(100% 0 0 / 0.35);
      line-height: 1.5;
    }
    .ai-sm-card .asc-meta {
      font-size: 11px;
      color: oklch(100% 0 0 / 0.2);
      font-family: var(--font-mono);
      margin-top: 10px;
    }

    /* AI tools grid */
    .ai-tools-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }
    @media (max-width: 900px) { .ai-tools-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .ai-tools-grid { grid-template-columns: 1fr; } }
    .ai-tool-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border: 1px solid oklch(100% 0 0 / 0.06);
      border-radius: var(--radius-md);
      background: oklch(16% 0.03 260 / 0.3);
      transition: border-color 0.2s;
      text-decoration: none;
    }
    .ai-tool-item:hover { border-color: oklch(100% 0 0 / 0.15); text-decoration: none; }
    .ai-tool-item .ati-icon {
      width: 32px; height: 32px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .ai-tool-item .ati-info .ati-name { font-size: 12px; font-weight: 600; color: #fff; }
    .ai-tool-item .ati-info .ati-desc { font-size: 11px; color: oklch(100% 0 0 / 0.3); }

    /* AI section light theme overrides */
    .full-bleed-light .ai-lead-card {
      background: var(--surface);
      border-color: var(--border);
    }
    .full-bleed-light .ai-lead-card h3 { color: var(--fg); }
    .full-bleed-light .ai-lead-card h3 a { color: var(--fg); }
    .full-bleed-light .ai-lead-card h3 a:hover { color: var(--accent); }
    .full-bleed-light .ai-lead-card p { color: var(--muted); }
    .full-bleed-light .ai-lead-card .alc-meta { color: var(--muted); }
    .full-bleed-light .ai-sm-card {
      background: var(--surface);
      border-color: var(--border);
    }
    .full-bleed-light .ai-sm-card h4 { color: var(--fg); }
    .full-bleed-light .ai-sm-card h4 a { color: var(--fg); }
    .full-bleed-light .ai-sm-card h4 a:hover { color: var(--accent); }
    .full-bleed-light .ai-sm-card p { color: var(--muted); }
    .full-bleed-light .ai-sm-card .asc-meta { color: var(--muted); }
    .full-bleed-light .ai-tool-item {
      background: var(--surface);
      border-color: var(--border);
    }
    .full-bleed-light .ai-tool-item .ati-info .ati-name { color: var(--fg); }
    .full-bleed-light .ai-tool-item .ati-info .ati-desc { color: var(--muted); }
    .full-bleed-light .section-label { color: var(--muted); }
    .full-bleed-light .section-label::after { background: var(--border); }
    .full-bleed-light .section-label .label-action { color: var(--accent); }
    .full-bleed-light .ai-lead-card .alc-glow {
      background: oklch(58% 0.18 255 / 0.06);
    }
    .full-bleed-light .ai-lead-card:hover { border-color: var(--accent); }
    .full-bleed-light .ai-sm-card:hover { border-color: var(--accent); }

    /* ===============================================
       Featured Post — magazine spread
       =============================================== */
    .featured-card {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface);
      transition: box-shadow 0.3s;
    }
    .featured-card:hover { box-shadow: var(--shadow-md); }
    .featured-card .fc-image {
      height: 100%;
      min-height: 340px;
      position: relative;
      overflow: hidden;
    }
    .featured-card .fc-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }
    .featured-card .fc-image .fc-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, oklch(0% 0 0 / 0.5));
    }
    .featured-card .fc-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
    .featured-card .fc-body .fc-kicker {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .featured-card .fc-body h2 {
      font-size: clamp(22px, 2.5vw, 32px);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }
    .featured-card .fc-body h2 a { color: var(--fg); text-decoration: none; }
    .featured-card .fc-body h2 a:hover { color: var(--accent); }
    .featured-card .fc-body .fc-excerpt {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .featured-card .fc-body .fc-meta {
      font-size: 13px;
      color: var(--muted);
      display: flex;
      gap: 16px;
      align-items: center;
    }
    .featured-card .fc-body .fc-meta .author {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .featured-card .fc-body .fc-meta .author .avatar {
      width: 24px; height: 24px;
      border-radius: 50%;
      background: var(--border);
    }
    @media (max-width: 768px) {
      .featured-card { grid-template-columns: 1fr; }
      .featured-card .fc-image { min-height: 200px; }
      .featured-card .fc-body { padding: 24px; }
    }

    /* ---- Post grid (2 cols) ---- */
    .post-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    @media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }

    .grid-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      background: var(--surface);
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .grid-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .grid-card .gc-thumb {
      width: 100%;
      height: 200px;
      background: oklch(92% 0.005 250);
      overflow: hidden;
    }
    .grid-card .gc-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .grid-card:hover .gc-thumb img { transform: scale(1.03); }
    .grid-card .gc-body { padding: 20px; }
    .grid-card .gc-body .gc-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .grid-card .gc-body .gc-meta .cat { color: var(--accent); font-weight: 500; }
    .grid-card .gc-body h3 {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin-bottom: 8px;
    }
    .grid-card .gc-body h3 a { color: var(--fg); text-decoration: none; }
    .grid-card .gc-body h3 a:hover { color: var(--accent); }
    .grid-card .gc-body .gc-excerpt {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .grid-card .gc-body .gc-footer {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--muted);
    }
    .grid-card .gc-body .gc-footer .read-time {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .grid-card .gc-body .gc-footer .read-time svg { width: 14px; height: 14px; }
    .load-more {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      font-size: 14px;
      font-weight: 500;
      color: var(--muted);
      cursor: pointer;
      width: 100%;
      transition: border-color 0.2s, color 0.2s;
    }
    .load-more:hover { border-color: var(--accent); color: var(--accent); }

    /* ===============================================
       Topic section (3-col)
       =============================================== */
    .topic-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 820px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 540px) { .topic-grid { grid-template-columns: 1fr; } }
    .topic-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface);
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .topic-card .tc-thumb {
      height: 160px;
      position: relative;
      overflow: hidden;
    }
    .topic-card .tc-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .topic-card .tc-thumb .tc-count {
      position: absolute;
      bottom: 10px;
      right: 10px;
      padding: 3px 10px;
      background: oklch(0% 0 0 / 0.55);
      backdrop-filter: blur(6px);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      color: #fff;
    }
    .topic-card .tc-body { padding: 18px; }
    .topic-card .tc-body h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      line-height: 1.4;
    }
    .topic-card .tc-body h3 a { color: var(--fg); text-decoration: none; }
    .topic-card .tc-body h3 a:hover { color: var(--accent); }
    .topic-card .tc-body p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .topic-card .tc-body .tc-updated {
      font-size: 11px;
      color: var(--muted);
      margin-top: 10px;
    }

    /* ---- Course row (3-col) ---- */
    .course-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 820px) { .course-row { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 540px) { .course-row { grid-template-columns: 1fr; } }
    .home-course-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--surface);
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .home-course-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .home-course-card .cc-thumb {
      height: 140px;
      background: oklch(92% 0.005 250);
      display: grid;
      place-items: center;
      font-size: 22px;
      font-weight: 700;
      color: oklch(70% 0.005 250);
      position: relative;
    }
    .home-course-card .cc-thumb .cc-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .home-course-card .cc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
    .home-course-card .cc-body h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
      line-height: 1.4;
    }
    .home-course-card .cc-body h3 a { color: var(--fg); text-decoration: none; }
    .home-course-card .cc-body h3 a:hover { color: var(--accent); }
    .home-course-card .cc-body .cc-instructor {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .home-course-card .cc-body .cc-footer {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 10px;
      border-top: 1px solid var(--border);
      font-size: 13px;
    }
    .home-course-card .cc-body .cc-footer .cc-dur { color: var(--muted); }
    .home-course-card .cc-body .cc-footer .cc-price { font-weight: 600; color: var(--accent); }
    .home-course-card .cc-body .cc-footer .cc-price.free { color: oklch(55% 0.14 150); }

    /* ---- Q&A home (2-col) ---- */
    .qa-home-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 720px) { .qa-home-list { grid-template-columns: 1fr; } }
    .qa-home-item {
      display: flex;
      gap: 14px;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      transition: box-shadow 0.2s;
      align-items: flex-start;
    }
    .qa-home-item:hover { box-shadow: var(--shadow-sm); }
    .qa-home-item .qa-vote {
      width: 48px;
      flex-shrink: 0;
      text-align: center;
      font-family: var(--font-mono);
      font-size: 18px;
      font-weight: 700;
      color: var(--fg);
      line-height: 1.2;
    }
    .qa-home-item .qa-vote .vote-label {
      display: block;
      font-size: 11px;
      font-weight: 400;
      color: var(--muted);
    }
    .qa-home-item .qa-body { flex: 1; min-width: 0; }
    .qa-home-item .qa-body h4 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
      line-height: 1.4;
    }
    .qa-home-item .qa-body h4 a { color: var(--fg); text-decoration: none; }
    .qa-home-item .qa-body h4 a:hover { color: var(--accent); }
    .qa-home-item .qa-body .qa-brief {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .qa-home-item .qa-body .qa-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 6px;
      font-size: 12px;
      color: var(--muted);
    }
    .qa-home-item .qa-body .qa-row .tag {
      padding: 1px 6px;
      border-radius: 4px;
      background: oklch(94% 0.004 250);
      font-size: 11px;
      color: var(--muted);
    }

    /* ---- 热门资源 -- 商业级展示 ---- */
    .dl-home-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    @media (max-width: 780px) { .dl-home-grid { grid-template-columns: 1fr; } }
    .dl-home-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      overflow: hidden;
      transition: box-shadow 0.25s, transform 0.2s;
      display: flex;
      flex-direction: column;
    }
    .dl-home-card:hover { box-shadow: 0 8px 28px oklch(0% 0 0 / 0.07); transform: translateY(-2px); }
    .dlh-top {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      padding: 24px 24px 0;
    }
    .dlh-icon {
      width: 52px; height: 52px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }
    .dlh-icon svg { width: 24px; height: 24px; }
    .dlh-body { flex: 1; min-width: 0; }
    .dlh-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
    .dlh-body h4 a { color: var(--fg); text-decoration: none; }
    .dlh-body h4 a:hover { color: var(--accent); }
    .dlh-desc {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 6px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .dlh-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 0;
    }
    .dlh-tag {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 500;
      background: oklch(95% 0.005 250);
      color: var(--muted);
      letter-spacing: 0.02em;
    }
    .dlh-tag.type-zip { background: oklch(92% 0.015 255 / 0.5); color: oklch(48% 0.16 255); }
    .dlh-tag.type-pdf { background: oklch(92% 0.02 30 / 0.5); color: oklch(48% 0.16 30); }
    .dlh-tag.type-doc { background: oklch(92% 0.015 200 / 0.5); color: oklch(46% 0.16 200); }
    .dlh-tag.type-video { background: oklch(92% 0.02 280 / 0.5); color: oklch(48% 0.16 280); }
    .dlh-footer {
      margin-top: 14px;
      padding: 16px 24px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .dlh-footer .dlh-meta {
      display: flex;
      gap: 16px;
      font-size: 12px;
      color: var(--muted);
    }
    .dlh-footer .dlh-meta span { display: flex; align-items: center; gap: 4px; }
    .dlh-footer .dlh-meta svg { width: 14px; height: 14px; opacity: 0.5; }
    .dlh-footer .dlh-dl-btn {
      padding: 6px 18px;
      border-radius: 6px;
      background: var(--accent);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: opacity 0.15s;
    }
    .dlh-footer .dlh-dl-btn:hover { opacity: 0.85; text-decoration: none; }
    .dlh-progress {
      margin: 0 24px;
      height: 3px;
      background: oklch(94% 0.005 250);
      border-radius: 2px;
      overflow: hidden;
    }
    .dlh-progress .dlh-bar {
      height: 100%;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--accent), oklch(58% 0.22 255));
      transition: width 0.6s ease;
    }

    /* ---- 博主讲师团队 -- 商业级卡片 ---- */
    .author-home-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    @media (max-width: 1000px) { .author-home-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 500px) { .author-home-grid { grid-template-columns: 1fr; } }
    .author-home-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      padding: 28px 24px 24px;
      text-align: center;
      transition: box-shadow 0.25s, transform 0.2s;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .author-home-card:hover { box-shadow: 0 8px 28px oklch(0% 0 0 / 0.07); transform: translateY(-2px); }
    .author-home-card .ah-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .author-home-card .ah-badge.picked { background: oklch(92% 0.05 255 / 0.4); color: oklch(52% 0.22 255); }
    .author-home-card .ah-badge.hot { background: oklch(92% 0.08 30 / 0.4); color: oklch(52% 0.22 30); }
    .author-home-card .ah-badge.new { background: oklch(92% 0.06 145 / 0.4); color: oklch(48% 0.18 145); }
    .author-home-card .ah-avatar {
      width: 78px; height: 78px;
      border-radius: 50%;
      margin: 0 auto 12px;
      display: grid;
      place-items: center;
      font-size: 30px;
      font-weight: 700;
      overflow: hidden;
      border: 2px solid var(--border);
    }
    .author-home-card .ah-avatar.ring-blue { border-color: oklch(58% 0.18 255); box-shadow: 0 0 0 3px oklch(58% 0.18 255 / 0.15); }
    .author-home-card .ah-avatar.ring-green { border-color: oklch(54% 0.14 170); box-shadow: 0 0 0 3px oklch(54% 0.14 170 / 0.15); }
    .author-home-card .ah-avatar.ring-amber { border-color: oklch(58% 0.14 85); box-shadow: 0 0 0 3px oklch(58% 0.14 85 / 0.15); }
    .author-home-card .ah-avatar.ring-purple { border-color: oklch(54% 0.18 290); box-shadow: 0 0 0 3px oklch(54% 0.18 290 / 0.15); }
    .author-home-card .ah-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
    .author-home-card .ah-role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
    .author-home-card .ah-expertise {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      justify-content: center;
      margin-bottom: 12px;
    }
    .author-home-card .ah-expertise .ah-tag {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 500;
      background: oklch(95% 0.005 250);
      color: oklch(48% 0.01 250);
    }
    .author-home-card .ah-stats {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding-top: 12px;
      border-top: 1px solid var(--border);
      width: 100%;
    }
    .author-home-card .ah-stats .ah-stat-item {
      text-align: center;
    }
    .author-home-card .ah-stats .ah-stat-item .ah-stat-num {
      font-size: 15px;
      font-weight: 700;
      color: var(--fg);
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
      line-height: 1.2;
    }
    .author-home-card .ah-stats .ah-stat-item .ah-stat-label {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.02em;
    }
    .author-home-card .ah-stats .ah-stat-item .ah-stat-label.green { color: oklch(50% 0.14 170); }

    /* ---- Category cards (4-col) ---- */
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    @media (max-width: 820px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }
    .cat-card {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 20px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: var(--surface);
      transition: border-color 0.2s, box-shadow 0.2s;
      text-decoration: none;
      color: var(--fg);
    }
    .cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
    .cat-card .cat-icon {
      width: 36px; height: 36px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .cat-card .cat-info .cat-name { font-size: 14px; font-weight: 600; }
    .cat-card .cat-info .cat-count { font-size: 12px; color: var(--muted); }

    /* ---- Trending (3-col) ---- */
    .trending-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    @media (max-width: 820px) { .trending-grid { grid-template-columns: 1fr; } }
    .trend-card {
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }
    .trend-card .trend-num {
      font-family: var(--font-mono);
      font-size: 40px;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--border);
      line-height: 1;
      flex-shrink: 0;
      width: 46px;
    }
    .trend-card .trend-body h4 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
      line-height: 1.4;
    }
    .trend-card .trend-body h4 a { color: var(--fg); text-decoration: none; }
    .trend-card .trend-body h4 a:hover { color: var(--accent); }
    .trend-card .trend-body .trend-meta { font-size: 13px; color: var(--muted); }

    /* ---- CTA ---- */
    .cta-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 48px 40px;
      background:
        radial-gradient(ellipse 60% 80% at 70% 50%, oklch(90% 0.02 255 / 0.3) 0%, transparent 70%),
        var(--surface);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
    }
    .cta-card .cta-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
    .cta-card .cta-text p { color: var(--muted); font-size: 15px; }
    .cta-card .cta-btn {
      padding: 12px 32px;
      background: var(--fg);
      color: var(--bg);
      border: none;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .cta-card .cta-btn:hover { opacity: 0.85; text-decoration: none; }

    .section-spacer { height: 48px; }
    .section-spacer-sm { height: 24px; }

    /* ---- Section visual divider ---- */
    .section-divider {
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 4px 24px;
    }
    .section-divider hr {
      border: 0;
      height: 1px;
      background: var(--border);
    }
    .section-divider.has-symbol {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .section-divider.has-symbol::before,
    .section-divider.has-symbol::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }
    .section-divider .diamond {
      width: 8px; height: 8px;
      transform: rotate(45deg);
      background: var(--border);
      flex-shrink: 0;
      border-radius: 1px;
    }

    /* ---- Sub Nav ---- */
    .sub-nav-bar {
      width: 100%;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: var(--header-h);
      z-index: 99;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .sub-nav-inner {
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      gap: 4px;
      height: 44px;
    }
    .sub-nav-inner::-webkit-scrollbar { display: none; }
    .sub-nav-inner a {
      white-space: nowrap;
      padding: 6px 14px;
      font-size: 13px;
      font-weight: 500;
      color: var(--muted);
      border-radius: 999px;
      text-decoration: none;
      transition: all 0.15s;
    }
    .sub-nav-inner a:hover { color: var(--fg); background: oklch(94% 0.004 250); text-decoration: none; }
    .sub-nav-inner a.active { color: #fff; background: var(--fg); }
    .sub-nav-inner .sub-nav-split {
      width: 1px;
      height: 18px;
      background: var(--border);
      margin: 0 8px;
      flex-shrink: 0;
    }

    /* ---- Why CodePress (Features) ---- */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    @media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 500px) { .features-grid { grid-template-columns: 1fr; } }
    .feature-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      background: var(--surface);
      transition: box-shadow 0.3s, transform 0.3s;
      position: relative;
      overflow: hidden;
    }
    .feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
    .feature-card .fc-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      margin-bottom: 16px;
    }
    .feature-card .fc-icon svg { width: 22px; height: 22px; }
    .feature-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }
    .feature-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
    }
    .feature-card .fc-stat {
      display: block;
      margin-top: 14px;
      font-family: var(--font-mono);
      font-size: 26px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--fg);
      font-variant-numeric: tabular-nums;
    }
    .feature-card .fc-stat .fc-stat-label {
      font-size: 12px;
      font-family: var(--font-body);
      font-weight: 400;
      color: var(--muted);
      display: block;
      letter-spacing: 0;
      margin-top: 2px;
    }

    /* ---- Community Activity Feed ---- */
    .activity-split {
      display: grid;
      grid-template-columns: 1.3fr 0.7fr;
      gap: 32px;
    }
    @media (max-width: 820px) { .activity-split { grid-template-columns: 1fr; } }
    .activity-feed { display: flex; flex-direction: column; gap: 2px; }
    .activity-item {
      display: flex;
      gap: 14px;
      padding: 16px 18px;
      border-radius: var(--radius-md);
      transition: background 0.15s;
      align-items: flex-start;
    }
    .activity-item:hover { background: oklch(97% 0.003 250); }
    .activity-item .act-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: var(--border);
      flex-shrink: 0;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      overflow: hidden;
    }
    .activity-item .act-body { flex: 1; min-width: 0; }
    .activity-item .act-body .act-text {
      font-size: 14px;
      color: var(--fg);
      line-height: 1.4;
    }
    .activity-item .act-body .act-text strong { font-weight: 600; }
    .activity-item .act-body .act-text a { font-weight: 500; }
    .activity-item .act-body .act-time {
      font-size: 12px;
      color: var(--muted);
      margin-top: 2px;
    }
    .activity-item .act-body .act-badge {
      display: inline-block;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      margin-top: 4px;
    }

    .community-stats-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px;
      background:
        radial-gradient(ellipse 80% 60% at 70% 30%, oklch(90% 0.02 255 / 0.2) 0%, transparent 70%),
        var(--surface);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .community-stats-card .csc-stat-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .community-stats-card .csc-stat-row:last-child { margin-bottom: 0; }
    .community-stats-card .csc-stat-item {
      flex: 1;
      min-width: 80px;
    }
    .community-stats-card .csc-stat-item .csc-num {
      font-family: var(--font-mono);
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--fg);
      font-variant-numeric: tabular-nums;
    }
    .community-stats-card .csc-stat-item .csc-label {
      font-size: 13px;
      color: var(--muted);
    }
    .community-stats-card .csc-online {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--muted);
      margin-top: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }
    .community-stats-card .csc-online .online-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: oklch(58% 0.16 145);
      animation: pulse-dot 2s ease-in-out infinite;
    }

    /* ---- Testimonials ---- */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 820px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 540px) { .testimonial-grid { grid-template-columns: 1fr; } }
    .testimonial-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      background: var(--surface);
      position: relative;
      transition: box-shadow 0.3s;
    }
    .testimonial-card:hover { box-shadow: var(--shadow-md); }
    .testimonial-card .tc-quote {
      font-size: 15px;
      line-height: 1.7;
      color: var(--fg);
      margin-bottom: 20px;
      font-style: italic;
    }
    .testimonial-card .tc-quote::before {
      content: '"';
      font-size: 48px;
      line-height: 0;
      vertical-align: -12px;
      color: var(--border);
      font-family: serif;
      margin-right: 4px;
    }
    .testimonial-card .tc-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .testimonial-card .tc-author .tc-avatar {
      width: 36px; height: 36px;
      border-radius: 50%;
      background: var(--border);
      display: grid;
      place-items: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--muted);
    }
    .testimonial-card .tc-author .tc-info .tc-name { font-size: 14px; font-weight: 600; }
    .testimonial-card .tc-author .tc-info .tc-role { font-size: 12px; color: var(--muted); }
    .testimonial-card .tc-stars { margin-bottom: 12px; }
    .testimonial-card .tc-stars svg { width: 14px; height: 14px; color: oklch(65% 0.18 85); }

    /* ---- Newsletter Full-bleed ---- */
    .newsletter-bleed {
      width: 100%;
      background:
        radial-gradient(ellipse 70% 60% at 20% 50%, oklch(30% 0.14 270 / 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 50%, oklch(28% 0.08 200 / 0.06) 0%, transparent 60%),
        oklch(10% 0.025 260);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }
    .newsletter-bleed::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(90deg, transparent, transparent 49px, oklch(100% 0 0 / 0.012) 49px, oklch(100% 0 0 / 0.012) 50px);
      pointer-events: none;
    }
    .newsletter-inner {
      position: relative;
      z-index: 1;
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 0 24px;
      text-align: center;
    }
    .newsletter-inner h2 {
      font-size: clamp(28px, 3.5vw, 40px);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #fff;
      margin-bottom: 8px;
    }
    .newsletter-inner p {
      font-size: 16px;
      color: oklch(100% 0 0 / 0.4);
      max-width: 48ch;
      margin: 0 auto 28px;
    }
    .newsletter-form {
      display: flex;
      gap: 8px;
      max-width: 480px;
      margin: 0 auto;
    }
    .newsletter-form input {
      flex: 1;
      padding: 14px 18px;
      border: 1px solid oklch(100% 0 0 / 0.12);
      border-radius: var(--radius-sm);
      background: oklch(100% 0 0 / 0.04);
      color: #fff;
      font: inherit;
      font-size: 15px;
      transition: border-color 0.2s;
    }
    .newsletter-form input:focus { outline: none; border-color: oklch(100% 0 0 / 0.3); }
    .newsletter-form input::placeholder { color: oklch(100% 0 0 / 0.25); }
    .newsletter-form button {
      padding: 14px 28px;
      background: oklch(58% 0.18 255);
      border: none;
      border-radius: var(--radius-sm);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: opacity 0.2s;
    }
    .newsletter-form button:hover { opacity: 0.9; }
    .newsletter-inner .nl-footnote {
      margin-top: 14px;
      font-size: 12px;
      color: oklch(100% 0 0 / 0.2);
    }

    /* ---- Tech Stack Strip ---- */
    .tech-strip {
      width: 100%;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 20px 0;
      background: var(--surface);
      overflow: hidden;
    }
    .tech-strip-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      max-width: var(--wide-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .tech-strip-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--muted);
      font-weight: 500;
      white-space: nowrap;
    }
    .tech-strip-item .ts-icon {
      width: 28px; height: 28px;
      border-radius: 4px;
      display: grid;
      place-items: center;
      font-size: 12px;
      font-weight: 700;
    }

    /* ---- Editorial Picks Row ---- */
    .picks-scroll {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 8px;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
    }
    .picks-scroll::-webkit-scrollbar { height: 4px; }
    .picks-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
    .picks-scroll::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 2px; }
    .picks-scroll .pick-card {
      flex: 0 0 280px;
      scroll-snap-align: start;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px;
      background: var(--surface);
      transition: box-shadow 0.2s;
    }
    .picks-scroll .pick-card:hover { box-shadow: var(--shadow-sm); }
    .picks-scroll .pick-card .pick-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.04em;
      margin-bottom: 8px;
    }
    .picks-scroll .pick-card h4 {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 6px;
    }
    .picks-scroll .pick-card h4 a { color: var(--fg); text-decoration: none; }
    .picks-scroll .pick-card h4 a:hover { color: var(--accent); }
    .picks-scroll .pick-card .pick-meta {
      font-size: 12px;
      color: var(--muted);
    }

    /* ---- Scroll animation ---- */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }