    /* ============================================
       Reset & Base
       ============================================ */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      /* Gruvbox Dark */
      --bg: #1d2021;
      --bg-subtle: #282828;
      --bg-card: #3c3836;
      --text: #ebdbb2;
      --text-secondary: #a89984;
      --text-muted: #665c54;
      --accent: #fe8019;
      --accent-light: #fabd2f;
      --accent-bg: rgba(254,128,25,0.1);
      --accent-dark: #d65d0e;
      --gruv-red: #fb4934;
      --gruv-green: #8ec07c;
      --gruv-teal: #83a598;
      --gruv-yellow: #b8bb26;
      --gruv-purple: #d3869b;
      --radius: 12px;
      --radius-lg: 20px;
      --max-w: 960px;
      --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
      --border: rgba(235,219,178,0.08);
      --border-hover: rgba(235,219,178,0.15);
      --shadow: rgba(0,0,0,0.3);
    }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    /* ============================================
       Typography
       ============================================ */
    .hero-text {
      font-size: clamp(2.2rem, 5.5vw, 3.8rem);
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.02em;
    }

    .section-title {
      font-size: clamp(1.5rem, 3.5vw, 2.2rem);
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .section-subtitle {
      font-size: 1.125rem;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    .label {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
    }

    a { color: var(--accent); text-decoration: none; }
    a:hover { color: var(--accent-dark); }

    /* ============================================
       Layout
       ============================================ */
    .container {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px;
    }

    section {
      padding: clamp(60px, 10vw, 120px) 0;
    }

    /* ============================================
       Nav
       ============================================ */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 16px 24px;
      transition: background 0.3s, box-shadow 0.3s;
    }

    nav.scrolled {
      background: rgba(29, 32, 33, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--border);
    }

    nav .nav-inner {
      max-width: var(--max-w);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-mark {
      width: 28px;
      height: 28px;
      background: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      font-size: 0.9rem;
    }

    .nav-links a {
      color: var(--text-secondary);
      transition: color 0.2s;
    }

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

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 20px;
      background: var(--accent);
      color: white;
      border-radius: 8px;
      font-size: 0.9rem;
      font-weight: 500;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-primary:hover {
      background: var(--accent-dark);
      color: white;
      transform: translateY(-1px);
    }

    /* ============================================
       Hero
       ============================================ */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: clamp(80px, 15vw, 160px) 24px 80px;
      position: relative;
    }

    #hero::before {
      content: '';
      position: absolute;
      top: -20%;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(254,128,25,0.06) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-content { position: relative; z-index: 1; }

    .hero-label {
      display: inline-block;
      margin-bottom: 24px;
    }

    .hero-text {
      margin-bottom: 20px;
    }

    .hero-text .highlight {
      color: var(--accent);
      position: relative;
    }

    .hero-tagline {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: var(--text-secondary);
      margin-bottom: 48px;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-cta {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-large {
      padding: 14px 32px;
      font-size: 1rem;
      border-radius: 10px;
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 14px 32px;
      background: transparent;
      color: var(--text-secondary);
      border: 1px solid rgba(235,219,178,0.12);
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.2s;
    }

    .btn-secondary:hover {
      border-color: rgba(235,219,178,0.25);
      color: var(--text);
      transform: translateY(-1px);
    }

    .scroll-hint {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      color: var(--text-muted);
      font-size: 0.8rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      opacity: 0.6;
    }

    .scroll-hint .arrow {
      width: 20px;
      height: 20px;
      border-right: 1.5px solid var(--text-muted);
      border-bottom: 1.5px solid var(--text-muted);
      transform: rotate(45deg);
      animation: bounce-down 2s infinite;
    }

    @keyframes bounce-down {
      0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
      50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
    }

    /* ============================================
       Reframe
       ============================================ */
    #reframe {
      background: var(--bg-subtle);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .reframe-statement {
      font-size: clamp(1.4rem, 3vw, 2rem);
      font-weight: 600;
      line-height: 1.4;
      max-width: 680px;
      margin-bottom: 48px;
    }

    .reframe-statement .highlight {
      color: var(--accent);
    }

    .scenario {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 40px;
      max-width: 640px;
      position: relative;
      box-shadow: 0 1px 3px var(--shadow);
    }

    .scenario::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent-light));
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .scenario p {
      font-size: 1.05rem;
      line-height: 1.9;
      color: var(--text-secondary);
    }

    .scenario p + p { margin-top: 16px; }

    .scenario .emphasis {
      color: var(--text);
      font-weight: 500;
    }

    /* ============================================
       Before / After Compare
       ============================================ */
    #compare {
      padding: 100px 24px;
      background: var(--bg);
    }

    .compare-grid {
      display: flex;
      align-items: stretch;
      gap: 24px;
      max-width: 860px;
      margin: 48px auto 0;
    }

    .compare-card {
      flex: 1;
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--bg-card);
      border: 1px solid var(--border);
      box-shadow: 0 2px 12px var(--shadow);
      display: flex;
      flex-direction: column;
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
    }

    .compare-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }

    .compare-before { border-top: 3px solid #665c54; }
    .compare-after { border-top: 3px solid var(--accent); }

    .compare-card img {
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      display: block;
    }

    .compare-badge {
      display: inline-block;
      padding: 6px 14px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      margin: 16px 20px 0;
      border-radius: 6px;
    }

    .compare-before .compare-badge {
      background: rgba(102,92,84,0.3);
      color: #a89984;
    }

    .compare-after .compare-badge {
      background: var(--accent-bg);
      color: var(--accent);
    }

    .compare-desc {
      padding: 12px 20px 24px;
    }

    .compare-desc strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 8px;
      color: var(--text);
    }

    .compare-desc p {
      font-size: 0.88rem;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    .compare-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 0.6;
    }

    @media (max-width: 640px) {
      .compare-grid {
        flex-direction: column;
      }
      .compare-divider {
        transform: rotate(90deg);
      }
    }

    /* ============================================
       CODE System
       ============================================ */
    .code-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 48px;
    }

    @media (min-width: 640px) {
      .code-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 768px) {
      .code-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .code-card {
      padding: 32px;
      border-radius: var(--radius-lg);
      background: var(--bg-card);
      border: 1px solid var(--border);
      transition: transform 0.25s, box-shadow 0.25s;
    }

    .code-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(254,128,25,0.1);
    }

    .code-card .icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      margin-bottom: 16px;
    }

    .code-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .code-card .card-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 12px;
    }

    .code-card p {
      font-size: 0.95rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .icon-capture { background: rgba(251,73,52,0.12); color: #fb4934; }
    .icon-compile { background: rgba(131,165,152,0.12); color: #83a598; }
    .icon-distill { background: rgba(254,128,25,0.12); color: #fe8019; }
    .icon-maintain { background: rgba(142,192,124,0.12); color: #8ec07c; }
    .icon-visualize { background: rgba(211,134,155,0.12); color: #d3869b; }
    .icon-express { background: rgba(250,189,47,0.12); color: #fabd2f; }

    /* ============================================
       Card Icon SVG Animations
       ============================================ */
    .icon svg { width: 22px; height: 22px; }

    /* Capture: paper falling into inbox */
    @keyframes capture-drop {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(2px); }
    }
    .icon-capture svg .doc { animation: capture-drop 2.5s ease-in-out infinite; }

    /* Compile: pieces snapping into place */
    @keyframes compile-shift {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(1px, -1px); }
    }
    .icon-compile svg .piece { animation: compile-shift 2s ease-in-out infinite; }
    .icon-compile svg .piece:nth-child(2) { animation-delay: 0.3s; }

    /* Distill: light pulse / glow */
    @keyframes distill-glow {
      0%, 100% { opacity: 0.6; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.15); }
    }
    .icon-distill svg .glow { animation: distill-glow 2s ease-in-out infinite; }

    /* Maintain: rotating gear */
    @keyframes maintain-spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .icon-maintain svg .gear {
      transform-origin: center;
      animation: maintain-spin 6s linear infinite;
    }

    /* Visualize: chart bars growing */
    @keyframes visualize-bar {
      0%, 100% { transform: scaleY(0.5); }
      50% { transform: scaleY(1); }
    }
    .icon-visualize svg .bar {
      transform-origin: bottom;
      animation: visualize-bar 2s ease-in-out infinite;
    }
    .icon-visualize svg .bar:nth-child(2) { animation-delay: 0.2s; }
    .icon-visualize svg .bar:nth-child(3) { animation-delay: 0.4s; }
    .icon-visualize svg .bar:nth-child(4) { animation-delay: 0.6s; }

    /* Express: pen writing stroke */
    @keyframes express-draw {
      0% { stroke-dashoffset: 20; }
      50% { stroke-dashoffset: 0; }
      100% { stroke-dashoffset: -20; }
    }
    .icon-express svg .stroke {
      stroke-dasharray: 10 10;
      animation: express-draw 3s linear infinite;
    }

    /* Prefers reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .icon-capture svg .doc,
      .icon-compile svg .piece,
      .icon-distill svg .glow,
      .icon-maintain svg .gear,
      .icon-visualize svg .bar,
      .icon-express svg .stroke,
      .scroll-hint .arrow {
        animation: none !important;
      }
      .reveal { transition: opacity 0.3s !important; transform: none !important; }
    }

    .closing-line {
      margin-top: 48px;
      text-align: center;
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--accent);
    }

    /* ============================================
       Skills Preview
       ============================================ */
    .skills-frame {
      max-width: 860px;
      margin: 48px auto 0;
    }

    .skills-toolbar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-bottom: 1px solid var(--border);
      background: rgba(40,40,40,0.3);
    }

    .skills-search {
      flex: 1;
      max-width: 180px;
      height: 28px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      padding: 0 10px;
      font-size: 0.72rem;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .skills-search svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }

    .skills-filter-chip {
      font-size: 0.68rem;
      padding: 4px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      color: var(--text-muted);
      background: transparent;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .skills-filter-chip.active {
      border-color: rgba(254,128,25,0.4);
      background: rgba(254,128,25,0.06);
      color: var(--accent);
    }

    .skills-filter-chip svg { width: 10px; height: 10px; }

    .skills-body {
      padding: 16px;
      overflow: hidden;
    }

    .skills-group-header {
      font-size: 0.68rem;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

    .skills-group-header .gline {
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .skills-group-header .gcount {
      font-weight: 400;
      text-transform: none;
      color: rgba(102,92,84,0.7);
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-bottom: 20px;
    }

    @media (min-width: 640px) {
      .skills-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .sk-card {
      padding: 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      transition: border-color 0.15s, box-shadow 0.15s;
      cursor: default;
    }

    .sk-card:hover {
      border-color: rgba(254,128,25,0.25);
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .sk-top {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sk-toggle {
      width: 28px;
      height: 16px;
      border-radius: 8px;
      background: var(--accent);
      position: relative;
      flex-shrink: 0;
    }

    .sk-toggle .knob {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ebdbb2;
      position: absolute;
      top: 2px;
      right: 2px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .sk-name {
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--text);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
      min-width: 0;
    }

    .sk-source {
      font-size: 0.58rem;
      font-weight: 600;
      padding: 1px 6px;
      border-radius: 4px;
      flex-shrink: 0;
    }

    .src-vault { background: rgba(131,165,152,0.15); color: #83a598; }
    .src-claude { background: rgba(254,128,25,0.15); color: #fe8019; }

    .sk-desc {
      font-size: 0.68rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-top: 6px;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .sk-badges {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
    }

    .sk-badge {
      font-size: 0.58rem;
      font-weight: 500;
      padding: 1px 6px;
      border-radius: 4px;
    }

    .stage-capture { background: rgba(184,187,38,0.12); color: #b8bb26; }
    .stage-organize { background: rgba(131,165,152,0.12); color: #83a598; }
    .stage-distill { background: rgba(142,192,124,0.12); color: #8ec07c; }
    .stage-express { background: rgba(211,134,155,0.12); color: #d3869b; }

    .cat-badge { background: rgba(254,128,25,0.1); color: var(--accent); }

    .sk-tags {
      display: flex;
      gap: 4px;
      margin-top: 6px;
      flex-wrap: wrap;
    }

    .sk-tag {
      font-size: 0.58rem;
      padding: 1px 5px;
      border-radius: 4px;
      background: rgba(102,92,84,0.3);
      color: var(--text-muted);
    }

    /* ============================================
       Local First & Pricing
       ============================================ */
    #local-first {
      background: var(--bg-subtle);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .local-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      margin-top: 48px;
    }

    @media (min-width: 768px) {
      .local-grid { grid-template-columns: 1fr 1fr; }
    }

    .local-col h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .local-col h3 svg {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    .local-points {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .local-point {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .local-point .lp-icon {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .local-point .lp-icon svg {
      width: 14px;
      height: 14px;
    }

    .lp-vault { background: rgba(131,165,152,0.12); color: #83a598; }
    .lp-key { background: rgba(254,128,25,0.12); color: #fe8019; }
    .lp-file { background: rgba(184,187,38,0.12); color: #b8bb26; }
    .lp-mem { background: rgba(211,134,155,0.12); color: #d3869b; }
    .lp-unlock { background: rgba(142,192,124,0.12); color: #8ec07c; }

    .local-point strong {
      display: block;
      font-size: 0.92rem;
      font-weight: 500;
      margin-bottom: 2px;
      color: var(--text);
    }

    .local-point p {
      font-size: 0.85rem;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .pricing-cards {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .pricing-card {
      padding: 24px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg-card);
      transition: border-color 0.2s;
    }

    .pricing-card:hover {
      border-color: rgba(235,219,178,0.15);
    }

    .pricing-card.featured {
      border-color: rgba(254,128,25,0.35);
      box-shadow: 0 0 0 1px rgba(254,128,25,0.08);
    }

    .pricing-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .pricing-header h4 {
      font-size: 1rem;
      font-weight: 600;
    }

    .pricing-tag {
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
    }

    .tag-free { background: rgba(142,192,124,0.12); color: #8ec07c; }
    .tag-pro { background: rgba(254,128,25,0.15); color: #fe8019; }

    .pricing-desc {
      font-size: 0.88rem;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .pricing-features {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.85rem;
      color: var(--text-secondary);
      list-style: none;
    }

    .pricing-features li svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      color: var(--accent);
    }

    /* ============================================
       Product Preview
       ============================================ */
    #preview {
      background: var(--bg-subtle);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .preview-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 48px;
    }

    @media (min-width: 900px) {
      .preview-grid { grid-template-columns: 1fr 1fr; }
    }

    /* Shared frame shell — mimics Electron window */
    .preview-frame {
      background: var(--bg);
      border-radius: 12px;
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
      display: flex;
      flex-direction: column;
      min-height: 440px;
    }

    .frame-titlebar {
      display: flex;
      align-items: center;
      height: 36px;
      padding: 0 12px;
      border-bottom: 1px solid var(--border);
      background: var(--bg-subtle);
      flex-shrink: 0;
      gap: 6px;
    }

    .frame-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

    .frame-dot:first-child { background: #FF5F57; }
    .frame-dot:nth-child(2) { background: #FEBC2E; }
    .frame-dot:nth-child(3) { background: #28C840; }

    .frame-title {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-left: 8px;
      font-weight: 500;
    }

    .frame-body {
      display: flex;
      flex: 1;
      min-height: 0;
    }

    /* === Sidebar === */
    .frame-sidebar {
      width: 56px;
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 0;
      gap: 4px;
      background: rgba(40,40,40,0.5);
      flex-shrink: 0;
    }

    .sidebar-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      color: var(--text-muted);
      font-size: 0.85rem;
      transition: all 0.15s;
    }

    .sidebar-icon.active {
      background: var(--accent-bg);
      color: var(--accent);
    }

    .sidebar-icon svg { width: 20px; height: 20px; }

    /* === Dashboard Preview === */
    .dash-content {
      flex: 1;
      padding: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .dash-tabs {
      display: flex;
      gap: 0;
      border-bottom: 1px solid var(--border);
      margin-bottom: 4px;
    }

    .dash-tab {
      font-size: 0.75rem;
      padding: 6px 14px;
      color: var(--text-muted);
      border-bottom: 2px solid transparent;
      font-weight: 500;
    }

    .dash-tab.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .metric-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .metric-card {
      padding: 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--bg-subtle);
    }

    .metric-card .mc-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 8px;
      font-size: 0.85rem;
    }

    .mc-icon.notes { background: rgba(254,128,25,0.12); color: var(--accent); }
    .mc-icon.words { background: rgba(142,192,124,0.12); color: #8ec07c; }
    .mc-icon.health { background: rgba(250,189,47,0.12); color: #fabd2f; }

    .metric-card .mc-value {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1;
    }

    .metric-card .mc-label {
      font-size: 0.65rem;
      color: var(--text-muted);
      margin-top: 3px;
    }

    #chart-area {
      height: 160px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg-subtle);
    }

    /* === Chat Preview === */
    .chat-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .chat-messages {
      flex: 1;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow: hidden;
    }

    .msg-user {
      display: flex;
      justify-content: flex-end;
      padding: 0 32px;
    }

    .msg-user .bubble {
      max-width: 420px;
      padding: 10px 16px;
      border-radius: 16px;
      background: var(--bg-subtle);
      border: 1px solid var(--border);
      font-size: 0.85rem;
      line-height: 1.6;
      color: var(--text);
    }

    .msg-thinking {
      padding: 0 48px;
    }

    .msg-thinking .think-header {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.7rem;
      color: var(--text-muted);
      font-weight: 500;
      margin-bottom: 6px;
    }

    .msg-thinking .think-header svg {
      width: 14px;
      height: 14px;
      opacity: 0.5;
    }

    .msg-thinking .think-body {
      padding-left: 20px;
      border-left: 2px solid rgba(102,92,84,0.3);
      font-size: 0.7rem;
      color: rgba(102,92,84,0.7);
      line-height: 1.6;
    }

    .msg-tool {
      padding: 0 48px;
    }

    .tool-card {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--bg-subtle);
      font-size: 0.7rem;
    }

    .tool-badge {
      padding: 2px 8px;
      border-radius: 4px;
      background: rgba(142,192,124,0.15);
      color: #8ec07c;
      font-size: 0.65rem;
      font-weight: 600;
      flex-shrink: 0;
    }

    .tool-summary {
      color: var(--text-muted);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .msg-ai {
      padding: 0 16px;
    }

    .msg-ai .bubble {
      font-size: 0.82rem;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    .msg-ai .bubble strong {
      color: var(--text);
    }

    .msg-ai .bubble .note-ref {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 1px 6px;
      border-radius: 4px;
      background: var(--accent-bg);
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 500;
    }

    /* Chat input area */
    .chat-input-area {
      border-top: 1px solid var(--border);
      padding: 12px 16px;
    }

    .chat-input-box {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--bg-subtle);
    }

    .chat-input-box .placeholder {
      flex: 1;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .chat-input-box .send-btn {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }

    .chat-input-box .send-btn svg { width: 16px; height: 16px; }

    .preview-label {
      text-align: center;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 16px;
    }

    /* ============================================
       Zero Barrier
       ============================================ */
    #zero {
      text-align: center;
      background: rgba(254,128,25,0.06);
      border-radius: 0;
    }

    #zero .section-title {
      margin-bottom: 20px;
    }

    .zero-steps {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 480px;
      margin: 40px auto 0;
      text-align: left;
    }

    .zero-step {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .zero-step .step-num {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--accent);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 600;
      margin-top: 2px;
    }

    .zero-step p {
      font-size: 1.05rem;
      line-height: 1.7;
    }

    .zero-step .emphasis {
      color: var(--accent);
      font-weight: 500;
    }

    /* ============================================
       Methodology
       ============================================ */
    .method-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      margin-top: 48px;
    }

    @media (min-width: 640px) {
      .method-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .method-card {
      padding: 32px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg-card);
      text-align: center;
    }

    .method-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 20px;
      border: 2px solid rgba(254,128,25,0.2);
      box-shadow: 0 2px 12px rgba(254,128,25,0.1);
    }

    .method-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .method-avatar-icon {
      border-color: rgba(250,189,47,0.25);
      box-shadow: 0 2px 12px rgba(250,189,47,0.1);
      background: rgba(250,189,47,0.08);
    }

    .method-card h3 {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .method-card .origin {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .method-card p {
      font-size: 0.95rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ============================================
       Users
       ============================================ */
    .user-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-top: 48px;
    }

    @media (min-width: 640px) {
      .user-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (min-width: 768px) {
      .user-grid { grid-template-columns: repeat(5, 1fr); }
    }

    .user-card {
      text-align: center;
      padding: 28px 16px;
      border-radius: var(--radius);
      background: var(--bg-card);
      border: 1px solid var(--border);
      transition: border-color 0.2s;
    }

    .user-card:hover {
      border-color: rgba(254,128,25,0.3);
    }

    .user-card .user-icon {
      font-size: 1.6rem;
      margin-bottom: 10px;
      display: block;
    }

    .user-card h4 {
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .user-card p {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ============================================
       CTA
       ============================================ */
    #cta {
      text-align: center;
      position: relative;
    }

    #cta::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 400px;
      background: radial-gradient(circle, rgba(254,128,25,0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-quote {
      font-size: clamp(1.5rem, 3.5vw, 2.2rem);
      font-weight: 700;
      line-height: 1.35;
      max-width: 640px;
      margin: 0 auto 16px;
    }

    .cta-tagline {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-bottom: 48px;
    }

    .cta-features {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 40px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .cta-features span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .cta-features .dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.5;
    }

    /* ============================================
       Footer
       ============================================ */
    /* ============================================
       Owl Pet — Narrative Companion
       ============================================ */
    #owl-pet {
      position: fixed;
      right: 28px;
      bottom: 28px;
      width: 96px;
      height: 96px;
      z-index: 100;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1);
      filter: drop-shadow(0 6px 16px rgba(254,128,25,0.2));
      background: var(--bg-subtle);
      border-radius: 50%;
      border: 2px solid rgba(254,128,25,0.15);
      overflow: hidden;
    }

    #owl-pet.visible {
      opacity: 1;
    }

    #owl-pet img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    #owl-pet.bounce {
      animation: owlBounce 0.5s cubic-bezier(0.34,1.56,0.64,1);
    }

    @keyframes owlBounce {
      0% { transform: scale(1) translateY(0); }
      40% { transform: scale(1.15) translateY(-8px); }
      100% { transform: scale(1) translateY(0); }
    }

    @media (max-width: 768px) {
      #owl-pet {
        width: 72px;
        height: 72px;
        right: 16px;
        bottom: 16px;
      }
    }

    footer {
      border-top: 1px solid var(--border);
      padding: 32px 0;
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    footer a {
      color: var(--text-secondary);
      margin: 0 12px;
    }

    /* ============================================
       Scroll Reveal Animation
       ============================================ */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }

    /* Hero animation — no scroll trigger, plays on load */
    .hero-animate {
      opacity: 0;
      transform: translateY(20px);
      animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .hero-animate-d1 { animation-delay: 0.1s; }
    .hero-animate-d2 { animation-delay: 0.25s; }
    .hero-animate-d3 { animation-delay: 0.4s; }
    .hero-animate-d4 { animation-delay: 0.55s; }

    @keyframes hero-in {
      to { opacity: 1; transform: translateY(0); }
    }

    /* ============================================
       Responsive
       ============================================ */
    @media (max-width: 640px) {
      .nav-links .nav-text { display: none; }
      .scenario { padding: 28px; }
      .code-card { padding: 24px; }
      .method-card { padding: 24px; }
    }
