:root {
      color-scheme: dark;
      --bg-void: #060a10;
      --bg-studio: #0a1019;
      --bg-panel: rgba(14, 22, 35, 0.78);
      --bg-panel-elevated: rgba(20, 31, 48, 0.86);
      --bg-glass: rgba(18, 28, 44, 0.62);
      --ink-primary: #edf3fa;
      --ink-secondary: #b4c5d8;
      --ink-muted: #7e93ab;
      --silver-bright: #e3edf8;
      --silver-mid: #9fb4cb;
      --cyan-accent: #38bdf8;
      --cyan-strong: #0ea5e9;
      --cyan-soft: rgba(56, 189, 248, 0.13);
      --cyan-border: rgba(56, 189, 248, 0.42);
      --line-subtle: rgba(166, 196, 228, 0.13);
      --line-strong: rgba(186, 214, 242, 0.24);
      --shadow-studio: 0 28px 60px -16px rgba(2, 6, 13, 0.78);
      --shadow-card: 0 18px 40px -14px rgba(2, 6, 13, 0.65);
      --radius-lg: 20px;
      --radius-md: 14px;
      --radius-sm: 9px;
      --gutter: clamp(20px, 4.8vw, 72px);
      --max-w: 1360px;
      --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
      --font-mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, ui-monospace, monospace;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-void);
      color: var(--ink-primary);
      font-family: var(--font-sans);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: clip;
    }

    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: clip;
      background:
        radial-gradient(ellipse 68% 46% at 74% 12%, rgba(36, 82, 138, 0.24), transparent 72%),
        radial-gradient(ellipse 52% 38% at 18% 28%, rgba(22, 53, 88, 0.18), transparent 75%),
        linear-gradient(180deg, #070b12 0%, #09101a 46%, #070b11 100%);
      color: var(--ink-primary);
    }

    ::selection {
      background: rgba(56, 189, 248, 0.28);
      color: #ffffff;
    }

    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #070b11;
    }
    ::-webkit-scrollbar-thumb {
      background: #223247;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #334b68;
    }

    a {
      color: inherit;
      text-decoration: none;
      text-underline-offset: 4px;
    }

    button {
      font: inherit;
      color: inherit;
      cursor: pointer;
    }

    img, svg {
      display: block;
      max-width: 100%;
    }

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

    .skip-link {
      position: fixed;
      top: -64px;
      left: 16px;
      z-index: 100;
      padding: 10px 18px;
      border-radius: var(--radius-sm);
      background: var(--silver-bright);
      color: #070c14;
      font-weight: 700;
      font-size: 14px;
      transition: top 0.18s ease;
    }
    .skip-link:focus {
      top: 14px;
    }

    .wrap {
      width: min(100%, var(--max-w));
      margin-inline: auto;
      padding-inline: var(--gutter);
    }

    /* Top Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      height: 72px;
      background: rgba(7, 11, 18, 0.82);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--line-subtle);
    }

    .header-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand-cluster {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand-monogram {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, #dbe9f8 0%, #8ea9c4 52%, #59738f 100%);
      color: #08101a;
      font-family: var(--font-mono);
      font-weight: 800;
      font-size: 14px;
      letter-spacing: -0.03em;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 20px -6px rgba(2, 6, 14, 0.72);
      flex-shrink: 0;
    }

    .wordmark {
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--ink-primary);
      white-space: nowrap;
    }

    .prototype-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid var(--line-strong);
      background: rgba(19, 31, 48, 0.75);
      color: var(--ink-secondary);
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .prototype-pill::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--cyan-accent);
    }

    .site-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .site-nav a {
      font-size: 14px;
      font-weight: 600;
      color: var(--ink-secondary);
      padding: 6px 2px;
      transition: color 0.18s ease;
    }

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

    .menu-toggle {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line-strong);
      background: rgba(16, 25, 39, 0.8);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
    }

    .menu-toggle span {
      width: 18px;
      height: 1.8px;
      background: var(--ink-primary);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* Section 1: Asymmetric Editorial Hero */
    .hero {
      position: relative;
      padding-block: clamp(44px, 6vw, 84px) clamp(52px, 6.5vw, 88px);
      border-bottom: 1px solid var(--line-subtle);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.28fr);
      gap: clamp(32px, 4.2vw, 60px);
      align-items: center;
    }

    .hero-editorial {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .hero h1 {
      margin: 0 0 22px;
      font-size: clamp(36px, 4.3vw, 58px);
      line-height: 1.13;
      font-weight: 800;
      letter-spacing: -0.035em;
      color: var(--ink-primary);
      text-wrap: balance;
    }

    .hero h1 em {
      font-style: normal;
      color: #bfe0ff;
      font-weight: 800;
    }

    .hero-lead {
      margin: 0 0 30px;
      max-width: 52ch;
      font-size: clamp(16px, 1.25vw, 18px);
      line-height: 1.72;
      color: var(--ink-secondary);
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 14px;
      margin-bottom: 34px;
      width: 100%;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 50px;
      padding: 0 24px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.24);
      background: linear-gradient(180deg, #e7f1fb 0%, #c4d9ef 100%);
      color: #08121e;
      font-size: 15px;
      font-weight: 750;
      box-shadow: 0 12px 28px -8px rgba(2, 6, 14, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.85);
      transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
      white-space: nowrap;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      background: linear-gradient(180deg, #f2f7fd 0%, #d4e6f8 100%);
      box-shadow: 0 16px 32px -8px rgba(2, 6, 14, 0.84), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 50px;
      padding: 0 20px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line-strong);
      background: rgba(16, 26, 40, 0.72);
      color: var(--ink-primary);
      font-size: 15px;
      font-weight: 600;
      transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
      white-space: nowrap;
    }

    .btn-secondary:hover {
      border-color: var(--cyan-border);
      background: rgba(22, 36, 56, 0.9);
      transform: translateY(-1px);
    }

    .btn-icon {
      width: 17px;
      height: 17px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
      flex-shrink: 0;
    }

    /* Quick Channel Status Ledger in Hero */
    .hero-channel-ledger {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      padding-top: 22px;
      border-top: 1px solid var(--line-subtle);
    }

    .ledger-item {
      padding: 13px 15px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line-subtle);
      background: rgba(13, 21, 33, 0.68);
      display: flex;
      flex-direction: column;
      gap: 5px;
      min-width: 0;
    }

    .ledger-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .ledger-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--ink-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ledger-code {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--cyan-accent);
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    .ledger-meta {
      font-size: 12px;
      color: var(--ink-muted);
      line-height: 1.45;
    }

    /* Hero Right: Studio Live Inspection Stage */
    .hero-stage {
      position: relative;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line-strong);
      background: linear-gradient(155deg, rgba(24, 38, 58, 0.82) 0%, rgba(11, 18, 29, 0.92) 100%);
      box-shadow: var(--shadow-studio), inset 0 1px 0 rgba(235, 245, 255, 0.16);
      padding: 18px;
      overflow: hidden;
    }

    .stage-chrome {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 4px 6px 14px;
      border-bottom: 1px solid var(--line-subtle);
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .stage-title-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .window-dots {
      display: inline-flex;
      gap: 6px;
      flex-shrink: 0;
    }

    .window-dots i {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(180, 204, 230, 0.28);
    }

    .stage-caption {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--ink-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .archive-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 6px;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.34);
      color: #bae6fd;
      font-size: 11.5px;
      font-weight: 600;
      white-space: nowrap;
    }

    .hero-screen-frame {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(168, 198, 230, 0.2);
      background: #0b1220;
      aspect-ratio: 1240 / 850;
    }

    .hero-screen-frame img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: opacity 0.22s ease;
    }

    .hero-stage-switch {
      margin-top: 14px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .stage-pill-btn {
      padding: 9px 12px;
      border-radius: 8px;
      border: 1px solid var(--line-subtle);
      background: rgba(11, 18, 28, 0.65);
      color: var(--ink-secondary);
      text-align: left;
      transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      min-width: 0;
    }

    .stage-pill-btn strong {
      font-size: 12.5px;
      font-weight: 650;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .stage-pill-btn span {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--ink-muted);
      flex-shrink: 0;
    }

    .stage-pill-btn[aria-pressed="true"] {
      border-color: var(--cyan-border);
      background: rgba(20, 37, 58, 0.92);
      color: var(--ink-primary);
    }

    .stage-pill-btn[aria-pressed="true"] span {
      color: var(--cyan-accent);
    }

    /* Section Common */
    .section {
      padding-block: clamp(56px, 7vw, 96px);
      border-bottom: 1px solid var(--line-subtle);
    }

    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: clamp(32px, 4vw, 48px);
      flex-wrap: wrap;
    }

    .section-header h2 {
      margin: 0;
      font-size: clamp(28px, 3.2vw, 42px);
      line-height: 1.18;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--ink-primary);
    }

    .section-header p {
      margin: 10px 0 0;
      max-width: 60ch;
      font-size: 15.5px;
      line-height: 1.68;
      color: var(--ink-secondary);
    }

    .section-meta-note {
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--line-subtle);
      background: rgba(14, 23, 36, 0.72);
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--ink-secondary);
      font-variant-numeric: tabular-nums;
    }

    /* Section 2: Dual Software Release Bays (#software) */
    .release-grid {
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      gap: 24px;
      margin-bottom: clamp(48px, 6vw, 76px);
    }

    .release-card {
      position: relative;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line-strong);
      background: linear-gradient(150deg, rgba(22, 35, 54, 0.86) 0%, rgba(12, 19, 31, 0.94) 100%);
      box-shadow: var(--shadow-card), inset 0 1px 0 rgba(235, 245, 255, 0.14);
      padding: clamp(24px, 3vw, 34px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 26px;
      transition: border-color 0.22s ease, transform 0.22s ease;
    }

    .release-card.primary-release {
      border-color: rgba(125, 211, 252, 0.38);
      background:
        radial-gradient(ellipse 75% 55% at 92% 8%, rgba(56, 189, 248, 0.13), transparent 70%),
        linear-gradient(150deg, rgba(25, 41, 64, 0.9) 0%, rgba(12, 20, 33, 0.96) 100%);
    }

    .release-card:hover {
      border-color: rgba(147, 213, 255, 0.52);
      transform: translateY(-2px);
    }

    .release-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .release-badge-group {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .app-tile {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, #e4effb 0%, #8ca8c6 100%);
      color: #0b1624;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px -8px rgba(2, 8, 20, 0.7);
      flex-shrink: 0;
    }

    .release-card.secondary-release .app-tile {
      background: linear-gradient(145deg, #27394f 0%, #162231 100%);
      color: #d8e8f8;
      border: 1px solid rgba(165, 198, 232, 0.32);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }

    .app-tile svg {
      width: 28px;
      height: 28px;
    }

    .channel-tag {
      font-family: var(--font-mono);
      font-size: 11.5px;
      padding: 4px 10px;
      border-radius: 6px;
      border: 1px solid var(--line-subtle);
      background: rgba(9, 15, 24, 0.65);
      color: var(--ink-secondary);
      white-space: nowrap;
    }

    .release-body h3 {
      margin: 0 0 10px;
      font-size: clamp(22px, 2.1vw, 28px);
      line-height: 1.24;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .release-body p {
      margin: 0 0 18px;
      font-size: 15px;
      line-height: 1.72;
      color: var(--ink-secondary);
    }

    .capability-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .capability-chips li {
      padding: 5px 11px;
      border-radius: 6px;
      border: 1px solid var(--line-subtle);
      background: rgba(10, 17, 27, 0.6);
      font-size: 12.5px;
      color: var(--silver-bright);
    }

    .release-manifest {
      padding: 16px 18px;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-subtle);
      background: rgba(7, 12, 20, 0.72);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .manifest-slot {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }

    .manifest-label {
      font-size: 11.5px;
      color: var(--ink-muted);
    }

    .manifest-value {
      font-family: var(--font-mono);
      font-size: 13.5px;
      font-weight: 700;
      color: var(--cyan-accent);
      font-variant-numeric: tabular-nums;
    }

    .manifest-sub {
      font-family: var(--font-mono);
      font-size: 11.5px;
      color: var(--ink-secondary);
      word-break: break-all;
    }

    .download-prototype-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 44px;
      padding: 0 18px;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(186, 230, 253, 0.45);
      background: linear-gradient(180deg, #d8ecff 0%, #b5d5f6 100%);
      color: #081320;
      font-size: 14px;
      font-weight: 750;
      white-space: nowrap;
      transition: transform 0.16s ease, background 0.16s ease;
    }

    .release-card.secondary-release .download-prototype-btn {
      background: rgba(25, 43, 66, 0.95);
      color: var(--ink-primary);
      border-color: var(--cyan-border);
    }

    .download-prototype-btn:hover {
      transform: translateY(-1px);
    }

    /* Tactile Software Screenshot Drawer Deck */
    .workbench-drawer-section {
      border-radius: var(--radius-lg);
      border: 1px solid var(--line-strong);
      background: linear-gradient(160deg, rgba(16, 26, 40, 0.85) 0%, rgba(9, 15, 24, 0.95) 100%);
      padding: clamp(20px, 3vw, 34px);
      box-shadow: var(--shadow-studio);
    }

    .drawer-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .drawer-header h3 {
      margin: 0 0 8px;
      font-size: clamp(22px, 2.3vw, 30px);
      font-weight: 800;
      letter-spacing: -0.025em;
    }

    .drawer-header p {
      margin: 0;
      font-size: 14px;
      color: var(--ink-secondary);
      line-height: 1.6;
    }

    .drawer-workbench {
      display: grid;
      grid-template-columns: 330px minmax(0, 1fr);
      gap: 22px;
      align-items: stretch;
    }

    .drawer-rail {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .drawer-card {
      position: relative;
      width: 100%;
      padding: 18px 18px 18px 20px;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-subtle);
      background: rgba(12, 20, 32, 0.72);
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .drawer-card:hover {
      border-color: var(--line-strong);
      background: rgba(18, 29, 45, 0.85);
    }

    .drawer-card[data-active="true"] {
      border-color: var(--cyan-border);
      background: linear-gradient(145deg, rgba(24, 42, 66, 0.96), rgba(14, 25, 40, 0.96));
      box-shadow: 0 14px 30px -10px rgba(2, 8, 18, 0.75), inset 0 1px 0 rgba(186, 230, 253, 0.2);
      transform: translateX(4px);
    }

    .drawer-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .drawer-index {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--ink-muted);
      font-variant-numeric: tabular-nums;
    }

    .drawer-card[data-active="true"] .drawer-index {
      color: var(--cyan-accent);
    }

    .drawer-state-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(148, 179, 214, 0.1);
      color: var(--ink-muted);
    }

    .drawer-card[data-active="true"] .drawer-state-tag {
      background: var(--cyan-soft);
      color: #bae6fd;
    }

    .drawer-card strong {
      font-size: 17px;
      font-weight: 750;
      color: var(--ink-primary);
    }

    .drawer-card p {
      margin: 0;
      font-size: 13.5px;
      line-height: 1.55;
      color: var(--ink-secondary);
    }

    .drawer-subtools {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding-top: 4px;
    }

    .drawer-subtools span {
      font-size: 11.5px;
      padding: 3px 8px;
      border-radius: 5px;
      background: rgba(7, 12, 20, 0.65);
      border: 1px solid rgba(154, 184, 218, 0.14);
      color: var(--silver-mid);
    }

    .drawer-card[data-active="true"] .drawer-subtools span {
      color: var(--silver-bright);
      border-color: rgba(56, 189, 248, 0.26);
    }

    /* Right Layered Viewport of Tactile Drawer */
    .drawer-stage {
      position: relative;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-strong);
      background:
        radial-gradient(circle at 50% 35%, rgba(36, 68, 106, 0.35), rgba(9, 15, 25, 0.96) 75%);
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 14px;
      overflow: hidden;
    }

    .drawer-stage-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .drawer-stage-title {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 14px;
      font-weight: 700;
      color: var(--ink-primary);
      min-width: 0;
    }

    .drawer-stage-title code {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--cyan-accent);
      background: rgba(8, 14, 23, 0.75);
      padding: 3px 8px;
      border-radius: 5px;
      border: 1px solid var(--line-subtle);
    }

    .drawer-canvas-stack {
      position: relative;
      width: 100%;
      aspect-ratio: 1240 / 850;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(175, 205, 238, 0.22);
      background: #0b1220;
      box-shadow: 0 22px 44px -12px rgba(0, 0, 0, 0.8);
    }

    .drawer-sheet {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      pointer-events: none;
      transform: translate3d(14px, 0, 0) scale(0.985);
      transition: opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .drawer-sheet[data-sheet-active="true"] {
      opacity: 1;
      pointer-events: auto;
      transform: translate3d(0, 0, 0) scale(1);
    }

    .drawer-sheet img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .drawer-stage-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 12.5px;
      color: var(--ink-muted);
      flex-wrap: wrap;
    }

    /* Section 3: Secondary Hardware Section (#hardware) */
    .hardware-primary-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-bottom: 20px;
    }

    .hardware-secondary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .board-card {
      border-radius: var(--radius-lg);
      border: 1px solid var(--line-strong);
      background: linear-gradient(155deg, rgba(18, 29, 44, 0.82) 0%, rgba(10, 16, 26, 0.92) 100%);
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .board-card:hover {
      border-color: var(--cyan-border);
      transform: translateY(-2px);
    }

    .board-photo-well {
      position: relative;
      height: 230px;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-subtle);
      background:
        radial-gradient(ellipse 68% 62% at 50% 46%, rgba(44, 72, 104, 0.42), rgba(9, 15, 24, 0.95) 85%);
      display: grid;
      place-items: center;
      padding: 20px;
      overflow: hidden;
    }

    .board-photo-well img {
      max-width: 100%;
      max-height: 186px;
      width: auto;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 16px 20px rgba(2, 6, 13, 0.78));
      transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .board-photo-well.rotate-cw img {
      max-width: 186px;
      max-height: 186px;
      transform: rotate(90deg);
    }

    .board-card:hover .board-photo-well:not(.rotate-cw) img {
      transform: scale(1.04);
    }

    .board-card:hover .board-photo-well.rotate-cw img {
      transform: rotate(90deg) scale(1.04);
    }

    .board-code-tag {
      position: absolute;
      top: 12px;
      left: 14px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--silver-mid);
      background: rgba(7, 12, 20, 0.72);
      padding: 3px 8px;
      border-radius: 5px;
      border: 1px solid var(--line-subtle);
      white-space: nowrap;
    }

    .board-provenance-tag {
      position: absolute;
      bottom: 10px;
      right: 12px;
      font-size: 11px;
      color: var(--ink-muted);
      background: rgba(7, 12, 20, 0.78);
      padding: 2px 8px;
      border-radius: 4px;
    }

    .board-body h3 {
      margin: 0 0 8px;
      font-size: 21px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .board-model-line {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12.5px;
      color: var(--cyan-accent);
      margin-bottom: 10px;
      white-space: nowrap;
    }

    .board-body p {
      margin: 0;
      font-size: 14px;
      line-height: 1.65;
      color: var(--ink-secondary);
    }

    .board-foot {
      padding-top: 14px;
      border-top: 1px solid var(--line-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .board-cpu-chip {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--ink-muted);
      font-variant-numeric: tabular-nums;
    }

    .board-spec-trigger {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 13px;
      border-radius: 8px;
      border: 1px solid var(--line-strong);
      background: rgba(15, 25, 39, 0.8);
      color: var(--ink-primary);
      font-size: 13px;
      font-weight: 650;
      transition: border-color 0.18s ease, background 0.18s ease;
      white-space: nowrap;
    }

    .board-spec-trigger:hover {
      border-color: var(--cyan-border);
      background: rgba(23, 39, 60, 0.95);
    }

    /* Footer (#about) */
    .site-footer {
      padding-block: 48px 56px;
      background: #05080d;
    }

    .footer-grid {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
    }

    .footer-brand strong {
      display: block;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 6px;
    }

    .footer-brand span {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--ink-muted);
      letter-spacing: 0.14em;
    }

    .footer-notes {
      max-width: 62ch;
      font-size: 13.5px;
      line-height: 1.7;
      color: var(--ink-muted);
    }

    .footer-notes p {
      margin: 0 0 6px;
    }

    /* Hardware Spec Modal */
    .spec-dialog {
      width: min(680px, calc(100% - 28px));
      max-height: min(88dvh, 780px);
      overflow-y: auto;
      padding: 28px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line-strong);
      background: #0d1624;
      color: var(--ink-primary);
      box-shadow: 0 32px 80px rgba(0, 0, 0, 0.82);
    }

    .spec-dialog::backdrop {
      background: rgba(3, 7, 12, 0.76);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .dialog-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--line-subtle);
      margin-bottom: 20px;
    }

    .dialog-head h2 {
      margin: 4px 0 0;
      font-size: 26px;
      font-weight: 800;
    }

    .dialog-code {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--cyan-accent);
    }

    .dialog-close {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--line-subtle);
      background: rgba(18, 29, 45, 0.8);
      font-size: 20px;
      line-height: 1;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }

    .dialog-photo-box {
      height: 220px;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-subtle);
      background: radial-gradient(circle at 50% 50%, rgba(42, 71, 104, 0.38), rgba(8, 13, 21, 0.96));
      display: grid;
      place-items: center;
      padding: 18px;
      margin-bottom: 20px;
      overflow: hidden;
    }

    .dialog-photo-box[hidden] {
      display: none;
    }

    .dialog-photo-box img {
      max-height: 184px;
      max-width: 100%;
      object-fit: contain;
    }

    .dialog-photo-box[data-orientation="clockwise"] img {
      max-width: 184px;
      transform: rotate(90deg);
    }

    .dialog-spec-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 16px;
    }

    .spec-box {
      padding: 16px;
      border-radius: var(--radius-md);
      border: 1px solid var(--line-subtle);
      background: rgba(14, 23, 36, 0.8);
    }

    .spec-box h3 {
      margin: 0 0 12px;
      font-size: 14px;
      font-weight: 700;
      color: var(--silver-bright);
    }

    .spec-box dl {
      margin: 0;
      display: grid;
      grid-template-columns: minmax(76px, 0.65fr) minmax(0, 1.35fr);
      gap: 8px 10px;
      font-size: 13px;
      line-height: 1.5;
    }

    .spec-box dt {
      color: var(--ink-muted);
    }

    .spec-box dd {
      margin: 0;
      color: var(--ink-primary);
      overflow-wrap: anywhere;
    }

    .dialog-note {
      margin: 18px 0 0;
      padding-top: 14px;
      border-top: 1px solid var(--line-subtle);
      font-size: 13px;
      line-height: 1.65;
      color: var(--ink-secondary);
    }

    /* Responsive Breakpoints (1024px & 390px) */
    @media (max-width: 1120px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .release-grid {
        grid-template-columns: 1fr;
      }
      .drawer-workbench {
        grid-template-columns: 1fr;
      }
      .drawer-card[data-active="true"] {
        transform: none;
      }
      .hardware-primary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 760px) {
      :root {
        --gutter: 18px;
      }
      .site-header {
        height: 64px;
      }
      .prototype-pill {
        display: none;
      }
      .menu-toggle {
        display: inline-flex;
      }
      .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 18px var(--gutter);
        background: rgba(8, 13, 21, 0.96);
        border-bottom: 1px solid var(--line-strong);
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
      }
      .site-nav.is-open {
        display: flex;
      }
      .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
      }
      .btn-primary, .btn-secondary {
        width: 100%;
      }
      .hero-channel-ledger {
        grid-template-columns: 1fr;
      }
      .hero-stage {
        padding: 14px;
      }
      .hero-stage-switch {
        grid-template-columns: 1fr;
      }
      .release-manifest {
        flex-direction: column;
        align-items: stretch;
      }
      .download-prototype-btn {
        width: 100%;
      }
      .hardware-primary-grid,
      .hardware-secondary-grid,
      .dialog-spec-grid {
        grid-template-columns: 1fr;
      }
      .spec-dialog {
        padding: 20px 16px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .drawer-card[data-active="true"] {
        transform: none !important;
      }
    }

    /* Review pass: a bright, software-first visual system. Dark tool panels are
       intentional insets that keep the actual interface captures legible. */
    :root {
      color-scheme: light;
      --bg-void: #f3f7fc;
      --bg-studio: #edf4fb;
      --ink-primary: #112238;
      --ink-secondary: #415873;
      --ink-muted: #657b94;
      --cyan-accent: #1765d1;
      --cyan-strong: #0b56c2;
      --cyan-border: rgba(22, 99, 213, 0.4);
      --line-subtle: rgba(33, 80, 131, 0.13);
      --line-strong: rgba(33, 80, 131, 0.21);
      --shadow-studio: 0 30px 75px -34px rgba(28, 66, 112, 0.4);
      --shadow-card: 0 24px 56px -32px rgba(26, 56, 100, 0.38);
    }
    html { background: #f3f7fc; }
    body {
      background: linear-gradient(180deg, #f8fbff 0%, #eaf2fb 38%, #f7faff 100%);
    }
    .site-header {
      background: rgba(250, 253, 255, 0.85);
      box-shadow: 0 1px 0 rgba(26, 75, 126, 0.07);
    }
    .prototype-pill, .ledger-item {
      background: rgba(255, 255, 255, 0.68);
    }
    .ledger-head { flex-wrap: wrap; }
    .ledger-name { white-space: normal; overflow: visible; text-overflow: clip; }
    .ledger-code { font-size: 10px; }
    .menu-toggle { background: #fff; }
    .hero {
      background:
        linear-gradient(90deg, rgba(245, 250, 255, 0.96) 0%, rgba(245, 250, 255, 0.88) 41%, rgba(245, 250, 255, 0.52) 100%),
        url('./assets/homepage-ambient.png') center / cover no-repeat;
    }
    .hero h1 em { color: #1670d6; }
    .btn-primary {
      color: #fff;
      border-color: #1764d3;
      background: linear-gradient(145deg, #277ef0, #1259c9);
      box-shadow: 0 15px 28px -13px rgba(11, 84, 190, 0.55), inset 0 1px rgba(255, 255, 255, 0.22);
    }
    .btn-primary:hover {
      background: linear-gradient(145deg, #378dfa, #1565de);
      box-shadow: 0 18px 32px -12px rgba(11, 84, 190, 0.6);
    }
    .btn-secondary {
      background: rgba(255, 255, 255, 0.74);
      color: #17304b;
    }
    .btn-secondary:hover { background: #fff; }
    .hero-stage, .release-card, .workbench-drawer-section, .board-card,
    .spec-dialog, .site-footer {
      --ink-primary: #edf3fa;
      --ink-secondary: #b4c5d8;
      --ink-muted: #8ca1b8;
      --cyan-accent: #65c9ff;
      --cyan-border: rgba(91, 194, 255, 0.42);
      --line-subtle: rgba(166, 196, 228, 0.13);
      --line-strong: rgba(186, 214, 242, 0.24);
      color: var(--ink-primary);
    }
    .release-card, .board-card { min-width: 0; }
    .release-grid, .release-grid > *, .release-card > *, .release-top,
    .release-body, .release-manifest { min-width: 0; }
    .release-card code, .release-card .manifest-sub {
      overflow-wrap: anywhere;
    }
    .site-footer { background: #0c1a2c; }
    @media (max-width: 1120px) {
      .release-grid { grid-template-columns: minmax(0, 1fr); }
    }
    @media (max-width: 760px) {
      .site-nav { background: rgba(248, 251, 255, 0.98); }
      .hero { background-position: 58% center; }
      .release-top { flex-wrap: wrap; }
      .release-badge-group { min-width: 0; flex-wrap: wrap; }
    }
