/* ---------- Shared section layout ---------- */
.sec-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 72px;
  border-top: 1px solid var(--border);
}
.sec-head { margin-bottom: 48px; }
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.sec-block h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.sec-block p { color: var(--fg-soft); line-height: 1.6; }
.sec-block svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 03 Value proposition (editorial rows, real product snippets instead of icons) ---------- */
.why-head { margin-bottom: 40px; }
.why-head h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.08; }
.why-row {
  display: grid;
  grid-template-columns: 5fr 4fr 5fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.why .why-row h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.why-row p { font-size: 16px; max-width: 38ch; }

.why-art { font-size: 12.5px; }
.art-term, .art-list, .art-split {
  border-radius: 12px;
  background: #111110;
  border: 1px solid #2a2a26;
  color: #ddd;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.art-term { font-family: "JetBrains Mono", ui-monospace, monospace; padding: 0; overflow: hidden; }
.art-tab { display: flex; align-items: center; gap: 7px; padding: 8px 12px; background: #1c1c1a; border-bottom: 1px solid #2a2a26; font-size: 11.5px; font-weight: 600; color: #cfcfcf; }
.art-tab .d { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.art-line { padding: 10px 12px 0; line-height: 1.5; }
.art-line.friend {
  position: relative;
  margin: 12px 12px 0; padding: 18px 10px 8px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--c) 16%, #262626);
  box-shadow: inset 2px 0 0 var(--c);
  color: #f2f2f2;
}
.art-line .tag { position: absolute; left: 10px; top: 3px; display: flex; align-items: center; gap: 4px; font: 600 10px "Inter", sans-serif; color: color-mix(in srgb, var(--c) 70%, #fff); }
.art-line .tag i { width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #111; font-size: 7.5px; font-style: normal; }
.art-line.or { color: #d97757; padding-bottom: 12px; }
.art-line.or span { color: #8b8b8b; }

.art-list { display: grid; gap: 6px; font-family: "Inter", sans-serif; }
.art-fact { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 7px; background: #1a1a18; font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
.art-fact .by { font-family: "Inter", sans-serif; color: #8b8b8b; font-size: 11px; }
.art-msg { margin-top: 4px; padding: 9px 10px; border-radius: 7px; border: 1px solid rgba(155,108,245,.35); background: rgba(155,108,245,.1); }
.art-msg span { display: block; font-size: 10.5px; font-weight: 600; color: #b99af7; margin-bottom: 2px; }

.art-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-family: "Inter", sans-serif; }
.art-split .col { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 10px; border-radius: 8px; background: #1a1a18; }
.art-split .col.shared { background: rgba(155,108,245,.1); border: 1px solid rgba(155,108,245,.3); }
.art-split .lbl { width: 100%; font-size: 10.5px; font-weight: 600; color: #8b8b8b; margin-bottom: 2px; }
.art-split .shared .lbl { color: #b99af7; }
.art-split .tok { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; background: #262624; color: #e6e6e6; }
.art-split .shared .tok { background: rgba(155,108,245,.22); }

/* ---------- 04 Feature deep dives ---------- */
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
}
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-copy { order: 2; }
.feature-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent) !important;
}
.feature h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 14px; }
.feature-copy > p { font-size: 16px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--fg); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Visual: a small dark editor window on a crop of the painting */
.feature-visual {
  aspect-ratio: 7 / 5;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: url("assets/hero.jpg?v=2") var(--pos, center) / 220% auto no-repeat;
  display: grid;
  place-items: center;
  padding: 8%;
  overflow: hidden;
}
.fv-win {
  width: 100%;
  border-radius: 10px;
  background: #0b0b0b;
  border: 1px solid #3a3a3a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color: #e6e6e6;
  overflow: hidden;
  transition: transform .3s;
}
.feature-visual:hover .fv-win { transform: translateY(-3px); }
.fv-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid #262626;
  font: 500 12px "Inter", sans-serif; color: #9a9a9a;
}
.fv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.fv-bar i:nth-child(2) { background: #febc2e; }
.fv-bar i:nth-child(3) { background: #28c840; }
.fv-bar span { margin-left: 10px; }

.fv-code { padding: 16px 0 18px; font: 12.5px/2 "JetBrains Mono", ui-monospace, monospace; color: #d4d4d4; white-space: pre; overflow: hidden; }
.fv-code .n { display: inline-block; width: 34px; margin-right: 14px; text-align: right; color: #555; }
.fv-code .k { color: #c586c0; }
.fv-code .f { color: #dcdcaa; }
.fv-code .m { color: #b5cea8; }
.cur { position: relative; display: inline-block; width: 2px; height: 1.3em; margin-left: 2px; vertical-align: -4px; background: var(--c); }
.cur b {
  position: absolute; left: 0; bottom: 100%;
  padding: 0 5px; border-radius: 3px 3px 3px 0;
  background: var(--c); color: #111;
  font: 600 10px/1.6 "Inter", sans-serif;
  animation: badge 4s ease-in-out infinite;
}
.cur + .cur b, .fv-code .cur:nth-of-type(2) b { animation-delay: 2s; }
@keyframes badge { 0%, 100% { opacity: 1; } 45%, 55% { opacity: .55; } }

.fv-list { padding: 12px; display: grid; gap: 8px; font: 12px/1.4 "Inter", sans-serif; }
.lane {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #161616;
  border: 1px solid #262626;
}
.lane .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); grid-row: span 2; }
.lane em { grid-column: 2 / 4; font-style: normal; color: #8a8a8a; font-family: "JetBrains Mono", monospace; font-size: 11px; }
.st { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.st.working { color: #8fd18f; background: rgba(110, 200, 110, .12); }
.st.ready { color: #e5c07b; background: rgba(229, 192, 123, .12); }
.st.merged { color: #9a9a9a; background: rgba(255, 255, 255, .06); }
.msg {
  margin-top: 4px; padding: 10px 12px; border-radius: 8px;
  background: rgba(155, 108, 245, .12); border: 1px solid rgba(155, 108, 245, .35);
  color: #ddd;
}
.msg span { display: block; font-size: 10.5px; font-weight: 600; color: #b99af7; margin-bottom: 2px; }

.fv-merge { padding: 12px; display: grid; gap: 6px; font: 12px/1.4 "Inter", sans-serif; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #161616; border: 1px solid #262626; }
.mrow > span { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.mrow.ok > span { color: #8fd18f; background: rgba(110, 200, 110, .14); }
.mrow.alert { border-color: rgba(229, 192, 123, .45); background: rgba(229, 192, 123, .06); }
.mrow.alert > span { color: #e5c07b; background: rgba(229, 192, 123, .16); }
.mrow em { margin-left: auto; font-style: normal; color: #8a8a8a; font-size: 11px; }
.mbtns { display: flex; gap: 6px; justify-content: flex-end; margin-top: 4px; }
.mbtns span { padding: 5px 12px; border-radius: 999px; font-size: 11.5px; border: 1px solid #3a3a3a; color: #ddd; }
.mbtns span:first-child { background: #e6e6e6; color: #111; border-color: #e6e6e6; }

/* ---------- 05 How it works: step list + acted-out demo ---------- */
.how-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: center; }
.how-steps { list-style: none; display: grid; gap: 4px; }
.how-step { position: relative; padding: 18px 0 18px; border-top: 1px solid var(--border); }
.how-step:last-child { border-bottom: 1px solid var(--border); }
.how-step button {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 20px/1.3 "Inter", sans-serif; letter-spacing: -0.02em; color: var(--muted);
  text-align: left; transition: color .2s;
}
.how-step button:hover, .how-step.on button { color: var(--fg); }
.hs-n {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong);
  font-size: 13px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.how-step.on .hs-n { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: var(--btn-primary-bg); }
.how-step p { margin: 0; padding-left: 38px; font-size: 15.5px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .35s ease, opacity .3s, margin .35s; }
.how-step.on p { max-height: 120px; opacity: 1; margin-top: 10px; }
.how-step p b { color: var(--fg); font-weight: 600; }
.hs-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 0; background: var(--fg); }
.how-step.on .hs-bar i { animation: hsfill var(--dur, 9s) linear forwards; }
@keyframes hsfill { to { width: 100%; } }

.how-stage {
  position: relative;
  aspect-ratio: 7 / 5;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: url("assets/hero.jpg?v=2") 80% 60% / 230% auto no-repeat;
  display: grid; place-items: center;
  padding: 5%;
  overflow: hidden;
}

/* The VS Code window */
.hw {
  --vs-bg: #1f1f1f; --vs-side: #181818; --vs-line: #2b2b2b; --vs-fg: #cccccc; --vs-dim: #9d9d9d; --vs-blue: #0078d4;
  position: relative;
  width: 100%; height: 100%;
  display: grid; grid-template-rows: 32px 1fr 22px;
  border-radius: 10px;
  background: var(--vs-bg); border: 1px solid #454545;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color: var(--vs-fg); font: 12.5px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}
.hw svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hw-title { position: relative; display: flex; align-items: center; justify-content: center; background: var(--vs-side); border-bottom: 1px solid var(--vs-line); }
.hw-title .lights { position: absolute; left: 12px; display: flex; gap: 7px; }
.hw-title .lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.hw-title .lights i:nth-child(2) { background: #febc2e; }
.hw-title .lights i:nth-child(3) { background: #28c840; }
.hw-cc { width: 46%; height: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 6px; background: #2a2a2a; border: 1px solid #3c3c3c; font-size: 11.5px; color: var(--vs-dim); }
.hw-cc svg { width: 12px; height: 12px; }
.hw-who b { color: var(--vs-fg); font-weight: 500; }
.hw-body { display: grid; grid-template-columns: 42px 42% 1fr; min-height: 0; }

.hw-act { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 6px; background: var(--vs-side); border-right: 1px solid var(--vs-line); }
.hw-act .ai { position: relative; width: 42px; height: 38px; display: grid; place-items: center; color: #858585; }
.hw-act .ai svg { width: 22px; height: 22px; stroke-width: 1.4; }
.hw-act .ai.on { color: #fff; }
.hw-act .ai.on::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--vs-blue); }
.hw-act .ai-fill { flex: 1; }

.hw-side { background: var(--vs-side); border-right: 1px solid var(--vs-line); overflow: hidden; }
.hw-h { display: flex; justify-content: space-between; padding: 9px 12px 6px 20px; font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--vs-fg); }
.hw-h span { color: var(--vs-dim); letter-spacing: 1px; }
.hw-sec { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--vs-fg); border-top: 1px solid var(--vs-line); }
.hw-sec::before { content: ""; width: 5px; height: 5px; border-right: 1.3px solid #c5c5c5; border-bottom: 1.3px solid #c5c5c5; transform: rotate(45deg); margin: 0 6px 3px 4px; }
.hw-welcome { padding: 8px 20px 4px; color: var(--vs-fg); font-size: 12.5px; }
.hw-btn {
  display: block; margin: 8px 20px 0; padding: 5px 8px;
  border-radius: 2px; background: #0e639c; color: #fff; text-align: center; font-size: 12.5px;
  transition: background .15s, transform .1s;
}
.hw-btn.press { background: #1177bb; transform: scale(.98); }
.hw-small { padding: 12px 20px 0; font-size: 12px; color: var(--vs-dim); }
.hw-small a { color: #3794ff; }
.hw-row { display: flex; align-items: center; gap: 7px; height: 22px; padding: 0 10px 0 28px; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.hw-row em { font-style: normal; font-size: 12px; color: var(--vs-dim); overflow: hidden; text-overflow: ellipsis; }
.hw-row .av { width: 15px; height: 15px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #111; font-size: 8.5px; font-weight: 700; }
.hw-row .ic { width: 15px; flex: none; text-align: center; color: #c5c5c5; font-size: 10px; }
.hw-row.fresh { animation: rowin .7s ease-out; }
@keyframes rowin { from { background: rgba(0, 120, 212, .45); } }
.hw-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fb950; flex: none; margin: 0 3.5px; }

.hw-main { display: grid; grid-template-rows: 30px 1fr; min-width: 0; min-height: 0; }
.hw-tabs { display: flex; background: var(--vs-side); border-bottom: 1px solid var(--vs-line); }
.hw-tab { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--vs-bg); border-top: 1px solid var(--vs-blue); border-right: 1px solid var(--vs-line); font-size: 12px; color: #fff; }
.hw-tab b { font-size: 9px; color: #3178c6; }
.hw-ed { position: relative; padding: 8px 10px; overflow: hidden; font: 11px/1.85 "JetBrains Mono", ui-monospace, monospace; color: #d4d4d4; }
.code-dim > span { display: block; white-space: pre; }
.code-dim .no { display: inline-block; width: 18px; margin-right: 12px; text-align: right; color: #6e7681; }
.code-dim .k { color: #569cd6; } .code-dim .f { color: #dcdcaa; } .code-dim .v { color: #9cdcfe; }

.hw-status { display: flex; align-items: center; gap: 12px; padding: 0 0 0 0; background: var(--vs-side); border-top: 1px solid var(--vs-line); font-size: 11px; color: var(--vs-dim); }
.hw-status > span { padding: 0 4px; }
.hw-status .sb-l { height: 100%; display: grid; place-items: center; padding: 0 9px; background: var(--vs-blue); color: #fff; }
.hw-status .sb-fill { flex: 1; }
.hw-status > span:last-child { margin-right: 8px; }
.sb-wesesh:not(:empty) { color: var(--vs-fg); }
.sb-wesesh.fresh { animation: rowin .7s ease-out; }

/* VS Code notification toast */
.hw-toast {
  position: absolute; right: 10px; bottom: 32px; z-index: 4;
  width: 62%; padding: 10px 12px 9px;
  border-radius: 4px; background: #252526; border: 1px solid #454545;
  box-shadow: 0 4px 16px rgba(0,0,0,.55);
  font-size: 12px; color: var(--vs-fg);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.hw-toast.show { opacity: 1; transform: none; }
.hw-toast .tm { display: flex; gap: 8px; align-items: flex-start; }
.hw-toast .tm::before { content: "i"; flex: none; width: 15px; height: 15px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; border: 1.3px solid #3794ff; color: #3794ff; font: 700 9px/1 Georgia, serif; }
.hw-toast .src { margin: 6px 0 0 23px; font-size: 11px; color: var(--vs-dim); }
.hw-toast b { color: #fff; font-weight: 600; }

/* Overlays: modal dialog, quick pick, Slack */
.hw-overlay { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hw-overlay > * { animation: popin .25s ease-out; }
@keyframes popin { from { opacity: 0; transform: translateY(6px) scale(.985); } }
.hw-overlay .dim { position: absolute; inset: 0; background: rgba(0,0,0,.35); animation: none; }
.modal {
  position: absolute; left: 50%; top: 22%; width: 66%; margin-left: -33%;
  display: grid; grid-template-columns: 34px 1fr; gap: 0 12px;
  padding: 16px 16px 12px;
  border-radius: 6px; background: #252526; border: 1px solid #454545; box-shadow: 0 10px 40px rgba(0,0,0,.6);
  font-size: 12.5px; color: var(--vs-fg);
}
.modal .mi { width: 32px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #2b9bf4, #0065a9); display: grid; place-items: center; color: #fff; }
.modal .mi svg { width: 20px; height: 20px; }
.modal h4 { font-size: 13px; color: #fff; font-weight: 600; margin-bottom: 4px; }
.modal .btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.modal .btns span { padding: 4px 14px; border-radius: 2px; background: #3a3d41; color: #fff; font-size: 12.5px; transition: background .15s, transform .1s; }
.modal .btns span.primary { background: #0e639c; }
.modal .btns span.press { background: #1177bb; transform: scale(.97); }
.qp {
  position: absolute; left: 50%; top: 36px; width: 64%; margin-left: -32%;
  border-radius: 6px; background: #252526; border: 1px solid #454545; box-shadow: 0 10px 40px rgba(0,0,0,.6);
  overflow: hidden; font-size: 12.5px;
}
.qp .qp-in { margin: 6px; padding: 4px 8px; border: 1px solid var(--vs-blue); border-radius: 2px; background: #313131; color: var(--vs-dim); font-size: 12px; }
.qp .qp-o { display: flex; justify-content: space-between; gap: 10px; padding: 4px 12px; color: var(--vs-fg); }
.qp .qp-o em { font-style: normal; color: var(--vs-dim); font-size: 11.5px; }
.qp .qp-o.hl { background: #04395e; outline: 1px solid var(--vs-blue); outline-offset: -1px; }
.qp .qp-o:last-child { margin-bottom: 6px; }

/* Slack */
.slack { position: absolute; inset: 0; display: grid; grid-template-rows: 32px 1fr; background: #1a1d21; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1d1c1d; }
.slack-top { position: relative; display: flex; align-items: center; justify-content: center; background: #3f0e40; }
.slack-top .lights { position: absolute; left: 12px; display: flex; gap: 7px; }
.slack-top .lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.slack-top .lights i:nth-child(2) { background: #febc2e; }
.slack-top .lights i:nth-child(3) { background: #28c840; }
.slack-search { width: 48%; height: 20px; border-radius: 5px; background: rgba(255,255,255,.18); color: rgba(255,255,255,.8); font-size: 11.5px; display: grid; place-items: center; }
.slack-body { display: grid; grid-template-columns: 32% 1fr; min-height: 0; }
.slack-side { background: #3f0e40; color: rgba(255,255,255,.75); padding: 10px 0; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.08); }
.slack-side .ws { padding: 0 14px 10px; color: #fff; font-weight: 800; font-size: 14px; }
.slack-side .grp { padding: 8px 14px 3px; font-size: 12px; }
.slack-side .ch { display: flex; align-items: center; gap: 7px; padding: 3px 14px; }
.slack-side .ch.on { background: #1164a3; color: #fff; }
.slack-side .ch.bold { color: #fff; font-weight: 700; }
.slack-side .ch .sq { width: 16px; height: 16px; border-radius: 4px; background: var(--c); color: #111; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.slack-main { display: grid; grid-template-rows: auto 1fr auto; background: #fff; min-height: 0; }
.slack-ch { padding: 9px 16px; border-bottom: 1px solid #e8e8e8; font-weight: 800; font-size: 14px; }
.slack-msgs { padding: 12px 16px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.smsg { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 4px 0; }
.smsg .sav { width: 34px; height: 34px; border-radius: 6px; background: var(--c); color: #fff; font-weight: 700; display: grid; place-items: center; }
.smsg .sn { font-weight: 800; font-size: 13.5px; }
.smsg .sn time { margin-left: 6px; font-weight: 400; font-size: 11.5px; color: #616061; }
.smsg a { color: #1264a3; }
.unfurl { margin-top: 6px; padding: 2px 0 2px 12px; border-left: 4px solid #dddddd; font-size: 12.5px; }
.unfurl b { display: block; color: #1264a3; font-weight: 700; }
.unfurl span { color: #616061; }
.slack-compose { margin: 0 16px 12px; padding: 9px 12px; border: 1px solid #c4c4c4; border-radius: 8px; color: #8a8a8a; font-size: 12.5px; }

/* Click target highlight: a pulsing ring right before the pointer clicks */
.target { position: relative; z-index: 2; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(255, 196, 0, .9) !important; animation: targetpulse .9s ease-in-out infinite; }
@keyframes targetpulse { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 8px rgba(255, 196, 0, .45) !important; } }

/* Pointer: big macOS-style arrow */
.pointer {
  position: absolute; left: 0; top: 0; z-index: 10;
  width: 34px; height: 34px; margin: -5px 0 0 -7px;
  transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .3s;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.45));
}
.pointer svg { width: 100%; height: 100%; fill: #111; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.pointer.click::after {
  content: ""; position: absolute; left: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 196, 0, .45); border: 2px solid #ffc400; animation: clickring .5s ease-out forwards;
}
@keyframes clickring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- 07 FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 96px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 24px 0; font-size: 15.5px; }
.faq details[open] p { animation: faqin .25s ease-out; }
@keyframes faqin { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .how-wrap { grid-template-columns: 1fr; gap: 24px; }
  .why-row { grid-template-columns: 1fr; gap: 16px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .faq-wrap .sec-head { position: static; }
}

/* ---------- Live collaboration: two editors, one file ---------- */
.feature-visual.collab { padding: 4% 4% 5%; display: flex; flex-direction: column; justify-content: center; gap: 0; }
/* Workspace label with a bracket reaching down to both laptops */
.ws-banner { align-self: stretch; position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 0; }
.ws-pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(11, 11, 11, .88);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #cfcfcf; font: 500 11.5px "Inter", sans-serif;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.ws-pill b { color: #fff; font-weight: 600; }
.ws-pill svg { width: 14px; height: 14px; color: #e0a15a; fill: rgba(224, 161, 90, .2); stroke-width: 1.4; }
.ws-bracket {
  width: calc(50% + 28px); height: 24px; margin-top: -1px;
  border: 1.5px solid rgba(255, 255, 255, .75); border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.ws-bracket::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 0; }
.machine { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.machine .ed-pane { width: 100%; }
.ed-crumb {
  padding: 6px 10px 5px;
  border-bottom: 1px solid #1f1f1f;
  font: 500 10px "Inter", sans-serif; color: #8a8a8a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ed-crumb b { color: #e6e6e6; font-weight: 500; }
.ed-crumb .ws { color: #e0a15a; }
.dual { align-self: stretch; width: 100%; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; }
.ed-pane {
  min-width: 0;
  border-radius: 10px;
  background: #0b0b0b;
  border: 1px solid #3a3a3a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color: #e6e6e6;
  overflow: hidden;
}
.ed-head {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px;
  border-bottom: 1px solid #262626;
  font: 500 11.5px "Inter", sans-serif; color: #9a9a9a;
}
.ed-head b { color: #eee; font-weight: 600; }
.ed-head span { margin-left: auto; font-size: 10.5px; color: #777; }
.ed-av {
  width: 18px; height: 18px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--c); color: #111;
  font: 700 9.5px "Inter", sans-serif; font-style: normal;
}
.ed-file-unused {
  display: inline-block;
  margin: 0 0 0 8px; padding: 5px 10px 4px;
  font: 500 10.5px "Inter", sans-serif; color: #ddd;
  border-bottom: 1.5px solid #3c7ee6;
}
.ed-code {
  padding: 10px 0 12px;
  font: 10px/1.95 "JetBrains Mono", ui-monospace, monospace;
  color: #d4d4d4;
  white-space: pre;
  overflow: hidden;
  min-height: calc(8 * 1.95em + 22px);
  font-size: 9.5px;
}
.ed-code .ln { display: block; padding-right: 8px; transition: background .4s; }
.ed-code .no { display: inline-block; width: 22px; margin-right: 10px; text-align: right; color: #555; }
.ed-code .k { color: #c586c0; }
.ed-code .f { color: #dcdcaa; }
.ed-code .m { color: #b5cea8; }
.ed-code .s { color: #ce9178; }
.ed-code .ln.remote-edit { background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 2px 0 0 var(--c); }
.ed-cur { position: relative; display: inline-block; width: 1.5px; height: 1.25em; margin: 0 -0.75px; vertical-align: -3px; background: var(--c); }
.ed-cur.local { animation: curblink 1.1s steps(1) infinite; }
@keyframes curblink { 50% { opacity: 0; } }
.ed-cur.remote b {
  position: absolute; left: 0; bottom: 100%;
  padding: 0 4px; border-radius: 2px 2px 2px 0;
  background: var(--c); color: #111;
  font: 600 8.5px/1.5 "Inter", sans-serif;
}

/* Sync connector between the two editors */
.sync { position: relative; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sync::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.55); }
.sync-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); transition: background .2s, box-shadow .2s; }
.sync-lbl { position: absolute; top: calc(50% + 10px); white-space: nowrap; font: 700 9px "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.sync.pulse .sync-dot { background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent), 0 0 16px var(--c); animation: syncpulse .8s ease-in-out infinite; }
.sync.pulse::before { background: linear-gradient(90deg, transparent, var(--c), transparent); background-size: 200% 100%; animation: syncflow .8s linear infinite; }
.sync.both { --c: #9b8cf0; }
.sync.both::before { background: linear-gradient(90deg, #4d8fe0, #fff, #c58ad6, #fff, #4d8fe0) !important; background-size: 200% 100% !important; }
@keyframes syncpulse { 50% { transform: scale(1.3); } }
@keyframes syncflow { from { background-position: 100% 0; } to { background-position: -100% 0; } }

@media (max-width: 600px) {
  .dual { grid-template-columns: 1fr; gap: 10px; }
  .sync { display: none; }
}

/* ---------- Room Board as the real VS Code tree view ---------- */
.tree { padding: 6px 0 10px; font: 12.5px/22px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #cccccc; }
.tree-sec { display: flex; align-items: center; gap: 4px; padding: 2px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #bbbbbb; }
.tr {
  position: relative;
  display: flex; align-items: center;
  height: 22px; padding: 0 10px 0 8px;
  white-space: nowrap; overflow: hidden;
  border: 1px solid transparent;
  cursor: default;
}
.tr:hover { background: #2a2d2e; }
.tr.sel { background: #04395e; border-color: #0078d4; }
.tr .guide { flex: none; width: 16px; height: 22px; margin-left: 2px; box-shadow: inset 1px 0 0 #404040; }
.twc { flex: none; width: 16px; display: grid; place-items: center; }
.tw, .tree-sec .tw { width: 5px; height: 5px; border-right: 1.3px solid #c5c5c5; border-bottom: 1.3px solid #c5c5c5; transform: rotate(-45deg); }
.tw.open { transform: rotate(45deg) translate(-1px, -1px); }
.tree-sec .tw { margin: 0 5px 2px 2px; }
.ti { flex: none; width: 16px; height: 16px; margin-right: 6px; color: #c5c5c5; }
.ti svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ti.blue { color: #3794ff; }
.ti.green { color: #89d185; }
.ti .spin { animation: treespin 1.4s linear infinite; transform-origin: 50% 50%; }
@keyframes treespin { to { transform: rotate(360deg); } }
.tl { flex: none; }
.td { margin-left: 8px; font-size: 11.5px; color: #8b8b8b; overflow: hidden; text-overflow: ellipsis; }
.ti.red { color: #f14c4c; }
.tree-sec.split { margin-top: 10px; padding-top: 6px; border-top: 1px solid #2b2b2b; }
.sec-actions { margin-left: auto; display: flex; gap: 2px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.sec-actions .act { position: relative; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; color: #c5c5c5; }
.sec-actions .act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sec-actions .act:hover, .sec-actions .act.hot { background: rgba(90, 93, 94, .31); }
.hover-tip {
  position: absolute; right: -6px; bottom: calc(100% + 6px);
  padding: 3px 8px; border-radius: 3px;
  background: #252526; border: 1px solid #454545; box-shadow: 0 2px 8px rgba(0,0,0,.5);
  font-size: 11.5px; color: #ccc; white-space: nowrap;
}
.tree-note { margin: 6px 12px 0 32px; font-size: 11.5px; line-height: 1.5; color: #8b8b8b !important; }
/* Step 3 content */
.mini-card { border: 1px solid #3c3c3c; border-radius: 6px; background: #181818; margin-bottom: 8px; font-size: 10.5px; line-height: 1.6; overflow: hidden; }
.mini-card .mt { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #252526; color: #ddd; font-weight: 600; }
.mini-card .mt i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.mini-card .mb { padding: 6px 8px; color: #bbb; }
.mini-card .ask { display: block; padding: 3px 6px; border-radius: 2px; background: color-mix(in srgb, var(--c) 20%, #262626); box-shadow: inset 2px 0 0 var(--c); color: #eee; }
.mini-card .or { color: #d97757; }
.merge-line { color: #89d185; font-size: 10.5px; animation: rowin .7s ease-out; }
.smsg a { display: inline-block; white-space: nowrap; border-radius: 3px; }
