    :root {
      --bg: #FAFAFF;
      --bg-raised: #F8F8FE;
      --bg-card: #ffffff;
      --border: #DCD9F3;
      --border-strong: #BDB5F7;
      --text: #11163A;
      --muted: #59617A;
      --brand-a: #6954F5;
      --brand-b: #7A5CF4;
      --brand-dim: #F3F1FF;
      --activity: #10b981;
      --radius: 10px;
      --radius-lg: 14px;
      --radius-xl: 20px;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    code, .mono { font-family: 'JetBrains Mono', monospace; }
    a { color: inherit; text-decoration: none; }

    :focus-visible {
      outline: 2px solid var(--brand-a);
      outline-offset: 3px;
      border-radius: 4px;
    }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      z-index: 200;
      background: var(--brand-a);
      color: #fff;
      padding: 10px 18px;
      border-radius: 0 0 8px 0;
      font-weight: 600;
    }
    .skip-link:focus-visible { left: 0; }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

    /* ─── Navigation ───────────────────────────────────────── */
    header.site-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(250, 250, 255, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 62px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.12rem;
      letter-spacing: -0.01em;
    }

    .logo-mark { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; }

    .nav-links { display: flex; align-items: center; gap: 26px; }

    .nav-links a {
      color: var(--muted);
      font-size: 0.88rem;
      font-weight: 500;
      transition: color 0.15s;
    }
    .nav-links a:hover { color: var(--text); }

    .nav-cta { display: flex; align-items: center; gap: 12px; }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: var(--radius);
      font-size: 0.88rem;
      font-weight: 600;
      transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
      cursor: pointer;
      border: none;
      white-space: nowrap;
      font-family: inherit;
    }

    .btn-primary {
      background: linear-gradient(90deg, #6255F5, #7A5CF4);
      color: #fff;
      box-shadow: 0 8px 22px rgba(105, 84, 245, 0.22);
    }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(105, 84, 245, 0.32); }

    .btn-ghost {
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { background: #F3F1FF; color: var(--text); border-color: #BDB5F7; }

    /* ─── Hero ─────────────────────────────────────────────── */
    .hero {
      padding: 70px 0 46px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -260px; left: 50%;
      transform: translateX(-50%);
      width: 1100px; height: 700px;
      background: radial-gradient(ellipse, #F1EEFF 0%, rgba(241, 238, 255, 0.4) 45%, transparent 70%);
      pointer-events: none;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 70%, rgba(113, 92, 246, 0.10), transparent 38%);
      pointer-events: none;
    }

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

    .hero h1 {
      font-size: clamp(2.3rem, 5.4vw, 3.6rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.03em;
      margin: 0 auto 22px;
      max-width: 800px;
    }

    .hero h1 .accent {
      background: linear-gradient(90deg, #6255F5, #7A5CF4);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 1.08rem;
      color: var(--muted);
      max-width: 620px;
      margin: 0 auto 34px;
      line-height: 1.7;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 56px;
    }

    .install-box {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid #D8D5F0;
      border-radius: 12px;
      padding: 11px 12px 11px 18px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.9rem;
      box-shadow:
        0 10px 30px rgba(71, 61, 145, 0.10),
        0 0 0 4px rgba(105, 84, 245, 0.03);
    }

    .install-box .dollar { color: #6954F5; user-select: none; }
    .install-box .cmd { color: #24284F; }

    .copy-btn {
      background: linear-gradient(90deg, #6255F5, #7A5CF4);
      color: #fff;
      border: none;
      border-radius: 7px;
      padding: 6px 13px;
      font-size: 0.78rem;
      font-weight: 600;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      box-shadow: 0 8px 22px rgba(105, 84, 245, 0.22);
      transition: box-shadow 0.15s, transform 0.15s;
    }
    .copy-btn:hover { box-shadow: 0 10px 26px rgba(105, 84, 245, 0.32); transform: translateY(-1px); }

    /* Hero team strip (stylized illustration, not a screenshot) */
    .team-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      max-width: 920px;
      margin: 0 auto;
      text-align: left;
    }

    .pane {
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        rgba(241, 239, 255, 0.92)
      );
      border: 1px solid #D8D5F0;
      border-radius: 14px;
      padding: 14px 16px;
      font-family: 'JetBrains Mono', monospace;
      box-shadow:
        0 12px 28px rgba(57, 48, 128, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
      transition: border-color 0.15s;
    }

    .pane:hover { border-color: #BDB5F7; }

    .pane-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
    .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .dot.coder { background: #36D6A0; box-shadow: 0 0 8px rgba(54, 214, 160, 0.5); }
    .dot.architect { background: #7B61FF; box-shadow: 0 0 8px rgba(123, 97, 255, 0.5); }
    .dot.reviewer { background: #3B82F6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); }
    .pane-title { font-size: 0.76rem; color: #4642A8; font-weight: 500; }
    .pane-status { font-size: 0.76rem; color: #6E7490; }

    .pane-line { height: 7px; border-radius: 4px; background: #D2CFF0; margin-bottom: 8px; }
    .pane-line.w1 { width: 82%; }
    .pane-line.w2 { width: 58%; }
    .pane-line.w3 { width: 70%; }
    .pane-line.accent { background: #7765F2; width: 36%; }

    /* Hero provider marks (jump to the providers section) */
    .hero-providers {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 18px 44px;
      flex-wrap: wrap;
      margin-top: 44px;
    }

    .hero-provider {
      position: relative;
      display: flex;
      padding: 6px;
      border-radius: 10px;
      color: #24284F;
      transition: transform 0.15s;
    }

    .hero-provider.claude { color: #D97757; }
    .hero-provider svg { width: 40px; height: 40px; display: block; }
    .hero-provider:hover { transform: translateY(-2px); }

    .hero-provider::after {
      content: attr(data-name);
      position: absolute;
      top: calc(100% + 1px);
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.74rem;
      font-weight: 500;
      color: #4642A8;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s;
    }

    .hero-provider:hover::after,
    .hero-provider:focus-visible::after { opacity: 1; }

    /* ─── Proof strip ──────────────────────────────────────── */
    .proof {
      border-top: 1px solid #E7E5F4;
      border-bottom: 1px solid #E7E5F4;
      background: #F8F8FE;
      padding: 26px 0;
    }

    .proof-row {
      display: flex;
      justify-content: center;
      gap: 12px 48px;
      flex-wrap: wrap;
    }

    .proof-item {
      display: flex;
      align-items: center;
      gap: 9px;
      color: #515A77;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .proof-item svg { flex-shrink: 0; color: #6657F5; }

    /* ─── Sections common ──────────────────────────────────── */
    section { padding: 104px 0; }
    section.raised { background: var(--bg-raised); }

    .section-header { text-align: center; margin-bottom: 56px; }

    .section-eyebrow {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: #4E46D8;
      margin-bottom: 12px;
    }

    .section-header h2 {
      font-size: 2.05rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .section-header p {
      color: var(--muted);
      font-size: 1rem;
      max-width: 540px;
      margin: 0 auto;
    }

    /* ─── How it works ─────────────────────────────────────── */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .step {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 30px 28px;
      position: relative;
    }

    .step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px; height: 34px;
      border-radius: 50%;
      background: var(--brand-dim);
      border: 1px solid #DCD9F3;
      color: #4E46D8;
      font-weight: 700;
      font-size: 0.9rem;
      margin-bottom: 16px;
    }

    .step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
    .step p { font-size: 0.9rem; color: var(--muted); }

    /* ─── Features ─────────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 26px;
      transition: border-color 0.2s, transform 0.2s;
    }

    .feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(57, 48, 128, 0.09); }

    .feature-icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      background: var(--brand-dim);
      border: 1px solid #DCD9F3;
      color: #6954F5;
    }

    .feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
    .feature-card p { color: var(--muted); font-size: 0.89rem; }

    .product-shot {
      margin-top: 48px;
      border-radius: var(--radius-xl);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 20px 60px rgba(57, 48, 128, 0.10);
    }

    .product-shot img { width: 100%; height: auto; display: block; }

    .product-shot-caption {
      text-align: center;
      color: var(--muted);
      font-size: 0.82rem;
      margin-top: 14px;
    }

    /* ─── Local-first ──────────────────────────────────────── */
    .local-grid {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 56px;
      align-items: center;
    }

    .local-copy h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
    .local-copy > p { color: var(--muted); margin-bottom: 24px; }

    .local-list { list-style: none; }

    .local-list li {
      display: flex;
      gap: 14px;
      margin-bottom: 18px;
    }

    .local-list svg { flex-shrink: 0; margin-top: 3px; color: var(--activity); }

    .local-list strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
    .local-list span { color: var(--muted); font-size: 0.89rem; }

    .mobile-card {
      background: var(--bg-raised);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 36px;
    }

    .mobile-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
    .mobile-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }

    .store-links { display: flex; gap: 12px; flex-wrap: wrap; }

    /* ─── Providers ────────────────────────────────────────── */
    .providers-row {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 22px;
    }

    .provider-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 9px 20px;
      font-size: 0.92rem;
      font-weight: 600;
    }

    .provider-pill .p-icon { width: 17px; height: 17px; flex-shrink: 0; }
    .provider-pill .p-cli { color: var(--muted); font-weight: 400; font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; }

    .providers-note { text-align: center; color: var(--muted); font-size: 0.88rem; max-width: 560px; margin: 0 auto; }

    /* ─── Quickstart ───────────────────────────────────────── */
    .quickstart-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 56px;
    }

    .qs-step {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px 22px;
      text-align: center;
    }

    .qs-step .step-num { margin: 0 auto 14px; }
    .qs-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }

    .qs-step code {
      display: inline-block;
      background: #F3F1FF;
      border: 1px solid #D8D5F0;
      padding: 7px 12px;
      border-radius: 8px;
      font-size: 0.74rem;
      color: #24284F;
      margin-bottom: 10px;
    }

    .qs-step p { font-size: 0.85rem; color: var(--muted); }

    .templates-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      max-width: 880px;
      margin: 0 auto 40px;
    }

    .template-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      position: relative;
    }

    .template-card.recommended { border-color: #BDB5F7; }

    .template-card .badge {
      position: absolute;
      top: -11px; right: 18px;
      background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
      color: #fff;
      font-size: 0.68rem;
      font-weight: 700;
      padding: 3px 12px;
      border-radius: 12px;
      letter-spacing: 0.02em;
    }

    .template-card h3 { font-family: 'JetBrains Mono', monospace; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .template-card .agents { font-size: 0.82rem; color: #4E46D8; margin-bottom: 12px; font-weight: 500; }
    .template-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }

    .text-link {
      font-size: 0.86rem;
      color: #4E46D8;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .text-link:hover { color: #3D37B8; }

    .guides-band { text-align: center; }

    /* ─── What's new ───────────────────────────────────────── */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }

    .news-card {
      display: block;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 22px 24px;
      transition: border-color 0.2s, transform 0.2s;
    }

    .news-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(57, 48, 128, 0.09); }

    .news-tag {
      display: inline-block;
      font-size: 0.63rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 999px;
      margin-bottom: 12px;
      background: var(--brand-dim);
      color: #4E46D8;
    }
    .news-tag.guide { background: rgba(54, 214, 160, 0.16); color: #067A55; }

    .news-card h3 { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
    .news-card time { font-size: 0.8rem; color: var(--muted); }

    .news-more { text-align: center; }

    /* ─── Updates archive & update pages ───────────────────── */
    .container-narrow { max-width: 780px; }

    .updates-index { padding-top: 72px; }

    .updates-list { list-style: none; }

    .updates-list li + li { margin-top: 10px; }

    .updates-row {
      display: flex;
      align-items: center;
      gap: 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px 20px;
      transition: border-color 0.2s, transform 0.2s;
    }

    .updates-row:hover { border-color: var(--border-strong); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(57, 48, 128, 0.08); }

    .updates-row time { font-size: 0.8rem; color: var(--muted); flex-shrink: 0; width: 72px; }
    .updates-row .news-tag { margin-bottom: 0; flex-shrink: 0; }
    .updates-row-title { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }

    .updates-index-footer { text-align: center; margin-top: 32px; }

    /* 404 page (nginx serves it as the apex error_page). Its content is one
       heading and three links, so without a floor the footer rides up into the
       middle of a tall viewport. Scoped to this page only. */
    .notfound {
      min-height: calc(100vh - 260px);
      display: flex;
      align-items: center;
    }
    .notfound .section-header { margin-bottom: 0; }
    .notfound .hero-actions { margin-top: 40px; margin-bottom: 0; }

    .update-article { padding: 72px 0 104px; }

    .update-back { margin-bottom: 28px; }

    .update-header { margin-bottom: 36px; }
    .update-header .news-tag { margin-bottom: 14px; }
    .update-header h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
    .update-date { color: var(--muted); font-size: 0.9rem; }

    .update-body h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 14px; }
    .update-body p { color: var(--muted); margin-bottom: 16px; }
    .update-body ul { margin: 0 0 16px 20px; }
    .update-body li { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
    .update-body strong { color: var(--text); }
    .update-body code {
      background: var(--brand-dim);
      border: 1px solid #DCD9F3;
      border-radius: 6px;
      padding: 1px 6px;
      font-size: 0.85em;
      color: #24284F;
    }

    .update-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

    /* ─── Final CTA ────────────────────────────────────────── */
    .final-cta {
      text-align: center;
      background:
        radial-gradient(ellipse 700px 360px at 50% 0%, rgba(113, 92, 246, 0.08) 0%, transparent 65%),
        var(--bg-raised);
      border-top: 1px solid var(--border);
    }

    .final-cta h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
    .final-cta p { color: var(--muted); margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; }

    /* ─── Footer ───────────────────────────────────────────── */
    footer {
      padding: 44px 0;
      border-top: 1px solid var(--border);
    }

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

    .footer-logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; }

    .footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

    .footer-links a { color: var(--muted); font-size: 0.86rem; transition: color 0.15s; }
    .footer-links a:hover { color: var(--text); }

    .footer-meta { color: var(--muted); font-size: 0.82rem; }
    .footer-meta a { color: #4E46D8; text-decoration: underline; }

    /* ─── Motion ───────────────────────────────────────────── */
    .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .reveal.in { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal { opacity: 1; transform: none; transition: none; }
      .btn, .feature-card, .news-card, .updates-row, .hero-provider, .hero-provider::after { transition: none; }
    }

    /* ─── Responsive ───────────────────────────────────────── */
    @media (max-width: 960px) {
      .team-strip { grid-template-columns: 1fr 1fr; }
      .team-strip .pane:nth-child(3) { display: none; }
      .steps { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .local-grid { grid-template-columns: 1fr; gap: 36px; }
      .quickstart-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 760px) {
      .nav-links { display: none; }
      .templates-grid { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .updates-row { flex-wrap: wrap; row-gap: 6px; }
      .updates-row-title { width: 100%; }
    }

    @media (max-width: 580px) {
      section { padding: 72px 0; }
      .features-grid { grid-template-columns: 1fr; }
      .quickstart-grid { grid-template-columns: 1fr; }
      .team-strip { grid-template-columns: 1fr; }
      .team-strip .pane:nth-child(2) { display: none; }
      .hero-providers { gap: 12px 26px; margin-top: 36px; }
      .hero-provider svg { width: 32px; height: 32px; }
      .install-box { width: 100%; justify-content: space-between; }
    }
