.jc-btn--claude{ background: var(--brand-claude); color: var(--on-accent); }
.jc-btn--chatgpt{ background: var(--brand-chatgpt); color: var(--on-accent); }
.jc-btn--claude:hover, .jc-btn--chatgpt:hover{ filter: brightness(.9); }

/* Reveal */

/* ================ HERO ================ */
.hero{
    position: relative; overflow: hidden;
}

.hero-grid{
  position: relative; z-index: 1;
}
.hero h1{
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.07; letter-spacing: -0.03em;
  font-weight: 600; margin: 12px 0 0;
  color: var(--ink-900);
  text-wrap: balance;
}

.hero-sub{
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-500); text-wrap: pretty;
}
.hero-actions{
  display: flex; gap: 12px;   flex-wrap: wrap;
}
.jc-btn .btn-ai-icon{
  width: 18px; height: 18px; border-radius: var(--radius-sm);
  object-fit: cover; display: block;

}
.diag{ display: flex; flex-direction: column; }
.diag-step{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-1);
}
.diag-step .num{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--blue-600); }
.diag-step h3{ margin: 0; font-family: var(--font-sans); font-size: 20px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.diag-step p{ margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-700); }
.diag-bubble{
  margin-top: var(--space-2);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  font-size: 13px; line-height: 1.45; color: var(--ink-700);
}
.diag-bubble.user{ background: var(--blue-600); border-color: var(--blue-600); color: var(--on-accent); }
.diag-bubble.bot{ background: var(--paper); border-style: dashed; border-color: var(--line-strong); font-family: var(--font-mono); font-size: 12px; }
.diag-bubble.cited{ background: var(--paper); }
.diag-bubble.cited .src{ margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); }
.diag-conn{ display: grid; place-items: center; padding-block: var(--space-1); color: var(--line-strong); }
.diag-conn svg{ display: block; }
@media (min-width: 981px) and (min-height: 640px){
  .hero.jc-section{ padding-block: var(--space-12); }
}

.connect-head{ max-width: 880px; margin: 0 0 48px;
  text-align: left;
}
.connect-head h2{
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.09; letter-spacing: -0.025em; font-weight: 600;
  margin: 16px 0 16px; text-wrap: balance;
  margin-left: 0;
  margin-right: 0;
}

.connect-head p{
  color: var(--ink-500); font-size: 18px;
  max-width: 660px; margin: 0 auto; text-wrap: pretty;
  margin-left: 0;
  margin-right: 0;
}

.conn-panel{ display: none; }
.conn-panel.is-active{ display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(8px);} to{ opacity: 1; transform: translateY(0);} }

.conn-grid{
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.1fr);
  gap: 40px; align-items: start;
}

.conn-prereq{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  padding: 8px 12px 8px 8px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-700);
  margin-bottom: 18px;
}
.conn-prereq .pl{
  background: var(--ink-900); color: var(--on-inverse);
  padding: 3px 8px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}

.conn-steps{
  display: flex; flex-direction: column; gap: 0;
  counter-reset: step;
  position: relative;
}
.conn-steps::before{
  content: ""; position: absolute;
  left: 17px; top: 14px; bottom: 14px;
  width: 2px; background: var(--line);
  border-radius: var(--radius-sm);
  z-index: 0;
}
.conn-step{
  display: grid; grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px; padding: 14px 0 14px;
  position: relative; z-index: 1;
}
.conn-step .stp-num{
  counter-increment: step;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink-700);
  display: grid; place-items: center;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  flex-shrink: 0;
}
.conn-step .stp-num::before{ content: counter(step); }
.conn-step.is-done .stp-num{
  background: var(--blue-500); border-color: var(--blue-500); color: var(--on-inverse);
}
.conn-step .stp-body h4{
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  margin: 6px 0 4px;
}
.conn-step .stp-body p{
  margin: 0; color: var(--ink-700); font-size: 14px; line-height: 1.55;
  text-wrap: pretty;
}
.conn-step .stp-body .url{
  margin-top: 10px;
  display: flex; align-items: center; gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 460px;
  font-family: var(--font-mono); font-size: 13px;
}
.conn-step .stp-body .url code{
  flex: 1; padding: 8px 12px; color: var(--ink-700);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.conn-step .stp-body .url button{
  padding: 8px 12px; background: var(--surface-sunken);
  border-left: 1px solid var(--line);
  color: var(--ink-700); font-size: 12px; font-weight: 500;
  transition: background .15s ease, color .15s ease;
  font-family: var(--font-sans);
}
.conn-step .stp-body .url button.copied{
  color: var(--blue-600); background: var(--blue-50);
}

/* Screenshot mockup (right side) */
.conn-shot{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  width: 100%;
  max-width: 780px;
  justify-self: end;
}
.conn-media{ position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; }
.conn-shot-chrome{
  height: 32px; background: #f6f7f9;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}

.conn-shot-chrome .url{
  margin-left: 16px; flex: 1;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-500);
}
.conn-shot-body{ padding: 0; }
.conn-demo-video{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #eef2f7;
}

/* === Claude shot === */
.cl-shot{
  background: #faf9f6;
  color: #2a2724;
  min-height: 460px;
  display: grid; grid-template-columns: 200px 1fr;
}
.cl-side{
  background: #f3f0eb;
  border-right: 1px solid #e7e2d7;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12.5px;
}
.cl-side .ttl{
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid #e7e2d7;
  margin-bottom: 8px;
  font-family: var(--font-sans); font-weight: 600;
}
.cl-side .ttl .mk{
  width:20px; height:20px; border-radius:5px;
  overflow: hidden;
  display: grid; place-items: center;
  background: rgba(204,120,92,.14);
}
.cl-side .ttl .mk img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cl-side .item{
  display:flex; align-items:center; gap: 8px;
  padding: 7px 8px; border-radius: 7px;
  color: #5a554c; font-size: 12.5px;
}
.cl-side .item.active{
  background: #e8e2d4; color: #2a2724; font-weight: 500;
}
.cl-side .item .ic{ font-size: 13px; opacity: .8; }
.cl-side .grp{
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #98927f; padding: 10px 8px 4px;
}
.cl-main{
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.cl-title{
  font-family: var(--font-sans); font-weight: 600; font-size: 17px;
  margin: 0; letter-spacing: -.01em;
}
.cl-conn-list{
  background: #fff;
  border: 1px solid #e7e2d7;
  border-radius: 10px;
  overflow: hidden;
}
.cl-conn-row{
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0ebe0;
  font-size: 13px;
}
.cl-conn-row:last-child{ border-bottom: 0; }
.cl-conn-row .mk{
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.cl-conn-row .body{ flex: 1; }
.cl-conn-row .body .nm{ font-weight: 600; color: #2a2724; }
.cl-conn-row .body .ds{ font-size: 11.5px; color: #98927f; margin-top: 1px; }
.cl-conn-row .stat{
  font-size: 11.5px; padding: 3px 8px; border-radius: 999px;
  background: #e8f6ef; color: #1f7a3f; font-weight: 500;
}
.cl-conn-row .stat.add{
  background: var(--brand-claude); color: #fff;
}
.cl-conn-row.is-new{
  background: linear-gradient(90deg, rgba(204,120,92,.08), transparent 60%);
}
.cl-add-btn{
  align-self: flex-start;
  background: var(--brand-claude); color: #fff;
  padding: 9px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}

/* === ChatGPT shot === */
.gpt-shot{
  background: #fff;
  min-height: 460px;
  display: grid; grid-template-columns: 220px 1fr;
}
.gpt-side{
  background: #f7f7f7;
  border-right: 1px solid #ececec;
  padding: 14px 8px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12.5px;
}
.gpt-side .ttl{
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 8px;
  font-family: var(--font-sans); font-weight: 600;
}
.gpt-side .ttl .mk{
  width:20px; height:20px; border-radius:5px;
  overflow: hidden;
  display: grid; place-items: center;
  background: rgba(16,163,127,.14);
}
.gpt-side .ttl .mk img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gpt-side .item{
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 7px;
  color: #444; font-size: 12.5px;
}
.gpt-side .item.active{
  background: #ececec; color: #111; font-weight: 500;
}
.gpt-main{
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.gpt-main .ttl{
  font-family: var(--font-sans); font-weight: 600;
  font-size: 17px; margin: 0;
}
.gpt-card{
  border: 1px solid #ececec; border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.gpt-card .row{
  display: flex; flex-direction: column; gap: 6px;
}
.gpt-card .row label{
  font-size: 11.5px; font-weight: 500; color: #6b7280;
  letter-spacing: .02em;
}
.gpt-card .row .input{
  background: #f7f7f7;
  border: 1px solid #ececec; border-radius: 8px;
  padding: 9px 12px; font-family: var(--font-mono);
  font-size: 12px; color: #2a2a2a;
}
.gpt-card .row .input.url{
  background: var(--blue-50); color: var(--blue-600);
  border-color: rgba(0,154,224,.25);
}
.gpt-actions{
  display: flex; gap: 8px;
}
.gpt-actions .btn-c{
  padding: 9px 14px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500;
}
.gpt-actions .btn-c.primary{
  background: var(--brand-chatgpt); color: #fff;
}
.gpt-actions .btn-c.ghost{
  background: transparent; color: #444; border: 1px solid #ececec;
}

/* ================ ACCESS ================ */
.access{
  background: var(--surface);
    border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.access-head h2{
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.09; letter-spacing: -0.025em; font-weight: 600;
  margin: 16px 0 16px; text-wrap: balance;
  margin-left: 0;
  margin-right: 0;
}
.access-head p{ color: var(--ink-500); font-size: 18px; text-wrap: pretty; max-width: var(--measure);
  margin-left: 0;
  margin-right: 0;
}

.access-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: var(--space-8);
  align-items: stretch;
}
.access-col{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.access-col h3{
  font-family: var(--font-sans); font-weight: 600;
  font-size: 18px; letter-spacing: -.01em;
  margin: 0 0 6px;
  display: inline-flex; align-items: center; gap: 10px;
}
.access-col h3 .ic{
  width: 28px; height: 28px; border-radius: var(--radius-md);
  display: grid; place-items: center;
}
.access-col.can h3 .ic{
  background: var(--success-50); color: var(--success);
}
.access-col.cant h3 .ic{
  background: var(--danger-50); color: var(--danger);
}
.access-list{
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.access-list li{
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.access-list li:last-child{ border-bottom: 0; padding-bottom: 0; }
.access-list .mk{
  width: 22px; height: 22px; border-radius: var(--radius-full);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.can .access-list .mk{ background: var(--success-50); color: var(--success); }
.cant .access-list .mk{ background: var(--danger-50); color: var(--danger); }
.access-list strong{
  display: block;
  font-size: 14px; color: var(--ink-900);
  font-weight: 500; margin-bottom: 3px;
  font-family: var(--font-sans); letter-spacing: -.005em;
}
.access-list p{
  margin: 0; color: var(--ink-500); font-size: 14px; line-height: 1.5;
  text-wrap: pretty;
}

/* ================ FAQ ================ */

.faq-head h2{
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.09; letter-spacing: -0.025em;
  font-weight: 600; margin: 16px 0 16px; text-wrap: balance;
}
.faq-item > summary{
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink-900);
  transition: background .15s ease, color .15s ease;
  grid-row: 1;
}
.faq-item > summary .faq-ic{
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: var(--radius-full);
  background: var(--surface-sunken); color: var(--ink-700);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.cta-card{
  background: var(--inverse);
  border-radius: var(--radius-lg);
  color: var(--on-inverse);
  position: relative; overflow: hidden;
}

.cta-card h2{
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.09; letter-spacing: -0.025em; font-weight: 600;
  margin: 0 0 16px; text-wrap: balance;
}

.cta-card p{
  color: var(--on-inverse-muted); font-size: 18px; max-width: 480px;
  margin: 0; text-wrap: pretty;
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1080px){

  .conn-grid{ grid-template-columns: 1fr; }
  .conn-media{ position: static; }
  .conn-shot{ max-width: 100%; }

  .access-grid{ grid-template-columns: 1fr; }
  .cta-card{ grid-template-columns: 1fr; padding: 56px 32px; }

}
@media (max-width: 640px){
  .faq-item > summary{ padding: 18px 20px; font-size: 16px; gap: 14px; }
  .faq-a{ padding: 20px 20px 20px 20px; font-size: 14px; }
  .cl-side, .gpt-side{ display: none; }
  .cl-shot, .gpt-shot{ grid-template-columns: 1fr; }
}

.faq{ padding-block: var(--space-6) var(--space-8); }
.faq-side .cta-card{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); padding: 32px; text-align: center;
}
.faq-side .cta-card h2{ margin: 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; }
.faq-side .cta-card p{ margin: 0 0 var(--space-2); }
.cta-buttons{ display: flex; flex-direction: column; gap: var(--space-2); width: 100%; max-width: 280px; }

