/* ---------- The attack: the browser is where social engineering happens now ----------
   Midnight chapter. Left: the argument (headline with one glow word, two paragraphs,
   three square-marked points, three glow stats). Right: a three-step timeline over a
   Chrome window drawn at full fidelity. data-step on .attack (js/attack.js) picks the
   view: webmail with the message, the copied sign-in page, then that page slid aside
   with BrowserGuard's panel docked beside it and the lesson's pins on the page. */

/* The chapter fills the screen and snaps into place (html scroll-snap, home.css) */
.attack-section { position: relative; overflow: hidden; display: grid; align-content: center; min-height: 100svh; padding-block: calc(var(--nav-h) + 32px) 48px; scroll-snap-align: start; scroll-margin-top: 0; }
.attack-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 50%, rgba(100, 45, 153, 0.35), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(215, 141, 236, 0.12), transparent 70%); pointer-events: none; }
.attack-section::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.03; pointer-events: none; }
.attack-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 72px; align-items: start; max-width: calc(1360px + 2 * var(--gutter)); }

/* ---- The argument: four lines, set like the hero's copy ---- */
.attack-copy { align-self: center; }
.attack-copy .h1 { display: grid; gap: 10px; margin: 0; font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.attack-copy .h1 .glow { font-style: normal; }
.attack-cost { display: grid; gap: 10px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--border-dark); }
.attack-cost b { font-size: clamp(56px, 5.4vw, 76px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.92; color: var(--glow); }
.attack-cost span { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
.attack-cost small { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ---- Timeline ---- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.timeline button { position: relative; padding: 0 0 12px; border: 0; background: none; color: var(--on-dark-muted); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: color 0.3s ease; }
.timeline button i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.timeline button i::after { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--bg-lavender), var(--glow)); box-shadow: 0 0 10px var(--glow); transform: scaleX(0); transform-origin: 0 50%; }
.timeline button .short { display: none; }
.timeline button[aria-selected="true"] { color: var(--on-dark); }
.attack.is-playing .timeline button[aria-selected="true"] i::after { animation: tl-fill var(--dur, 5s) linear forwards; }
.attack:not(.is-playing) .timeline button[aria-selected="true"] i::after { transform: none; }
@keyframes tl-fill { to { transform: none; } }

/* ---- The Chrome window, on Windows ---- */
.chrome-window {
  --cw-strip: #d3e3fd; --cw-tab: #ffffff; --cw-ink: #1f1f1f; --cw-muted: #444746;
  position: relative; overflow: hidden; border-radius: 8px;
  background: var(--cw-strip); color: var(--cw-ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 120px -40px rgba(0, 1, 24, 1), 0 30px 60px -30px rgba(0, 1, 24, 0.9), 0 0 80px -20px rgba(150, 125, 227, 0.35);
}
.cw-tabs { display: flex; align-items: flex-end; height: 40px; padding: 8px 0 0 8px; }
.cw-tab { display: flex; align-items: center; gap: 8px; height: 32px; max-width: 220px; padding: 0 12px; border-radius: 8px 8px 0 0; font-size: 12px; color: var(--cw-ink); white-space: nowrap; overflow: hidden; }
.cw-tab b { margin-left: auto; font-weight: 400; color: var(--cw-muted); }
.cw-fav { flex: none; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 2px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; color: #fff; }
.fav-li { background: #0a66c2; }
.fav-page { background: var(--indigo-dusk); }
.cw-tab.is-on { background: var(--cw-tab); }
.cw-newtab { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 0 3px 4px; color: var(--cw-muted); font-size: 17px; }
/* Windows controls: minimise, maximise, close, at the right of the strip */
.cw-win { margin-left: auto; display: flex; align-self: flex-start; }
.cw-win i { display: grid; place-items: center; width: 46px; height: 32px; margin-top: -8px; font-style: normal; font-size: 11px; color: var(--cw-ink); }
.cw-win i:last-child { font-size: 12px; }
.cw-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; height: 42px; padding: 0 10px; background: var(--cw-tab); }
.cw-nav { display: flex; gap: 2px; color: var(--cw-muted); }
.cw-nav i { display: grid; place-items: center; width: 26px; height: 26px; font-style: normal; font-size: 17px; }
.cw-nav i:first-child { color: var(--cw-ink); }
.cw-omni { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 13px; border-radius: 15px; background: #e9eef6; font-size: 12.5px; color: var(--cw-ink); overflow: hidden; white-space: nowrap; }
.cw-lock { width: 13px; height: 13px; color: var(--cw-muted); flex: none; }
.cw-url { display: none; } .cw-url span { color: var(--cw-muted); }
.attack[data-step="1"] .cw-url-mail { display: inline; }
.attack:not([data-step="1"]) .cw-url-page { display: inline; }
.cw-tools { display: flex; align-items: center; gap: 10px; }
/* The extension's icon: the purple app icon; it turns red and pulses once the block fires */
.cw-bg { position: relative; width: 22px; height: 22px; border-radius: 5px; overflow: hidden; }
.cw-bg img { display: block; width: 100%; height: 100%; transition: filter 0.4s ease; }
.cw-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(204, 16, 22, 0.6); opacity: 0; }
.attack[data-step="3"] .cw-bg img { filter: hue-rotate(95deg) saturate(1.6) brightness(1.05); }
.attack[data-step="3"] .cw-bg::after { opacity: 1; animation: ext-pulse 1.6s ease-out 2; }
@keyframes ext-pulse { from { box-shadow: 0 0 0 0 rgba(204, 16, 22, 0.6); } to { box-shadow: 0 0 0 10px rgba(204, 16, 22, 0); } }
.cw-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #7c4dff; color: #fff; font-style: normal; font-size: 11px; font-weight: 600; }
.cw-body { position: relative; height: clamp(520px, 36vw, 600px); background: #fff; }
.view { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.attack[data-step="1"] .view-mail, .attack[data-step="2"] .view-page, .attack[data-step="3"] .view-page { opacity: 1; }

/* ---- 1 The trojan horse: LinkedIn, and 2 the copied sign-in page ----
   Built at photographic fidelity: real icons, portrait avatars, a link preview, a
   Microsoft-style card on a photographic backdrop. */
.fav-li { background: #0a66c2; }
.view-mail, .view-page { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: rgba(0,0,0,.9); }
  .sim-unused { position: absolute; inset: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: rgba(0,0,0,.9); }
  /* photo-style avatars: layered radial gradients that read as portraits at small sizes */
  .av { position: relative; flex: none; border-radius: 50%; overflow: hidden; background: #c8c2b8; }
  .av::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 40%, var(--skin, #e8c4a8) 0 40%, transparent 42%), radial-gradient(90% 70% at 50% 112%, var(--shirt, #2a3d5c) 0 50%, transparent 52%), var(--bg, linear-gradient(160deg, #d9d2c6, #9aa3ad)); }
  .av::after { content: ""; position: absolute; left: 50%; top: 8%; width: 54%; height: 34%; transform: translateX(-50%); border-radius: 50% 50% 40% 40%; background: var(--hair, #2b2420); }
  /* long hair: a wider, taller shape that falls past the shoulders */
  .av.long::after { z-index: 1; width: 68%; height: 70%; top: 7%; border-radius: 50% 50% 30% 30% / 50% 50% 16% 16%; }
  .av.long::before { background: radial-gradient(60% 55% at 50% 40%, var(--skin, #e8c4a8) 0 40%, transparent 42%), radial-gradient(90% 70% at 50% 112%, var(--shirt, #2a3d5c) 0 50%, transparent 52%), var(--bg, linear-gradient(160deg, #d9d2c6, #9aa3ad)); z-index: 1; }
  .av.long i { position: absolute; inset: 0; z-index: 2; background: radial-gradient(60% 55% at 50% 40%, var(--skin, #e8c4a8) 0 40%, transparent 42%); }
  .av.long i::after { content: ""; position: absolute; left: 50%; top: 8%; width: 54%; height: 20%; transform: translateX(-50%); border-radius: 50% 50% 20% 20%; background: var(--hair, #2b2420); }
  /* curls: a rounder, fuller crown */
  .av.curly::after { width: 64%; height: 42%; top: 4%; border-radius: 50%; }
  /* short crop: a tighter cap */
  .av.crop::after { width: 50%; height: 26%; top: 13%; border-radius: 50% 50% 30% 30%; }
  /* grey */
  .av.grey { --hair: #b9b4ae; }
  .av.acme { background: #1d3557; } .av.acme::before, .av.acme::after { display: none; }
  .av.acme span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: .02em; }
  .lk-row .av.acme span { font-size: 15px; } .lk-ch .av.acme span { font-size: 13px; } .lk-m .av.acme span { font-size: 12px; }

  /* ---- LinkedIn ---- */
  .view-mail { background: #f4f2ee; display: grid; grid-template-rows: 52px minmax(0, 1fr); overflow: hidden; }
  .lk-nav { display: flex; align-items: center; gap: 8px; padding: 0 20px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; white-space: nowrap; }
  .lk-logo { width: 34px; height: 34px; border-radius: 4px; background: #0a66c2; color: #fff; font-weight: 800; font-size: 21px; display: grid; place-items: center; letter-spacing: -.03em; }
  .lk-search { display: flex; align-items: center; gap: 8px; flex: 1 1 120px; min-width: 110px; max-width: 280px; height: 34px; margin-left: 6px; padding: 0 10px; border-radius: 4px; background: #edf3f8; color: rgba(0,0,0,.6); font-size: 14px; }
  .lk-search svg { width: 16px; height: 16px; }
  .lk-items { margin-left: auto; display: flex; flex: none; }
  .lk-item { position: relative; display: grid; justify-items: center; gap: 1px; width: 66px; color: rgba(0,0,0,.6); font-size: 11px; }
  .lk-item svg { width: 24px; height: 24px; fill: currentColor; }
  .lk-item { height: 52px; align-content: center; }
  .lk-item.cur { color: rgba(0,0,0,.9); } .lk-item.cur::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: rgba(0,0,0,.9); }
  .lk-item .badge { position: absolute; top: 4px; right: 16px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #cc1016; color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
  .lk-item .av { width: 24px; height: 24px; }
  .lk-page { display: grid; grid-template-columns: 280px minmax(0, 1fr); margin: 16px 20px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); overflow: hidden; min-height: 0; }
  .lk-list { border-right: 1px solid rgba(0,0,0,.08); display: grid; grid-template-rows: auto auto 1fr; min-height: 0; }
  .lk-lh { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 16px; font-weight: 600; }
  .lk-lh svg { width: 20px; height: 20px; fill: rgba(0,0,0,.6); }
  .lk-ls { display: flex; align-items: center; gap: 8px; margin: 0 12px 10px; height: 32px; padding: 0 10px; border-radius: 4px; background: #edf3f8; color: rgba(0,0,0,.6); font-size: 13px; }
  .lk-ls svg { width: 14px; height: 14px; }
  .lk-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid rgba(0,0,0,.06); font-size: 13px; }
  .lk-row .av { width: 48px; height: 48px; }
  .lk-row b { display: block; font-weight: 600; } .lk-row span { display: block; color: rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
  .lk-row small { align-self: start; color: rgba(0,0,0,.6); font-size: 12px; }
  .lk-row.on { background: #eef3f8; box-shadow: inset 3px 0 0 #0a66c2; }
  .lk-conv { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
  .lk-ch { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(0,0,0,.08); }
  .lk-ch .av { width: 40px; height: 40px; }
  .lk-ch b { display: block; font-size: 14px; font-weight: 600; } .lk-ch span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(0,0,0,.6); }
  .lk-ch span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #057642; }
  .lk-ch .acts { margin-left: auto; display: flex; gap: 14px; } .lk-ch .acts svg { width: 20px; height: 20px; fill: rgba(0,0,0,.6); }
  .lk-body { padding: 14px 20px; display: grid; gap: 12px; align-content: start; overflow: hidden; min-height: 0; }
  .lk-m { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
  .lk-m .av { width: 36px; height: 36px; }
  .lk-m b { font-weight: 600; } .lk-m small { color: rgba(0,0,0,.6); font-size: 12px; margin-left: 6px; }
  .lk-m p { margin: 3px 0 0; max-width: 58ch; }
  .lk-prev { display: grid; grid-template-rows: 96px auto; width: min(100%, 360px); margin: 10px 0 4px; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; overflow: hidden; background: #fff; }
  .lk-prev .img { position: relative; background: linear-gradient(135deg, #1d3557 0%, #2a4a7a 50%, #1d3557 100%); display: grid; place-items: center; }
  .lk-prev .img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 70% 30%, rgba(255,255,255,.14), transparent 60%); }
  .lk-prev .img span { position: relative; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
  .lk-prev .img span i { width: 26px; height: 26px; border-radius: 6px; background: #fff; display: grid; place-items: center; color: #1d3557; font-style: normal; font-size: 15px; }
  .lk-prev .t { padding: 10px 14px 12px; } .lk-prev .t b { display: block; font-size: 14px; } .lk-prev .t small { display: block; margin-top: 2px; font-size: 12px; color: rgba(0,0,0,.6); }
  .attack.is-click .lk-prev { box-shadow: 0 0 0 3px rgba(10,102,194,.3); }
  .lk-compose { display: grid; gap: 8px; padding: 10px 20px 12px; border-top: 1px solid rgba(0,0,0,.08); }
  .lk-compose .box { height: 44px; padding: 12px 12px; border-radius: 8px; background: #f4f2ee; color: rgba(0,0,0,.6); font-size: 14px; }
  .lk-compose .bar { display: flex; align-items: center; gap: 14px; } .lk-compose .bar svg { width: 20px; height: 20px; fill: rgba(0,0,0,.6); }
  .lk-compose .send { margin-left: auto; padding: 6px 16px; border-radius: 16px; background: rgba(0,0,0,.08); color: rgba(0,0,0,.4); font-size: 14px; font-weight: 600; }
  .cursor { position: absolute; width: 20px; height: 20px; left: 58%; top: 82%; transition: left 1.2s cubic-bezier(.4,0,.2,1), top 1.2s cubic-bezier(.4,0,.2,1); }
  .attack.is-cursor .cursor { left: 46%; top: 55%; }
  .cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }

  /* ---- Microsoft-style sign-in ---- */
  .view-page { background: url(../images/brand/horizon.jpg) center 70% / cover; }
  .ms::before { content: ""; position: absolute; inset: 0; background: rgba(240, 242, 248, .55); -webkit-backdrop-filter: blur(14px) saturate(.8); backdrop-filter: blur(14px) saturate(.8); }
  .ms-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); padding: 44px 44px 40px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
  .ms-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: #1d3557; }
  .ms-brand i { width: 28px; height: 28px; border-radius: 6px; background: #1d3557; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 16px; font-weight: 700; }
  .ms-acct { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 15px; color: #1b1b1b; }
  .ms-acct svg { width: 16px; height: 16px; fill: #666; }
  .ms h3 { margin: 0 0 20px; font-size: 24px; font-weight: 600; color: #1b1b1b; }
  .ms-input { position: relative; height: 36px; margin-bottom: 14px; border-bottom: 1px solid #666; font-size: 15px; display: flex; align-items: center; letter-spacing: .14em; }
  .ms-input em { position: absolute; left: 0; font-style: normal; letter-spacing: 0; color: #666; }
  .attack.is-typing .ms-input em { opacity: 0; }
  .ms-banner { margin: 0 0 18px; padding: 10px 12px; background: #fff4ce; border-left: 4px solid #ffb900; font-size: 13px; color: #323130; }
  .ms-banner b { font-variant-numeric: tabular-nums; }
  .ms-link { display: block; margin-bottom: 24px; font-size: 13px; color: #0067b8; }
  .ms-actions { display: flex; justify-content: flex-end; }
  .ms-btn { min-width: 108px; padding: 8px 12px; background: #0067b8; color: #fff; font-size: 15px; text-align: center; }
  .ms-foot { position: absolute; right: 24px; bottom: 14px; display: flex; gap: 20px; font-size: 12px; color: #666; }

.view-page .sso { position: absolute; inset: 0; display: block; transition: opacity 0.3s ease; }
.ms-card { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.attack[data-step="3"] .ms-card { transform: translate(-50%, -50%) scale(0.82); }
.ms-input .typed { letter-spacing: .14em; }
.ms-input .caret { width: 1px; height: 18px; background: #000; opacity: 0; }
.attack[data-step="2"] .ms-input .caret { animation: caret 0.8s steps(2) infinite; }
@keyframes caret { 50% { opacity: 1; } }
.view-mail .cursor { position: absolute; width: 20px; height: 20px; left: 58%; top: 82%; opacity: 0; transition: left 1.2s cubic-bezier(.4,0,.2,1), top 1.2s cubic-bezier(.4,0,.2,1), opacity .3s; }
.view-mail .cursor svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.attack.is-cursor .view-mail .cursor { opacity: 1; left: 46%; top: 55%; }

/* ---- 3 Stopped, and the lesson ----
   The page stays on the left. A spotlight (one element whose shadow dims everything but
   itself) moves over the page's own address bar, banner and password box. The lesson
   panel docks on the right: the Signal as a banner with the headline on it, the three
   tells as a named strip, the text in open space, the actions at the foot. js/attack.js
   fills the states and drives the spotlight. */
.attack[data-step="3"] .sso { right: 46%; }
.spot { position: absolute; z-index: 6; left: 27%; top: 330px; width: 0; height: 0; border-radius: 3px; box-shadow: 0 0 0 9999px rgba(0, 1, 24, 0.62); opacity: 0; transition: left .55s cubic-bezier(.4,0,.2,1), top .55s cubic-bezier(.4,0,.2,1), width .55s cubic-bezier(.4,0,.2,1), height .55s cubic-bezier(.4,0,.2,1), opacity .4s; pointer-events: none; }
.attack[data-step="3"] .spot { opacity: 1; }
.spot::after { content: ""; position: absolute; inset: -1px; border: 1.5px solid var(--glow); border-radius: inherit; box-shadow: 0 0 0 4px rgba(215, 141, 236, 0.18), 0 0 28px rgba(215, 141, 236, 0.55); opacity: 0; transition: opacity .3s .25s; }
.spot.on::after { opacity: 1; }
.spot .tag { position: absolute; left: -1px; top: calc(100% + 12px); padding: 7px 11px; background: var(--glow); color: var(--midnight); font-family: var(--font-site); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .3s .3s, transform .3s .3s; }
.spot.on .tag { opacity: 1; transform: none; }

.lesson { position: absolute; z-index: 7; top: 0; right: 0; bottom: 0; width: 46%; display: grid; grid-template-rows: 200px auto 1fr auto; color: #fff; font-family: var(--font-site); background: #07061a; border-left: 1px solid rgba(215, 141, 236, 0.3); box-shadow: -40px 0 80px -30px rgba(0, 1, 24, 0.95); overflow: hidden; transform: translateX(24px); opacity: 0; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s; pointer-events: none; }
.attack[data-step="3"] .lesson { transform: none; opacity: 1; pointer-events: auto; }
.lesson .grain { position: absolute; inset: 0; background: var(--grain); opacity: .04; pointer-events: none; }
.lesson > * { position: relative; z-index: 1; }
.banner { position: relative; overflow: hidden; border-bottom: 1px solid rgba(215, 141, 236, 0.3); }
.banner img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.banner .grade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 26, 0.3), rgba(7, 6, 26, 0.88)); }
.banner .over { position: absolute; left: 30px; right: 30px; top: 22px; bottom: 22px; display: grid; grid-template-rows: auto 1fr; }
.banner img.mark { height: 15px; width: auto; filter: brightness(0) invert(1); }
.banner h3 { margin: 0; align-self: end; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.banner h3 em { font-style: normal; color: var(--glow); }
.banner .k { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--glow); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.strip div { display: flex; align-items: center; gap: 10px; padding: 14px 0 14px 30px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; transition: color .3s; }
.strip div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: 16px; }
.strip i { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 500; transition: all .3s; }
.strip div.done { color: var(--bg-lavender); } .strip div.done i { border-color: var(--bg-lavender); }
.strip div.now { color: #fff; } .strip div.now i { border-color: var(--glow); background: var(--glow); color: var(--midnight); box-shadow: 0 0 14px rgba(215, 141, 236, 0.6); }
.ls-body { display: grid; align-content: start; gap: 12px; padding: 20px 30px 14px; min-height: 0; overflow: hidden; }
.ls-body.fade { animation: ls-in .4s cubic-bezier(.4,0,.2,1); }
@keyframes ls-in { from { opacity: 0; transform: translateY(8px); } }
.ls-body p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.ls-body p b { color: #fff; font-weight: 500; }
.ls-foot { padding: 0 30px 24px; }
.acts { display: flex; gap: 16px; align-items: center; }
.ls-go { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid rgba(205, 185, 255, 0.85); background: rgba(150, 125, 227, 0.16); color: #fff; font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s; }
.ls-go:hover { background: rgba(150, 125, 227, 0.3); border-color: var(--glow); }
.ls-quiet { background: none; border: 0; padding: 0; color: var(--bg-lavender); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ls-quiet:hover { color: #fff; }
/* share: picker, note, invite */
.search { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.45); font-size: 13.5px; }
.search svg { width: 15px; height: 15px; flex: none; }
.people { display: grid; }
.pp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); cursor: pointer; }
.pp:first-child { border-top: 0; }
.pp i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(150, 125, 227, 0.22); font-style: normal; font-size: 10.5px; font-weight: 600; }
.pp span { font-size: 13.5px; font-weight: 500; } .pp small { margin-left: 8px; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.45); }
.pp input, .inv input { display: none; }
.pp em, .inv em { position: relative; width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; transition: all .2s; }
.pp:has(input:checked) em, .inv:has(input:checked) em { background: var(--glow); border-color: var(--glow); box-shadow: 0 0 10px rgba(215, 141, 236, 0.5); }
.pp:has(input:checked) em::after, .inv:has(input:checked) em::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--midnight); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.msg { display: grid; gap: 6px; }
.lbl { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.msg p { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); font-size: 13.5px; line-height: 1.45; color: #fff; outline: none; }
.msg p:focus { border-color: var(--glow); }
.inv { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; cursor: pointer; }
.inv em { border-radius: 3px; } .inv:has(input:checked) em::after { left: 6px; top: 2px; }
.inv span { font-size: 13.5px; font-weight: 500; } .inv small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.45); }
.chosen { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }
.chosen i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(150, 125, 227, 0.22); border: 2px solid #07061a; margin-right: -8px; font-style: normal; font-size: 10px; font-weight: 600; }
.chosen span { margin-left: 14px; }

@media (max-width: 1200px) {
  .attack-section { min-height: 0; scroll-snap-align: none; }
  .attack-wrap { grid-template-columns: 1fr; gap: 48px; }
  .attack-copy { max-width: 720px; }
}
/* Up to 900px the window is too narrow to split: the lesson docks over the whole
   window (at 768 a 46% panel clipped its strip, text and buttons) and the LinkedIn
   list column gives its room to the conversation */
@media (max-width: 900px) {
  /* Narrow windows: the page keeps the top of the window, with the spotlight on it,
     and the lesson panel takes the bottom. The banner shrinks to a strip with the
     headline; the stripe of three stays. */
  .attack[data-step="3"] .cw-body { height: clamp(500px, 100svh - 170px, 720px); }
  .attack[data-step="3"] .sso { right: 0; bottom: 60%; overflow: hidden; }
  .attack[data-step="3"] .ms-card { transform: translate(-50%, -50%) scale(0.72); }
  @media (max-height: 720px) { .attack[data-step="3"] .ms-card { transform: translate(-50%, -50%) scale(0.54); } }
  .attack[data-step="3"] .ms-foot { display: none; }
  .lesson { top: 40%; width: 100%; border-left: 0; border-top: 1px solid rgba(215, 141, 236, 0.3); grid-template-rows: auto auto 1fr auto; }
  .banner { height: auto; min-height: 0; }
  .banner img.art { display: none; }
  .banner .over { position: static; display: grid; gap: 6px; padding: 12px 20px 10px; }
  .banner .over img.mark { height: 13px; }
  .banner h3 { font-size: 20px; }
  .banner .k { margin-bottom: 4px; }
  .strip div { padding: 10px 0 10px 14px; gap: 8px; font-size: 12px; }
  .strip div + div { padding-left: 12px; }
  .ls-body { padding: 12px 20px 8px; gap: 8px; overflow: auto; }
  .pp { padding: 6px 0; }
  .search { height: 34px; }
  .ls-body p { font-size: 14px; }
  .ls-foot { padding: 10px 20px 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .acts { flex-wrap: wrap; gap: 10px 16px; }
  .spot .tag { font-size: 12px; }
}
@media (max-width: 760px) {
  /* The LinkedIn view on phones: no nav labels, no search, the conversation only */
  .lk-nav { padding: 0 12px; gap: 10px; }
  .lk-search { display: none; }
  .lk-item { width: 44px; font-size: 0; }
  .lk-item .badge { right: 6px; }
  .lk-page { grid-template-columns: 1fr; margin: 10px; }
  .lk-list { display: none; }
  .lk-m p { max-width: none; }
  .lk-prev { width: 100%; }
  .attack.is-cursor .view-mail .cursor { left: 40%; top: 58%; }
  .ms-card { padding: 28px 24px 26px; }
  .ms h3 { font-size: 20px; }
  .ms-foot { right: 14px; }
  .cw-tab-page, .cw-newtab { display: none; }
  .cw-win i { width: 36px; }
  .attack:not([data-step="3"]) .cw-body { height: 560px; }
  /* Phones: the three steps on one row, short words, the active one's line lit */
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .timeline button { min-height: 44px; padding: 10px 0 10px; font-size: 13px; line-height: 1.25; }
  .timeline button .long { display: none; }
  .timeline button .short { display: inline; }
  .attack-section { padding-block: calc(var(--nav-h) + 24px) 40px; }
  .attack-wrap { gap: 28px; }
  .attack-copy .h1 { font-size: clamp(28px, 7.4vw, 34px); gap: 6px; }
  .attack-cost { margin-top: 22px; padding-top: 18px; gap: 6px; }
  .attack-cost b { font-size: 44px; }
  .attack-cost span { font-size: 16px; }
  .attack-cost small { font-size: 12px; }
  /* Thumb-sized targets: the lesson's buttons and the people rows */
  .ls-go, .ls-quiet { min-height: 44px; }
  .pp { min-height: 44px; }
}
@media (max-width: 400px) {
}
@media (prefers-reduced-motion: reduce) {
  .view, .cursor, .caret, .spot, .lesson, .ls-body, .timeline button i::after { animation: none !important; transition: none !important; }
}
