    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    @keyframes scanline {
      0% { transform: translateY(-100%); }
      100% { transform: translateY(100vh); }
    }

    @keyframes rotateOrb {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    :root {
      --bg: #080c14;
      --surface: #0c1220;
      --surface-2: #111928;
      --surface-3: #182030;

      --border: rgba(255,255,255,0.07);
      --border-strong: rgba(62,207,207,0.25);

      --text: #e2eaf6;
      --muted: #7a90b2;
      --faint: #5575a0;

      --primary: #3ecfcf;
      --cyan: #38d6d6;
      --gold: #c9a84c;

      --radius: 18px;

      --shadow:
        0 0 0 1px rgba(62,207,207,0.08),
        0 12px 40px rgba(0,0,0,0.5);

      --glow:
        0 0 20px rgba(62,207,207,0.16),
        0 0 60px rgba(62,207,207,0.06);

      --mono: "JetBrains Mono", monospace;
      --body: "Inter", sans-serif;

      --container: 1220px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    ::selection {
      background: rgba(62,207,207,0.2);
      color: var(--text);
    }

    :focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 3px;
    }

    @media (prefers-reduced-motion: no-preference) {
      html {
        scroll-behavior: smooth;
      }
    }

    [id] {
      scroll-margin-top: 80px;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--body);
      overflow-x: hidden;
      line-height: 1.7;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background:
        linear-gradient(rgba(62,207,207,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62,207,207,0.03) 1px, transparent 1px);
      background-size: 42px 42px;
      pointer-events: none;
      opacity: 0.45;
      filter: blur(0.2px);
      z-index: -1;
    }

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

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

    .container {
      width: min(var(--container), calc(100% - 2rem));
      margin-inline: auto;
    }

    .mb-2 { margin-bottom: 2rem; }
    .mt-2 { margin-top: 2rem; }

    .nav {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(20px);
      background: rgba(9,11,12,0.78);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      font-family: var(--mono);
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .logo-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--primary);
      box-shadow: 0 0 16px var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 1.4rem;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      font-family: var(--mono);
      font-size: 0.82rem;
      color: var(--muted);
      transition: 0.2s ease;
    }
    .nav-links .back-link { color: var(--faint); }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-cta {
      border: 1px solid var(--border-strong);
      padding: 0.7rem 1rem;
      border-radius: 999px;
      background: rgba(62,207,207,0.08);
    }

    .nav-right {
      display: flex; align-items: center; gap: 0.4rem;
      margin-left: auto;
    }
    .theme-toggle {
      background: none; border: 1px solid var(--border);
      border-radius: 8px; cursor: pointer;
      padding: 0.3rem 0.5rem; color: var(--muted);
      display: flex; align-items: center;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
      flex-shrink: 0;
    }
    .theme-toggle:hover {
      color: var(--primary);
      border-color: var(--border-strong);
      background: rgba(62,207,207,0.08);
    }

    .hero {
      overflow: hidden;
      backdrop-filter: blur(20px);
      background:
        linear-gradient(
          145deg,
          rgba(255,255,255,0.06),
          rgba(255,255,255,0.02)
        );
      padding: 8rem 0 5rem;
      position: relative;
    }

    .hero::before {
      content: "";
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(62,207,207,0.16), transparent 70%);
      top: -180px;
      right: -180px;
      filter: blur(40px);
      pointer-events: none;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent,
        rgba(62,207,207,0.03),
        transparent
      );
      pointer-events: none;
    }

    .skip-link {
      position: absolute; top: -999px; left: 1rem; z-index: 9999;
      background: var(--primary); color: #0a1422;
      padding: 0.5rem 1rem; border-radius: 8px;
      font-weight: 600; font-size: 0.85rem;
      font-family: var(--body); text-decoration: none;
    }
    .skip-link:focus { top: 1rem; }

    .scanline {
      position: fixed;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 999;
    }

    .scanline::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 120px;
      background: linear-gradient(
        to bottom,
        transparent,
        rgba(62,207,207,0.05),
        transparent
      );
    }

    .noise {
      position: fixed;
      inset: 0;
      background-image:
        radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 4px 4px;
      opacity: 0.08;
      pointer-events: none;
      z-index: -1;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--mono);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--primary);
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      border: 1px solid var(--border-strong);
      background: rgba(62,207,207,0.06);
      margin-bottom: 1.5rem;
    }

    .hero h1 {
      font-size: clamp(3rem, 8vw, 6rem);
      line-height: 0.92;
      font-family: var(--mono);
      letter-spacing: -0.06em;
      margin-bottom: 1.4rem;
    }

    .gradient {
      background: linear-gradient(135deg, var(--primary), var(--cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      max-width: 60ch;
      color: var(--muted);
      font-size: 1.05rem;
      margin-bottom: 2rem;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.95rem 1.2rem;
      border-radius: 14px;
      font-weight: 600;
      transition: transform 200ms, border-color 200ms, box-shadow 200ms, background 200ms;
    }

    .btn-primary {
      background: var(--primary);
      color: #0a1422;
      box-shadow: 0 2px 12px rgba(62,207,207,0.18);
      transition: transform 200ms, box-shadow 200ms;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(62,207,207,0.35);
    }

    .btn-secondary {
      border: 1px solid var(--border);
      background:
        linear-gradient(
          145deg,
          rgba(255,255,255,0.04),
          rgba(255,255,255,0.01)
        );
      backdrop-filter: blur(18px);
      transition: transform 200ms, border-color 200ms, box-shadow 200ms;
    }
    .btn-secondary:hover {
      transform: translateY(-2px);
      border-color: var(--border-strong);
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }

    .btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .hero-subtitle {
      display: block;
      opacity: 0.7;
      font-size: 0.22em;
      letter-spacing: 0.35em;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    .hero-status {
      display: flex;
      gap: 0.5rem;
      align-items: center;
      margin-bottom: 1rem;
      width: 100%;
      color: var(--muted);
      font-family: var(--mono);
      font-size: 0.82rem;
    }

    .status-primary { color: var(--primary); }
    .status-cyan { color: var(--cyan); }
    .status-gold { color: var(--gold); }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 2rem;
    }

    .stat {
      background: rgba(17,20,21,0.75);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1rem;
      backdrop-filter: blur(10px);
      transition: border-color 200ms, transform 200ms, box-shadow 200ms;
    }
    .stat:hover {
      border-color: var(--border-strong);
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .stat strong {
      display: block;
      font-size: 1.6rem;
      color: var(--primary);
      font-family: var(--mono);
    }

    .stat span {
      color: var(--muted);
      font-size: 0.85rem;
    }

    .terminal {
      background: rgba(17,20,21,0.82);
      border: 1px solid var(--border-strong);
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .terminal-top {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      background: rgba(255,255,255,0.02);
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
    }

    .red { background: #ff5f57; }
    .yellow { background: #febc2e; }
    .green { background: #28c840; }

    .terminal-body {
      padding: 1.5rem;
      font-family: var(--mono);
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 2;
    }

    .prompt {
      color: var(--primary);
    }

    .term-line { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
    .term-cursor {
      display: inline-block; width: 7px; height: 14px;
      background: var(--primary); vertical-align: middle;
      animation: blink 1s step-end infinite; margin-left: 2px;
    }
    @keyframes blink { 0%,100%{opacity:1}50%{opacity:0} }

    .section {
      padding: 6rem 0;
    }

    .section-head {
      margin-bottom: 2.5rem;
    }

    .section-label {
      color: var(--primary);
      font-family: var(--mono);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 0.8rem;
      margin-bottom: 0.8rem;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-family: var(--mono);
      margin-bottom: 1rem;
    }

    .section-desc {
      color: var(--muted);
      max-width: 70ch;
    }

    .architecture {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
      margin-top: 3rem;
    }

    .arch-card {
      background: linear-gradient(to bottom, rgba(62,207,207,0.06), rgba(255,255,255,0.02));
      border: 1px solid var(--border);
      padding: 1.4rem;
      border-radius: var(--radius);
      position: relative;
    }

    .arch-card::after {
      content: "\2192";
      position: absolute;
      right: -0.7rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary);
      font-size: 1.2rem;
    }

    .arch-card:last-child::after {
      display: none;
    }

    @media (max-width: 1100px) {
      .arch-card::after {
        content: "\2193";
        right: 50%;
        top: auto;
        bottom: -0.9rem;
        transform: translateX(50%);
      }
    }

    .arch-card h3 {
      font-family: var(--mono);
      margin-bottom: 0.7rem;
      color: var(--primary);
    }

    .arch-card p {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .feature-card {
      position: relative;
      overflow: hidden;
      background: rgba(17,20,21,0.72);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 1.6rem;
      transition: 0.25s ease;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      background: linear-gradient(
        135deg,
        rgba(62,207,207,0.16),
        transparent,
        rgba(56,214,214,0.12)
      );
      opacity: 0;
      transition: 0.3s ease;
      z-index: 0;
    }

    .feature-card > * {
      position: relative;
      z-index: 1;
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-card:hover {
      border-color: var(--border-strong);
      transform: translateY(-3px);
      box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px var(--border-strong);
    }

    .feature-card svg {
      color: var(--primary);
      margin-bottom: 1rem;
      width: 24px;
      height: 24px;
    }

    .feature-card h3 {
      font-family: var(--mono);
      margin-bottom: 0.8rem;
    }

    .feature-card p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .metrics {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }

    .metric {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      transition: border-color 200ms, transform 200ms, box-shadow 200ms;
    }
    .metric:hover {
      border-color: var(--border-strong);
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .metric h3 {
      color: var(--primary);
      font-size: 2rem;
      font-family: var(--mono);
      margin-bottom: 0.4rem;
    }

    .metric p {
      color: var(--muted);
    }
    .metrics-note {
      margin-top: 1.5rem;
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--faint);
      text-align: center;
      opacity: 0.65;
    }

    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .shot {
      isolation: isolate;
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--border);
      background: var(--surface);
    }

    .shot picture, .shot img {
      display: block;
      width: 100%;
    }
    .shot img {
      aspect-ratio: 16/9;
      object-fit: cover;
      transition: 0.4s ease;
    }
    .shot { position: relative; background: var(--surface); min-height: 200px; }
    .shot::before {
      content: ''; position: absolute; inset: 0; z-index: 0;
      background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
      background-size: 200% 100%;
      animation: skeletonShimmer 1.5s ease-in-out infinite;
    }
    .shot picture { position: relative; z-index: 1; }
    .shot img { position: relative; z-index: 1; }
    @keyframes skeletonShimmer {
      0%   { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    .shot:hover {
      box-shadow:
        0 0 40px rgba(62,207,207,0.14),
        0 0 120px rgba(56,214,214,0.08);
    }

    .shot:hover img {
      transform: scale(1.05);
    }

    .shot-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 40%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.5rem;
      transition: background 0.3s ease;
    }
    .shot:hover .shot-overlay { background: linear-gradient(to top, rgba(0,0,0,0.88), transparent 60%); }

    .shot-overlay h3 {
      font-family: var(--mono);
      margin-bottom: 0.5rem;
    }

    .shot-overlay ul {
      color: var(--muted);
      padding-left: 1rem;
      font-size: 0.92rem;
    }

    .explorer {
      position: relative;
      background: rgba(17,20,21,0.7);
      border: 1px solid var(--border);
      border-radius: 24px;
      overflow: hidden;
    }

    .explorer-top {
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      background: rgba(255,255,255,0.02);
    }

    .explorer-search {
      width: 100%;
      padding: 1rem;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text);
      font-family: var(--mono);
    }

    .explorer-list {
      padding: 1rem;
      display: grid;
      gap: 0.8rem;
    }

    .explorer-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: border-color 200ms, background 200ms;
    }
    .explorer-item:hover {
      border-color: var(--border-strong);
      background: rgba(62,207,207,0.04);
    }

    .explorer-item strong {
      display: block;
      font-family: var(--mono);
      margin-bottom: 0.25rem;
    }

    .explorer-item span {
      color: var(--muted);
      font-size: 0.9rem;
    }

    .explorer-top strong {
      font-family: var(--mono);
      color: var(--primary);
    }

    .explorer-empty {
      display: none;
      padding: 2.5rem 1.5rem;
      text-align: center;
      color: var(--faint);
      font-family: var(--mono);
      font-size: 0.85rem;
      border-top: 1px solid var(--border);
      background: rgba(255,255,255,0.015);
      letter-spacing: 0.05em;
    }

    .faq-list {
      display: grid;
      gap: 0.75rem;
    }

    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: border-color 0.2s ease;
      display: grid;
      grid-template-rows: auto 0fr;
      transition: grid-template-rows 0.35s ease, border-color 0.2s ease;
    }

    .faq-item[open] {
      grid-template-rows: auto 1fr;
    }

    .faq-content {
      overflow: hidden;
    }

    .faq-item:hover {
      border-color: var(--border-strong);
    }

    .faq-item summary {
      padding: 1.2rem 1.5rem;
      font-family: var(--mono);
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
    }

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

    .faq-item summary::after {
      content: "+";
      font-size: 1.2rem;
      color: var(--primary);
      transition: transform 0.2s ease;
    }

    .faq-item[open] summary::after {
      content: "−";
    }

    .faq-item p {
      padding: 0 1.5rem 1.2rem;
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .faq-item code {
      font-family: var(--mono);
      color: var(--primary);
      font-size: 0.9em;
    }

    .tag {
      font-family: var(--mono);
      color: var(--cyan);
      font-size: 0.75rem;
    }

    #scroll-progress {
      position: fixed; top: 0; left: 0; z-index: 9999;
      height: 1.5px; width: 0%;
      background: var(--primary);
      transition: width 0.1s linear;
      border-radius: 0 2px 2px 0;
      pointer-events: none;
    }

    #toTop {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 200;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--surface-2);
      border: 1px solid var(--border);
      color: var(--muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s, border-color 0.2s;
    }

    #toTop.visible {
      opacity: 1;
      pointer-events: all;
      transform: translateY(0);
    }

    #toTop:hover {
      color: var(--primary);
      border-color: var(--border-strong);
      transform: translateY(-2px);
    }

    footer {
      border-top: 1px solid var(--border);
      padding: 2rem 0;
      margin-top: 3rem;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .footer-inner p {
      color: var(--muted);
      font-family: var(--mono);
      font-size: 0.85rem;
    }

    @media (max-width: 1100px) {
      .hero-grid,
      .architecture,
      .grid-3,
      .metrics,
      .showcase-grid {
        grid-template-columns: 1fr;
      }

      .hero-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      z-index: 101;
    }
    .nav-toggle span {
      display: block;
      width: 20px;
      height: 1.5px;
      background: var(--muted);
      border-radius: 2px;
      transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    @media (max-width: 900px) {
      .grid-3 {
        grid-template-columns: repeat(2, 1fr);
      }
      .architecture {
        grid-template-columns: repeat(3, 1fr);
      }
      .arch-card::after {
        display: none;
      }
      .hero-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 720px) {
      .nav-toggle {
        display: flex;
      }
      .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0;
        background: rgba(9,11,12,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-bottom: 1px solid var(--border);
        padding-top: 70px;
      }
      .nav-links.open {
        max-height: 420px;
      }
      .nav-links li a {
        display: block;
        padding: 0.9rem 1.5rem;
        border-top: 1px solid var(--border);
        border-radius: 0;
      }
      .nav-links .nav-cta {
        margin: 0.9rem 1.5rem;
        display: inline-block;
        text-align: center;
        border-radius: 999px;
      }

      .hero {
        padding-top: 5rem;
      }

      .grid-3 {
        grid-template-columns: 1fr;
      }
      .architecture {
        grid-template-columns: 1fr;
      }
      .hero-stats {
        grid-template-columns: 1fr;
      }
    }

    @media (prefers-reduced-motion: no-preference) {
      body::before { animation: gradientShift 18s ease infinite; }
      .hero::before { animation: rotateOrb 24s linear infinite; }
      .scanline::before { animation: scanline 8s linear infinite; }
      .gradient { animation: gradientShift 8s ease infinite; }

    }

    .reveal { opacity: 1; transform: none; transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
    .js-animate .reveal { opacity: 0; transform: translateY(20px); }
    .js-animate .reveal.visible { opacity: 1; transform: translateY(0); }
    .rd1{transition-delay:0.06s;} .rd2{transition-delay:0.12s;} .rd3{transition-delay:0.18s;} .rd4{transition-delay:0.24s;}

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
      .reveal, .js-animate .reveal { opacity: 1 !important; transform: none !important; }
    }

    @media (forced-colors: active) {
      .btn-primary { background: Highlight; color: HighlightText; }
      .feature-card, .arch-card, .metric, .shot, .explorer { border: 1px solid ButtonText; }
      .nav-cta { border: 1px solid ButtonText; }
    }

    /* Light theme (syncs with main portfolio) */
    html.light {
      --bg: #e1e6ef;
      --surface: #d6dce8;
      --surface-2: #ccd3e2;
      --surface-3: #bfc7d8;
      --border: rgba(0,0,0,0.14);
      --border-strong: rgba(13,102,102,0.22);
      --text: #0b1422;
      --muted: #2f405e;
      --faint: #3a4d6b;
      --primary: #0d6666;
      --cyan: #0d9999;
      --gold: #6b4b12;
      --shadow: 0 0 0 1px rgba(13,102,102,0.08), 0 12px 40px rgba(0,0,0,0.12);
      --glow: 0 0 20px rgba(13,102,102,0.10), 0 0 60px rgba(13,102,102,0.03);
    }
    html.light body::before { opacity: 0.15; }
    html.light .nav { background: rgba(230,234,243,0.85); }
    html.light .hero { background: linear-gradient(145deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01)); }
    html.light .hero::before { opacity: 0.35; }
    html.light .hero::after { opacity: 0.3; }
    html.light .noise { opacity: 0.04; }
    html.light .feature-card { background: rgba(230,234,243,0.7); }
    html.light .terminal { background: rgba(230,234,243,0.82); }
    html.light .terminal-top { background: rgba(0,0,0,0.03); }
    html.light .explorer { background: rgba(230,234,243,0.68); }
    html.light .explorer-top { background: rgba(0,0,0,0.03); }
    html.light .stat { background: rgba(230,234,243,0.72); }
    html.light .arch-card { background: linear-gradient(to bottom, rgba(13,102,102,0.06), rgba(0,0,0,0.02)); }
    html.light .btn-secondary { background: linear-gradient(145deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01)); }
    html.light .explorer-search { background: var(--surface); color: var(--text); }
    html.light .explorer-item { background: var(--surface); }
    html.light .faq-item { background: var(--surface); }
    html.light .shot::before {
      background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
    }
    html.light .theme-toggle:hover { background: rgba(13,102,102,0.08); }
    html.light .term-out { color: var(--muted); }
    html.light .hero-subtitle { opacity: 0.5; }
    html.light .eyebrow { background: rgba(13,102,102,0.06); }
    html.light .nav-links a:hover { color: var(--primary); }
    html.light .footer-inner p { color: var(--muted); }
    html.light .arch-card::after { color: var(--primary); }
    html.light .tag { color: var(--cyan); }
    html.light .faq-item code { color: var(--primary); }
    html.light .section-label { color: var(--primary); }
    html.light .gradient {
      background: linear-gradient(135deg, var(--primary), var(--cyan));
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    html.light .hero-status .status-primary { color: var(--primary); }
    html.light .hero-status .status-cyan { color: var(--cyan); }
    html.light .hero-status .status-gold { color: var(--gold); }
    html.light .feature-card svg { color: var(--primary); }
    html.light .nav-cta { background: rgba(13,102,102,0.08); }
