  :root {
    --kiwi-green: #7CB342;
    --kiwi-bright: #9CCC65;
    --kiwi-light: #C5E1A5;
    --kiwi-core: #F5F5EE;
    --kiwi-skin: #795548;
    --kiwi-skin-light: #A1887F;
    --kiwi-dark: #33691E;
    --seed-black: #1a1a1a;
    --bg-cream: #FAFFF5;
    --accent-lime: #CDDC39;
    --pop-coral: #FF7043;
    --pop-teal: #26A69A;
    --pop-purple: #AB47BC;
    --pop-blue: #42A5F5;
    --pop-pink: #EC407A;
    --pop-amber: #FFA726;
    --vine-green: #558B2F;
    --vine-brown: #5D4037;
  }

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

  body {
    background: var(--bg-cream);
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    color: var(--seed-black);
  }

  .mono { font-family: 'JetBrains Mono', monospace; }

  /* === HERO === */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 30%, #FFFDE7 60%, #FFF8E1 100%);
  }

  .hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,179,66,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
  }

  .hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205,220,57,0.12) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
  }

  .logo-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out;
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-kiwi {
    width: 320px;
    height: 320px;
    filter: drop-shadow(0 20px 40px rgba(124,179,66,0.3));
    animation: gentleBounce 3s ease-in-out infinite;
  }

  @keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }


  .brand-name {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 4.2rem;
    margin-top: 30px;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.3s both;
  }

  .brand-name .kiwi { color: var(--kiwi-dark); }
  .brand-name .stack { color: var(--seed-black); }
  .brand-name .reg {
    font-size: 1.2rem;
    vertical-align: super;
    color: #999;
    font-weight: 400;
  }

  .brand-tagline {
    font-size: 1.15rem;
    color: #666;
    margin-top: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-align: center;
    max-width: 520px;
    line-height: 1.6;
  }

  .brand-tagline em {
    color: var(--kiwi-dark);
    font-style: normal;
    font-weight: 700;
  }

  .hero-badges {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    animation: fadeInUp 1s ease-out 0.7s both;
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
  }

  .badge.rust { background: #FFCCBC; color: #BF360C; }
  .badge.ai { background: #E1BEE7; color: #6A1B9A; }
  .badge.selfhost { background: #B2DFDB; color: #004D40; }
  .badge.oss { background: #E8F5E9; color: #2E7D32; }

  /* === SECTION COMMON === */
  .section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--kiwi-dark);
  }

  .section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.05rem;
    margin-bottom: 60px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  /* === ANATOMY SECTION === */
  .anatomy {
    padding: 100px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .anatomy-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
  }

  .anatomy-legend-left,
  .anatomy-legend-right {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 200px;
    flex-shrink: 0;
    padding: 30px 0;
  }

  .anatomy-legend-left { align-items: flex-end; }
  .anatomy-legend-right { align-items: flex-start; }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: transform 0.3s ease;
  }

  .legend-item:hover { transform: scale(1.05); }

  .legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
  }

  .legend-connector {
    width: 40px;
    height: 0;
    border-top: 2px dashed var(--conn-color, #999);
    opacity: 0.5;
    flex-shrink: 0;
  }

  .legend-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .legend-sub {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
    display: block;
  }

  .anatomy-center {
    position: relative;
    width: 380px;
    height: 380px;
    flex-shrink: 0;
  }

  .anatomy-kiwi {
    width: 380px;
    height: 380px;
  }

  /* Mobile anatomy: hidden on desktop */
  .anatomy-mobile { display: none; }

  /* === MOBILE ANATOMY (scroll-driven via GSAP ScrollTrigger) === */
  @media (max-width: 900px) {
    .anatomy-desktop { display: none; }
    .anatomy-mobile { display: block; }
    .anatomy { padding: 60px 0 0; max-width: none; }

    .anatomy-mobile-frame {
      height: 100vh;
      display: flex;
      align-items: center;
      background-color: #795548;
      overflow: hidden;
    }

    /* Title overlay inside pinned frame */
    .anatomy-mobile-header {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      text-align: center;
      padding: 20px 16px 14px;
      pointer-events: none;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .amh-title {
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--kiwi-dark);
      margin-bottom: 4px;
    }
    .amh-subtitle {
      font-size: 0.8rem;
      color: #777;
      margin-bottom: 0;
    }

    /* Override desktop .layer-* gradient backgrounds */
    .anatomy-mobile-frame.layer-skin  { background: #795548 !important; border: none !important; color: white !important; }
    .anatomy-mobile-frame.layer-flesh { background: #558B2F !important; border: none !important; color: white !important; }
    .anatomy-mobile-frame.layer-seeds { background: #1a1a1a !important; border: none !important; color: white !important; }
    .anatomy-mobile-frame.layer-core  { background: #F5F5EE !important; border: none !important; color: var(--seed-black) !important; }

    .anatomy-mobile-kiwi-clip {
      width: 35%;
      flex-shrink: 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      height: 100%;
    }

    .anatomy-kiwi-mobile {
      width: 260px;
      height: 260px;
      filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
      margin-right: -130px;
    }

    .anatomy-mobile-card-area {
      flex: 1;
      position: relative;
      height: 100%;
    }

    .anatomy-layer-card {
      position: absolute;
      left: 16px;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.22);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 20px;
      padding: 28px 24px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      opacity: 0;
      pointer-events: none;
    }

    .anatomy-layer-card.active {
      opacity: 1;
      pointer-events: auto;
    }

    .alc-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 3px solid rgba(255,255,255,0.5);
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      flex-shrink: 0;
      margin-top: 4px;
    }

    .alc-content h3 {
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 2px;
      color: white;
    }

    .alc-content p {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 6px;
    }

    .alc-desc {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.85);
      line-height: 1.5;
    }

    /* Light background layer (Core): dark text */
    .anatomy-mobile-frame.layer-core .alc-content h3 {
      color: var(--seed-black);
    }
    .anatomy-mobile-frame.layer-core .alc-content p {
      color: rgba(0,0,0,0.5);
    }
    .anatomy-mobile-frame.layer-core .alc-desc {
      color: rgba(0,0,0,0.7);
    }

    /* Progress dots */
    .anatomy-progress {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 5;
    }

    .anatomy-progress-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      transition: all 0.3s ease;
    }

    .anatomy-progress-dot.active {
      background: white;
      transform: scale(1.4);
      box-shadow: 0 0 8px rgba(255,255,255,0.5);
    }

    /* Dark dots on light background (Core only) */
    .anatomy-mobile-frame.layer-core .anatomy-progress-dot {
      background: rgba(0,0,0,0.15);
    }
    .anatomy-mobile-frame.layer-core .anatomy-progress-dot.active {
      background: var(--seed-black);
      box-shadow: 0 0 8px rgba(0,0,0,0.2);
    }

    /* Hide original title/subtitle — duplicated inside frame */
    .anatomy > .section-title,
    .anatomy > .section-subtitle {
      display: none;
    }
  }

  /* === VINE SECTION === */
  .vine-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, #1B5E20 0%, #2E7D32 30%, #33691E 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }

  .vine-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40 Q20 20 40 40 Q60 60 80 40' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='2'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
  }

  .vine-section .section-title { color: #C5E1A5; }
  .vine-section .section-subtitle { color: rgba(255,255,255,0.6); }

  .vine-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
  }

  .vine-svg {
    width: 100%;
    max-width: 700px;
    height: 200px;
  }

  .vine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .vine-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: default;
  }

  .vine-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  }

  .vine-card .vc-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .vine-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .vine-card .vc-tech {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    opacity: 0.5;
    margin-bottom: 8px;
  }

  .vine-card p {
    font-size: 0.82rem;
    opacity: 0.7;
    line-height: 1.5;
  }

  .vine-license {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
  }

  .vine-license .bsl-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #C5E1A5;
    font-weight: 600;
  }

  /* Compact vine on homepage */
  .vine-compact .vine-visual { margin-bottom: 30px; }

  .vine-cta {
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .vine-cta p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
  }

  .vine-cta-link {
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFD54F, #FF7043, #AB47BC);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255,112,67,0.35);
  }

  .vine-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,112,67,0.5);
  }

  /* === PRICING HERO === */
  .pricing-hero {
    padding: 80px 40px 40px;
    text-align: center;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 30%, #FFFDE7 60%, #FFF8E1 100%);
  }

  .pricing-hero-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--kiwi-dark);
    margin-bottom: 8px;
  }

  .pricing-hero-subtitle {
    font-size: 1.1rem;
    color: #777;
  }

  @media (max-width: 768px) {
    .pricing-hero { padding: 60px 24px 32px; }
    .pricing-hero-title { font-size: 2rem; }
  }

  /* === PRICING === */
  .pricing {
    padding: 100px 40px;
    background: linear-gradient(180deg, #F1F8E9 0%, var(--bg-cream) 100%);
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
  }

  .price-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .price-card.featured {
    border-color: var(--kiwi-green);
    box-shadow: 0 12px 32px rgba(124,179,66,0.15);
  }

  .price-card .plan-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 16px;
    font-weight: 600;
  }

  .price-card.community .plan-badge { background: #E8F5E9; color: #2E7D32; }
  .price-card.featured .plan-badge { background: var(--kiwi-green); color: white; }

  .price-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .price-card .plan-desc { color: #888; font-size: 0.9rem; margin-bottom: 24px; line-height: 1.5; }

  .price-card .plan-price {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--kiwi-dark);
    margin-bottom: 24px;
  }

  .price-card .plan-price span { font-size: 1rem; font-weight: 400; color: #999; }

  .price-card ul { list-style: none; padding: 0; }

  .price-card ul li {
    padding: 7px 0;
    font-size: 0.88rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .price-card.community ul li::before { content: '🥝'; font-size: 0.8rem; flex-shrink: 0; }
  .price-card.featured ul li::before { content: '🌿'; font-size: 0.8rem; flex-shrink: 0; }

  /* === YOUR WORKSPACE === */
  .workspace {
    padding: 100px 40px;
    background: var(--seed-black);
    color: white;
  }

  .workspace .section-title { color: var(--kiwi-bright); }
  .workspace .section-subtitle { color: rgba(255,255,255,0.5); }

  .workspace > * {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Pillars grid */
  .ws-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
  }

  .ws-pillar {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }

  .ws-pillar:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  }

  .ws-pillar-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .ws-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--ic) 15%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ic) 25%, transparent);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  }

  /* Mask-based icon coloring: renders SVG as a mask, filled with --ic color */
  .ws-i {
    display: inline-block;
    width: 22px; height: 22px;
    background-color: var(--ic, white);
    -webkit-mask: var(--icon) no-repeat center / contain;
    mask: var(--icon) no-repeat center / contain;
  }

  .ws-pillar:hover .ws-icon {
    transform: scale(1.1);
    background: color-mix(in srgb, var(--ic) 25%, transparent);
    box-shadow: 0 0 16px color-mix(in srgb, var(--ic) 35%, transparent);
  }

  .ws-pillar h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 8px;
  }

  .ws-pillar > p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .ws-pillar-capabilities {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ws-pillar-capabilities li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .ws-cap-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .ws-pillar-capabilities li strong {
    color: white;
    font-weight: 700;
  }

  /* Mockup section */
  .ws-mockup-section {
    margin-top: 80px;
    text-align: center;
  }

  .ws-mockup-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
  }

  .ws-mockup-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
  }

  /* Client mockup */
  .ws-mockup {
    display: grid;
    grid-template-columns: 56px 200px 1fr 280px;
    grid-template-rows: auto 1fr;
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    height: 580px;
    text-align: left;
  }

  /* Sidebar */
  .ws-mockup-sidebar {
    grid-row: 1 / -1;
    background: #0a0a0a;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 4px;
  }

  .ws-mockup-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    transform: translateZ(0);
  }

  .ws-mockup-icon .ws-i {
    width: 18px; height: 18px;
  }

  .ws-mockup-icon.kiwi-home {
    margin-bottom: 4px;
  }

  .ws-mockup-icon.kiwi-home img {
    display: block;
    border-radius: 50%;
  }

  .ws-sidebar-divider {
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 4px auto 8px;
  }

  .ws-mockup-icon:hover {
    background: color-mix(in srgb, var(--ic, white) 12%, transparent);
  }

  .ws-mockup-icon.active {
    background: color-mix(in srgb, var(--ic, var(--kiwi-green)) 20%, transparent);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ic, var(--kiwi-green)) 40%, transparent);
  }

  /* Main/proposal area */
  .ws-mockup-main {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .ws-default-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    overflow: hidden;
    transition: opacity 0.4s ease;
  }

  .ws-default-view {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .ws-anim-proposal {
    position: relative;
    z-index: 1;
  }

  /* Default view — email reader */
  .ws-dv-email-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .ws-dv-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.62rem;
    color: white;
    flex-shrink: 0;
  }

  .ws-dv-email-meta {
    flex: 1;
    min-width: 0;
  }

  .ws-dv-sender {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
  }

  .ws-dv-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.25);
  }

  .ws-dv-subject {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: white;
    margin-bottom: 10px;
  }

  .ws-dv-body {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    flex: 1;
  }

  /* Default view — chat messages */
  .ws-dv-msg {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  .ws-dv-msg-body {
    flex: 1;
  }

  .ws-dv-msg-name {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.9);
  }

  .ws-dv-msg-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.2);
    margin-left: 6px;
  }

  .ws-dv-msg-text {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-top: 2px;
  }

  /* Default view — calendar day strip */
  .ws-dv-cal-strip {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
  }

  .ws-dv-cal-day {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.3);
  }

  .ws-dv-cal-day span {
    display: block;
    font-weight: 700;
    font-size: 0.72rem;
    margin-top: 2px;
    color: rgba(255,255,255,0.5);
  }

  .ws-dv-cal-day.today {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
  }

  .ws-dv-cal-day.today span {
    color: var(--pop-blue);
  }

  .ws-dv-cal-event {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--pop-blue);
    margin-bottom: 6px;
  }

  .ws-dv-cal-event-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.3);
    min-width: 44px;
    flex-shrink: 0;
  }

  .ws-dv-cal-event-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
  }

  .ws-dv-cal-event-detail {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.3);
  }

  .ws-dv-cal-slot {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(255,255,255,0.06);
    margin-bottom: 6px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.12);
    font-family: 'JetBrains Mono', monospace;
  }

  /* Default view — doc editor */
  .ws-dv-doc-toolbar {
    display: flex;
    gap: 12px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 12px;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.2);
  }

  .ws-dv-doc-content {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
  }

  .ws-dv-doc-h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: white;
    margin-bottom: 4px;
  }

  .ws-dv-doc-h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.7);
    margin: 10px 0 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  /* Default view — file browser */
  .ws-dv-file-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
  }

  .ws-dv-file-row:hover { background: rgba(255,255,255,0.03); }

  .ws-dv-file-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
  }

  .ws-dv-file-name {
    flex: 1;
    font-family: 'Nunito', sans-serif;
  }

  .ws-dv-file-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.2);
    text-align: right;
  }

  /* Default view — search empty state */
  .ws-dv-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 16px;
  }

  .ws-dv-search-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }

  .ws-dv-recent-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 8px 4px;
  }

  .ws-dv-recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
  }

  .ws-dv-recent-item:hover { background: rgba(255,255,255,0.03); }

  .ws-mockup-proposal {
    padding: 0;
  }

  .ws-proposal-header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ws-proposal-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(124,179,66,0.2);
    color: var(--kiwi-bright);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .ws-proposal-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }

  .ws-proposal-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.06);
  }

  .ws-proposal-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .ws-proposal-item-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    margin-bottom: 4px;
  }

  .ws-proposal-item-detail {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    font-style: italic;
  }

  .ws-proposal-actions {
    display: flex;
    gap: 10px;
  }

  .ws-btn-apply {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s;
  }

  .ws-btn-apply:hover {
    border-color: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-1px);
  }

  .ws-btn-edit {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
  }

  .ws-btn-edit:hover {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
  }

  /* Chat panel */
  .ws-mockup-chat {
    background: #0d0d0d;
    border-left: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
  }

  .ws-chat-header {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(90deg, #FFD54F 0%, #FF7043 35%, #AB47BC 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .ws-chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
  }

  .ws-mockup-bubble {
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 95%;
  }

  .ws-mockup-bubble.user {
    background: rgba(124,179,66,0.2);
    color: var(--kiwi-bright);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
  }

  .ws-mockup-bubble.assistant {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
  }

  /* Service menu bar */
  .ws-mockup-menubar {
    grid-column: 2 / -1;
    display: flex;
    align-items: center;
    gap: 0;
    height: 36px;
    padding: 0 16px;
    background: #0e0e0e;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow-x: auto;
  }

  .ws-menubar-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    padding: 8px 12px;
    cursor: default;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }

  .ws-menubar-item.active {
    color: var(--svc-color, var(--pop-coral));
    border-bottom-color: var(--svc-color, var(--pop-coral));
  }

  .ws-menubar-item.highlight {
    color: var(--svc-color, var(--pop-coral));
    border-bottom-color: var(--svc-color, var(--pop-coral));
    background: color-mix(in srgb, var(--svc-color, var(--pop-coral)) 10%, transparent);
  }

  /* List pane */
  .ws-mockup-list {
    background: #0c0c0c;
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
    padding: 8px 0;
  }

  .ws-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    cursor: default;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .ws-list-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    margin-top: 6px;
  }

  .ws-list-item.unread .ws-list-dot {
    background: var(--svc-color, var(--pop-coral));
  }

  .ws-list-content {
    min-width: 0;
  }

  .ws-list-sender {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2px;
  }

  .ws-list-subject {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ws-list-preview {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Config list */
  .ws-list-config-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    cursor: default;
    border-left: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .ws-list-config-item.highlight {
    border-left-color: var(--svc-color, var(--pop-coral));
    background: color-mix(in srgb, var(--svc-color, var(--pop-coral)) 8%, transparent);
    color: var(--svc-color, var(--pop-coral));
  }

  /* Chat CTA buttons */
  .ws-chat-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
  }

  .ws-chat-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--pop-coral) 40%, transparent);
    background: color-mix(in srgb, var(--pop-coral) 8%, transparent);
    color: var(--pop-coral);
    cursor: default;
    transition: transform 0.15s, box-shadow 0.15s;
  }

  /* Chat input bar */
  .ws-chat-input {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    min-height: 38px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
  }

  .ws-chat-input-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--pop-coral);
    margin-left: 1px;
    animation: ws-blink 0.8s step-end infinite;
  }

  @keyframes ws-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  /* === Realistic content pane styles === */
  .ws-pane-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: white;
    margin-bottom: 12px;
  }

  .ws-pane-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 10px 0;
  }

  .ws-pane-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  .ws-pane-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    min-width: 52px;
    flex-shrink: 0;
  }

  .ws-pane-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.06);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .ws-pane-radio {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
  }

  .ws-pane-radio.active {
    background: var(--svc-color, var(--kiwi-green));
    border-color: var(--svc-color, var(--kiwi-green));
  }

  .ws-pane-check {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: 1.5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    font-size: 0.5rem;
    color: white;
    vertical-align: middle;
  }

  .ws-pane-check.checked {
    background: var(--svc-color, var(--kiwi-green));
    border-color: var(--svc-color, var(--kiwi-green));
  }

  .ws-pane-check.checked::after {
    content: '✓';
    font-size: 7px;
    line-height: 1;
  }

  .ws-pane-textarea {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 10px;
    margin: 4px 0;
  }

  .ws-pane-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    margin: 2px 3px 2px 0;
  }

  .ws-pane-section {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    margin: 8px 0 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .ws-pane-kanban {
    display: flex;
    gap: 8px;
    margin-top: 6px;
  }

  .ws-pane-kanban-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .ws-pane-kanban-col-header {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
  }

  .ws-pane-kanban-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 6px 8px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  .ws-pane-kanban-card-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2px;
  }

  .ws-pane-kanban-card-assignee {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255,255,255,0.35);
  }

  .ws-pane-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    border-radius: 6px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  .ws-pane-folder-icon {
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .ws-pane-folder-meta {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
  }

  .ws-pane-result {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  .ws-pane-result-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .ws-pane-result-body {
    flex: 1;
    min-width: 0;
  }

  .ws-pane-result-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.9);
  }

  .ws-pane-result-source {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    margin-left: 6px;
  }

  .ws-pane-result-detail {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
  }

  .ws-pane-summary {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .ws-pane-radio-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    border-radius: 6px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  .ws-pane-check-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    border-radius: 6px;
    transition: background 0.4s, box-shadow 0.4s;
  }

  /* === AI-changed field highlight === */
  .ws-ai-field {
    transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
    border-left: 2px solid transparent;
  }

  .ws-ai-field.active {
    border-left-color: var(--svc-color, var(--kiwi-green));
    background: color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 8%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 25%, transparent),
                0 0 12px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 12%, transparent);
    animation: ws-field-glow 0.6s ease-out;
  }

  @keyframes ws-field-glow {
    0% { box-shadow: 0 0 0 1px transparent, 0 0 0px transparent; }
    40% {
      box-shadow: 0 0 0 1px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 40%, transparent),
                  0 0 18px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 20%, transparent);
    }
    100% {
      box-shadow: 0 0 0 1px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 25%, transparent),
                  0 0 12px color-mix(in srgb, var(--svc-color, var(--kiwi-green)) 12%, transparent);
    }
  }

  /* === Marching dashed border on Accept button === */
  .ws-btn-apply.pulsing {
    position: relative;
    z-index: 1;
  }

  .ws-btn-apply.pulsing::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 11px;
    z-index: -1;
    pointer-events: none;
    background: conic-gradient(from 0deg, #FFD54F, #FF7043, #AB47BC, #FFD54F);
    -webkit-mask:
      repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px) 0 0 / 100% 2.5px,
      repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px) 0 100% / 100% 2.5px,
      repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 14px) 0 0 / 2.5px 100%,
      repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 14px) 100% 0 / 2.5px 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-over;
    mask:
      repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px) 0 0 / 100% 2.5px,
      repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px) 0 100% / 100% 2.5px,
      repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 14px) 0 0 / 2.5px 100%,
      repeating-linear-gradient(0deg, #000 0 8px, transparent 8px 14px) 100% 0 / 2.5px 100%;
    mask-repeat: no-repeat;
    mask-composite: add;
    animation: ws-dash-march 0.8s linear infinite;
  }

  @keyframes ws-dash-march {
    to {
      -webkit-mask-position: 14px 0, -14px 100%, 0 -14px, 100% 14px;
      mask-position: 14px 0, -14px 100%, 0 -14px, 100% 14px;
    }
  }

  /* Animation: sidebar icon glow */
  .ws-mockup-icon.glow {
    box-shadow: 0 0 12px 2px color-mix(in srgb, var(--ic, white) 40%, transparent);
  }

  /* Channel hash for chat list */
  .ws-list-hash {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
  }

  /* Desktop: hide static elements, show animated */
  @media (min-width: 901px) {
    .ws-static-proposal { display: none !important; }
    .ws-static-bubble { display: none !important; }
  }

  /* === RESOURCES === */
  .resources {
    padding: 80px 40px;
    background: linear-gradient(180deg, #F1F8E9 0%, #E8F5E9 100%);
  }

  .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
  }

  .resource-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: var(--seed-black);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
  }

  .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124,179,66,0.12);
    border-color: var(--kiwi-green);
  }

  .resource-card.coming-soon {
    opacity: 0.45;
    pointer-events: none;
  }

  .resource-card .rc-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .resource-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--kiwi-dark);
  }

  .resource-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
  }

  .cs-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 8px;
    background: var(--kiwi-light);
    color: var(--kiwi-dark);
    margin-top: 10px;
    font-weight: 600;
  }

  /* === ARCHITECTURE SHARED (used on pricing multi-host) === */
  .ar-section {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .ar-section-brown {
    max-width: none;
    background: linear-gradient(135deg, #1A237E, #311B92);
    color: white;
  }

  .ar-section-brown .ar-section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .ar-topology {
    margin: 40px 0;
    display: flex;
    justify-content: center;
  }

  .ar-topology svg {
    width: 100%;
    max-width: 900px;
    height: auto;
  }

  .footer {
    text-align: center;
    padding: 60px 40px;
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer .heart { color: var(--pop-coral); }

  .footer .eu-flag {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 50%;
  }

  /* Floating seeds */
  .floating-seed {
    position: fixed;
    width: 8px; height: 10px;
    background: var(--kiwi-green);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
  }

  .fs-1 { top: 10%; left: 5%; animation: floatSeed 12s ease-in-out infinite; }
  .fs-2 { top: 30%; right: 8%; animation: floatSeed 10s ease-in-out infinite 2s; width: 6px; height: 8px; }
  .fs-3 { top: 60%; left: 10%; animation: floatSeed 14s ease-in-out infinite 4s; width: 10px; height: 12px; }

  @keyframes floatSeed {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, -35px) rotate(180deg); }
    75% { transform: translate(20px, -15px) rotate(270deg); }
  }

  @media (max-width: 1080px) {
    .ws-mockup { grid-template-columns: 56px 170px 1fr 240px; }
  }

  @media (max-width: 900px) {
    .ws-pillars { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .ws-mockup { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; height: auto; }
    .ws-mockup-sidebar { grid-row: auto; flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 16px; overflow-x: auto; }
    .ws-mockup-menubar { grid-column: 1; }
    .ws-mockup-list { display: none; }
    .ws-mockup-chat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
    .ws-chat-input { display: none; }
    .ws-default-content { display: none !important; }
    .ws-anim-proposal { display: none !important; }
    .ws-anim-user-bubble, .ws-anim-assistant-bubble, .ws-anim-ctas { display: none !important; }
    .ws-chat-input-text, .ws-chat-input-cursor { display: none !important; }
    .ws-static-proposal, .ws-static-bubble { display: none; }
    .ws-static-proposal.visible { display: block !important; }
    .ws-static-bubble.visible { display: block !important; }
  }

  @media (max-width: 768px) {
    .hero { min-height: 90vh; padding: 40px 20px; }
    .hero-kiwi { width: 200px; height: 200px; }
    .brand-name { font-size: 2.6rem; }
    .brand-tagline { font-size: 0.95rem; letter-spacing: 1px; max-width: 90vw; }
    .hero-badges { gap: 8px; }
    .badge { font-size: 0.65rem; padding: 5px 10px; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 30px; padding: 0 10px; }
    .anatomy-center { width: 240px; height: 240px; }
    .anatomy-kiwi { width: 240px; height: 240px; }
    .anatomy-legend-left, .anatomy-legend-right { gap: 16px; }
    .legend-text { font-size: 0.85rem; }
    .legend-sub { font-size: 0.65rem; }
    .legend-dot { width: 12px; height: 12px; }
    .vine-section { padding: 60px 20px; }
    .vine-grid { grid-template-columns: 1fr; }
    .vine-visual { overflow-x: auto; }
    .pricing { padding: 60px 20px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { padding: 28px 20px; }
    .workspace { padding: 60px 20px; }
    .ws-mockup { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; height: auto; }
    .ws-mockup-sidebar { grid-row: auto; flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 16px; }
    .ws-mockup-menubar { grid-column: 1; }
    .ws-mockup-list { display: none; }
    .ws-mockup-chat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
    .ws-chat-input { display: none; }
    .ws-default-content { display: none !important; }
    .ws-anim-proposal { display: none !important; }
    .ws-anim-user-bubble, .ws-anim-assistant-bubble, .ws-anim-ctas { display: none !important; }
    .resources { padding: 60px 20px; }
    .resources-grid { grid-template-columns: 1fr 1fr; }
    .footer { padding: 40px 20px; }
  }

  @media (max-width: 480px) {
    .hero-kiwi { width: 160px; height: 160px; }
    .brand-name { font-size: 2.1rem; }
    .brand-tagline { font-size: 0.85rem; }
    .anatomy-kiwi-mobile { width: 200px; height: 200px; margin-right: -100px; }
    .anatomy-layer-card { padding: 20px 18px; }
    .alc-content h3 { font-size: 1rem; }
    .alc-desc { font-size: 0.8rem; }
    .anatomy-mobile-card-area { padding: 20px 16px 20px 12px; }
    .resources-grid { grid-template-columns: 1fr; }
    .price-card h3 { font-size: 1.4rem; }
    .price-card .plan-price { font-size: 1.8rem; }
  }

/* ============================================================
   SITE-WIDE NAV (kw-* prefix)
   ============================================================ */

.kw-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 48px;
  gap: 0;
}

.kw-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: 24px;
  flex-shrink: 0;
}

.kw-nav-brand img {
  width: 26px;
  height: 26px;
}

.kw-nav-brand span {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kiwi-dark);
}

.kw-nav-pages {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.kw-nav-page {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.kw-nav-page:hover {
  color: var(--kiwi-dark);
}

.kw-nav-page.active {
  color: var(--kiwi-dark);
  font-weight: 600;
  border-bottom-color: var(--kiwi-green);
}

.kw-nav-sep {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  flex-shrink: 0;
  margin: 0 8px;
}

.kw-nav-section {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #aaa;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
}

.kw-nav-section:hover {
  color: var(--kiwi-dark);
}

@media (max-width: 768px) {
  .kw-nav { padding: 0 16px; height: 44px; }
  .kw-nav-brand span { display: none; }
  .kw-nav-page { font-size: 0.68rem; padding: 0 10px; }
  .kw-nav-section { font-size: 0.62rem; padding: 0 8px; }
}

@media (max-width: 480px) {
  .kw-nav-page { padding: 0 8px; }
  .kw-nav-section { display: none; }
}

/* ============================================================
   NAV DROPDOWN (kw-nav-dropdown-* prefix)
   ============================================================ */

.kw-nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.kw-nav-dropdown-trigger {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  user-select: none;
}

.kw-nav-dropdown-trigger:hover {
  color: var(--kiwi-dark);
}

.kw-nav-dropdown-trigger.active {
  color: var(--kiwi-dark);
  font-weight: 600;
  border-bottom-color: var(--kiwi-green);
}

.kw-nav-caret {
  font-size: 0.55rem;
  transition: transform 0.2s;
}

.kw-nav-dropdown:hover .kw-nav-caret,
.kw-nav-dropdown.open .kw-nav-caret {
  transform: rotate(180deg);
}

.kw-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 200;
}

.kw-nav-dropdown:hover .kw-nav-dropdown-menu,
.kw-nav-dropdown.open .kw-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.kw-nav-dropdown-group {
  padding: 4px 0;
}

.kw-nav-dropdown-group + .kw-nav-dropdown-group {
  border-top: 1px solid #f0f0f0;
}

.kw-nav-dropdown-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px 2px;
}

.kw-nav-dropdown-item {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #666;
  text-decoration: none;
  padding: 6px 16px;
  transition: background 0.15s, color 0.15s;
}

.kw-nav-dropdown-item:hover {
  background: rgba(124,179,66,0.08);
  color: var(--kiwi-dark);
}

.kw-nav-dropdown-item.active {
  color: var(--kiwi-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .kw-nav-dropdown-trigger { font-size: 0.68rem; padding: 0 10px; }
  .kw-nav-dropdown-menu { min-width: 160px; }
}

@media (max-width: 480px) {
  .kw-nav-dropdown-trigger { padding: 0 8px; }
}

/* ============================================================
   COMPONENT PAGES (cp-* prefix)
   ============================================================ */

/* --- Hero --- */
.cp-hero {
  padding: 80px 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cp-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,179,66,0.10) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.cp-hero-layer {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.cp-hero-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--kiwi-dark);
  margin-bottom: 8px;
}

.cp-hero-upstream {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 16px;
}

.cp-hero-desc {
  font-size: 1.05rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* --- Meta grid --- */
.cp-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.cp-meta-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.cp-meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.cp-meta-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--kiwi-dark);
}

/* --- Section shared --- */
.cp-section {
  padding: 60px 40px;
}

.cp-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cp-section-dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

.cp-section-dark .cp-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cp-section-tinted {
  background: #F5F8F0;
}

.cp-section-tinted .cp-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cp-section-cream {
  background: var(--bg-cream);
}

.cp-section-cream .cp-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cp-h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--kiwi-dark);
  margin-bottom: 8px;
}

.cp-section-dark .cp-h2 {
  color: #fff;
}

.cp-subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.6;
}

.cp-section-dark .cp-subtitle {
  color: #999;
}

/* --- Tool cards --- */
.cp-tool-group {
  margin-bottom: 32px;
}

.cp-tool-group-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.cp-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.cp-tool {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s;
}

.cp-tool:hover {
  border-color: var(--kiwi-green);
  box-shadow: 0 4px 16px rgba(124,179,66,0.1);
  transform: translateY(-2px);
}

.cp-tool-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--kiwi-dark);
  margin-bottom: 4px;
}

.cp-tool-desc {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cp-tool-params {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cp-tool-param {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #888;
}

.cp-tool-param-required {
  background: #E8F5E9;
  color: #2E7D32;
}

/* --- Code blocks --- */
.cp-code {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0;
}

.cp-code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  color: #888;
  padding: 10px 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cp-code pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  padding: 12px 16px 16px;
  overflow-x: auto;
  color: #ccc;
}

.cp-code .hl-key { color: #9CCC65; }
.cp-code .hl-str { color: #FFB74D; }
.cp-code .hl-num { color: #81D4FA; }
.cp-code .hl-comment { color: #666; }

/* --- Filesystem tree --- */
.cp-fs-tree {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0;
}

.cp-fs-tree pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  line-height: 1.7;
  padding: 16px;
  overflow-x: auto;
  color: #ccc;
}

.cp-fs-tree .fs-dir { color: #81C784; font-weight: 600; }
.cp-fs-tree .fs-upstream { color: #FFB74D; }
.cp-fs-tree .fs-kiwi { color: #9CCC65; }
.cp-fs-tree .fs-comment { color: #666; }

/* --- Config table --- */
.cp-config-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 16px 0;
}

.cp-config-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #eee;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cp-section-dark .cp-config-table th {
  border-bottom-color: #333;
  color: #777;
}

.cp-config-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.cp-section-dark .cp-config-table td {
  border-bottom-color: #2a2a2a;
  color: #bbb;
}

.cp-config-table tr:last-child td { border-bottom: none; }

.cp-config-table .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

/* --- Architecture text --- */
.cp-arch-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cp-arch-text strong {
  color: var(--kiwi-dark);
}

/* --- Feature list (for non-MCP pages like Kiwi ID) --- */
.cp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.cp-feature {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
}

.cp-feature:hover {
  border-color: var(--kiwi-green);
  box-shadow: 0 4px 16px rgba(124,179,66,0.1);
  transform: translateY(-2px);
}

.cp-feature-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cp-feature-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kiwi-dark);
  margin-bottom: 4px;
}

.cp-feature-desc {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cp-hero { padding: 60px 24px 36px; }
  .cp-hero-title { font-size: 2rem; }
  .cp-meta { grid-template-columns: repeat(2, 1fr); }
  .cp-section { padding: 48px 24px; }
  .cp-h2 { font-size: 1.3rem; }
  .cp-tool-grid { grid-template-columns: 1fr; }
  .cp-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cp-hero-title { font-size: 1.6rem; }
  .cp-meta { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cp-hero-desc { font-size: 0.9rem; }
}

/* ============================================================
   ROADMAP PAGE (rm-* prefix)
   ============================================================ */

/* Legacy nav — kept for compat, prefer kw-nav */
.rm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.rm-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.rm-nav a:hover { color: var(--kiwi-dark); }

.rm-nav-back {
  font-weight: 600;
  color: var(--kiwi-dark) !important;
  margin-right: 8px;
  flex-shrink: 0;
}

.rm-nav-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

/* --- Hero --- */
.rm-hero {
  padding: 80px 40px 60px;
  text-align: center;
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 30%, #FFFDE7 60%, #FFF8E1 100%);
  position: relative;
  overflow: hidden;
}

.rm-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,179,66,0.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.rm-hero-logo {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 8px 20px rgba(124,179,66,0.25));
  margin-bottom: 20px;
}

.rm-hero-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--kiwi-dark);
  margin-bottom: 8px;
}

.rm-hero-subtitle {
  font-size: 1.1rem;
  color: #777;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.rm-overall-bar {
  max-width: 420px;
  margin: 0 auto;
}

.rm-overall-label {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 6px;
}

.rm-overall-pct { font-weight: 600; color: var(--kiwi-dark); }

/* --- Progress bars (shared) --- */
.rm-progress-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}

.rm-progress-fill {
  height: 100%;
  border-radius: 6px;
  width: 0%;
  transition: width 1.5s ease-out;
}

.rm-pt-cream { background: rgba(200,190,160,0.15); }
.rm-pt-light { background: rgba(0,0,0,0.06); }
.rm-pt-green-ghost { background: rgba(255,255,255,0.15); }
.rm-pt-brown-ghost { background: rgba(255,255,255,0.15); }

.rm-pf-amber { background: linear-gradient(90deg, var(--pop-amber), #FFB74D); }
.rm-pf-dark { background: linear-gradient(90deg, #444, #666); }
.rm-pf-green { background: linear-gradient(90deg, var(--kiwi-green), var(--kiwi-bright)); }
.rm-pf-brown { background: linear-gradient(90deg, var(--kiwi-skin), var(--kiwi-skin-light)); }
.rm-pf-green-light { background: linear-gradient(90deg, var(--kiwi-bright), #AED581); }
.rm-pf-brown-light { background: linear-gradient(90deg, var(--kiwi-skin-light), #BCAAA4); }

/* --- Overview grid --- */
.rm-overview {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.rm-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rm-layer-preview {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.rm-layer-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.rm-lp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rm-lp-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rm-lp-header h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.rm-lp-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #999;
}

/* --- Layer sections --- */
.rm-layer {
  padding: 80px 40px;
}

.rm-layer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.rm-layer-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.rm-layer-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }

.rm-layer-header h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

.rm-layer-header p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 2px;
}

.rm-ls-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #999;
  margin: 16px 0 6px;
}

/* Layer backgrounds */
.rm-layer-core {
  background: linear-gradient(135deg, #F5F5EE, #EEEEDF);
}

.rm-layer-seeds {
  background: linear-gradient(135deg, #FAFAFA, #F5F5F5);
}

.rm-layer-flesh {
  background: linear-gradient(135deg, #689F38, #558B2F);
  color: white;
}

.rm-layer-flesh .rm-ls-count { color: rgba(255,255,255,0.6); }
.rm-layer-flesh .rm-layer-header p { color: rgba(255,255,255,0.7); }

.rm-layer-skin {
  background: linear-gradient(135deg, #5D4037, #4E342E);
  color: white;
}

.rm-layer-skin .rm-ls-count { color: rgba(255,255,255,0.6); }
.rm-layer-skin .rm-layer-header p { color: rgba(255,255,255,0.7); }

/* --- Component rows --- */
.rm-components {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.rm-component {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: white;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.rm-component:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Component rows on dark layers */
.rm-layer-flesh .rm-component,
.rm-layer-skin .rm-component {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
}

.rm-layer-flesh .rm-component:hover,
.rm-layer-skin .rm-component:hover {
  background: rgba(255,255,255,0.16);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.rm-comp-status {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  margin-top: 2px;
}

.rm-component[data-status="in-progress"] .rm-comp-status { color: var(--pop-amber); }
.rm-component[data-status="done"] .rm-comp-status { color: var(--kiwi-green); }

.rm-layer-flesh .rm-comp-status,
.rm-layer-skin .rm-comp-status { color: rgba(255,255,255,0.4); }

.rm-comp-info { flex: 1; min-width: 0; }

.rm-comp-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.rm-comp-top h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rm-seed-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rm-comp-info > p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 8px;
}

.rm-layer-flesh .rm-comp-info > p,
.rm-layer-skin .rm-comp-info > p {
  color: rgba(255,255,255,0.7);
}

.rm-comp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rm-tech-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #777;
  font-weight: 600;
}

.rm-layer-flesh .rm-tech-tag,
.rm-layer-skin .rm-tech-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* --- Phase badges --- */
.rm-phase-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.rm-phase-1 { background: #E8F5E9; color: #2E7D32; }
.rm-phase-2 { background: #E3F2FD; color: #1565C0; }
.rm-phase-3 { background: #F3E5F5; color: #7B1FA2; }
.rm-phase-4 { background: #FFF3E0; color: #E65100; }
.rm-phase-5 { background: #E0F7FA; color: #00838F; }
.rm-phase-6 { background: #FBE9E7; color: #BF360C; }

.rm-layer-flesh .rm-phase-badge,
.rm-layer-skin .rm-phase-badge {
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
}

/* --- Phases timeline --- */
.rm-phases {
  padding: 80px 40px;
  background: var(--bg-cream);
}

.rm-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}

.rm-timeline-line {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

.rm-phase-card {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rm-phase-num {
  position: absolute;
  left: -48px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #888;
  z-index: 1;
}

.rm-phase-num-vine {
  background: linear-gradient(135deg, var(--vine-green), var(--vine-brown)) !important;
  border-color: var(--vine-green) !important;
  color: white !important;
}

.rm-phase-content {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid #eee;
  flex: 1;
  transition: all 0.3s ease;
}

.rm-phase-content:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.rm-phase-vine .rm-phase-content {
  background: linear-gradient(135deg, #E8F5E9, #EFEBE9);
  border-color: var(--vine-green);
}

.rm-phase-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--seed-black);
}

.rm-phase-content p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
}

.rm-phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.rm-ptag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.rm-ptag-core { background: #FFF8E1; color: #F57F17; }
.rm-ptag-seeds { background: #f0f0f0; color: #444; }
.rm-ptag-flesh { background: #E8F5E9; color: #2E7D32; }
.rm-ptag-skin { background: #EFEBE9; color: #5D4037; }
.rm-ptag-vine { background: linear-gradient(90deg, #E8F5E9, #EFEBE9); color: var(--vine-green); }

.rm-phase-layers {
  display: flex;
  gap: 5px;
}

.rm-layer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .rm-overview-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rm-nav { padding: 10px 16px; gap: 12px; }
  .rm-nav-links { gap: 14px; }
  .rm-hero { padding: 60px 24px 40px; }
  .rm-hero-title { font-size: 2.2rem; }
  .rm-hero-subtitle { font-size: 0.95rem; }
  .rm-overview { padding: 60px 24px; }
  .rm-layer { padding: 60px 24px; }
  .rm-phases { padding: 60px 24px; }
  .rm-layer-header h2 { font-size: 1.4rem; }
  .rm-comp-top { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 480px) {
  .rm-overview-grid { grid-template-columns: 1fr; }
  .rm-nav-links { gap: 10px; }
  .rm-nav a { font-size: 0.68rem; }
  .rm-hero-title { font-size: 1.8rem; }
  .rm-hero-logo { width: 60px; height: 60px; }
  .rm-component { flex-direction: column; gap: 10px; }
  .rm-comp-status { width: auto; height: auto; }
  .rm-phase-tags { gap: 4px; }
  .rm-ptag { font-size: 0.58rem; }
}

