/*
  The solution pages (/solutions/online-stores, /any-company, /own-chatbot)
  and the platform pages (/integrations/gorgias, /shopify, /woocommerce).
  Each page has its own scene and its own section layouts, all built from the
  same evidence vocabulary: the conversation, the store's own page on cream
  paper, the verdict stamp, and thin ruby trails between them.

  Same tokens and colour meanings as site.css: yellow is what the bot claimed,
  orange is what the store's own pages say, red is a proven error, an empty
  ring is insufficient evidence. Every scene is complete without motion:
  solutions.js arms a scene (.is-armed) only when motion is allowed, plays it
  once in view (.is-play) and runs a small loop only while it is seen (.is-live).
  Someone else's site (a store, a helpdesk, an admin) keeps its own light look
  in both themes, as paper does.
*/

/* ---------- Shared: curves, highlighters, trails ---------- */
:root { --in: cubic-bezier(0.23, 1, 0.32, 1); --move: cubic-bezier(0.77, 0, 0.175, 1); }
main mark { isolation: isolate; }
main mark::before { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .js main [data-reveal]:not(.is-in) mark::before, main .is-armed:not(.is-play) mark::before { transform: scaleX(0); }
  .js main [data-reveal] mark::before { transition: transform 0.7s var(--in) 0.45s; }
}
.sx-trails { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sx-trails path { fill: none; stroke: var(--ruby); stroke-width: 1.5; stroke-linecap: round; }
.sx-trails circle { fill: var(--ruby); }
.is-armed .sx-trails path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s var(--move) var(--t, 0s); }
.is-armed.is-play .sx-trails path { stroke-dashoffset: 0; }
.is-armed .sx-trails circle { opacity: 0; transition: opacity 0.25s var(--in) var(--t, 0s); }
.is-armed.is-play .sx-trails circle { opacity: 1; }
.is-armed.is-play .sx-trails circle + circle { transition-delay: calc(var(--t, 0s) + 0.6s); }
.sx-note { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* ---------- Shared bits ---------- */
.sx-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.sx-stamp {
  display: inline-flex; align-items: center; flex: none; padding: 4px 8px; border-radius: var(--r-xs);
  background: var(--error); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
}
.sx-status-line { margin-top: 16px; }
.sx-col-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.callout a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }
.eyebrow + .section-title { margin-top: 16px; }
.sx-sent { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); }
.sx-sent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2ea043; }
.sx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.sx-gico { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); }
.sx-gico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Where to go next. */
.sx-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.sx-next.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-next a { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); text-decoration: none; transition: border-color 0.2s var(--ease-ui), transform 0.3s var(--in); }
.sx-next b { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.sx-next span { font-size: 14px; color: var(--mute); }
@media (hover: hover) and (pointer: fine) {
  .sx-next a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
}
@media (max-width: 767px) {
  .sx-next, .sx-next.two { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Online stores: the store's own product page with its chat open, the
   refund policy on paper beside it, and what the wrong answer costs.
   ===================================================================== */
.os-hero { --st-ink: #1f2a24; --st-mute: #6b746e; --st-line: #e7e3da; --st-bg: #fbfaf7; --st-brand: #2f4a3a; }
.os-scene {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto;
  margin: clamp(48px, 6vw, 72px) 0 0; color: var(--st-ink);
}
.os-browser { grid-column: 1 / 8; grid-row: 1 / 3; align-self: start; border-radius: var(--r-lg); overflow: hidden; background: var(--st-bg); border: 1px solid var(--line); box-shadow: var(--lift-2); }
.os-chrome { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; background: #efede7; border-bottom: 1px solid var(--st-line); }
.os-dots { display: flex; gap: 6px; }
.os-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d8d4ca; }
.os-url { flex: 1; min-width: 0; max-width: 360px; margin-inline: auto; padding: 4px 10px; border-radius: 6px; background: #ffffff; font-family: var(--mono); font-size: 11.5px; color: var(--st-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-store-head { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--st-line); background: #ffffff; font-size: 12px; color: var(--st-mute); }
.os-store-head b { margin-right: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 400; letter-spacing: 0.02em; color: var(--st-ink); }
.os-bag { margin-left: auto; }
.os-pdp { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 22px; padding: 18px; }
.os-pdp-photo { height: 300px; border-radius: 8px; overflow: hidden; background: #ece9e2; }
.os-pdp-photo img { width: 100%; height: 100%; object-fit: cover; }
.os-pdp-info { display: grid; align-content: start; gap: 10px; min-width: 0; }
.os-pdp-info small { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--st-mute); }
.os-pdp-name { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.1; }
.os-pdp-price { font-size: 15px; color: var(--st-ink); }
.os-sizes { display: flex; gap: 6px; margin-top: 4px; }
.os-sizes i { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 5px; border: 1px solid var(--st-line); font-size: 11px; font-style: normal; color: var(--st-mute); background: #ffffff; }
.os-sizes i.is-on { border-color: var(--st-ink); color: var(--st-ink); }
.os-add { padding: 10px; border-radius: 6px; background: var(--st-brand); color: #ffffff; font-size: 12.5px; text-align: center; }
.os-lines { display: grid; gap: 6px; margin-top: 2px; }
.os-lines i { height: 6px; border-radius: 3px; background: rgba(31, 42, 36, 0.09); }
.os-lines i:nth-child(2) { width: 82%; }
.os-lines i:nth-child(3) { width: 64%; }
.os-more { display: flex; gap: 8px; margin-top: 6px; }
.os-more img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #ece9e2; }

.os-chat {
  grid-column: 6 / 9; grid-row: 1 / 3; align-self: end; position: relative; z-index: 2; margin-bottom: -28px;
  border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 18px 40px rgba(20, 30, 25, 0.2), 0 2px 6px rgba(20, 30, 25, 0.08);
}
.os-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--st-brand); color: #ffffff; }
.os-chat-head b { display: block; font-size: 13px; font-weight: 500; }
.os-chat-head small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.72); }
.os-chat-av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); font-family: Georgia, serif; font-size: 13px; }
.os-chat-time { margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.os-live { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #7ee2a0; }
.os-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #7ee2a0; opacity: 0; }
.os-chat-body { display: grid; gap: 10px; padding: 16px 14px; background: #fbfaf7; }
.os-msg { max-width: 86%; padding: 9px 12px; font-size: 13.5px; line-height: 1.5; }
.os-msg-c { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--st-brand); color: #ffffff; }
.os-msg-b { position: relative; justify-self: start; border-radius: 14px 14px 14px 4px; background: #efede7; color: var(--st-ink); }
.os-msg-b mark { color: var(--st-ink); }
.os-hero mark.claim::before, .os-art mark.claim::before { background: rgba(255, 213, 82, 0.6); box-shadow: inset 0 -2px 0 var(--yellow-deep); }
.os-hero mark.rule::before, .os-art mark.rule::before { background: rgba(255, 97, 24, 0.18); box-shadow: inset 0 -2px 0 var(--orange); }
.os-typing { position: absolute; left: 12px; top: 13px; display: flex; gap: 4px; opacity: 0; }
.os-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--st-mute); }
.os-chat-input { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 12px 12px; padding: 8px 8px 8px 12px; border-radius: 999px; border: 1px solid var(--st-line); font-size: 12px; color: var(--st-mute); background: #ffffff; }
.os-chat-input i { width: 22px; height: 22px; border-radius: 50%; background: var(--st-brand); }

.os-policy { grid-column: 9 / 13; grid-row: 1; align-self: start; position: relative; z-index: 1; margin: 6px 0 0 44px; }
.os-sheet { position: relative; padding: 16px 18px 20px; border-radius: 10px; background: var(--sheet); color: var(--sheet-ink); box-shadow: var(--lift-2); font-size: 13.5px; line-height: 1.55; transform: rotate(-1deg); }
.os-sheet p + p { margin-top: 8px; }
.os-sheet mark { color: var(--sheet-ink); }
.os-sheet-meta { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--sheet-line); font-family: var(--mono); font-size: 10.5px; color: var(--sheet-mute); }
.os-sheet-meta span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-sheet-title { font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.1; }
.os-sheet .os-lines i { background: rgba(13, 37, 61, 0.08); }
.os-sheet-old { position: absolute; inset: 0; transform: translate(10px, -12px) rotate(2deg); box-shadow: var(--lift-1); filter: saturate(0.6) brightness(0.97); }
.os-stamp {
  position: absolute; right: 16px; bottom: -14px; padding: 6px 11px; border: 2px solid #d8351e; border-radius: 6px; background: rgba(255, 255, 255, 0.92);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #d8351e; transform: rotate(-7deg);
}

.os-receipt {
  grid-column: 9 / 13; grid-row: 2; position: relative; z-index: 3; align-self: start; margin: 36px 28px 0 88px; padding: 14px 16px 16px;
  background: #ffffff; color: #1f2a24; font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
  filter: drop-shadow(0 10px 18px rgba(20, 30, 25, 0.16)); transform: rotate(2deg);
}
.os-receipt::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: linear-gradient(135deg, #ffffff 5px, transparent 0) 0 0 / 10px 10px repeat-x, linear-gradient(-135deg, #ffffff 5px, transparent 0) 0 0 / 10px 10px repeat-x; }
.os-receipt-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #c9c4b8; }
.os-receipt-head b { font-family: var(--font); font-size: 13px; font-weight: 600; }
.os-receipt-head span { color: #6b746e; }
.os-receipt dl div { display: flex; justify-content: space-between; gap: 8px; }
.os-receipt dt { color: #6b746e; }
.os-receipt dd { margin: 0; }
.os-receipt-total { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #c9c4b8; color: #b3291a; }
.os-receipt-total b { font-weight: 600; }
.os-scene .sx-trails { --t: 1.95s; }

.os-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 56px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--error-line); background: var(--error-bg); }
.os-verdict p { flex: 1 1 260px; min-width: 0; font-size: 14.5px; color: var(--ink); }
.os-verdict b { font-weight: 500; }

/* The entrance: the page, the chat, the question, the bot typing, its answer, the
   policy, the trail between them, the stamp, then the bill. */
.os-scene.is-armed :is(.os-browser, .os-chat, .os-msg-c, .os-msg-b, .os-policy, .os-receipt, .os-said) { transition: opacity 0.6s var(--in), transform 0.9s var(--in), clip-path 0.55s var(--move); }
.os-scene.is-armed:not(.is-play) .os-browser { opacity: 0; transform: translateY(18px); }
.os-scene.is-armed .os-chat { transition-delay: 0.25s; }
.os-scene.is-armed:not(.is-play) .os-chat { opacity: 0; transform: translateY(16px) scale(0.97); }
.os-scene.is-armed .os-msg-c { transition-delay: 0.5s; }
.os-scene.is-armed:not(.is-play) .os-msg-c { opacity: 0; transform: translateY(8px); }
.os-scene.is-armed .os-msg-b { transition-delay: 0.8s, 0.8s, 1.4s; }
.os-scene.is-armed:not(.is-play) .os-msg-b { opacity: 0; clip-path: inset(0 calc(100% - 54px) calc(100% - 34px) 0 round 14px); }
.os-scene.is-armed.is-play .os-msg-b { clip-path: inset(0 0 0 0 round 14px); }
.os-scene.is-armed.is-play .os-typing { animation: os-typing 0.75s linear 0.8s both; }
.os-scene.is-armed.is-play .os-typing i { animation: dot 0.9s ease-in-out infinite; }
.os-scene.is-armed.is-play .os-typing i:nth-child(2) { animation-delay: 0.15s; }
.os-scene.is-armed.is-play .os-typing i:nth-child(3) { animation-delay: 0.3s; }
.os-scene.is-armed .os-said { transition-delay: 1.5s; }
.os-scene.is-armed:not(.is-play) .os-said { opacity: 0; }
.os-scene.is-armed .os-msg-b mark::before { transition: transform 0.6s var(--in) 1.75s; }
.os-scene.is-armed .os-policy { transition-delay: 0.9s; }
.os-scene.is-armed:not(.is-play) .os-policy { opacity: 0; transform: translateX(28px) rotate(3deg); }
.os-scene.is-armed .os-sheet mark::before { transition: transform 0.6s var(--in) 1.6s; }
.os-scene.is-armed .os-stamp { transition: opacity 0.2s var(--in) 2.55s, transform 0.45s var(--in) 2.55s; }
.os-scene.is-armed:not(.is-play) .os-stamp { opacity: 0; transform: rotate(-14deg) scale(1.5); }
.os-scene.is-armed .os-receipt { transition-delay: 2.9s; }
.os-scene.is-armed:not(.is-play) .os-receipt { opacity: 0; transform: translateY(-24px) rotate(0deg); }
.os-scene.is-live .os-live::after { animation: os-pulse 2.4s var(--in) infinite; }
@keyframes os-typing { 0%, 100% { opacity: 0; } 15%, 80% { opacity: 1; } }
@keyframes os-pulse { 0% { opacity: 0.7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }

/* A photograph, and the sentence the page turns on. */
.os-band { position: relative; border-top: 1px solid var(--line); background: var(--bg); padding-bottom: clamp(32px, 4vw, 48px); }
.os-band-photo { height: clamp(240px, 30vw, 400px); overflow: hidden; background: var(--surface-2); }
.os-band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.os-band-line {
  position: relative; max-width: 19.74em; margin: clamp(-180px, -12vw, -64px) 0 0 auto; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--bg); box-shadow: var(--lift-2); font-size: clamp(22px, 1rem + 1vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: -0.018em; color: var(--ink);
}
.os-band-line span { color: var(--mute); }

/* What a wrong answer costs, drawn as the thing it costs: a return label, a coupon, a parcel's days. */
.os-costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.os-cost { display: flex; flex-direction: column; gap: 10px; }
.os-cost h3 { margin-top: 14px; font-size: 21px; font-weight: 400; letter-spacing: -0.012em; }
.os-cost > p { font-size: 15px; color: var(--mute); }
.os-cost > .os-cost-then { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--error-line); font-size: 14.5px; font-weight: 500; color: var(--error-ink); }
.os-art { position: relative; display: grid; gap: 10px; min-height: 232px; align-content: start; padding: 18px; border-radius: 10px; background: #fffdf8; color: #1f2a24; box-shadow: var(--lift-2); font-size: 13.5px; line-height: 1.5; }
.os-art mark { color: #1f2a24; }
.os-art-line span { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a7466; }
.os-art-head { display: flex; justify-content: space-between; margin: -18px -18px 0; padding: 10px 18px; border-radius: 10px 10px 0 0; background: #1f2a24; color: #fffdf8; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.os-art-head b { font-weight: 500; }
.os-barcode { height: 34px; background: repeating-linear-gradient(90deg, #1f2a24 0 2px, transparent 2px 4px, #1f2a24 4px 5px, transparent 5px 8px, #1f2a24 8px 11px, transparent 11px 13px); opacity: 0.85; }
.os-art-coupon {
  background: #fff6d8; border: 1px dashed rgba(155, 104, 41, 0.45);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.os-coupon-big { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(155, 104, 41, 0.45); font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.os-coupon-big s { position: relative; text-decoration: none; color: #9b8a64; }
.os-coupon-big s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 2px; background: #d8351e; transform: rotate(-8deg); transform-origin: left; }
.os-coupon-big b { font-weight: 400; color: #c2410c; }
.os-coupon-big small { font-size: 15px; letter-spacing: 0; color: #7a7466; }
.os-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 8px 0 12px; border-bottom: 1px solid #ebe5d8; }
.os-days li { position: relative; display: grid; place-items: center; height: 40px; border-radius: 8px; font-size: 12px; color: #7a7466; background: #f3efe6; }
.os-days li.is-said { background: rgba(255, 213, 82, 0.6); box-shadow: inset 0 -2px 0 var(--yellow-deep); color: #1f2a24; }
.os-days li.is-rule { background: rgba(255, 97, 24, 0.14); box-shadow: inset 0 -2px 0 var(--orange); color: #1f2a24; }
.os-days li.is-here::after { content: ""; position: absolute; top: -9px; right: -5px; width: 18px; height: 16px; border-radius: 3px; background: #a07a4d; box-shadow: inset 0 5px 0 #8a6640; }
@media (prefers-reduced-motion: no-preference) {
  .js .os-cost[data-reveal]:not(.is-in) .os-coupon-big s::after { transform: rotate(-8deg) scaleX(0); }
  .js .os-cost[data-reveal] .os-coupon-big s::after { transition: transform 0.5s var(--in) 0.7s; }
  .js .os-cost[data-reveal]:not(.is-in) .os-days li { opacity: 0; transform: translateY(6px); }
  .js .os-cost[data-reveal] .os-days li { transition: opacity 0.4s var(--in), transform 0.6s var(--in); }
  .js .os-cost[data-reveal] .os-days li:nth-child(2) { transition-delay: 0.1s; }
  .js .os-cost[data-reveal] .os-days li:nth-child(3) { transition-delay: 0.2s; }
  .js .os-cost[data-reveal] .os-days li:nth-child(4) { transition-delay: 0.3s; }
  .js .os-cost[data-reveal] .os-days li:nth-child(5) { transition-delay: 0.4s; }
}

/* How it is caught: four stations on one ruby line, in the dark band. */
.os-trail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.os-trail::before, .os-trail::after { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: var(--line-strong); }
.os-trail::after { background: var(--ruby); transform-origin: left; }
.os-trail li { position: relative; z-index: 1; }
.os-node { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); }
.os-node svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.os-node .os-node-fill { fill: rgba(255, 213, 82, 0.5); stroke: none; }
.os-node-end { border-color: var(--ruby); background: var(--ruby); }
.os-node-end svg { stroke: #ffffff; }
.os-node-end svg circle { fill: #ffffff; }
.os-step-n { display: block; margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.os-trail h3 { margin-top: 8px; font-size: 20px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.os-trail p { margin-top: 10px; font-size: 15px; color: var(--mute); }
.os-how .note-line { margin-top: 40px; }
.os-how .note-line a { color: var(--ink); }
.os-trail.is-armed::after { transition: transform 1.6s var(--move) 0.2s; }
.os-trail.is-armed:not(.is-play)::after { transform: scaleX(0); }
.os-trail.is-armed li { transition: opacity 0.6s var(--in) calc(var(--n) * 0.35s + 0.1s), transform 0.8s var(--in) calc(var(--n) * 0.35s + 0.1s); }
.os-trail.is-armed:not(.is-play) li { opacity: 0; transform: translateY(14px); }

/* What the store gets: one big alert, two smaller tiles. */
.os-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; }
.os-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.os-tile h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.25; }
.os-tile > p, .os-tile-text > p { font-size: 15px; color: var(--mute); }
.os-tile-alert { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: center; position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3vw, 40px); background: var(--bg-soft); }
.os-tile-alert::before { content: ""; position: absolute; inset: auto -20% -40% 20%; height: 80%; z-index: -1; opacity: var(--wash-a); background: radial-gradient(closest-side, rgba(255, 97, 24, 0.4), transparent), radial-gradient(closest-side at 70% 60%, rgba(249, 107, 238, 0.35), transparent); }
.os-tile-text { display: grid; gap: 10px; justify-items: start; max-width: 30.498em; }
.os-tile-week { grid-column: 1 / 7; }
.os-tile-record { grid-column: 7 / 13; }
.os-tile .sx-more { margin-top: auto; }
.os-alertstack { position: relative; padding-top: 62px; }
.os-mailwin { position: absolute; top: 0; left: 6%; right: -4%; display: grid; gap: 6px; padding: 14px 16px 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); transform: rotate(1.5deg); }
.os-tile .os-mailrow { font-size: 12.5px; color: var(--ink); }
.os-mailrow span { display: inline-block; width: 64px; color: var(--faint); }
.os-mailwin .os-lines { margin-top: 4px; max-width: 70%; }
.os-mailwin .os-lines i { background: var(--surface-2); }
.os-msgwin { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-2); overflow: hidden; }
.os-msgwin-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 12.5px; color: var(--mute); }
.os-tile .os-msgwin-bar { font-size: 12.5px; }
.os-chan { font-weight: 500; color: var(--ink); }
.os-chan-tabs { display: flex; gap: 4px; }
.os-chan-tabs i { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-style: normal; font-size: 11.5px; }
.os-chan-tabs i.is-on { border-color: var(--ink); color: var(--ink); }
.os-msgpost { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px; }
.os-msgav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--surface-2); }
.os-msgav .logo-mark { width: 18px; height: 18px; }
.os-tile .os-msgwho { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--ink); }
.os-msgwho b { font-weight: 600; }
.os-msgwho span { font-size: 12px; color: var(--faint); }
.os-tile .os-msghead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink); }
.os-msgcard { display: grid; gap: 8px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-md); border-left: 3px solid var(--error); background: var(--surface); }
.os-tile .os-msgcard p { color: var(--ink-2); font-size: 13.5px; }
.os-tile .os-msgcard .os-msgsrc { font-family: var(--mono); font-size: 11px; color: var(--mute); overflow-wrap: anywhere; }
.os-week, .os-record { display: grid; gap: 8px; margin-bottom: 8px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.os-week-head { display: flex; justify-content: space-between; gap: 10px; }
.os-week-head b { font-weight: 500; color: var(--ink); }
.os-week-head span { color: var(--faint); }
.os-week ul { display: grid; gap: 9px; margin-top: 4px; }
.os-week li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 16px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.os-week li i { height: 8px; border-radius: 4px; background: var(--error); transform-origin: left; transform: scaleX(var(--w, 1)); }
.os-week li i.is-zero { background: var(--line-strong); }
.os-week li b { font-weight: 500; text-align: right; color: var(--ink); }
.os-tile .os-week-foot { padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.os-record dl { display: grid; gap: 7px; }
.os-record dl div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
.os-record dt { font-size: 11.5px; color: var(--faint); }
.os-record dd { margin: 0; font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.os-record dd.is-err { color: var(--error-ink); font-weight: 500; }
.os-tile .os-marks { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.os-marks span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 11.5px; color: var(--mute); }
.os-marks .is-on { border-color: var(--ink); color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .js .os-tile-week[data-reveal] .os-week li i { transition: transform 0.9s var(--in) calc(var(--n, 0) * 120ms + 400ms); }
  .js .os-tile-week[data-reveal]:not(.is-in) .os-week li i { transform: scaleX(0); }
  .js .os-tile-record[data-reveal] .os-marks .is-on { transition: opacity 0.25s var(--in) 0.8s, transform 0.5s var(--in) 0.8s; }
  .js .os-tile-record[data-reveal]:not(.is-in) .os-marks .is-on { opacity: 0; transform: scale(1.2); }
  .js .os-tile-alert[data-reveal] :is(.os-msgwin, .os-mailwin) { transition: opacity 0.7s var(--in) 0.35s, transform 0.9s var(--in) 0.35s; }
  .js .os-tile-alert[data-reveal] .os-mailwin { transition-delay: 0.6s; }
  .js .os-tile-alert[data-reveal]:not(.is-in) .os-msgwin { opacity: 0; transform: translateY(16px); }
  .js .os-tile-alert[data-reveal]:not(.is-in) .os-mailwin { opacity: 0; transform: translateY(24px) rotate(0deg); }
}

/* How to start: three figures on one line. */
.os-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.os-path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--ruby) 0 33%, var(--line-strong) 33%); }
.os-path li { padding-top: 28px; }
.os-path-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.os-path-big b { font-size: clamp(44px, 1.6rem + 2.4vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.os-path-big span { font-size: 14px; color: var(--mute); }
.os-path h3 { margin-top: 18px; font-size: 19px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.os-path p:not(.os-path-big) { margin-top: 8px; font-size: 15px; color: var(--mute); }
.os-path + .hero-actions { margin-top: 40px; }

@media (max-width: 1023px) {
  .os-scene { display: flex; flex-direction: column; }
  .os-browser { order: 1; }
  .os-chat { order: 2; align-self: stretch; margin: -64px 20px 0; max-width: 460px; }
  .os-policy { order: 3; margin: 32px 0 0; align-self: stretch; }
  .os-receipt { order: 4; align-self: flex-end; width: min(300px, 86%); margin: 36px 8px 0 0; }
  .os-more { display: none; }
  .os-verdict { margin-top: 40px; }
  .os-bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .os-tile-alert { grid-template-columns: minmax(0, 1fr); }
  .os-tile-week, .os-tile-record { grid-column: auto; }
  .os-trail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .os-trail::before, .os-trail::after { display: none; }
}
@media (max-width: 767px) {
  .os-pdp { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 14px; padding: 14px; }
  .os-pdp-photo { height: 180px; }
  .os-pdp-name { font-size: 19px; }
  .os-pdp-info .os-lines, .os-store-head span:not(.os-bag) { display: none; }
  .os-sizes i { width: 26px; }
  .os-chat { margin: -40px 10px 0; }
  .os-band-line { margin-top: -48px; max-width: none; }
  .os-costs { display: flex; gap: 14px; margin-inline: -16px; padding: 4px 16px 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .os-cost { flex: 0 0 84%; scroll-snap-align: start; }
  .os-bento { grid-template-columns: minmax(0, 1fr); }
  .os-tile { padding: 20px; }
  .os-msgpost { grid-template-columns: minmax(0, 1fr); }
  .os-msgav { display: none; }
  .os-trail { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .os-trail li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding-bottom: 28px; }
  .os-trail li > :not(.os-node) { grid-column: 2; }
  .os-trail .os-node { grid-row: 1 / span 3; }
  .os-trail li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 52px; bottom: 4px; width: 1px; background: var(--line-strong); }
  .os-step-n { margin-top: 4px; }
  .os-path { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .os-path::before { display: none; }
  .os-path li { padding-top: 20px; border-top: 1px solid var(--line); }
  .os-path li:first-child { border-top-color: var(--ruby); }
}

/* =====================================================================
   Any company: six kinds of companies, each with one written rule; then
   the line between what an audit checks and what it cannot prove.
   ===================================================================== */
.ac-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.ac-intro .page-title { max-width: 9.212em; }
.ac-mosaic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ac-col { display: grid; gap: 12px; align-content: start; }
.ac-col:nth-child(2) { margin-top: 56px; }
.ac-col:nth-child(3) { margin-top: 20px; }
.ac-tile { position: relative; height: 196px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--lift-2); isolation: isolate; }
.ac-tile.is-tall { height: 300px; }
.ac-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-tile::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ruby); opacity: 0; pointer-events: none; }
.ac-kind { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #0d253d; font-size: 11.5px; font-weight: 500; }
.ac-slip {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; padding: 8px 10px 9px; border-radius: 8px;
  background: var(--sheet); color: var(--sheet-ink); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16); font-size: 12.5px; line-height: 1.4;
}
.ac-slip span { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; color: var(--sheet-mute); }
.ac-slip mark { color: var(--sheet-ink); }
.ac-slip mark.rule::before, .ac-zone-in mark.rule::before { background: rgba(255, 97, 24, 0.2); box-shadow: inset 0 -2px 0 var(--orange); }
.ac-zone-in mark.claim::before { background: rgba(255, 213, 82, 0.6); box-shadow: inset 0 -2px 0 var(--yellow-deep); }
.ac-mosaic.is-armed .ac-tile { transition: opacity 0.7s var(--in) calc(var(--n) * 0.09s), transform 1s var(--in) calc(var(--n) * 0.09s); }
.ac-mosaic.is-armed:not(.is-play) .ac-tile { opacity: 0; transform: translateY(24px); }
.ac-mosaic.is-armed .ac-tile img { transition: transform 1.6s var(--in) calc(var(--n) * 0.09s); }
.ac-mosaic.is-armed:not(.is-play) .ac-tile img { transform: scale(1.08); }
.ac-mosaic.is-armed .ac-slip { transition: opacity 0.5s var(--in) calc(var(--n) * 0.09s + 0.45s), transform 0.8s var(--in) calc(var(--n) * 0.09s + 0.45s); }
.ac-mosaic.is-armed:not(.is-play) .ac-slip { opacity: 0; transform: translateY(12px); }
.ac-mosaic.is-armed .ac-slip mark::before { transition: transform 0.6s var(--in) calc(var(--n) * 0.09s + 0.8s); }
/* While it is seen, the check passes from one company to the next. */
.ac-mosaic.is-armed .ac-tile::after { animation: ac-check 9s var(--in) calc(var(--n) * 1.5s + 1.6s) infinite; animation-play-state: paused; }
.ac-mosaic.is-live .ac-tile::after { animation-play-state: running; }
@keyframes ac-check { 0% { opacity: 0; } 3%, 13% { opacity: 1; } 18%, 100% { opacity: 0; } }

/* The line: two zones that look nothing alike. */
.ac-zones { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.ac-zone { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); }
.ac-zone h3 { font-size: clamp(22px, 1rem + 0.6vw, 28px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; }
.ac-zone-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.ac-zone-tag i { width: 10px; height: 10px; border-radius: 2px; }
.ac-zone-in { background: var(--sheet); color: var(--sheet-ink); box-shadow: var(--lift-2); }
.ac-zone-in .ac-zone-tag { color: var(--sheet-mute); }
.ac-zone-in .ac-zone-tag i { background: var(--orange); }
.ac-zone-in h3 { color: var(--sheet-ink); }
.ac-topics { display: grid; gap: 8px; }
.ac-topics li { position: relative; padding: 9px 12px 9px 36px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--sheet-line); font-size: 15px; }
.ac-topics li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #1f6f43; }
.ac-topics li::after { content: ""; position: absolute; left: 17px; top: 50%; width: 3px; height: 6px; margin-top: -5px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(45deg); }
.ac-zone-note { font-size: 14px; color: var(--sheet-mute); }
.ac-zone-out { border: 1px dashed var(--line-strong); color: var(--ink-2); background: repeating-linear-gradient(-45deg, transparent 0 11px, var(--line) 11px 12px); }
.ac-zone-out .ac-zone-tag { color: var(--faint); }
.ac-zone-out .ac-zone-tag i { border: 1.5px solid var(--faint); border-radius: 50%; }
.ac-zone-out h3 { color: var(--ink); }
.ac-limits { display: grid; gap: 8px; }
.ac-limits li { position: relative; padding: 9px 12px 9px 36px; border-radius: var(--r-md); background: var(--bg); border: 1px dashed var(--line-strong); font-size: 15px; color: var(--mute); }
.ac-limits li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--faint); box-sizing: border-box; }
.ac-answers { display: grid; gap: 10px; margin-top: auto; padding-top: 10px; }
.ac-answers li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 14px; border-radius: 12px 12px 12px 4px; }
.ac-said { grid-column: 1; font-size: 14.5px; }
.ac-src { grid-column: 1; font-size: 13px; }
.ac-out { grid-column: 2; grid-row: 1 / span 2; }
.ac-out b { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.ac-out b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; }
.ac-zone-in .ac-answers li { background: #ffffff; box-shadow: 0 1px 3px rgba(13, 37, 61, 0.1); color: var(--sheet-ink); }
.ac-zone-in .ac-src { color: var(--sheet-mute); }
.ac-zone-in mark { color: var(--sheet-ink); }
.ac-zone-in .is-ok .ac-out b { background: rgba(13, 37, 61, 0.07); color: #0d253d; }
.ac-zone-in .is-ok .ac-out b::before { background: #0d253d; }
.ac-zone-in .is-err { box-shadow: inset 3px 0 0 #d8351e, 0 1px 3px rgba(13, 37, 61, 0.1); }
.ac-zone-in .is-err .ac-out b { background: #d8351e; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; font-weight: 600; }
.ac-zone-in .is-err .ac-out b::before { display: none; }
.ac-zone-out .ac-answers li { background: var(--bg); border: 1px dashed var(--line-strong); color: var(--ink-2); }
.ac-zone-out .ac-src { color: var(--faint); }
.ac-zone-out .ac-out b { border: 1px solid var(--line-strong); color: var(--ink-2); }
.ac-zone-out .is-none .ac-out b::before { border: 2px solid var(--faint); }
.ac-zone-out .is-skip .ac-out b { border-style: dashed; color: var(--faint); font-weight: 400; }
.ac-zone-out .is-skip .ac-out b::before { background: var(--line-strong); }
.ac-zone-out mark.claim::before { background: var(--claim-bg); box-shadow: inset 0 -2px 0 var(--claim-line); }
.ac-k { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ac-divide { position: relative; display: grid; place-items: center; }
.ac-divide::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 0; border-left: 2px dashed var(--ruby); transform-origin: top; }
.ac-divide span { position: relative; padding: 6px 10px; border-radius: 999px; background: var(--ruby); color: #ffffff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; transform: rotate(-90deg); }
.ac-zones.is-armed .ac-divide::before { transition: transform 1.1s var(--move) 0.2s; }
.ac-zones.is-armed:not(.is-play) .ac-divide::before { transform: scaleY(0); }
.ac-zones.is-armed .ac-divide span { transition: opacity 0.4s var(--in) 0.9s; }
.ac-zones.is-armed:not(.is-play) .ac-divide span { opacity: 0; }
.ac-zones.is-armed .ac-zone { transition: opacity 0.7s var(--in), transform 0.9s var(--in); }
.ac-zones.is-armed .ac-zone-out { transition-delay: 0.15s; }
.ac-zones.is-armed:not(.is-play) .ac-zone { opacity: 0; transform: translateY(18px); }
.ac-zones.is-armed .ac-answers li { transition: opacity 0.5s var(--in) calc(var(--n) * 0.18s + 0.9s), transform 0.8s var(--in) calc(var(--n) * 0.18s + 0.9s); }
.ac-zones.is-armed:not(.is-play) .ac-answers li { opacity: 0; transform: translateY(-14px); }
.ac-zones.is-armed .ac-answers mark::before { transition: transform 0.6s var(--in) calc(var(--n) * 0.18s + 1.3s); }
.ac-zones.is-armed .ac-out b { transition: opacity 0.25s var(--in) calc(var(--n) * 0.18s + 1.5s), transform 0.45s var(--in) calc(var(--n) * 0.18s + 1.5s); }
.ac-zones.is-armed:not(.is-play) .ac-out b { opacity: 0; transform: scale(1.25); }

/* Insufficient evidence: one large empty ring, and the three ways a claim ends there. */
.ac-pull { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ac-pull .section-title { font-size: clamp(30px, 1.2rem + 2vw, 46px); line-height: 1.08; }
.ac-pull .lede + .lede { margin-top: 14px; }
.ac-ring { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin-inline: auto; }
.ac-ring svg { width: 100%; height: 100%; overflow: visible; fill: none; }
.ac-ring-orbit { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 6; }
.ac-ring-main { stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.ac-ring-dot circle { fill: var(--bg); stroke: var(--ruby); stroke-width: 2; }
.ac-ring-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-size: clamp(18px, 1rem + 0.5vw, 22px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.ac-ring-why { position: absolute; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--lift-1); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ac-ring-why[style*="--n:0"] { left: 50%; top: 6.9%; transform: translate(-50%, -150%); }
.ac-ring-why[style*="--n:1"] { right: 0; top: 71.6%; transform: translate(10%, 60%); }
.ac-ring-why[style*="--n:2"] { left: 0; top: 71.6%; transform: translate(-10%, 60%); }
.ac-ring.is-armed .ac-ring-main { stroke-dasharray: 1; transition: stroke-dashoffset 1.4s var(--move) 0.2s; }
.ac-ring.is-armed:not(.is-play) .ac-ring-main { stroke-dashoffset: 1; }
.ac-ring.is-armed :is(.ac-ring-dot, .ac-ring-why, .ac-ring-word) { transition: opacity 0.5s var(--in) calc(var(--n, 0) * 0.2s + 1.1s); }
.ac-ring.is-armed .ac-ring-word { transition-delay: 0.8s; }
.ac-ring.is-armed:not(.is-play) :is(.ac-ring-dot, .ac-ring-why, .ac-ring-word) { opacity: 0; }
.ac-ring.is-armed .ac-ring-orbit { transform-origin: 160px 160px; animation: ac-turn 60s linear infinite; animation-play-state: paused; }
.ac-ring.is-live .ac-ring-orbit { animation-play-state: running; }
@keyframes ac-turn { to { transform: rotate(360deg); } }

.ac-case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.ac-case-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 22px; }
.ac-case-step + .ac-case-step { border-left: 1px solid var(--line); }
.ac-case-step + .ac-case-step::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--bg); transform: rotate(45deg); }
.ac-case-bubble { justify-self: start; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--surface); box-shadow: inset 3px 0 0 var(--claim-line); font-size: 15px; color: var(--ink); }
.ac-case-empty { padding: 10px 12px; border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); font-size: 14.5px; color: var(--mute); }
.ac-case-out p { font-size: 14.5px; color: var(--mute); }
.ac-case-out b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 17px; font-weight: 400; color: var(--ink); }
.ac-case-out i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--faint); }

/* How to start: an agenda beside the heading. */
.ac-agenda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ac-agenda-head { position: sticky; top: 112px; }
.ac-agenda-list { border-top: 1px solid var(--line); }
.ac-agenda-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ac-agenda-n { font-size: 44px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--accent-ink); }
.ac-agenda-list h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.ac-agenda-list p { margin-top: 6px; font-size: 15px; color: var(--mute); }

@media (max-width: 1023px) {
  .ac-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-intro .page-title { max-width: 11.844em; }
  .ac-pull { grid-template-columns: minmax(0, 1fr); }
  .ac-ring { width: min(100%, 340px); }
  .ac-agenda { grid-template-columns: minmax(0, 1fr); }
  .ac-agenda-head { position: static; }
}
@media (max-width: 767px) {
  .ac-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ac-col { display: contents; }
  .ac-col:nth-child(n) { margin: 0; }
  .ac-tile, .ac-tile.is-tall { height: 200px; }
  .ac-slip { left: 6px; right: 6px; bottom: 6px; padding: 7px 8px; font-size: 11.5px; }
  .ac-zones { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 64px auto; }
  .ac-divide::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 0; border-left: 0; border-top: 2px dashed var(--ruby); transform-origin: left; }
  .ac-divide span { transform: none; }
  .ac-zones.is-armed:not(.is-play) .ac-divide::before { transform: scaleX(0); }
  .ac-answers li { grid-template-columns: minmax(0, 1fr); }
  .ac-out { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .ac-ring-why { font-size: 11.5px; }
  .ac-case { grid-template-columns: minmax(0, 1fr); }
  .ac-case-step + .ac-case-step { border-left: 0; border-top: 1px solid var(--line); }
  .ac-case-step + .ac-case-step::before { left: 50%; top: -7px; margin: 0 0 0 -6px; transform: rotate(135deg); }
  .ac-agenda-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .ac-agenda-n { font-size: 34px; }
}

/* =====================================================================
   Your own chatbot: your bot in the middle, any model and any coding
   assistant around it, one call carrying a finished conversation out.
   ===================================================================== */
/* A tighter top than other heroes, so the scene already shows on the first screen. */
.oc-hero { padding-top: clamp(120px, 10vw, 136px); }
.oc-intro { display: grid; justify-items: center; text-align: center; }
.oc-intro .page-title { max-width: 15.792em; }
.oc-intro .lede { max-width: 42.432em; }
.oc-intro .hero-actions { justify-content: center; }
.oc-scene { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin: clamp(32px, 4vw, 48px) 0 0; }
.oc-orbit { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; justify-self: center; --r1: 30%; --r2: 46%; }
.oc-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.oc-rings circle { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 0.5 1.1; transform-origin: 50px 50px; }
.oc-rings .oc-ring-1 { r: 30px; stroke: var(--claim-line); stroke-dasharray: none; opacity: 0.55; }
.oc-rings .oc-ring-2 { r: 46px; }
.oc-ring-name { position: absolute; left: 50%; translate: -50% -50%; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--mute); white-space: nowrap; }
.oc-ring-name-1 { top: calc(50% - var(--r1)); }
.oc-ring-name-2 { top: calc(50% - var(--r2)); }
.oc-core {
  position: absolute; inset: 0; z-index: 1; display: grid; justify-items: center; gap: 2px; width: 28%; height: fit-content; margin: auto; padding: 16px 12px 14px;
  border-radius: 16px; background: var(--bg); border: 1.5px solid var(--ink); box-shadow: 0 0 0 8px var(--bg-soft), var(--lift-2); text-align: center;
}
.oc-core-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 10px; background: var(--accent-bg); }
.oc-core-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oc-core b { font-size: 15px; font-weight: 500; color: var(--ink); }
.oc-core small { font-size: 12px; color: var(--mute); }
.oc-chips li { position: absolute; left: calc(50% + var(--r) * cos(var(--a))); top: calc(50% + var(--r) * sin(var(--a))); translate: -50% -50%; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.oc-models li { --r: var(--r1); background: var(--bg); border: 1px solid var(--claim-line); color: var(--ink); box-shadow: var(--lift-1); }
.oc-models li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--claim-line); }
.oc-tools li { --r: var(--r2); background: var(--inv-bg); color: var(--inv-ink); box-shadow: var(--lift-2); font-family: var(--mono); font-size: 12px; }
.oc-tools li::before { content: "</>"; font-size: 10px; color: var(--yellow); }
.oc-pipe { position: relative; z-index: 1; display: grid; gap: 40px; max-width: 420px; }
.oc-step { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-2); }
.oc-step p { font-size: 13.5px; color: var(--mute); }
.oc-call code { display: block; padding: 8px 10px; border-radius: var(--r-sm); background: #0b1a2b; color: #ffd552; font-size: 13px; overflow-wrap: anywhere; }
.oc-call p { display: flex; align-items: center; gap: 8px; }
.oc-tick { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #2ea043; }
.oc-tick::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(45deg); }
.oc-redact ul { display: grid; gap: 7px; font-family: var(--mono); font-size: 12px; }
.oc-redact li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.oc-redact s { position: relative; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; color: var(--faint); }
.oc-redact s::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px; background: var(--error); transform-origin: left; }
.oc-redact b { flex: none; padding: 1px 6px; border-radius: var(--r-xs); background: var(--surface-2); font-weight: 500; color: var(--ink); }
.oc-redact .is-kept b { padding: 0; background: transparent; font-family: var(--font); font-weight: 400; color: var(--mute); }
.oc-us { border-color: transparent; background: var(--inv-bg); }
.oc-us .sx-label { color: var(--inv-mute); }
.oc-us-title { font-size: 16px; font-weight: 500; }
.oc-step.oc-us .oc-us-title { color: var(--inv-ink); font-size: 16px; }
.oc-step.oc-us p:not(.oc-us-title) { color: var(--inv-mute); }
.oc-trails path:not(.oc-pulse) { stroke: var(--line-strong); }
.oc-scene .sx-trails .oc-pulse { stroke: var(--ruby); stroke-width: 3; stroke-dasharray: 0.07 1; stroke-dashoffset: 0.07; opacity: 0; transition: none; }
.oc-trails path[data-trail="call"] { --t: 1.05s; }
.oc-trails path[data-trail="red"] { --t: 1.55s; }
.oc-trails path[data-trail="us"] { --t: 2.05s; }
.oc-scene.is-live .sx-trails .oc-pulse { opacity: 1; animation: oc-pulse 3.6s linear calc(var(--n) * 1.1s + 2.8s) infinite both; }
@keyframes oc-pulse { 0% { stroke-dashoffset: 0.07; } 28%, 100% { stroke-dashoffset: -1; } }

.oc-scene.is-armed .oc-rings circle { transition: opacity 1s var(--in); }
.oc-scene.is-armed:not(.is-play) .oc-rings circle { opacity: 0; }
.oc-scene.is-armed .oc-ring-2 { animation: oc-turn 90s linear infinite; animation-play-state: paused; }
.oc-scene.is-live .oc-ring-2 { animation-play-state: running; }
@keyframes oc-turn { to { transform: rotate(360deg); } }
.oc-scene.is-armed :is(.oc-core, .oc-chips li, .oc-ring-name, .oc-step) { transition: opacity 0.6s var(--in), transform 0.9s var(--in); }
.oc-scene.is-armed:not(.is-play) .oc-core { opacity: 0; transform: scale(0.94); }
.oc-scene.is-armed .oc-ring-name { transition-delay: 0.3s; }
.oc-scene.is-armed:not(.is-play) .oc-ring-name { opacity: 0; }
.oc-scene.is-armed .oc-models li { transition-delay: calc(var(--n) * 0.09s + 0.35s); }
.oc-scene.is-armed .oc-tools li { transition-delay: calc(var(--n) * 0.09s + 0.6s); }
.oc-scene.is-armed:not(.is-play) .oc-chips li { opacity: 0; transform: scale(0.9); }
.oc-scene.is-armed .oc-call { transition-delay: 1.2s; }
.oc-scene.is-armed .oc-redact { transition-delay: 1.7s; }
.oc-scene.is-armed .oc-us { transition-delay: 2.2s; }
.oc-scene.is-armed:not(.is-play) .oc-step { opacity: 0; transform: translateY(14px); }
.oc-scene.is-armed .oc-redact s::after { transition: transform 0.5s var(--in) calc(var(--n, 0) * 0.18s + 2.1s); }
.oc-scene.is-armed:not(.is-play) .oc-redact s::after { transform: scaleX(0); }
.oc-scene.is-armed .oc-redact b { transition: opacity 0.4s var(--in) calc(var(--n, 0) * 0.18s + 2.4s); }
.oc-scene.is-armed:not(.is-play) .oc-redact li:not(.is-kept) b { opacity: 0; }
.oc-scene.is-armed .oc-redact mark::before { transition: transform 0.6s var(--in) 2.9s; }

/* Any model, any assistant: the change your assistant proposes, which you review. */
.oc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.oc-points { display: grid; gap: 22px; margin-top: 36px; }
.oc-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.oc-pico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); }
.oc-pico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.oc-points h3 { padding-top: 2px; font-size: 18px; font-weight: 400; letter-spacing: -0.01em; }
.oc-points p { margin-top: 4px; font-size: 15px; color: var(--mute); }
.oc-ide { border-radius: var(--r-lg); overflow: hidden; background: #0b1a2b; color: #dbe6f3; box-shadow: var(--lift-2); }
.oc-ide-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.oc-ide-bar .os-dots i { background: rgba(255, 255, 255, 0.18); }
.oc-ide-file { font-family: var(--mono); font-size: 12px; color: #8fa3ba; }
.oc-ide-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 320px; }
.oc-ide-code { padding: 16px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; overflow: hidden; }
.oc-ln { display: grid; grid-template-columns: 40px minmax(0, 1fr); white-space: pre; }
.oc-ln i { padding-right: 12px; font-style: normal; text-align: right; color: #4d6580; }
.oc-ln span { overflow: hidden; text-overflow: ellipsis; }
.oc-ln em { font-style: normal; }
.oc-ln .k { color: #ff9eb9; }
.oc-ln .c { color: #6f87a3; }
.oc-ln.is-add { background: rgba(46, 160, 67, 0.16); box-shadow: inset 2px 0 0 #2ea043; }
.oc-ln.is-add i::before { content: "+"; margin-right: 6px; color: #7ee2a0; }
.oc-assist { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-left: 1px solid rgba(255, 255, 255, 0.08); background: #10233a; font-size: 13px; }
.oc-assist-head { display: flex; align-items: center; gap: 8px; color: #ffffff; font-weight: 500; }
.oc-assist-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.oc-prompt { display: grid; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); }
.oc-prompt .sx-label { color: #8fa3ba; }
.oc-prompt .os-lines i { background: rgba(255, 255, 255, 0.12); }
.oc-assist-msg { color: #c6d3e2; }
.oc-review { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8fa3ba; }
.oc-review b { padding: 5px 12px; border-radius: var(--r-sm); background: #ffffff; color: #0b1a2b; font-weight: 500; }
.oc-ide.is-armed .oc-ln.is-add { transition: clip-path 0.45s var(--move) calc(var(--n) * 0.14s + 0.4s); clip-path: inset(0 0 0 0); }
.oc-ide.is-armed:not(.is-play) .oc-ln.is-add { clip-path: inset(0 100% 0 0); }
.oc-ide.is-armed :is(.oc-prompt, .oc-assist-msg, .oc-review) { transition: opacity 0.5s var(--in), transform 0.7s var(--in); }
.oc-ide.is-armed .oc-assist-msg { transition-delay: 1.2s; }
.oc-ide.is-armed .oc-review { transition-delay: 1.5s; }
.oc-ide.is-armed:not(.is-play) :is(.oc-prompt, .oc-assist-msg, .oc-review) { opacity: 0; transform: translateY(8px); }

/* The code, with three pins and what they mean. */
.oc-codewrap { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.oc-codewrap .code-card { margin-top: 0; }
.oc-pin { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 10px; vertical-align: -3px; border-radius: 50%; background: var(--ruby); font-style: normal; }
.oc-pin::after { content: attr(data-n); font-family: var(--font); font-size: 11px; font-weight: 600; line-height: 1; color: #ffffff; }
.oc-notes { display: grid; gap: 22px; }
.oc-notes li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
.oc-note-n { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ruby); color: #ffffff; font-size: 12px; font-weight: 600; }
.oc-notes b { font-size: 16px; font-weight: 500; color: var(--ink); }
.oc-notes li > span:last-child { margin-top: 2px; font-size: 14.5px; color: var(--mute); }
#code .sx-next { margin-top: 40px; }

/* Never on the reply path: two lanes, the conversation and the background. */
.oc-lanes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 12px; margin-bottom: 16px; padding: clamp(28px, 3vw, 40px) clamp(12px, 2vw, 24px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-soft); }
.oc-lane-name { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--faint); }
.oc-lane-name-a { grid-column: 1 / 4; padding-left: calc(100% / 6 - 40px); }
.oc-lane-name-b { grid-column: 3 / 7; text-align: right; padding-right: calc(100% / 8 - 30px); color: var(--accent-ink); }
.oc-lane { position: relative; display: grid; grid-template-columns: subgrid; align-items: center; }
.oc-lane-a { grid-column: 1 / 4; }
.oc-lane-b { grid-column: 3 / 7; margin-top: 44px; }
.oc-lane::before { content: ""; position: absolute; top: 50%; left: calc(100% / 6); right: calc(100% / 6); border-top: 1.5px solid var(--ink-2); transform-origin: left; }
.oc-lane-b::before { left: calc(100% / 8); right: calc(100% / 8); border-top: 1.5px dashed var(--ruby); }
.oc-ev { position: relative; z-index: 1; justify-self: center; max-width: calc(100% - 8px); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 12.5px; line-height: 1.3; text-align: center; color: var(--ink-2); }
.oc-ev-c { background: var(--surface); }
.oc-ev-b { display: inline-flex; align-items: center; gap: 7px; }
.oc-ev-b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--claim-line); }
.oc-ev-end { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.oc-ev-call { display: grid; gap: 2px; padding: 7px 12px; border-radius: 10px; border-color: transparent; background: #0b1a2b; }
.oc-ev-call code { font-size: 11.5px; color: #ffd552; }
.oc-ev-call small { font-size: 11px; color: #7ee2a0; }
.oc-ev-call::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 56px; border-left: 1.5px dashed var(--ruby); }
.oc-ev-retry { display: inline-flex; align-items: center; gap: 6px; }
.oc-ev-retry svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oc-ev-us { border-color: transparent; background: var(--inv-bg); color: var(--inv-ink); }
.oc-lanes.is-armed .oc-lane::before { transition: transform 0.9s var(--move) 0.1s; }
.oc-lanes.is-armed .oc-lane-b::before { transition-delay: 1.5s; }
.oc-lanes.is-armed:not(.is-play) .oc-lane::before { transform: scaleX(0); }
.oc-lanes.is-armed .oc-ev { transition: opacity 0.5s var(--in) calc(var(--n) * 0.22s + 0.1s), transform 0.7s var(--in) calc(var(--n) * 0.22s + 0.1s); }
.oc-lanes.is-armed:not(.is-play) .oc-ev { opacity: 0; transform: translateY(8px); }
.oc-lanes.is-live .oc-ev-retry svg { animation: oc-spin 2.4s var(--move) infinite; }
@keyframes oc-spin { 0%, 40% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.oc-guards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.oc-guard { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.oc-guard .sx-gico { margin-bottom: 6px; }
.oc-guard h3 { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; }
.oc-guard p { font-size: 14.5px; color: var(--mute); }
.oc-gate .oc-shackle { transition: transform 0.5s var(--in) 0.6s; }
@media (prefers-reduced-motion: no-preference) {
  .js .oc-gate[data-reveal]:not(.is-in) .oc-shackle { transform: translateY(-3px); }
}

@media (max-width: 1023px) {
  .oc-scene { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .oc-orbit { max-width: 460px; }
  .oc-pipe { justify-self: center; width: 100%; max-width: 460px; }
  .oc-split { grid-template-columns: minmax(0, 1fr); }
  .oc-codewrap { grid-template-columns: minmax(0, 1fr); }
  .oc-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .oc-guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .oc-intro { justify-items: start; text-align: left; }
  .oc-intro .hero-actions { justify-content: flex-start; }
  .oc-chips li { padding: 4px 9px; font-size: 11.5px; }
  .oc-tools li { font-size: 11px; }
  .oc-orbit { --r1: 34%; --r2: 47%; }
  .oc-rings .oc-ring-1 { r: 34px; }
  .oc-rings .oc-ring-2 { r: 47px; }
  .oc-core { width: 28%; padding: 10px 6px; box-shadow: 0 0 0 5px var(--bg-soft), var(--lift-2); }
  .oc-core small { display: none; }
  .oc-core-ico { width: 30px; height: 30px; margin-bottom: 2px; }
  .oc-core b { font-size: 12.5px; }
  .oc-ring-name { font-size: 10px; }
  .oc-ide-body { grid-template-columns: minmax(0, 1fr); }
  .oc-assist { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .oc-ide-code { font-size: 11.5px; }
  .oc-notes { grid-template-columns: minmax(0, 1fr); }
  .oc-lanes { display: block; padding: 0; }
  .oc-lane { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0 8px 26px; }
  .oc-lane::before, .oc-lane-b::before { top: 18px; bottom: 18px; left: 8px; right: auto; border-top: 0; border-left: 1.5px solid var(--ink-2); transform-origin: top; }
  .oc-lane-b { margin: 6px 0 0 24px; }
  .oc-lane-b::before { border-left: 1.5px dashed var(--ruby); }
  .oc-lanes.is-armed:not(.is-play) .oc-lane::before { transform: scaleY(0); }
  .oc-ev { justify-self: auto; max-width: none; text-align: left; }
  .oc-ev-call::before { display: none; }
  .oc-lane-name-a, .oc-lane-name-b { padding: 0; text-align: left; margin-top: 8px; }
  .oc-lane-name-b { margin-left: 24px; }
  .oc-guards { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Gorgias: a helpdesk ticket where only the AI Agent's message is judged
   and everything else is visibly left alone.
   ===================================================================== */
.gg-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.gg-intro .lede { margin-top: 0; }
.gg-hero { --hd-ink: #1d2433; --hd-mute: #6b7486; --hd-line: #e4e7ee; --hd-bg: #ffffff; --hd-soft: #f5f6f9; --hd-rail: #1d2433; }
.gg-desk { margin: clamp(48px, 6vw, 72px) 0 0; }
.gg-app {
  display: grid; grid-template-columns: 52px 220px minmax(0, 1fr) 272px; min-height: 440px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--hd-bg); color: var(--hd-ink); box-shadow: var(--lift-2); font-size: 13.5px;
}
.gg-rail { display: grid; align-content: start; justify-items: center; gap: 14px; padding: 16px 0; background: var(--hd-rail); }
.gg-rail i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.gg-rail i.is-on { background: rgba(255, 255, 255, 0.85); }
.gg-list { border-right: 1px solid var(--hd-line); background: var(--hd-soft); }
.gg-list-head { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--hd-line); }
.gg-list-head b { margin-right: auto; font-weight: 600; }
.gg-list-head span { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 11px; color: var(--hd-mute); }
.gg-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--hd-line); }
.gg-row.is-on { background: var(--hd-bg); box-shadow: inset 3px 0 0 var(--hd-ink); }
.gg-row b { display: block; font-size: 12.5px; font-weight: 600; }
.gg-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--hd-mute); }
.gg-row > span:last-child { display: grid; gap: 6px; min-width: 0; }
.gg-row > span:last-child i { height: 6px; border-radius: 3px; background: #dfe3ea; }
.gg-row > span:last-child i + i { width: 70%; }
.gg-ch { width: 22px; height: 22px; border-radius: 50%; background: #e8ebf1 no-repeat center / 12px 12px; }
.gg-ch::before { content: ""; display: block; width: 10px; height: 8px; margin: 7px auto 0; border-radius: 3px 3px 3px 1px; border: 1.5px solid var(--hd-mute); }
.gg-ch.is-mail::before { border-radius: 1px; }
.gg-thread { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gg-thread-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 8px 18px; border-bottom: 1px solid var(--hd-line); }
.gg-thread-bar b { margin-right: 6px; font-weight: 600; }
.gg-thread-bar span { padding: 2px 9px; border-radius: 999px; background: var(--hd-soft); border: 1px solid var(--hd-line); font-size: 11.5px; color: var(--hd-mute); }
.gg-msgwrap { position: relative; flex: 1; overflow: hidden; }
.gg-msgs { display: grid; gap: 4px; padding: 12px; }
.gg-msg { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px; border-radius: 10px; }
.gg-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8ebf1; font-size: 11px; font-weight: 600; color: var(--hd-mute); }
.gg-who { font-size: 12px; font-weight: 600; color: var(--hd-ink); }
.gg-msg p:not(.gg-who) { margin-top: 2px; color: #39404d; }
.gg-tag { align-self: center; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 11.5px; color: var(--hd-mute); white-space: nowrap; }
.gg-msg.is-left > :not(.gg-tag) { opacity: 0.55; }
.gg-msg.is-note { background: #fff8e1; }
.gg-msg.is-note p:not(.gg-who) { font-style: italic; }
.gg-msg.is-note .gg-tag { border-style: dashed; }
.gg-msg.is-bot { background: #fff; box-shadow: 0 0 0 1.5px var(--ruby), 0 8px 20px rgba(234, 34, 97, 0.12); }
.gg-msg.is-bot .gg-av { background: var(--hd-ink); color: #ffffff; }
.gg-msg.is-bot p:not(.gg-who) { color: var(--hd-ink); }
.gg-msg.is-bot .gg-tag { border-color: var(--ruby); background: var(--ruby); color: #ffffff; font-weight: 500; }
.gg-msg mark { color: var(--hd-ink); }
.gg-hero mark.claim::before { background: rgba(255, 213, 82, 0.6); box-shadow: inset 0 -2px 0 var(--yellow-deep); }
.gg-hero mark.rule::before { background: rgba(255, 97, 24, 0.18); box-shadow: inset 0 -2px 0 var(--orange); }
.gg-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, transparent 60%, rgba(234, 34, 97, 0.07)); }
.gg-scan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ruby); }
.gg-reply { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--hd-line); color: #a3aab8; font-size: 12.5px; }
.gg-reply i { width: 54px; height: 24px; border-radius: 6px; background: #e8ebf1; }
.gg-side { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-left: 1px solid var(--hd-line); background: var(--hd-soft); }
.gg-side-head { font-size: 12px; font-weight: 600; color: var(--hd-mute); }
.gg-side .os-lines i { background: #dfe3ea; }
.gg-verdict { display: grid; gap: 10px; margin-top: auto; padding: 14px; border-radius: 10px; background: #ffffff; box-shadow: 0 0 0 1px rgba(216, 53, 30, 0.35), 0 10px 24px rgba(13, 37, 61, 0.1); }
.gg-verdict .sx-label { color: #8898aa; margin-bottom: 1px; }
.gg-verdict mark { color: var(--hd-ink); }
.gg-verdict-src { font-family: var(--mono); font-size: 11px; color: var(--hd-mute); }

.gg-desk.is-armed .gg-app { transition: opacity 0.7s var(--in), transform 1s var(--in); }
.gg-desk.is-armed:not(.is-play) .gg-app { opacity: 0; transform: translateY(18px); }
.gg-desk.is-armed .gg-msg { transition: opacity 0.5s var(--in) calc(var(--n) * 0.2s + 0.3s), transform 0.7s var(--in) calc(var(--n) * 0.2s + 0.3s); }
.gg-desk.is-armed:not(.is-play) .gg-msg { opacity: 0; transform: translateY(8px); }
/* The scan passes; everything but the AI Agent's message steps back. */
.gg-desk.is-armed .gg-msg.is-left > :not(.gg-tag) { transition: opacity 0.6s var(--in) calc(var(--n) * 0.26s + 1.45s); }
.gg-desk.is-armed:not(.is-play) .gg-msg.is-left > :not(.gg-tag) { opacity: 1; }
.gg-desk.is-armed .gg-tag { transition: opacity 0.35s var(--in) calc(var(--n) * 0.26s + 1.5s), transform 0.5s var(--in) calc(var(--n) * 0.26s + 1.5s); }
.gg-desk.is-armed:not(.is-play) .gg-tag { opacity: 0; transform: translateX(-6px); }
.gg-desk.is-armed .gg-msg.is-bot { transition: opacity 0.5s var(--in) 0.5s, transform 0.7s var(--in) 0.5s, box-shadow 0.5s var(--in) 1.75s; }
.gg-desk.is-armed:not(.is-play) .gg-msg.is-bot { box-shadow: 0 0 0 1.5px transparent; }
.gg-desk.is-armed .gg-msg mark::before { transition: transform 0.6s var(--in) 1.95s; }
.gg-desk.is-armed.is-play .gg-scan { animation: gg-scan 1.25s var(--move) 1.3s both; }
.gg-desk.is-armed .gg-verdict { transition: opacity 0.6s var(--in) 2.5s, transform 0.9s var(--in) 2.5s; }
.gg-desk.is-armed:not(.is-play) .gg-verdict { opacity: 0; transform: translateX(24px); }
.gg-desk.is-armed .gg-verdict .sx-stamp { transition: opacity 0.2s var(--in) 2.95s, transform 0.45s var(--in) 2.95s; }
.gg-desk.is-armed:not(.is-play) .gg-verdict .sx-stamp { opacity: 0; transform: rotate(-8deg) scale(1.4); }
.gg-desk.is-armed .gg-verdict mark::before { transition: transform 0.6s var(--in) 3.1s; }
@keyframes gg-scan { 0% { opacity: 1; transform: translateY(-100%); } 88% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }

/* Six stops on one line, and the nightly way round the one that can fail. */
.gg-line { position: relative; padding-top: 112px; }
.gg-stops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gg-stops li { position: relative; display: grid; gap: 6px; align-content: start; }
.gg-stop { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); }
.gg-stop svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gg-stops li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 56px; right: -8px; height: 1px; background: var(--line-strong); transform-origin: left; }
.gg-stops b { font-size: 15px; font-weight: 500; color: var(--ink); }
.gg-stops small { font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.gg-stops .is-judge .gg-stop { border-color: var(--claim-line); box-shadow: 0 0 0 5px var(--claim-bg); }
.gg-stops .is-out .gg-stop { border-color: var(--error); background: var(--error); }
.gg-stops .is-out .gg-stop svg { stroke: #fff; }
.gg-night-label { position: absolute; left: calc((100% - 80px) / 6 * 1 + 16px + 24px - 50px); top: 22px; width: 100px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink); }
.gg-line.is-armed .gg-stop { transition: opacity 0.4s var(--in) calc(var(--n) * 0.2s + 0.2s), transform 0.6s var(--in) calc(var(--n) * 0.2s + 0.2s); }
.gg-line.is-armed:not(.is-play) .gg-stop { opacity: 0; transform: scale(0.8); }
.gg-line.is-armed li::after { transition: transform 0.5s var(--move) calc(var(--n) * 0.2s + 0.4s); }
.gg-line.is-armed:not(.is-play) li::after { transform: scaleX(0); }
.gg-line .sx-trails { --t: 1.5s; }
.gg-line.is-armed .gg-night-label { transition: opacity 0.5s var(--in) 2.1s; }
.gg-line.is-armed:not(.is-play) .gg-night-label { opacity: 0; }
.sx-catch { display: flex; align-items: flex-start; gap: 12px; max-width: 50.388em; margin-top: 40px; padding: 14px 16px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); font-size: 14.5px; color: var(--ink-2); }
.sx-catch svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sx-catch b { font-weight: 500; color: var(--ink); }

/* Four signals, all of which must agree; then chat and email. */
.gg-signals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gg-board { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-2); }
.gg-board-msg { padding: 12px 14px; border-radius: 12px 12px 12px 4px; background: var(--surface); box-shadow: inset 3px 0 0 var(--ruby); font-size: 15px; color: var(--ink); transition: box-shadow 0.25s var(--ease-ui), opacity 0.25s var(--ease-ui); }
.gg-board-msg .sx-label { margin-bottom: 4px; }
.gg-board[data-agree="no"] .gg-board-msg { box-shadow: inset 3px 0 0 var(--line-strong); opacity: 0.7; }
.gg-sigs { display: grid; gap: 6px; }
.gg-sig { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); text-align: left; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; transition: border-color 0.2s var(--ease-ui), background-color 0.2s var(--ease-ui); }
.gg-switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #2ea043; transition: background-color 0.2s var(--ease-ui); }
.gg-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transform: translateX(16px); transition: transform 0.2s var(--ease-ui); }
.gg-sig[aria-pressed="false"] { border-style: dashed; color: var(--mute); }
.gg-sig[aria-pressed="false"] .gg-switch { background: var(--line-strong); }
.gg-sig[aria-pressed="false"] .gg-switch::after { transform: none; }
.gg-sig:active { background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .gg-sig:hover { border-color: var(--line-strong); } }
.gg-result p { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; }
.gg-result b { font-size: 15px; font-weight: 500; }
.gg-result [data-when="yes"] { background: var(--inv-bg); color: var(--inv-mute); }
.gg-result [data-when="yes"] b { color: var(--inv-ink); }
.gg-result [data-when="no"] { border: 1px dashed var(--line-strong); color: var(--mute); }
.gg-result [data-when="no"] b { color: var(--ink); }
.gg-hint { display: none; font-size: 13px; color: var(--faint); }
.gg-board.is-ready .gg-hint { display: block; }
.gg-signals-text h3 { font-size: clamp(22px, 1rem + 0.6vw, 26px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.2; }
.gg-signals-text > p:not(.callout) { margin-top: 16px; font-size: 15px; color: var(--mute); max-width: 34.476em; }
.gg-chans { display: grid; gap: 10px; margin-top: 28px; }
.gg-chan { display: grid; grid-template-columns: 36px 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg); }
.gg-chan-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface); }
.gg-chan-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.gg-chan b { font-weight: 500; }
.gg-chan i { height: 2px; border-radius: 2px; background: var(--ink-2); }
.gg-chan-out { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.gg-chan.is-chat .gg-chan-out { background: var(--inv-bg); color: var(--inv-ink); }
.gg-chan.is-mail { border-style: dashed; color: var(--mute); }
.gg-chan.is-mail .gg-chan-out { border: 1px dashed var(--line-strong); color: var(--mute); }
.gg-same { display: flex; align-items: center; gap: 6px; }
.gg-same em { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.gg-same em + em::before { content: "or"; margin: 0 8px 0 -2px; color: var(--faint); }
.gg-signals .callout { margin-top: 16px; }

/* Setup: the steps beside the two screens they happen on. */
.gg-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.gg-forms { position: relative; display: grid; gap: 0; padding: 12px 0 40px; }
.gg-form { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); box-shadow: var(--lift-2); font-size: 13.5px; }
.gg-form-us { position: relative; z-index: 1; width: 88%; padding-bottom: 36px; border: 1px solid var(--line); background: var(--bg); }
.gg-form-them { position: relative; z-index: 2; width: 82%; margin: -14px 0 0 auto; border: 1px solid #e4e7ee; background: #ffffff; color: #1d2433; }
.gg-form-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gg-form-them .gg-form-head { border-bottom-color: #e4e7ee; }
.gg-form-head .logo-mark { width: 18px; height: 18px; }
.gg-form-head b { font-weight: 600; }
.gg-form-head span:last-child { margin-left: auto; font-size: 12px; color: var(--faint); }
.gg-form-them .gg-form-head span:last-child { color: #6b7486; }
.gg-form-ico { width: 18px; height: 18px; border-radius: 5px; background: #1d2433; }
.gg-field { display: grid; gap: 4px; }
.gg-field span { font-size: 11.5px; color: var(--faint); }
.gg-form-them .gg-field span { color: #6b7486; }
.gg-field b { padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-weight: 400; color: var(--ink); }
.gg-form-them .gg-field b { border-color: #d5dae3; color: #1d2433; }
.gg-mono, .gg-dots { font-family: var(--mono); font-size: 12.5px; }
.gg-ok { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.gg-forms.is-armed .gg-form { transition: opacity 0.6s var(--in), transform 0.9s var(--in); }
.gg-forms.is-armed .gg-form-them { transition-delay: 0.5s; }
.gg-forms.is-armed:not(.is-play) .gg-form { opacity: 0; transform: translateY(16px); }
.gg-forms.is-armed .gg-ok { transition: opacity 0.4s var(--in) 1.1s; }
.gg-forms.is-armed:not(.is-play) .gg-ok { opacity: 0; }
#faq .faq { border-top-color: var(--line); }

@media (max-width: 1023px) {
  .gg-intro { grid-template-columns: minmax(0, 1fr); }
  .gg-app { grid-template-columns: 52px minmax(0, 1fr) 240px; }
  .gg-list { display: none; }
  .gg-stops { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .gg-stops li:nth-child(3)::after { display: none; }
  .gg-line { padding-top: 0; }
  .gg-trails, .gg-night-label { display: none; }
  .gg-signals, .gg-setup { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .gg-app { grid-template-columns: minmax(0, 1fr); }
  .gg-rail { display: none; }
  .gg-msgs { padding: 8px; }
  .gg-msg { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .gg-av { width: 26px; height: 26px; font-size: 10px; }
  .gg-tag { grid-column: 2; justify-self: start; }
  .gg-side { border-left: 0; border-top: 1px solid var(--hd-line); }
  .gg-side-head, .gg-side > .os-lines { display: none; }
  .gg-stops { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gg-stops li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding-bottom: 22px; }
  .gg-stop { grid-row: span 2; margin: 0; }
  .gg-stops b { padding-top: 4px; }
  .gg-stops li:not(:last-child)::after, .gg-stops li:nth-child(3)::after { display: block; top: 52px; bottom: 4px; left: 24px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .gg-line.is-armed:not(.is-play) li::after { transform: scaleY(0); }
  .gg-chan { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .gg-chan i, .gg-same { display: none; }
  .gg-form-us, .gg-form-them { width: auto; }
  .gg-form-them { margin: 12px 0 0 16px; }
}

/* =====================================================================
   Shopify: the product page read today, with the data written into it
   pulled out under a lens; the admin behind it, dashed, coming soon.
   ===================================================================== */
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.sp-intro .page-title { max-width: 9.87em; }
.sp-hero mark.rule::before, .sp-wires .sp-src mark.rule::before { background: rgba(255, 97, 24, 0.18); box-shadow: inset 0 -2px 0 var(--orange); }
.sp-scene { position: relative; min-height: 500px; margin: 0; color: #1f2a24; }
.sp-admin {
  position: absolute; top: 64px; right: 0; width: 41%; display: grid; gap: 12px; padding: 14px; border-radius: var(--r-lg);
  border: 1.5px dashed var(--line-strong); background: var(--bg-soft); color: var(--ink);
}
.sp-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sp-admin-head b { display: block; font-size: 14px; font-weight: 500; }
.sp-admin-head small { display: block; font-size: 12px; color: var(--mute); }
.sp-admin-body { display: grid; gap: 10px; }
.sp-admin-nav { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); font-size: 11.5px; color: var(--faint); }
.sp-admin-nav li { display: flex; align-items: center; gap: 7px; }
.sp-admin-nav i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--faint); }
.sp-admin-items { display: grid; gap: 7px; }
.sp-admin-items li { position: relative; padding: 8px 10px 8px 30px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); font-size: 13px; color: var(--ink-2); }
.sp-admin-items li::before { content: ""; position: absolute; left: 10px; top: 13px; width: 10px; height: 8px; border-radius: 2px; background: var(--faint); }
.sp-admin-items li::after { content: ""; position: absolute; left: 11.5px; top: 8px; width: 7px; height: 7px; border: 1.5px solid var(--faint); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.sp-admin-foot { font-size: 12px; color: var(--mute); }
.sp-store { position: absolute; left: 0; top: 0; z-index: 2; width: 61%; }
.sp-today { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--rule-line); font-size: 12px; font-weight: 500; color: var(--ink); box-shadow: var(--lift-1); }
.sp-today i { width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.sp-win { border-radius: var(--r-lg); overflow: hidden; background: #fbfaf7; border: 1px solid var(--line); box-shadow: var(--lift-2); }
.sp-win .os-chrome { height: 32px; }
.sp-win .os-url { font-size: 11px; }
.sp-pdp { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 16px; padding: 14px; overflow: hidden; }
.sp-photo { height: 176px; border-radius: 8px; overflow: hidden; background: #ece9e2; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-info { display: grid; align-content: start; gap: 8px; }
.sp-name { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.15; }
.sp-price, .sp-stock { font-size: 14px; }
.sp-stock { font-size: 12.5px; }
.sp-info mark { color: #1f2a24; }
.sp-btn { margin-top: 6px; padding: 9px; border-radius: 6px; background: #1f2a24; color: #fff; font-size: 12px; text-align: center; }
.sp-scanline { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, transparent 55%, rgba(255, 97, 24, 0.12)); }
.sp-scanline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); box-shadow: 0 0 12px rgba(255, 97, 24, 0.6); }
.sp-lens { position: absolute; left: 7%; top: 300px; z-index: 3; width: 54%; border-radius: var(--r-lg); overflow: hidden; background: #0b1a2b; color: #dbe6f3; box-shadow: 0 18px 40px rgba(0, 20, 40, 0.28); }
.sp-lens-head { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; color: #ffffff; }
.sp-lens-tag { color: #8fa3ba; font-family: var(--mono); font-size: 11px; }
.sp-code { margin: 0; padding: 12px 14px 14px; font-size: 12px; line-height: 1.65; white-space: pre; overflow: hidden; }
.sp-code .k { color: #8fb8ff; }
.sp-code mark { color: #ffffff; }
.sp-code mark.rule::before { background: rgba(255, 97, 24, 0.35); box-shadow: inset 0 -2px 0 var(--orange); }

.sp-scene.is-armed :is(.sp-store, .sp-lens, .sp-admin) { transition: opacity 0.7s var(--in), transform 1s var(--in); }
.sp-scene.is-armed:not(.is-play) .sp-store { opacity: 0; transform: translateY(18px); }
.sp-scene.is-armed .sp-lens { transition-delay: 1.3s; }
.sp-scene.is-armed:not(.is-play) .sp-lens { opacity: 0; transform: translateY(-28px) scale(0.97); }
.sp-scene.is-armed .sp-admin { transition-delay: 2.2s; }
.sp-scene.is-armed:not(.is-play) .sp-admin { opacity: 0; transform: translate(14px, -10px); }
.sp-scene.is-armed .sp-info mark::before { transition: transform 0.6s var(--in) 1.1s; }
.sp-scene.is-armed .sp-stock mark::before { transition-delay: 1.3s; }
.sp-scene.is-armed .sp-code mark::before { transition: transform 0.6s var(--in) 1.9s; }
.sp-scene.is-armed.is-play .sp-scanline { animation: sp-scan 7s var(--move) 0.5s infinite; animation-play-state: paused; }
.sp-scene.is-armed.is-play.is-live .sp-scanline { animation-play-state: running; }
@keyframes sp-scan { 0% { opacity: 1; transform: translateY(-100%); } 14% { opacity: 1; transform: translateY(0); } 18%, 100% { opacity: 0; transform: translateY(0); } }

/* Which source checks what: each claim wired to the page that holds the truth. */
.sp-wires { display: grid; gap: 14px; }
.sp-wires li { display: grid; grid-template-columns: fit-content(44%) minmax(140px, 1fr) 40%; align-items: center; }
.sp-out { position: relative; display: grid; place-items: center; align-self: stretch; }
.sp-out::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--ink-2); transform-origin: left; }
.is-none .sp-out::before { border-top: 1.5px dashed var(--faint); }
.sp-said { justify-self: start; max-width: 100%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); box-shadow: inset 3px 0 0 var(--claim-line); font-size: 15px; color: var(--ink); }
.sp-out b { position: relative; }
.sp-out b { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.sp-out b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); box-sizing: border-box; }
.is-none .sp-out b { color: var(--ink-2); }
.is-none .sp-out b::before { background: transparent; border: 2px solid var(--faint); }
.sp-src { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sheet); color: var(--sheet-ink); box-shadow: var(--lift-1); font-size: 14px; }
.sp-src code { font-size: 11.5px; color: var(--sheet-mute); }
.is-none .sp-src { border: 1.5px dashed var(--line-strong); background: transparent; color: var(--mute); box-shadow: none; }
.is-none .sp-src code { color: var(--faint); }
.sp-wires mark.claim::before { background: var(--claim-bg); box-shadow: inset 0 -2px 0 var(--claim-line); }
.sp-wires.is-armed li { transition: opacity 0.6s var(--in) calc(var(--n) * 0.16s + 0.1s), transform 0.8s var(--in) calc(var(--n) * 0.16s + 0.1s); }
.sp-wires.is-armed:not(.is-play) li { opacity: 0; transform: translateY(10px); }
.sp-wires.is-armed .sp-out::before { transition: transform 0.6s var(--move) calc(var(--n) * 0.16s + 0.5s); }
.sp-wires.is-armed:not(.is-play) .sp-out::before { transform: scaleX(0); }
.sp-wires.is-armed .sp-out b { transition: opacity 0.25s var(--in) calc(var(--n) * 0.16s + 1s), transform 0.45s var(--in) calc(var(--n) * 0.16s + 1s); }
.sp-wires.is-armed:not(.is-play) .sp-out b { opacity: 0; transform: scale(1.25); }
.sp-wires.is-armed mark::before { transition: transform 0.6s var(--in) calc(var(--n) * 0.16s + 0.4s); }
.sx-sort-note { margin-top: 16px; font-size: 14px; color: var(--mute); }

/* What we read: the bot's own log, three seconds apart, beside the two lists. */
.sp-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.sp-log { position: sticky; top: 104px; border-radius: var(--r-lg); overflow: hidden; background: #0b1a2b; color: #dbe6f3; box-shadow: var(--lift-2); font-family: var(--mono); font-size: 12.5px; }
.sp-log-head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #8fa3ba; font-size: 12px; }
.sp-log-head span:first-child { color: #ffffff; }
.sp-log ol { display: grid; padding: 10px 0; }
.sp-log li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; padding: 7px 16px; }
.sp-log time { color: #6f87a3; }
.sp-log code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ffd552; }
.sp-log li > span { color: #7ee2a0; font-size: 11.5px; }
.sp-log .is-skip code { color: #6f87a3; text-decoration: line-through; text-decoration-color: #ff8a73; }
.sp-log .is-skip > span { color: #ff8a73; }
.sp-log-foot { padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8fa3ba; font-family: var(--font); font-size: 13px; }
.sp-log.is-armed li { transition: opacity 0.35s var(--in) calc(var(--n) * 0.32s + 0.2s), transform 0.5s var(--in) calc(var(--n) * 0.32s + 0.2s); }
.sp-log.is-armed:not(.is-play) li { opacity: 0; transform: translateX(-8px); }
.sp-cards { display: grid; gap: 16px; }
.sp-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.sp-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.sp-card > p { margin-top: 16px; font-size: 15px; color: var(--mute); }
.sp-card > p a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }
.sp-card.is-later { border: 1.5px dashed var(--line-strong); background: transparent; box-shadow: none; }
.sp-card.is-later .facts li::before { background: transparent; border: 1.5px solid var(--faint); box-sizing: border-box; width: 7px; height: 7px; }

/* Connecting your store does not connect your chatbot: two sockets, kept apart. */
.sp-apart-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sp-plugs { display: grid; justify-items: center; }
.sp-plug { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; width: min(100%, 320px); padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); }
.sp-plug-ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); }
.sp-plug-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.sp-plug b { font-weight: 500; color: var(--ink); }
.sp-plug small { font-size: 13px; color: var(--mute); }
.sp-gap { display: grid; justify-items: center; gap: 6px; padding: 10px 0; }
.sp-gap i { width: 0; height: 22px; border-left: 1.5px dashed var(--ruby); }
.sp-gap span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ruby); font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
.sp-apart-big { font-size: clamp(30px, 1.2rem + 2.2vw, 50px); font-weight: 300; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); max-width: 11.844em; }
.sp-apart-text { margin-top: 20px; max-width: 35.802em; font-size: 17px; color: var(--mute); }
.sp-apart-text a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }
.sp-plugs.is-armed .sp-plug { transition: transform 1s var(--move) 0.3s; }
.sp-plugs.is-armed:not(.is-play) .sp-plug:first-child { transform: translateY(34px); }
.sp-plugs.is-armed:not(.is-play) .sp-plug:last-child { transform: translateY(-34px); }
.sp-plugs.is-armed .sp-gap { transition: opacity 0.5s var(--in) 1s; }
.sp-plugs.is-armed:not(.is-play) .sp-gap { opacity: 0; }

@media (max-width: 1023px) {
  .sp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-intro .page-title { max-width: 11.844em; }
  .sp-scene { width: 100%; max-width: 640px; }
  .sp-read { grid-template-columns: minmax(0, 1fr); }
  .sp-log { position: static; }
  .sp-apart-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .sp-scene { display: flex; flex-direction: column; min-height: 0; }
  .sp-store, .sp-lens, .sp-admin { position: relative; inset: auto; width: auto; }
  .sp-store { order: 1; }
  .sp-lens { order: 2; margin: -20px 0 0 18px; }
  .sp-admin { order: 3; margin-top: 20px; }
  .sp-admin-body { grid-template-columns: minmax(0, 1fr); }
  .sp-admin-nav { display: none; }
  .sp-photo { height: 150px; }
  .sp-wires { gap: 22px; }
  .sp-wires li { grid-template-columns: minmax(0, 1fr); justify-items: start; row-gap: 0; }
  .sp-out { justify-self: start; place-items: start; margin: 0 0 0 22px; padding: 10px 0 10px 14px; }
  .sp-out::before, .is-none .sp-out::before { left: 0; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1.5px solid var(--ink-2); transform-origin: top; }
  .is-none .sp-out::before { border-left-style: dashed; border-left-color: var(--faint); }
  .sp-wires.is-armed:not(.is-play) .sp-out::before { transform: scaleY(0); }
  .sp-src { justify-self: stretch; }
  .sp-log li { grid-template-columns: 62px minmax(0, 1fr); }
  .sp-log li > span { grid-column: 2; }
}

/* =====================================================================
   WooCommerce: the store as a map of WordPress pages that the bot walks,
   three seconds apart, past the cart it never opens; the store data
   beside it, dashed, coming soon.
   ===================================================================== */
.wo-intro .lede { max-width: 41.106em; }
.wo-scene { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 20px; align-items: start; margin: clamp(48px, 6vw, 72px) 0 0; }
.wo-map { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-2); }
.wo-domain { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.wo-domain b { font-weight: 500; }
.wo-site-ico { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: radial-gradient(circle at 50% 50%, transparent 5px, var(--ink-2) 5.5px 6.5px, transparent 7px); }
.wo-today { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule-line); font-size: 12px; font-weight: 500; color: var(--ink); }
.wo-today i { width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.wo-track { position: relative; margin-top: 18px; }
.wo-track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 26px; border-top: 1.5px dashed var(--line-strong); }
.wo-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wo-pages li { position: relative; display: grid; justify-items: center; gap: 14px; }
.wo-pages time { position: relative; padding-bottom: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.wo-pages time::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange); }
.wo-runner { position: absolute; left: 0; top: 21px; z-index: 1; width: 100%; height: 0; pointer-events: none; opacity: 0; }
.wo-runner::before { content: ""; position: absolute; left: -7px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ruby); box-shadow: 0 0 0 5px var(--accent-bg); }
.wo-page { display: grid; gap: 7px; align-content: start; width: 100%; min-height: 168px; padding: 12px; border-radius: var(--r-md); background: var(--sheet); color: var(--sheet-ink); box-shadow: var(--lift-1); font-size: 13px; line-height: 1.45; }
.wo-page code { font-size: 10.5px; color: var(--sheet-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-page b { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 400; line-height: 1.15; }
.wo-page mark { color: var(--sheet-ink); }
.wo-page mark.rule::before, .wo-editor mark.rule::before { background: rgba(255, 97, 24, 0.2); box-shadow: inset 0 -2px 0 var(--orange); }
.wo-page .os-lines i { background: rgba(13, 37, 61, 0.08); }
.wo-page.is-file { background: var(--surface); color: var(--ink-2); }
.wo-page.is-file code { color: var(--faint); }
.wo-mono { font-family: var(--mono); font-size: 11px; }
.wo-page small { margin-top: auto; font-size: 11.5px; color: #2ea043; font-weight: 500; }
.wo-ld { margin-top: auto; padding: 5px 8px; border-radius: var(--r-sm); background: #0b1a2b; color: #ffd552; font-family: var(--mono); font-size: 10.5px; line-height: 1.4; }
.wo-never { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.wo-never li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px dashed var(--error-line); font-size: 12.5px; color: var(--error-ink); }
.wo-never code { padding: 1px 6px; border-radius: var(--r-xs); background: var(--surface-2); font-size: 11px; color: var(--mute); text-decoration: line-through; text-decoration-color: var(--error); }
.wo-data { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); background: var(--bg-soft); }
.wo-data-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.wo-data-head b { display: block; font-size: 14px; font-weight: 500; }
.wo-data-head small { display: block; font-size: 12px; color: var(--mute); }
.wo-coupon { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); background: repeating-linear-gradient(-45deg, transparent 0 9px, var(--line) 9px 10px); }
.wo-coupon-code { justify-self: start; padding: 3px 10px; border-radius: var(--r-xs); border: 1.5px dashed var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--mute); }
.wo-field { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.wo-field i { height: 22px; border-radius: var(--r-sm); border: 1px dashed var(--line-strong); background: var(--bg); }
.wo-data-items { display: grid; gap: 7px; }
.wo-data-items li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.wo-data-items li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--faint); box-sizing: border-box; }
.wo-data-foot { font-size: 12px; color: var(--mute); }

.wo-scene.is-armed :is(.wo-map, .wo-data) { transition: opacity 0.7s var(--in), transform 1s var(--in); }
.wo-scene.is-armed:not(.is-play) .wo-map { opacity: 0; transform: translateY(18px); }
.wo-scene.is-armed .wo-data { transition-delay: 1.9s; }
.wo-scene.is-armed:not(.is-play) .wo-data { opacity: 0; transform: translateX(18px); }
.wo-scene.is-armed .wo-pages li { transition: opacity 0.5s var(--in) calc(var(--n) * 0.32s + 0.35s), transform 0.7s var(--in) calc(var(--n) * 0.32s + 0.35s); }
.wo-scene.is-armed:not(.is-play) .wo-pages li { opacity: 0; transform: translateY(12px); }
.wo-scene.is-armed .wo-pages mark::before { transition: transform 0.6s var(--in) calc(var(--n, 0) * 0.32s + 0.9s); }
.wo-scene.is-armed .wo-never li { transition: opacity 0.4s var(--in) 1.7s; }
.wo-scene.is-armed:not(.is-play) .wo-never li { opacity: 0; }
/* While it is seen, the bot walks the pages: one stop every three seconds. */
.wo-scene.is-armed.is-play .wo-runner { animation: wo-walk 12s linear 2.4s infinite; animation-play-state: paused; }
.wo-scene.is-armed.is-play.is-live .wo-runner { animation-play-state: running; }
@keyframes wo-walk {
  0% { opacity: 0; transform: translateX(12.5%); }
  3%, 22% { opacity: 1; transform: translateX(12.5%); }
  25%, 47% { opacity: 1; transform: translateX(37.5%); }
  50%, 72% { opacity: 1; transform: translateX(62.5%); }
  75%, 95% { opacity: 1; transform: translateX(87.5%); }
  100% { opacity: 0; transform: translateX(87.5%); }
}

/* Which source checks what: each claim with the page tab it is checked against. */
.wo-claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wo-claims li { display: grid; gap: 0; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.wo-said { justify-self: start; padding: 11px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); box-shadow: inset 3px 0 0 var(--claim-line); font-size: 15px; color: var(--ink); }
.wo-claims mark.claim::before { background: var(--claim-bg); box-shadow: inset 0 -2px 0 var(--claim-line); }
.wo-tab { position: relative; display: grid; gap: 3px; margin-top: 30px; padding: 12px 14px; border-radius: 0 var(--r-md) var(--r-md) var(--r-md); background: var(--sheet); color: var(--sheet-ink); font-size: 14px; }
.wo-tab::before { content: ""; position: absolute; left: 0; bottom: 100%; width: 92px; height: 12px; border-radius: 6px 10px 0 0; background: var(--sheet); }
.wo-tab::after { content: ""; position: absolute; left: 28px; bottom: calc(100% + 12px); height: 18px; border-left: 1.5px solid var(--ink-2); }
.wo-tab code { font-size: 11.5px; color: var(--sheet-mute); }
.wo-out { justify-self: end; margin-top: 12px; }
.wo-out b { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.wo-out b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); box-sizing: border-box; }
.wo-claims .is-none { border-style: dashed; box-shadow: none; background: transparent; }
.wo-claims .is-none .wo-tab, .wo-claims .is-none .wo-tab::before { background: var(--surface); color: var(--mute); }
.wo-claims .is-none .wo-tab::after { border-left-style: dashed; border-left-color: var(--faint); }
.wo-claims .is-none .wo-out b { color: var(--ink-2); }
.wo-claims .is-none .wo-out b::before { background: transparent; border: 2px solid var(--faint); }

/* What we read: an ordinary WordPress page, read like any other. */
.wo-pagewrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.wo-editor { border-radius: var(--r-lg); overflow: hidden; border: 1px solid #dcdcde; background: #ffffff; color: #1e1e1e; box-shadow: var(--lift-2); font-size: 13.5px; }
.wo-ed-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid #e0e0e0; font-size: 13px; color: #757575; }
.wo-ed-logo { width: 26px; height: 26px; border-radius: 6px; background: #1e1e1e; }
.wo-ed-bar b { font-weight: 500; color: #1e1e1e; }
.wo-ed-sep { color: #c3c4c7; }
.wo-ed-pub { margin-left: auto; padding: 4px 10px; border-radius: 4px; background: #1e1e1e; color: #ffffff; font-size: 12px; }
.wo-ed-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; min-height: 300px; }
.wo-ed-canvas { display: grid; align-content: start; gap: 10px; padding: 28px 32px; }
.wo-block { position: relative; padding: 8px 10px; border-radius: 4px; outline: 1px dashed transparent; line-height: 1.55; }
.wo-block-title { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.15; }
.wo-block.is-rule { outline-color: #3858e9; }
.wo-block mark { color: #1e1e1e; }
.wo-read { position: absolute; right: -8px; top: 100%; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #0b1a2b; color: #ffd552; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.wo-block-list { display: grid; gap: 7px; margin-top: 18px; }
.wo-block-list i { height: 7px; border-radius: 4px; background: #ececec; }
.wo-block-list i:nth-child(2) { width: 80%; }
.wo-block-list i:nth-child(3) { width: 62%; }
.wo-ed-side { display: grid; align-content: start; gap: 12px; padding: 14px; border-left: 1px solid #e0e0e0; font-size: 12.5px; }
.wo-ed-tab { display: flex; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid #e0e0e0; color: #757575; }
.wo-ed-tab b { font-weight: 500; color: #1e1e1e; box-shadow: 0 2px 0 #1e1e1e; }
.wo-ed-row { display: grid; gap: 2px; }
.wo-ed-row span { color: #757575; font-size: 11.5px; }
.wo-big { font-size: clamp(26px, 1.1rem + 1.4vw, 38px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.wo-pagewrap-text p:not(.wo-big) { margin-top: 16px; font-size: 16px; color: var(--mute); max-width: 30.498em; }
.wo-editor.is-armed .wo-block { transition: opacity 0.5s var(--in) calc(var(--n) * 0.2s + 0.2s), transform 0.7s var(--in) calc(var(--n) * 0.2s + 0.2s), outline-color 0.4s var(--in) 1.3s; }
.wo-editor.is-armed:not(.is-play) .wo-block { opacity: 0; transform: translateY(8px); }
.wo-editor.is-armed:not(.is-play) .wo-block.is-rule { outline-color: transparent; }
.wo-editor.is-armed .wo-block mark::before { transition: transform 0.6s var(--in) 1.2s; }
.wo-editor.is-armed .wo-read { transition: opacity 0.4s var(--in) 1.6s, transform 0.6s var(--in) 1.6s; }
.wo-editor.is-armed:not(.is-play) .wo-read { opacity: 0; transform: translateX(10px); }
.wo-truth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.wo-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--lift-1); }
.wo-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.wo-card > p { margin-top: 16px; font-size: 15px; color: var(--mute); }
.wo-card > p a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }
.wo-card.is-later { border: 1.5px dashed var(--line-strong); background: transparent; box-shadow: none; }
.wo-card.is-later .facts li::before { background: transparent; border: 1.5px solid var(--faint); box-sizing: border-box; width: 7px; height: 7px; }
.wo-callout { margin-top: 24px; }
.wo-callout a { color: var(--ink); text-decoration-color: var(--ruby); text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .wo-scene { grid-template-columns: minmax(0, 1fr); }
  .wo-pagewrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .wo-map { padding: 14px; }
  .wo-domain { flex-wrap: wrap; }
  .wo-today { margin-left: 0; }
  .wo-track::before, .wo-runner { display: none; }
  .wo-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wo-pages li { gap: 6px; justify-items: stretch; }
  .wo-pages time { padding: 0; }
  .wo-pages time::after { display: none; }
  .wo-page { min-height: 0; }
  .wo-claims { grid-template-columns: minmax(0, 1fr); }
  .wo-ed-body { grid-template-columns: minmax(0, 1fr); }
  .wo-ed-side { display: none; }
  .wo-ed-canvas { padding: 20px 16px 36px; }
  .wo-ed-bar > span:nth-child(2), .wo-ed-sep { display: none; }
  .wo-read { right: 0; }
  .wo-truth { grid-template-columns: minmax(0, 1fr); }
}
