/* /claude: split hero with a playing chat, tabbed setup with mini UI sketches, tools, pipeline, proof, FAQ */
.cl-hero { text-align: left; padding-block: 64px 72px; }
.cl-hero::after { left: 70%; top: -160px; background: radial-gradient(closest-side, rgba(217, 119, 87, .12), rgba(124, 58, 237, .08) 55%, rgba(124, 58, 237, 0)); }
.cl-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.cl-copy { display: grid; gap: 0; justify-items: start; }
.cl-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #3b3340; background: #fff; border: 1px solid #f0e2db; border-radius: 999px; padding: 6px 8px 6px 8px; box-shadow: 0 8px 20px -14px rgba(217, 119, 87, .5); }
.cl-mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fbefe9; }
.cl-mark svg { width: 16px; height: 16px; }
.cl-hero h1 { margin: 20px 0 0; max-width: 13ch; font-size: clamp(40px, 5.4vw, 66px); }
.cl-hero .sub { margin: 18px 0 0; max-width: 520px; }
.cl-url { width: 100%; max-width: 520px; margin-top: 28px; }
.cl-facts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #4a4f5a; font-size: 14.5px; }
.cl-facts li { display: inline-flex; align-items: center; gap: 7px; }
.cl-facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230d6a45' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; flex: none; }
.cl-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.cl-try { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: #6d28d9; text-decoration: none; }
.cl-try:hover { text-decoration: underline; text-underline-offset: 3px; }
.cl-try span { display: inline-block; transition: transform .15s; }
.cl-try:hover span { transform: translateX(3px); }

/* Chat mockup */
.cchat { margin: 0; display: grid; gap: 12px; min-width: 0; }
.cchat-tabs { display: inline-flex; justify-self: start; gap: 2px; padding: 4px; background: #f1eff7; border-radius: 12px; }
.cchat-tabs button { font: 600 13.5px var(--font); color: #5a5f6b; background: none; border: 0; border-radius: 9px; padding: 8px 12px; cursor: pointer; }
.cchat-tabs button[aria-selected="true"] { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(20, 16, 40, .14); }
.cchat-win { background: #fff; border: 1px solid #ebe6f3; border-radius: 20px; overflow: hidden; box-shadow: 0 60px 110px -60px rgba(76, 29, 149, .6), 0 2px 8px rgba(15, 20, 25, .05); }
.cchat-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; background: #fcfbf9; }
.cchat-bar .src svg { width: 16px; height: 16px; }
.cchat-bar .chat-on { display: inline-flex; align-items: center; gap: 6px; }
.cchat-body { padding: 20px; display: grid; gap: 12px; align-content: start; min-height: 432px; background: #faf9f6; }
.cm { max-width: 92%; border-radius: 16px; padding: 13px 15px; font-size: 15px; line-height: 1.55; }
.cm p { margin: 0; }
.cm-me { justify-self: end; background: #efeae2; color: #2a2622; border-bottom-right-radius: 6px; }
.cm-ai { justify-self: start; background: #fff; border: 1px solid #ece8e1; display: grid; gap: 10px; border-bottom-left-radius: 6px; }
.cm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip.score { background: #f3effe; color: #5b21b6; }
.chip.score s { color: #9b8fc0; }
.hc { display: inline-block; font: 700 9.5px/1 var(--mono); color: #fff; background: #ec4899; border-radius: 4px; padding: 3px 4px; margin: 0 2px; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(236, 72, 153, .18); }
.cm-tool { justify-self: start; max-width: 92%; border: 1px solid #e7e2f2; background: #fff; border-radius: 12px; font-size: 13.5px; }
.cm-tool summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 9px 12px; color: #4a4f5a; font: 500 13px var(--mono); }
.cm-tool summary::-webkit-details-marker { display: none; }
.cm-tool summary::after { content: "›"; margin-left: 6px; color: var(--faint); transition: transform .2s; font-family: var(--font); font-size: 16px; }
.cm-tool[open] summary::after { transform: rotate(90deg); }
.tool-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tool-name b { color: #3b2a6b; font-weight: 600; }
.tool-state { margin-left: auto; padding-left: 10px; color: var(--faint); }
.tool-state .running { display: none; }
.ok-ic { width: 14px; height: 14px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230d6a45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cm-tool .spin { display: none; }
.cm-tool.running .spin { display: inline-block; }
.cm-tool.running .ok-ic, .cm-tool.running .done { display: none; }
.cm-tool.running .running { display: inline; color: #7c3aed; }
.tool-io { border-top: 1px solid #efebf6; padding: 10px 12px; display: grid; gap: 6px; }
.io-l { font: 600 10.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.tool-io pre { margin: 0; background: #f7f5fb; border-radius: 8px; padding: 8px 10px; font: 12px/1.5 var(--mono); color: #3b2a6b; white-space: pre-wrap; overflow-wrap: anywhere; }
.cchat-comp { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 10px 10px 12px; border: 1px solid #e7e2da; border-radius: 14px; background: #fff; color: var(--faint); font-size: 14px; }
.cchat-comp .plus { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: #4a4f5a; font-size: 16px; }
.comp-ph { flex: 1; min-width: 0; }
.comp-chip { display: inline-flex; align-items: center; gap: 5px; font: 600 12px var(--font); color: #5b21b6; background: #f3effe; border-radius: 999px; padding: 4px 9px; }
.cchat-comp .send { width: 30px; height: 30px; border-radius: 9px; background: #d97757; color: #fff; display: grid; place-items: center; font-weight: 700; }
.cchat figcaption { font-size: 12.5px; color: var(--faint); }
/* animation states (only when JS runs) */
.js .cchat.anim .st { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.js .cchat.anim .st.on { opacity: 1; transform: none; }
.cm-ai .stream.typing::after { content: ""; display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: #d97757; border-radius: 2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.js .cchat.anim .cm-chips { opacity: 0; transition: opacity .4s; }
.js .cchat.anim .cm-chips.on { opacity: 1; }

/* Setup */
.setup { max-width: 1120px; margin: 44px auto 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -60px rgba(30, 20, 60, .45); overflow: hidden; }
.setup-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: #fbfafd; overflow-x: auto; scrollbar-width: none; }
.setup-tabs::-webkit-scrollbar { display: none; }
.setup-tabs button { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--font); color: #5a5f6b; background: none; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.setup-tabs button:hover { color: var(--fg); background: #f3f1f8; }
.setup-tabs button[aria-selected="true"] { background: #fff; color: #4c1d95; box-shadow: 0 1px 3px rgba(20, 16, 40, .12), 0 0 0 1px #ebe5f8; }
.st-ic svg { width: 18px; height: 18px; display: block; }
.setup-panel { padding: 30px; }
.setup-panel:not([hidden]) { animation: panein .3s ease; }
@keyframes panein { from { opacity: 0; transform: translateY(4px); } }
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps4 li { counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps4 h3 { font-size: 16.5px; letter-spacing: -0.01em; display: flex; gap: 8px; align-items: baseline; }
.steps4 h3::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #7c3aed; color: #fff; font: 700 12px var(--mono); transform: translateY(-2px); }
.steps4 p, .setup-panel p { color: #4a4f5a; font-size: 15px; line-height: 1.55; }
.steps4 b, .setup-panel b, .mini-steps b { color: var(--fg); font-weight: 600; }
/* tiny UI sketches */
.sv { height: 150px; border: 1px solid #ece8f4; border-radius: 14px; background: linear-gradient(180deg, #fbfaff, #f5f2fc); padding: 14px; display: grid; align-content: start; gap: 7px; font-size: 12.5px; color: #6b6f7a; position: relative; overflow: hidden; margin-bottom: 6px; }
.sv span, .sv i { font-style: normal; }
.sv-nav span { padding: 5px 9px; border-radius: 8px; }
.sv-nav span.on { background: #fff; color: var(--fg); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 16, 40, .1); }
.sv-sub { margin-left: 18px; padding: 5px 9px; border-radius: 8px; background: #ede9fe; color: #4c1d95; font-weight: 600; justify-self: start; }
.sv-btn { justify-self: start; padding: 6px 10px; border-radius: 8px; border: 1px solid #ddd6f3; background: #fff; color: var(--fg); font-weight: 600; }
.sv-btn.solid { background: #7c3aed; border-color: #7c3aed; color: #fff; justify-self: end; margin-top: 2px; }
.sv-item { padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid #efebf6; }
.sv-item.on { border-color: #c4b5fd; color: #4c1d95; font-weight: 600; box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.sv-form { gap: 4px; }
.sv-l { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.sv-in { background: #fff; border: 1px solid #e6e1f1; border-radius: 7px; padding: 5px 8px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-in.mono { font: 500 11px var(--mono); }
.sv-tog { align-content: center; }
.sv-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #efebf6; border-radius: 10px; padding: 9px 10px; color: var(--fg); font-weight: 600; }
.tog { margin-left: auto; width: 32px; height: 18px; border-radius: 999px; background: #7c3aed; position: relative; }
.tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.setup-url { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.setup-url > span { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); white-space: nowrap; }
.setup-url .urlbar { flex: 1; max-width: 560px; box-shadow: none; }
.setup-note { margin-top: 14px; font-size: 13.5px !important; color: var(--faint) !important; }
.setup-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.setup-two h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
.setup-two h3 + p { margin-bottom: 12px; }
.setup-two > div > h3:not(:first-child) { margin-top: 22px; }
.setup-two .urlbar { box-shadow: none; margin-top: 16px; }
.setup-two .callout { margin-top: 0; }
.mini-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: #4a4f5a; font-size: 15px; }
.term { margin: 8px 0 14px; }
.term pre { font-size: 13.5px; }
.ask-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.ask-list li { background: #f6f4fb; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; color: #3b2a6b; }

/* Tools */
.tools4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 44px auto 0; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -32px rgba(76, 29, 149, .45); border-color: #e2d9fb; }
.tcard-top { display: flex; align-items: center; justify-content: space-between; }
.tcard-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.tcard-ic svg { width: 20px; height: 20px; fill: currentColor; }
.ic-rw { background: #f3e8ff; color: #7c3aed; } .ic-cc { background: #fdeef6; color: #db2777; } .ic-dt { background: #e6f6f7; color: #0b6e78; } .ic-bt { background: #fff1db; color: #b45309; }
.tcard h3 code { font: 650 18px var(--mono); color: var(--fg); }
.tcard > p { color: #4a4f5a; font-size: 15.5px; }
.tcard a { color: #6d28d9; font-weight: 600; }
.prompts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.prompts li { display: flex; align-items: center; gap: 10px; background: #faf9fd; border: 1px solid #efecf6; border-radius: 12px; padding: 9px 9px 9px 13px; font-size: 14.5px; color: #2f2a3a; }
.prompts li span { flex: 1; min-width: 0; }

/* Pipeline diagram */
.pipe { max-width: 1080px; margin: 44px auto 0; }
.pipe svg { width: 100%; height: auto; display: block; overflow: visible; }
.pipe-tall { display: none !important; max-width: 340px; margin: 0 auto; }
.pipe-line { fill: none; stroke: url(#pg); stroke-width: 2.5; }
.pipe-tall .pipe-line { stroke: #c4b5fd; }
.pipe-dash { fill: none; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 3 14; opacity: 0; }
.pipe.in .pipe-dash { opacity: .9; animation: pdash 1.2s linear infinite; }
@keyframes pdash { to { stroke-dashoffset: -34; } }
.pn rect { fill: #fff; stroke: #e3e0ea; stroke-width: 1.5; }
.pn text { fill: var(--fg); font: 650 17px var(--font); text-anchor: middle; }
.pn text.s { fill: #6b6f7a; font: 500 12.5px var(--font); }
.pn-cl rect { fill: #fdf3ee; stroke: #f2cdbd; }
.pn-ri rect { fill: #f5f0ff; stroke: #c4b5fd; stroke-width: 2; }
.pn-ok rect { fill: #ecfaf1; stroke: #a7e3bf; }
.pipe .pn { opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.pipe.in .pn { opacity: 1; }
.pipe.in .pn:nth-of-type(2) { transition-delay: .15s; } .pipe.in .pn:nth-of-type(3) { transition-delay: .3s; } .pipe.in .pn:nth-of-type(4) { transition-delay: .45s; } .pipe.in .pn:nth-of-type(5) { transition-delay: .6s; }
.pkt { fill: #7c3aed; opacity: 0; }
.pipe.in .pkt { opacity: 1; animation: pkt 3.6s cubic-bezier(.6, 0, .4, 1) .8s infinite; }
@keyframes pkt { 0% { transform: translateX(0); fill: #d97757; } 45% { fill: #7c3aed; } 100% { transform: translateX(780px); fill: #12a150; } }
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.how3 article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.how3 h3 { font-size: 17.5px; letter-spacing: -0.01em; }
.how3 p { color: #4a4f5a; font-size: 15.5px; }

/* Proof */
.proof3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1040px; margin: 40px auto 0; }
.proof3 > div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.proof3 b { font-size: clamp(36px, 4vw, 48px); font-weight: 760; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof3 .from { color: #b42318; }
.proof3 > div > span { color: #4a4f5a; font-size: 15px; }
.cl-proof .method { max-width: 720px; margin: 22px auto 0; }

/* FAQ */
.cl-acc { margin-top: 36px; }

@media (max-width: 1060px) {
  .cl-hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .cl-copy { justify-items: center; text-align: center; }
  .cl-hero h1, .cl-hero .sub { margin-inline: auto; }
  .cl-facts { justify-content: center; }
  .cl-url { margin-inline: auto; }
  .cl-cta { justify-content: center; }
  .cchat { max-width: 640px; margin: 0 auto; width: 100%; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (max-width: 860px) {
  .setup-two, .how3, .proof3 { grid-template-columns: minmax(0, 1fr); }
  .tools4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cl-hero { padding-block: 40px 56px; }
  .pipe-wide { display: none !important; }
  .pipe-tall { display: block !important; }
  .setup-panel { padding: 20px 16px; }
  .steps4 { grid-template-columns: minmax(0, 1fr); }
  .sv { height: auto; min-height: 120px; }
  .setup-url { flex-direction: column; align-items: stretch; gap: 8px; }
  .cchat-body { min-height: 0; padding: 14px; }
  .cm { font-size: 14.5px; }
  .cchat-tabs { justify-self: stretch; }
  .cchat-tabs button { flex: 1; padding: 8px 6px; font-size: 13px; }
  .comp-chip { display: none; }
  .cl-facts { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; text-align: left; gap: 6px; }
  .cm-tool summary { font-size: 12px; }
  .tn-r { display: none; }
  .tool-state { white-space: nowrap; }
  .cchat-tabs button { font-size: 12.5px; padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .pipe.in .pkt, .pipe.in .pipe-dash, .cm-ai .stream.typing::after, .setup-panel { animation: none !important; }
  .pipe .pn { opacity: 1; }
}
