    /* ===================== TOKENS ===================== */
    :root {
      --bg: #0b1020;
      --panel: #0f172a;
      --panel-2: #111827;
      --muted: #94a3b8;
      --text: #e5e7eb;
      --brand: #22d3ee;
      --brand-2: #a78bfa;
      --ring: #334155;
      --success: #34d399;
      --radius: 20px;
    }

    /* ===================== RESET ===================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      background:
        radial-gradient(1000px 600px at 10% 0%, rgba(34,211,238,.09), transparent 60%),
        radial-gradient(800px 500px at 90% 5%, rgba(167,139,250,.12), transparent 60%),
        var(--bg);
      color: var(--text);
      line-height: 1.65;
      min-height: 100vh;
    }
    a { color: var(--brand); text-decoration: none; }
    a:hover { opacity: .85; }
    ul { list-style: none; }

    /* ===================== PROGRESS BAR ===================== */
    #progress-bar {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, var(--brand), var(--brand-2));
      z-index: 9999;
      transition: width .1s linear;
      border-radius: 0 2px 2px 0;
    }

    /* ===================== NAV ===================== */
    #main-nav {
      position: fixed;
      top: 3px; left: 0; right: 0;
      z-index: 900;
      background: rgba(11,16,32,.82);
      backdrop-filter: blur(14px) saturate(140%);
      border-bottom: 1px solid rgba(148,163,184,.1);
      transition: box-shadow .3s;
    }
    #main-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
    .nav-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: .95rem;
      letter-spacing: .3px;
      white-space: nowrap;
    }
    .nav-brand .brand-separator {
      color: var(--ring);
      font-weight: 700;
      font-size: .85rem;
    }
    .nav-brand .nav-logo {
      height: 28px;
      width: auto;
      flex-shrink: 0;
      display: block;
    }
    .nav-brand .nav-logo-synenergy {
      height: 30px;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .nav-links a {
      color: var(--muted);
      font-size: .83rem;
      font-weight: 600;
      padding: 6px 10px;
      border-radius: 8px;
      transition: color .2s, background .2s;
      white-space: nowrap;
    }
    .nav-links a:hover,
    .nav-links a.active { color: var(--brand); background: rgba(34,211,238,.08); }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: 10px;
      border: 1px solid rgba(34,211,238,.35);
      background: rgba(34,211,238,.08);
      color: var(--brand);
      font-size: .83rem;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s, border-color .2s;
      white-space: nowrap;
    }
    .nav-cta:hover { background: rgba(34,211,238,.15); border-color: var(--brand); }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      border-radius: 8px;
      border: none;
      background: transparent;
    }
    .hamburger span {
      display: block;
      width: 22px; height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all .25s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-menu {
      display: none;
      flex-direction: column;
      gap: 4px;
      padding: 12px 24px 16px;
      border-top: 1px solid rgba(148,163,184,.1);
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 600;
      padding: 9px 12px;
      border-radius: 8px;
      transition: color .2s, background .2s;
    }
    .mobile-menu a:hover,
    .mobile-menu a.active { color: var(--brand); background: rgba(34,211,238,.07); }

    /* ===================== LAYOUT ===================== */
    .page {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
    }
    section { padding: 80px 0; }
    section:first-of-type { padding-top: 120px; }

    /* ===================== SECTION LABEL ===================== */
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 14px;
    }
    .section-label::before {
      content: '';
      display: inline-block;
      width: 18px; height: 2px;
      background: var(--brand);
      border-radius: 2px;
    }

    /* ===================== HEADINGS ===================== */
    h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; }
    h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 800; }
    h3 { font-size: 1.1rem; font-weight: 700; }
    .lead { font-size: clamp(1rem, 1.8vw, 1.15rem); color: #cbd5e1; margin-top: 14px; max-width: 640px; }

    /* ===================== CARDS ===================== */
    .card {
      background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(15,23,42,.7));
      border: 1px solid rgba(148,163,184,.14);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: 0 8px 40px rgba(0,0,0,.3);
    }
    .card-glow {
      border-color: rgba(34,211,238,.2);
      box-shadow: 0 8px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(34,211,238,.07), inset 0 0 40px rgba(34,211,238,.03);
    }

    /* ===================== PILL ===================== */
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .78rem;
      font-weight: 600;
      color: var(--muted);
      border: 1px dashed rgba(148,163,184,.3);
      padding: 5px 10px;
      border-radius: 999px;
    }
    .pill.brand { color: var(--brand); border-color: rgba(34,211,238,.3); }
    .pill.violet { color: var(--brand-2); border-color: rgba(167,139,250,.3); }

    /* ===================== BUTTONS ===================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.2);
      background: linear-gradient(180deg, rgba(34,211,238,.15), rgba(167,139,250,.12));
      color: var(--text);
      font-size: .9rem;
      font-weight: 700;
      cursor: pointer;
      transition: border-color .2s, background .2s, transform .15s;
      font-family: inherit;
    }
    .btn:hover { border-color: var(--brand); transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      border-color: transparent;
      color: #0b1020;
      font-weight: 800;
    }
    .btn-primary:hover { opacity: .92; transform: translateY(-2px); border-color: transparent; }

    /* ===================== HERO SECTION ===================== */
    #hero {
      padding-top: 120px;
      padding-bottom: 80px;
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 32px;
      align-items: center;
    }
    @media (max-width: 800px) { #hero { grid-template-columns: 1fr; } }
    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .hero-title-em {
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 24px;
    }
    .hero-meta .sep { color: var(--ring); }
    .hero-aside {
      text-align: center;
    }
    .hero-aside .card {
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .hero-icon {
      width: 64px; height: 64px;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(167,139,250,.2));
      border: 1px solid rgba(34,211,238,.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }
    .scroll-hint {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: .83rem;
      margin-top: 40px;
      animation: bounce 2s ease-in-out infinite;
    }
    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(6px); }
    }

    /* ===================== DIVIDER ===================== */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(148,163,184,.15), transparent);
      margin: 0;
    }

    /* ===================== BACKGROUND SECTION ===================== */
    .background-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 36px;
    }
    @media (max-width: 700px) { .background-grid { grid-template-columns: 1fr; } }
    .bg-card {
      padding: 24px;
      border-radius: 16px;
      border: 1px solid rgba(148,163,184,.12);
      background: linear-gradient(160deg, rgba(15,23,42,.9), rgba(15,23,42,.6));
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s;
    }
    .bg-card:hover { border-color: rgba(34,211,238,.25); transform: translateY(-3px); }
    .bg-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      border-radius: 16px 16px 0 0;
    }
    .bg-card.cyan::before { background: linear-gradient(90deg, var(--brand), transparent); }
    .bg-card.violet::before { background: linear-gradient(90deg, var(--brand-2), transparent); }
    .bg-card-icon {
      font-size: 1.8rem;
      margin-bottom: 12px;
    }
    .bg-card h3 { margin-bottom: 8px; }
    .bg-card p { color: var(--muted); font-size: .92rem; }

    /* ===================== APPROACH SECTION ===================== */
    .approach-tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 32px;
      margin-bottom: 24px;
    }
    .tab-btn {
      padding: 9px 16px;
      border-radius: 10px;
      border: 1px solid rgba(148,163,184,.2);
      background: rgba(15,23,42,.6);
      color: var(--muted);
      font-size: .85rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
      font-family: inherit;
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .tab-btn:hover { border-color: var(--brand); color: var(--text); }
    .tab-btn.active {
      background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(167,139,250,.14));
      border-color: var(--brand);
      color: var(--brand);
    }
    .tab-panel { display: none; animation: fadeIn .3s ease; }
    .tab-panel.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .approach-items {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 14px;
      margin-top: 20px;
    }
    .approach-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 16px;
      border-radius: 12px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(148,163,184,.1);
      font-size: .9rem;
      color: var(--text);
      transition: border-color .2s;
    }
    .approach-item:hover { border-color: rgba(34,211,238,.2); }
    .approach-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

    /* ===================== SCOPE SECTION ===================== */
    .scope-list {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .scope-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px 20px;
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,.1);
      background: linear-gradient(180deg, rgba(15,23,42,.8), rgba(15,23,42,.5));
      transition: border-color .3s, transform .3s;
      opacity: 0;
      transform: translateX(-20px);
    }
    .scope-item.revealed { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, border-color .3s, box-shadow .3s; }
    .scope-item:hover { border-color: rgba(52,211,153,.25); transform: translateX(4px); }
    .scope-check {
      width: 22px; height: 22px;
      border-radius: 6px;
      background: linear-gradient(135deg, rgba(52,211,153,.2), rgba(34,211,238,.2));
      border: 1px solid rgba(52,211,153,.3);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
      font-size: .8rem;
      color: var(--success);
    }
    .scope-item-title { font-weight: 700; font-size: .95rem; }
    .scope-item-desc { color: var(--muted); font-size: .85rem; margin-top: 3px; }

    /* ===================== SUCCESS SECTION ===================== */
    .success-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 18px;
      margin-top: 32px;
    }
    .success-card {
      padding: 22px;
      border-radius: 16px;
      border: 1px solid rgba(148,163,184,.12);
      background: linear-gradient(160deg, rgba(15,23,42,.9), rgba(15,23,42,.6));
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s;
    }
    .success-card:hover { border-color: rgba(52,211,153,.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
    .success-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--success), var(--brand));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s ease;
    }
    .success-card:hover::after { transform: scaleX(1); }
    .success-num {
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .08em;
      color: var(--success);
      margin-bottom: 10px;
    }
    .success-card h3 { font-size: .95rem; margin-bottom: 8px; }
    .success-card p { color: var(--muted); font-size: .85rem; }

    /* ===================== EXPANSION SECTION ===================== */
    .expansion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
      margin-top: 32px;
    }
    .expansion-card {
      padding: 20px;
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,.1);
      background: rgba(15,23,42,.7);
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: border-color .3s, transform .3s;
      cursor: default;
    }
    .expansion-card:hover {
      border-color: rgba(167,139,250,.3);
      transform: translateY(-4px);
      background: linear-gradient(160deg, rgba(167,139,250,.08), rgba(15,23,42,.9));
    }
    .expansion-card .exp-icon { font-size: 1.6rem; }
    .expansion-card h3 { font-size: .92rem; font-weight: 700; }
    .expansion-card p { color: var(--muted); font-size: .82rem; }

    /* ===================== TIMELINE SECTION ===================== */
    .timeline {
      margin-top: 36px;
      position: relative;
      padding-left: 32px;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 10px; top: 8px; bottom: 8px;
      width: 2px;
      background: linear-gradient(180deg, var(--brand), var(--brand-2));
      border-radius: 2px;
    }
    .timeline-item {
      position: relative;
      margin-bottom: 28px;
      opacity: 0;
      transform: translateX(-16px);
    }
    .timeline-item.revealed { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
    .timeline-item:last-child { margin-bottom: 0; }
    .timeline-dot {
      position: absolute;
      left: -27px;
      top: 12px;
      width: 16px; height: 16px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 0 0 4px rgba(34,211,238,.12);
      transition: box-shadow .3s;
    }
    .timeline-item:hover .timeline-dot { box-shadow: 0 0 0 6px rgba(34,211,238,.2); }
    .timeline-card {
      padding: 18px 20px;
      border-radius: 14px;
      border: 1px solid rgba(148,163,184,.12);
      background: linear-gradient(180deg, rgba(15,23,42,.9), rgba(15,23,42,.6));
      transition: border-color .3s;
    }
    .timeline-item:hover .timeline-card { border-color: rgba(34,211,238,.25); }
    .timeline-phase {
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 6px;
    }
    .timeline-card h3 { font-size: .95rem; margin-bottom: 5px; }
    .timeline-card p { color: var(--muted); font-size: .85rem; }

    /* ===================== INVESTMENT SECTION ===================== */
    .investment-wrap {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 24px;
      align-items: start;
      margin-top: 36px;
    }
    @media (max-width: 700px) { .investment-wrap { grid-template-columns: 1fr; } }
    .investment-card {
      background: linear-gradient(135deg, rgba(34,211,238,.1), rgba(167,139,250,.12));
      border: 1px solid rgba(34,211,238,.3);
      border-radius: 24px;
      padding: 36px 32px;
      text-align: center;
      box-shadow: 0 0 60px rgba(34,211,238,.07);
    }
    .investment-label {
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .investment-amount {
      font-size: clamp(2.5rem, 6vw, 4rem);
      font-weight: 800;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.1;
    }
    .investment-currency {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--muted);
      margin-bottom: 4px;
    }
    .investment-desc {
      color: var(--muted);
      font-size: .88rem;
      margin: 14px 0 24px;
    }
    .investment-detail-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .investment-detail {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 18px;
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,.1);
      background: rgba(15,23,42,.6);
    }
    .investment-detail .iicon { font-size: 1.3rem; flex-shrink: 0; }
    .investment-detail h3 { font-size: .9rem; margin-bottom: 2px; }
    .investment-detail p { color: var(--muted); font-size: .82rem; }

    /* ===================== FOOTER ===================== */
    footer {
      border-top: 1px solid rgba(148,163,184,.1);
      margin-top: 20px;
      padding: 32px 0;
      text-align: center;
      color: var(--muted);
      font-size: .85rem;
    }
    footer a { color: var(--brand); font-weight: 600; }
    .footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 800;
      font-size: .95rem;
      color: var(--text);
      margin-bottom: 10px;
    }
    .footer-logo .footer-logo-image {
      height: 28px;
      width: auto;
      display: block;
      flex-shrink: 0;
    }

    /* ===================== REVEAL ANIMATIONS ===================== */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.revealed { opacity: 1; transform: none; }
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-4 { transition-delay: .4s; }

    /* ===================== GLOW ===================== */
    .glow-accent {
      position: absolute;
      width: 200px; height: 200px;
      border-radius: 50%;
      filter: blur(70px);
      pointer-events: none;
    }
    .glow-cyan { background: radial-gradient(circle, rgba(34,211,238,.25), transparent 70%); }
    .glow-violet { background: radial-gradient(circle, rgba(167,139,250,.22), transparent 70%); }

    /* ===================== RESPONSIVE ===================== */
    @media (max-width: 700px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-cta { display: none; }
      section { padding: 56px 0; }
    }
    @media (max-width: 480px) {
      .page { padding: 0 16px; }
      .card { padding: 20px 16px; }
    }

    /* ===================== APPROACH PANEL DESCRIPTION ===================== */
    .approach-desc {
      padding: 20px;
      border-radius: 14px;
      background: linear-gradient(160deg, rgba(34,211,238,.06), rgba(167,139,250,.04));
      border: 1px solid rgba(34,211,238,.14);
      margin-bottom: 6px;
    }
    .approach-desc h3 { font-size: 1.05rem; margin-bottom: 8px; }
    .approach-desc p { color: var(--muted); font-size: .9rem; }

    /* ===================== MOCK CHAT ===================== */
    .chat-shell {
      border: 1px solid rgba(148,163,184,.15);
      border-radius: 24px;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(11,16,32,.95));
      box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(34,211,238,.05);
      margin-top: 36px;
      max-width: 720px;
    }
    .demo-disclaimer {
      margin-top: 12px;
      max-width: 720px;
      font-size: .78rem;
      font-weight: 600;
      line-height: 1.5;
      color: #fcd34d;
      background: rgba(252,211,77,.1);
      border: 1px solid rgba(252,211,77,.28);
      border-radius: 10px;
      padding: 8px 12px;
    }
    .chat-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      background: rgba(15,23,42,.9);
      border-bottom: 1px solid rgba(148,163,184,.1);
    }
    .chat-avatar {
      width: 40px; height: 40px;
      flex-shrink: 0;
      border-radius: 50%;
      background: rgba(34,211,238,.06);
      border: 1px solid rgba(34,211,238,.2);
      display: flex; align-items: center; justify-content: center;
      padding: 4px;
    }
    .chat-avatar svg { width: 32px; height: 32px; }
    .chat-header-info { flex: 1; min-width: 0; }
    .chat-header-name {
      font-size: .88rem;
      font-weight: 700;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .chat-header-status {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: .73rem;
      color: var(--muted);
      margin-top: 2px;
    }
    .status-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 6px var(--success);
      animation: pulse-dot 2.2s ease-in-out infinite;
      flex-shrink: 0;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: .6; transform: scale(.85); }
    }
    .chat-replay-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 12px;
      border-radius: 8px;
      border: 1px solid rgba(148,163,184,.2);
      background: rgba(255,255,255,.04);
      color: var(--muted);
      font-size: .75rem;
      font-weight: 600;
      cursor: pointer;
      transition: border-color .2s, color .2s;
      font-family: inherit;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .chat-replay-btn:hover { border-color: var(--brand); color: var(--brand); }
    .chat-replay-btn .lucide { width: 12px; height: 12px; stroke-width: 2.2; }
    .chat-body {
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      min-height: 320px;
    }
    .chat-msg {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      animation: msgIn .35s cubic-bezier(.22,1,.36,1) both;
    }
    @keyframes msgIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: none; }
    }
    .chat-msg.user { flex-direction: row-reverse; }
    .chat-msg-avatar {
      width: 30px; height: 30px;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .02em;
    }
    .chat-msg.ai .chat-msg-avatar {
      background: rgba(34,211,238,.08);
      border: 1px solid rgba(34,211,238,.2);
      padding: 3px;
    }
    .chat-msg.ai .chat-msg-avatar svg { width: 22px; height: 22px; }
    .chat-msg.user .chat-msg-avatar {
      background: linear-gradient(135deg, rgba(167,139,250,.25), rgba(34,211,238,.15));
      border: 1px solid rgba(167,139,250,.3);
      color: var(--brand-2);
    }
    .chat-bubble {
      max-width: 78%;
      padding: 13px 16px;
      border-radius: 16px;
      font-size: .88rem;
      line-height: 1.65;
    }
    .chat-msg.ai .chat-bubble {
      background: linear-gradient(160deg, rgba(34,211,238,.07), rgba(167,139,250,.05));
      border: 1px solid rgba(34,211,238,.14);
      border-top-left-radius: 4px;
      color: var(--text);
    }
    .chat-msg.user .chat-bubble {
      background: linear-gradient(160deg, rgba(167,139,250,.18), rgba(34,211,238,.1));
      border: 1px solid rgba(167,139,250,.25);
      border-top-right-radius: 4px;
      color: var(--text);
    }
    .chat-bubble p { margin: 0; }
    .chat-bubble p + p { margin-top: 10px; }
    .chat-citation {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 10px;
      font-size: .73rem;
      font-weight: 600;
      color: var(--brand);
      background: rgba(34,211,238,.07);
      border: 1px solid rgba(34,211,238,.18);
      border-radius: 6px;
      padding: 4px 9px;
    }
    .chat-citation .lucide { width: 11px; height: 11px; stroke-width: 2.2; }
    .chat-typing {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .typing-dots {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 13px 16px;
      background: linear-gradient(160deg, rgba(34,211,238,.07), rgba(167,139,250,.05));
      border: 1px solid rgba(34,211,238,.14);
      border-radius: 16px;
      border-top-left-radius: 4px;
    }
    .typing-dots span {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--muted);
      animation: typing-bounce .9s ease-in-out infinite;
    }
    .typing-dots span:nth-child(2) { animation-delay: .15s; }
    .typing-dots span:nth-child(3) { animation-delay: .3s; }
    @keyframes typing-bounce {
      0%, 60%, 100% { transform: translateY(0); opacity: .4; }
      30% { transform: translateY(-5px); opacity: 1; }
    }
    .chat-input-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 20px;
      border-top: 1px solid rgba(148,163,184,.1);
      background: rgba(11,16,32,.6);
    }
    .chat-input-fake {
      flex: 1;
      padding: 10px 14px;
      border-radius: 10px;
      border: 1px solid rgba(148,163,184,.15);
      background: rgba(255,255,255,.03);
      font-size: .85rem;
      color: var(--muted);
      font-family: inherit;
      cursor: default;
      user-select: none;
    }
    .chat-send-btn {
      width: 36px; height: 36px;
      border-radius: 9px;
      border: 1px solid rgba(34,211,238,.3);
      background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(167,139,250,.12));
      color: var(--brand);
      display: flex; align-items: center; justify-content: center;
      cursor: default;
      flex-shrink: 0;
    }
    .chat-send-btn .lucide { width: 15px; height: 15px; stroke-width: 2; }

    /* ===================== LUCIDE ICONS ===================== */
    .lucide { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
    .bg-card-icon { display: flex; align-items: center; }
    .bg-card-icon .lucide { width: 28px; height: 28px; stroke-width: 1.5; stroke: var(--brand); }
    .bg-card.violet .bg-card-icon .lucide { stroke: var(--brand-2); }
    .hero-icon .lucide { width: 34px; height: 34px; stroke-width: 1.5; stroke: var(--brand); }
    .tab-btn .lucide { width: 13px; height: 13px; stroke-width: 2; flex-shrink: 0; }
    .approach-item .icon { display: flex; align-items: center; }
    .approach-item .icon .lucide { width: 15px; height: 15px; stroke-width: 2; stroke: var(--brand); }
    .scope-check .lucide { width: 12px; height: 12px; stroke-width: 2.5; stroke: var(--success); }
    .exp-icon { display: flex; align-items: center; }
    .exp-icon .lucide { width: 26px; height: 26px; stroke-width: 1.5; stroke: var(--brand-2); }
    .iicon { display: flex; align-items: center; }
    .iicon .lucide { width: 22px; height: 22px; stroke-width: 1.5; stroke: var(--brand); }

    /* ===================== PHASES ===================== */
    .phases-track {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: 40px;
      max-width: 640px;
    }
    .phase-item {
      display: flex;
      gap: 20px;
      align-items: stretch;
    }
    .phase-connector {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      width: 20px;
    }
    .phase-dot {
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--brand);
      box-shadow: 0 0 10px rgba(34,211,238,.45);
      flex-shrink: 0;
      margin-top: 20px;
    }
    .phase-dot-violet {
      background: var(--brand-2);
      box-shadow: 0 0 10px rgba(167,139,250,.45);
    }
    .phase-line {
      flex: 1;
      width: 2px;
      background: linear-gradient(180deg, var(--brand), var(--brand-2));
      border-radius: 2px;
      margin: 6px 0;
      min-height: 24px;
    }
    .phase-card {
      flex: 1;
      margin-bottom: 20px;
      padding: 22px 24px;
    }
    .phase-item-last .phase-card { margin-bottom: 0; }
    .phase-num {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 6px;
    }
    .phase-num-violet { color: var(--brand-2); }
    .phase-card h3 { font-size: 1rem; margin-bottom: 6px; }
    .phase-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
    .phase-price {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .88rem;
      font-weight: 700;
      color: var(--brand);
      background: rgba(34,211,238,.08);
      border: 1px solid rgba(34,211,238,.2);
      border-radius: 8px;
      padding: 5px 12px;
    }
    .phase-price-range { letter-spacing: .01em; }
    .phase-price-violet {
      color: var(--brand-2);
      background: rgba(167,139,250,.08);
      border-color: rgba(167,139,250,.25);
    }

    /* ===================== AUTH GATE ===================== */

    /* The proposal is hidden until authentication succeeds. */
    #proposal-box { display: none; }

    /* Full-viewport auth overlay, centred. */
    #auth-box {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .auth-card {
      background: var(--panel);
      border: 1px solid var(--ring);
      border-radius: var(--radius);
      padding: 40px 36px;
      max-width: 420px;
      width: 100%;
      box-shadow: 0 20px 60px rgba(0,0,0,.45);
    }

    .auth-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: .95rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 28px;
    }
    .auth-logo img { height: 30px; width: auto; }

    .auth-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }

    .auth-subtitle {
      font-size: .9rem;
      color: var(--muted);
      margin-bottom: 28px;
      line-height: 1.65;
    }

    .auth-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .auth-label {
      font-size: .82rem;
      color: var(--muted);
      letter-spacing: .03em;
      text-transform: uppercase;
    }

    .auth-input {
      background: var(--panel-2);
      border: 1px solid var(--ring);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: .95rem;
      font-family: inherit;
      color: var(--text);
      width: 100%;
      outline: none;
      transition: border-color .2s;
    }
    .auth-input:focus { border-color: var(--brand); }
    .auth-input::placeholder { color: #4b5563; }

    .auth-btn {
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 13px 20px;
      font-size: .95rem;
      font-family: inherit;
      font-weight: 600;
      cursor: pointer;
      transition: opacity .2s;
      width: 100%;
      margin-top: 4px;
    }
    .auth-btn:hover:not(:disabled) { opacity: .88; }
    .auth-btn:disabled { opacity: .5; cursor: not-allowed; }

    .auth-msg {
      font-size: .85rem;
      padding: 10px 14px;
      border-radius: 8px;
      line-height: 1.55;
    }
    .auth-msg.error   { background: rgba(239,68,68,.12); color: #f87171; }
    .auth-msg.success { background: rgba(52,211,153,.12); color: var(--success); }

    .auth-otp-hint {
      font-size: .85rem;
      color: var(--muted);
      line-height: 1.55;
      margin-bottom: 4px;
    }

    .auth-actions {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      margin-top: 4px;
    }

    .auth-back {
      background: none;
      border: none;
      color: var(--muted);
      font-size: .82rem;
      font-family: inherit;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .auth-back:hover { color: var(--text); }

    /* Logout button in the navigation bar */
    .nav-logout {
      background: none;
      border: 1px solid rgba(148,163,184,.25);
      border-radius: 8px;
      color: var(--muted);
      font-size: .78rem;
      font-family: inherit;
      padding: 5px 12px;
      cursor: pointer;
      transition: color .2s, border-color .2s;
      white-space: nowrap;
    }
    .nav-logout:hover {
      color: var(--text);
      border-color: rgba(148,163,184,.5);
    }

    @media (max-width: 480px) {
      .auth-card { padding: 32px 20px; }
    }
  