/* ============================================================
   /copywriting — page styles. Loaded after core.css + components.css.
   Scheme = /ad-accounts: hero → #demo → partners → journey (.hiw)
   → comparison (.cmp). Components are NOT restyled here; this file
   only holds the hero, the editor demo, the partner strip, the step
   art inside .hiw-art, and the flag-gated results/samples.
   Prefix: cw-. Mobile overrides + reduced motion are kept LAST.
   ============================================================ */

:root {
  --cw-pad: 32px;                          /* .wrap side padding (20px ≤600) */
  --cw-gap: clamp(96px, 12vw, 160px);      /* rhythm for the flag-gated sections */
  --cw-h1: clamp(56px, min(8.6vw, 15vh), 126px);
}

main { position: relative; z-index: 2; }
#demo, #journey, #results, #work, #compare { scroll-margin-top: 96px; }

/* ================= HERO (no sub — as /ad-accounts) ================= */
.cw-hero { position: relative; z-index: 2; }

/* Hero background — the same dark layer + fade as /ad-accounts and the hub. */
.cw-hero .hero-bars {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  background: #050608;
}
.cw-hero .hero-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22vh;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,9,11,0.55) 55%, var(--bg) 100%);
}
.cw-hero > .wrap { position: relative; z-index: 2; }
.cw-fold {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: clamp(96px, 13vh, 150px) 0 clamp(40px, 6vh, 72px);
}
/* Both lines always stay whole: widest "Research, Write, Scale." ≈9.89em, so the hero fits
   10.1em (core.css .cw-hero --h1-fit) instead of /ad-accounts' 9.4.
   On phones each line splits at a phrase (.br-m: "Research, / Write, Scale." · "Words That / Sell.")
   at /ad-accounts' 56px; widest phrase "Write, Scale." ≈5.41em (caret takes no net width) → width / 5.46. */
.cw-fold h1.hero-title { text-align: center; } /* size: shared rule in core.css (#12) */
.cw-fold .hero-title .ln { white-space: nowrap; }
.cw-fold .br-m { display: none; }
@media (max-width: 600px) {
  .cw-fold .br-m { display: inline; }
  .cw-fold h1.hero-title { font-size: min(56px, calc((100vw - 2 * var(--cw-pad)) / 5.46)); }
}
.cw-fold .hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin-top: clamp(40px, 9vh, 110px);
}

/* ================= EDITOR DEMO ================= */
.cw-demo { position: relative; z-index: 2; padding: 24px 0 clamp(48px, 6vw, 88px); }
/* The laptop base overhangs the lid by 4.5% a side; where the laptop fills the screen (~960–1180px) that overhang
   would pass the viewport edge and scroll the page sideways. Clip only what leaves the screen. */
.cw-demo { overflow-x: clip; }
.cw-dash { position: relative; }
/* Heading + proof line stacked and centred (same as /video-editing .ve-demo-cap), every width. */
.cw-dash-cap {
  display: block; text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.cw-dash-title {
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  text-align: center;
}
.cw-dash-title .em {
  font-weight: 400;
  background: linear-gradient(180deg, #FFFFFF 0%, #B8BAC0 60%, #6E7079 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.cw-figure { margin: 0; }

/* Same scroll-driven rise as the /ad-accounts hero dash (dashSectionEnter).
   Blur dropped: transform/opacity only. Static fallback = fully visible. */
@supports (animation-timeline: view()) {
  .cw-dash {
    animation: dashSectionEnter linear both;
    animation-timeline: view(block);
    animation-range: entry 0% cover 35%;
  }
  @keyframes dashSectionEnter {
    0%   { opacity: 0; transform: translateY(14vh) scale(0.94); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* ---------- Laptop + word processor (demo) ----------
   A laptop (lid, bezel, camera, base) running a Word-style editor in dark mode: title bar, ribbon tabs,
   tools, a white page on the canvas, status bar with a live word count. copywriting.js types the page in.
   The static HTML is the finished document (no-JS, reduced motion). */
.wd-laptop { position: relative; max-width: 1060px; margin: 0 auto; }
/* The screen lights the room: a soft silver glow behind the laptop (same light as the /ad-accounts dash). */
.wd-laptop::before {
  content: ""; position: absolute; inset: 8% 6% 18%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 45%, rgba(255,255,255,0.09), transparent 70%);
  filter: blur(30px);
}
.wd-lid {
  position: relative;
  padding: 22px 16px 16px;
  border-radius: 20px 20px 8px 8px;
  background: #050608;
  /* aluminium edge: a lit rim on top fading down the sides */
  box-shadow: 0 0 0 1.5px #2E3036, 0 0 0 2.5px #121317, inset 0 1px 0 rgba(255,255,255,0.14), 0 60px 110px -50px rgba(0,0,0,0.95);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 40%);
}
.wd-cam { position: absolute; top: 8px; left: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateX(-50%); background: #1C1E23; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.wd-base { position: relative; height: 16px; margin: 0 -4.5%; border-radius: 2px 2px 18px 18px / 2px 2px 12px 12px; background: linear-gradient(180deg, #5A5D65 0%, #2A2C31 30%, #15161A 70%, #0B0C0F 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 24px 40px -18px rgba(0,0,0,0.9); }
.wd-notch { position: absolute; left: 50%; top: -1px; width: 15%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #0D0E11; }

.wd-screen { position: relative; display: flex; flex-direction: column; height: 600px; border-radius: 4px; overflow: hidden; background: #1A1B1F; color: #C9CBD1; font-size: 12px; font-family: var(--font-sans); }
/* Glass: one faint diagonal reflection across the screen. */
.wd-screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 28%, transparent 42%); }
.wd-titlebar { position: relative; display: flex; align-items: center; justify-content: center; height: 30px; flex-shrink: 0; background: #2B2C31; }
.wd-dots { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.wd-dots b { width: 9px; height: 9px; border-radius: 50%; background: #45474E; }
.wd-tbt { font-size: 12px; color: #D9DADF; }
.wd-right { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
.wd-saved { font-size: 11px; color: #8A8C94; }
.wd-avs { display: flex; }
.wd-avs i + i { margin-left: -5px; box-shadow: 0 0 0 2px #2B2C31; }
.wd-tabs { display: flex; gap: 18px; padding: 0 14px; height: 30px; align-items: flex-end; flex-shrink: 0; background: #2B2C31; }
.wd-tabs span { padding-bottom: 7px; font-size: 12px; color: #A1A3AA; border-bottom: 2px solid transparent; }
.wd-tabs span.is-on { color: #FFFFFF; border-bottom-color: #FFFFFF; }
.wd-tools { display: flex; align-items: center; gap: 4px; padding: 7px 12px; flex-shrink: 0; background: #232428; border-bottom: 1px solid rgba(0,0,0,0.45); }
.wd-ti { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 5px; font-size: 13px; color: #D9DADF; transition: background 0.15s var(--ease-out), transform 0.15s var(--ease-out); }
.wd-ti svg { width: 15px; height: 15px; fill: none; stroke: #C9CBD1; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.wd-ti b { font-weight: 700; } .wd-ti i { font-family: Georgia, serif; } .wd-ti u { text-underline-offset: 2px; }
.wd-tb.is-on { background: rgba(255,255,255,0.16); }
.wd-tb.is-press { transform: scale(0.88); }
.wd-tt { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; font-size: 12px; color: #D9DADF; }
.wd-tt-w { min-width: 88px; }
.wd-tt { display: inline-block; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-sep { width: 1px; height: 18px; margin: 0 6px; background: rgba(255,255,255,0.12); }
.wd-style { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; font-size: 12px; color: #D9DADF; margin-left: 4px; }
.wd-style.is-on { border-color: rgba(255,255,255,0.4); }

.wd-canvas { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #17181C; }
.wd-canvas-in { padding: 26px 0 48px; transition: padding 0.6s var(--ease-in-out); }
/* When the comment arrives the page slides left to make room for the comment column (as Word does). */
.wd-docs.has-comment .wd-canvas-in { padding-right: 238px; }
.wd-sheet {
  width: min(100%, 700px); margin: 0 auto; min-height: 820px;
  padding: 48px 56px 60px;
  background: #FFFFFF; color: #16171B;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.6; letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 18px 40px -16px rgba(0,0,0,0.7);
  transition: opacity 0.45s var(--ease-out);
}
.wd-sheet h3 { margin: 0 0 10px; font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; }
.wd-sheet p { margin: 0 0 3px; min-height: 1.6em; }
.wd-sheet .wd-cap { margin-top: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; color: #6E7079; }
.wd-sheet b { font-weight: 500; }
.wd-table { width: 100%; margin-top: 18px; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.55; }
.wd-table th, .wd-table td { border: 1px solid #E2E3E7; padding: 9px 11px; text-align: left; vertical-align: top; font-weight: 400; }
.wd-table th { background: #F4F4F6; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: #6E7079; }
.wd-table td:first-child { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; color: #16171B; padding-top: 12px; }
.wd-table td:last-child { color: #5B5E66; }
.wd-table th:nth-child(1) { width: 14%; } .wd-table th:nth-child(2) { width: 49%; }
.wd-table td p { margin: 0; min-height: 1.55em; }
/* The hook: selected, bolded from the ribbon, then marked as the anchor of the client's comment (greys only). */
#cwHook { display: inline; transition: background 0.25s var(--ease-out); }
#cwHook.is-selected { background: rgba(8,9,11,0.14); }
#cwHook.is-bold { font-weight: 600; }
#cwHook.is-commented { background: rgba(8,9,11,0.07); box-shadow: inset 0 -1.5px 0 #16171B; }
/* The writer's cursor: a thin caret with her name tag riding above it, like a live collaborator. */
.wd-dcaret { position: relative; display: inline-block; width: 1.5px; height: 1.25em; margin-left: 1px; vertical-align: -0.28em; background: #08090B; animation: wdBlink 1s step-end infinite; }
@keyframes wdBlink { 50% { background: transparent; } }
.wd-tag {
  position: absolute; left: 0; bottom: calc(100% + 1px);
  padding: 1px 5px; border-radius: 3px 3px 3px 0;
  background: #08090B; color: #FFFFFF; white-space: nowrap;
  font-size: 8.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.35;
}
.wd-docs.is-paused .wd-dcaret { animation-play-state: paused; }
/* Client comment, in the comment column beside the page (top set by JS to the hook's line). */
.wd-comment {
  position: absolute; top: var(--cm-top, 196px); left: calc((100% - 238px - 700px) / 2 + 718px); width: 210px;
  padding: 10px 12px; border-radius: 8px;
  background: #2B2C31; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7);
  font-size: 12px; line-height: 1.45; color: #E6E7EA;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.wd-docs.wd-run .wd-comment:not(.is-on) { opacity: 0; transform: translateX(10px); }
.wd-comment p { margin: 0; }
.wd-cm-who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px !important; font-weight: 500; }
.wd-cm-who i, .wd-avs i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; color: #08090B; font-style: normal; font-size: 10px; font-weight: 600; }
.wd-cm-who small { display: block; font-size: 10px; color: #8A8C94; font-weight: 400; }
.wd-cm-react { margin-top: 8px !important; }
/* Our reaction to the client's message: a fire emoji, popped in like a chat reaction. */
.wd-react {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px 0 6px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  font-size: 11px; color: #E6E7EA; transform-origin: 20% 50%;
}
.wd-react-e { font-size: 13px; line-height: 1; }
.wd-react b { font-weight: 500; font-variant-numeric: tabular-nums; }
.wd-docs.wd-run .wd-comment:not(.is-done) .wd-react { opacity: 0; transform: scale(0.4); }
.wd-docs.wd-run .wd-comment.is-done .wd-react { animation: wdReact 0.5s var(--ease-snappy) both; }
@keyframes wdReact { 0% { opacity: 0; transform: scale(0.4); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
/* The client's second line arrives a beat after the first, like a follow-up message. */
.wd-cm-more { margin-top: 6px !important; transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-out); }
.wd-docs.wd-run .wd-comment:not(.is-more) .wd-cm-more { opacity: 0; transform: translateY(4px); }
.wd-status { display: flex; align-items: center; gap: 18px; height: 24px; padding: 0 12px; flex-shrink: 0; background: #2B2C31; font-size: 11px; color: #8A8C94; }
.wd-zoom { margin-left: auto; }
.wd-docs.is-out .wd-sheet { opacity: 0; }
/* Send to client (title bar): the cursor clicks it, it turns into "✓ Sent", a toast confirms. */
.wd-send { position: relative; display: inline-flex; }
.wd-send-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-width: 100px; /* same width as "Send to client", so "✓ Sent" stays under the mouse */
  height: 20px; padding: 0 10px; border-radius: 999px;
  background: #FFFFFF; color: #08090B; font-size: 11px; font-weight: 500; white-space: nowrap;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.wd-send-btn svg { display: none; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wd-send.is-sent .wd-send-btn { background: rgba(255,255,255,0.12); color: #FFFFFF; }
.wd-send.is-sent .wd-send-btn svg { display: block; }
.wd-send.is-press .wd-send-btn { animation: artBtnPress 0.45s var(--ease-snappy); }
.wd-tb.is-press { animation: artBtnPress 0.4s var(--ease-snappy); }
.wd-send.is-press .art-ripple { animation: artRipple 0.7s var(--ease-out) 1 forwards; }
.wd-send .art-ripple { left: 55%; top: 50%; border-color: rgba(8,9,11,0.45); background: rgba(8,9,11,0.12); }
/* Document tabs: the order's ten scripts; 1–9 done, 10 being finished (dot), then checked. */
.wd-doctabs { display: flex; gap: 2px; height: 30px; padding: 0 10px; flex-shrink: 0; align-items: flex-end; background: #1F2024; border-bottom: 1px solid rgba(0,0,0,0.5); overflow: hidden; }
.wd-doctabs span {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  height: 24px; padding: 0 10px; border-radius: 5px 5px 0 0;
  font-size: 11px; color: #8A8C94; white-space: nowrap;
}
.wd-doctabs span.is-done::before { content: "✓"; font-size: 10px; color: #A1A3AA; }
.wd-doctabs #cwTab { background: #17181C; color: #FFFFFF; }
.wd-doctabs #cwTab:not(.is-done)::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; animation: wdDot 1.4s ease-in-out infinite; }
@keyframes wdDot { 50% { opacity: 0.3; } }
.wd-docs.is-paused #cwTab::before { animation-play-state: paused; }
/* The script body arrives as one paste: a quick flash as it lands. */
.wd-body { position: relative; }
.wd-docs.wd-run .wd-body.is-empty { visibility: hidden; }
.wd-body.is-pasted { animation: wdPaste 0.9s var(--ease-out); }
@keyframes wdPaste { 0% { opacity: 0; background: rgba(8,9,11,0.08); } 25% { opacity: 1; } 100% { background: rgba(8,9,11,0); } }
/* ⌘V beside the mouse at the moment of the paste. */
.wd-keys { position: absolute; left: 20px; top: 20px; display: flex; gap: 3px; opacity: 0; transform: translateY(4px); transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out); }
.wd-keys kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 5px; background: #08090B; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 2px 0 rgba(0,0,0,0.5);
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; color: #FFFFFF;
}
.wd-keys.is-on { opacity: 1; transform: none; }
/* The hook is selected word by word as the mouse drags across it. */
#cwHook .wd-hw { transition: background 0.05s linear; }
#cwHook .wd-hw.is-sel { background: rgba(8,9,11,0.14); }
/* The real mouse: one pointer on the screen, moved frame by frame by JS (transform only, own layer). */
.wd-mouse {
  position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none;
  will-change: transform; backface-visibility: hidden;
  transition: opacity 0.3s var(--ease-out);
  opacity: 0;
}
.wd-mouse svg { filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4)); }
.wd-mouse.is-on { opacity: 1; }
.wd-mouse svg { display: block; transform-origin: 3px 2px; transition: transform 0.12s var(--ease-out); }
.wd-mouse.is-press svg { transform: scale(0.84); }
.wd-click { position: absolute; left: 3px; top: 2px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.18); opacity: 0; pointer-events: none; }
.wd-mouse.is-press .wd-click { animation: artRipple 0.6s var(--ease-out) 1 forwards; }
.wd-toast {
  position: absolute; left: 50%; bottom: 18px; z-index: 3; margin: 0;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: #08090B; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.8);
  color: #FFFFFF; font-size: 12px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}
.wd-toast svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* No room beside the page: the comment sits over the canvas, bottom right. */
@media (max-width: 1180px) {
  .wd-canvas-in, .wd-docs.has-comment .wd-canvas-in { padding-right: 20px; padding-left: 20px; }
  .wd-comment { top: auto; bottom: 14px; left: auto; right: 14px; }
}

/* Bars in the journey art (wallet balance, writing progress): track + fill. Each art sets its own size/scale below. */
.cw-sc-bar, .cw-wal-bar { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.cw-sc-bar i, .cw-wal-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.55), #FFFFFF);
  transform-origin: left center;
}

/* Stacked text: invisible ghosts reserve the tallest variation so nothing jumps while typing (journey art). */
.cw-stack { display: grid; margin: 0; }
.cw-stack > * { grid-area: 1 / 1; min-width: 0; }
.cw-ghost { visibility: hidden; }

.cw-caret {
  display: inline-block;
  width: calc(2px * var(--k, 1)); height: 1.15em;
  margin-left: calc(2px * var(--k, 1));
  vertical-align: -0.22em;
  background: #FFFFFF;
  animation: twBlink 0.7s step-end infinite;
}
.is-paused .cw-caret,
.is-paused .status::before { animation-play-state: paused; }

.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(8px * var(--k, 1));
  padding: calc(10px * var(--k, 1)) calc(18px * var(--k, 1));
  font-size: calc(13px * var(--k, 1)); font-weight: 500; line-height: 1.2;
  border-radius: calc(999px * var(--k, 1));
  white-space: nowrap;
}
.cw-btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line-2); }
.cw-btn-primary { background: #FFFFFF; color: #08090B; }
.cw-btn svg { width: calc(13px * var(--k, 1)); height: calc(13px * var(--k, 1)); }



/* ================= PARTNERS (as /ad-accounts .partners) ================= */
.partners {
  position: relative; z-index: 2;
  padding: 28px 0 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
  overflow: hidden;
}
.partners-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.partners-row .partner-logo {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: center;
  min-width: 160px; height: 56px;
  opacity: 0.78;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.partners-row .partner-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; filter: brightness(1.4); }
/* Google's artwork fills its canvas (Meta/TikTok carry padding) — same optical height. */
.partners-row .partner-logo.p-google img { max-height: 64%; }
.partners-row .partner-logo.text-only {
  font-family: var(--font-sans); font-weight: 500; font-size: 30px;
  letter-spacing: -0.03em; color: rgba(255,255,255,0.85);
}
@media (hover: hover) and (pointer: fine) {
  .partners-row .partner-logo:hover { opacity: 1; transform: translateY(-2px); }
}

/* ================= STEP ART (inside the 480×320 .hiw-art card, 28px padding) =================
   Same easing/timings as the /ad-accounts art. Plays once: the start state is gated by
   html.cw-anim (set by JS unless reduced), the finished state by
   .hiw-step:is(.is-active, .is-played) (components keep .is-played). Text swaps are done
   by JS in ONE element ([data-from] → final text). No-JS + html.reduced = finished state. */
.cw-art-lab {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
}
.cw-art-field {
  display: block;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px; line-height: 1.45;
  background: rgba(255,255,255,0.015);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cw-art-field.cw-stack { display: grid; }
.cw-art-field.cw-stack > * { grid-area: 1 / 1; }
.hiw-art .status { transition: opacity 0.16s var(--ease-out); }
.hiw-art .status.is-dip { opacity: 0; }

/* Pace = /ad-accounts × 0.9: content enters from 0.35s (rows 0.09–0.13s apart), every beat holds
   ≥0.55s, each art settles by ~4.5–5.4s. Clicks use the shared 2.835s cursor: it rests on the button
   at --cur-d + 1.76s (button brightens), clicks at --cur-d + 1.93s (press + ripple), and the
   label/state changes only after it (--cur-d + 2.1s). Transitions live on the PLAY rules
   only, so setting html.cw-anim (start state) never animates. Timeline per step in the
   comments below (seconds from activation). */

/* 01 — wallet = the hub's "Load your wallet." art (hub.css .wal*, same timings):
   panel 0.36 → chips 0.495 → Top Up row 0.63 → cursor 1.26 → rests 3.02 (border brightens)
   → click 3.195 (press + ripple) → balance fills 3.375–4.45 → "Funds added" pops 4.5 (settled ≈4.9) */
.cw-art-wallet { display: flex; flex-direction: column; gap: 16px; }
.cw-wal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cw-wal-added {
  font-size: 9px; color: #08090B; background: #FFFFFF;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.cw-wal-panel {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  background: rgba(255,255,255,0.015);
}
.cw-wal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cw-wal-note { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cw-wal-bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,0.06); }
.cw-wal-bar i { transform: scaleX(0.88); box-shadow: 0 0 14px rgba(255,255,255,0.35); }
.cw-wal-methods { display: flex; gap: 6px; flex-wrap: wrap; }
.cw-wal-methods .tag { font-size: 9px; padding: 4px 10px; }
.cw-wal-pick { color: var(--text); border-color: rgba(255,255,255,0.4); }
.cw-wal-cta {
  margin-top: auto; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; min-height: 48px;
  background: #15171C; color: #F4F4F4;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
}
.cw-wal-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.cw-wal-cta .art-ripple { left: calc(70% + 3px); top: 50%; }
.cw-wal-cursor { left: 325px; bottom: 30px; --cur-d: 1.26s; }  /* = hub left:70%; bottom:2px of the 424px .wal box */
html.cw-anim .cw-wal-added { opacity: 0; transform: scale(0.85); }
html.cw-anim .cw-wal-panel { opacity: 0; transform: translateY(10px); }
html.cw-anim .cw-wal-methods { opacity: 0; transform: translateY(6px); }
html.cw-anim .cw-wal-cta { opacity: 0; transform: translateY(10px); }
html.cw-anim .cw-wal-bar i { transform: scaleX(0.14); }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-panel { opacity: 1; transform: none; transition: opacity 0.54s var(--ease-out) 0.36s, transform 0.54s var(--ease-out) 0.36s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-methods { opacity: 1; transform: none; transition: opacity 0.45s var(--ease-out) 0.495s, transform 0.45s var(--ease-out) 0.495s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-cta {
  opacity: 1; transform: none; border-color: rgba(255,255,255,0.32);
  transition: opacity 0.54s var(--ease-out) 0.63s, transform 0.54s var(--ease-out) 0.63s, border-color 0.36s var(--ease-out) 3.015s;
  animation: artBtnPress 0.405s var(--ease-snappy) 3.195s;
}
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-cta .art-ripple { animation: artRipple 0.63s var(--ease-out) 3.222s 1 forwards; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-bar i { transform: scaleX(0.88); transition: transform 1.08s var(--ease-out) 3.375s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-wal-added { opacity: 1; transform: scale(1); transition: opacity 0.36s var(--ease-snappy) 4.5s, transform 0.36s var(--ease-snappy) 4.5s; }

/* 02 — cart · rows 0.35 / 0.48 → button 0.77 → cursor 1.26 → rests 3.02 → click 3.19
   → "Paid from wallet ✓" 3.36 (settled ≈3.6, cursor gone 4.1) */
.cw-req { height: 100%; display: flex; flex-direction: column; }
.cw-cart-head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cw-req-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cw-req-val { font-weight: 500; letter-spacing: -0.005em; }
.cw-req-val em { font-style: normal; font-weight: 400; color: var(--text-3); font-size: 12px; margin-left: 6px; }
.cw-qty { font-variant-numeric: tabular-nums; color: var(--text-2); }
.cw-req-cta {
  margin-top: auto;
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #15171C; color: #F4F4F4;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  font-size: 13px; font-weight: 500;
  position: relative; overflow: hidden;
}
.cw-req-state { display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.16s var(--ease-out); }
.cw-req-state.is-dip { opacity: 0; }
.cw-req-state svg { width: 14px; height: 14px; }
.cw-req-cta .art-ripple { left: 73%; top: 50%; }
.cw-cart-cursor { left: 334px; top: 261px; --cur-d: 1.26s; }
html.cw-anim .cw-req-row { opacity: 0; transform: translateX(-12px); }
html.cw-anim .cw-req-cta { opacity: 0; transform: translateY(10px); }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-req-row { opacity: 1; transform: none; transition: opacity 0.54s var(--ease-out) 0.35s, transform 0.54s var(--ease-out) 0.35s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-req-row:nth-child(3) { transition-delay: 0.48s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-req-cta {
  opacity: 1; transform: none;
  background: #1D1F25; border-color: rgba(255,255,255,0.2);
  transition: opacity 0.54s var(--ease-out) 0.77s, transform 0.54s var(--ease-out) 0.77s,
              background 0.25s var(--ease-out) 3.02s, border-color 0.25s var(--ease-out) 3.02s;
  animation: artBtnPress 0.45s var(--ease-snappy) 3.19s;
}
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-req-cta .art-ripple { animation: artRipple 0.7s var(--ease-out) 3.19s 1 forwards; }

/* 03 — product info types in · 0.35 → 4 fields (97 chars) at ~19 chars/s, 0.2s between fields (settled ≈6.1) */
.cw-brief-form { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.cw-bf-row { display: flex; flex-direction: column; gap: 6px; }
.cw-art-brief .cw-caret { visibility: hidden; }
.cw-art-brief .is-typing .cw-caret { visibility: visible; }

/* 04 — scripts · rows 0.35–0.68 (0.11 apart) → counter 0.54–2.79 (0 → 50) → Ready 1.26 / 1.98 / 2.7 / 3.42
   (settled ≈3.6) */
.cw-art-scripts { display: flex; flex-direction: column; }
.cw-sc-head { display: flex; justify-content: space-between; align-items: baseline; }
.cw-sc-count { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cw-sc-bar { margin: 12px 0 4px; }
.cw-sc-bar i { transform: scaleX(var(--p, 1)); }
.cw-hook {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.cw-hook:last-child { border-bottom: 0; }
.cw-hook-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-hook-txt b { font-weight: 500; color: var(--text-3); margin-right: 4px; }
.cw-pill { flex-shrink: 0; }
html.cw-anim .cw-art-scripts .cw-hook { opacity: 0; transform: translateX(-12px); }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-art-scripts .cw-hook { opacity: 1; transform: none; transition: opacity 0.54s var(--ease-out) 0.35s, transform 0.54s var(--ease-out) 0.35s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-art-scripts .cw-hook:nth-child(4) { transition-delay: 0.46s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-art-scripts .cw-hook:nth-child(5) { transition-delay: 0.57s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-art-scripts .cw-hook:nth-child(6) { transition-delay: 0.68s; }

/* 05 — review · comment 0.35 → old line struck 1.44 → revised line 2.34 (settled ≈2.9) */
.cw-art-rev { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cw-comment {
  align-self: flex-start; max-width: 320px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 12px 12px 12px 4px;
  background: rgba(255,255,255,0.03);
}
.cw-comment-txt { font-size: 13px; }
.cw-rev {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.015);
  font-size: 15px;
}
.cw-rev-old { position: relative; align-self: flex-start; opacity: 0.45; }
.cw-rev-old::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 54%;
  height: 1px; background: currentColor;
  transform-origin: left center;
}
.cw-rev-new { font-weight: 500; }
html.cw-anim .cw-comment { opacity: 0; transform: translateY(8px); }
html.cw-anim .cw-rev-old { opacity: 1; }
html.cw-anim .cw-rev-old::after { transform: scaleX(0); }
html.cw-anim .cw-rev-new { opacity: 0; transform: translateY(6px); }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-comment { opacity: 1; transform: none; transition: opacity 0.45s var(--ease-out) 0.35s, transform 0.45s var(--ease-out) 0.35s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-rev-old { opacity: 0.45; transition: opacity 0.45s var(--ease-out) 1.44s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-rev-old::after { transform: scaleX(1); transition: transform 0.5s var(--ease-out) 1.44s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-rev-new { opacity: 1; transform: none; transition: opacity 0.54s var(--ease-out) 2.34s, transform 0.54s var(--ease-out) 2.34s; }

/* 06 — launch · "Final" 0.54 / 1.08 → cursor 1.26 → rests 3.02 → click 3.19 → button lights +
   "Live in Ads Manager" 3.36 (settled ≈3.8, cursor gone 4.1) */
.cw-art-export { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cw-exp-btns { display: flex; gap: 10px; margin-top: 2px; }
.cw-exp-csv { position: relative; overflow: hidden; }
.cw-exp-csv::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: #FFFFFF; opacity: 0.1;
}
.cw-exp-file, .cw-exp-win {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.015);
  font-size: 13px;
}
.cw-exp-name { font-weight: 500; }
.cw-exp-win { flex-direction: column; align-items: flex-start; gap: 6px; }
.cw-exp-hook { font-size: 15px; font-weight: 500; }
.cw-exp-csv .art-ripple { left: 60%; top: 50%; }
.cw-exp-cursor { left: 263px; top: 183px; --cur-d: 1.26s; }
html.cw-anim .cw-exp-csv::after { opacity: 0; }
html.cw-anim .cw-exp-win { opacity: 0; transform: translateY(8px); }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-exp-csv {
  background: rgba(255,255,255,0.09);
  transition: background 0.25s var(--ease-out) 3.02s;
  animation: artBtnPress 0.45s var(--ease-snappy) 3.19s;
}
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-exp-csv .art-ripple { animation: artRipple 0.7s var(--ease-out) 3.19s 1 forwards; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-exp-csv::after { opacity: 0.1; transition: opacity 0.35s var(--ease-out) 3.36s; }
html.cw-anim .hiw-step:is(.is-active, .is-played) .cw-exp-win { opacity: 1; transform: none; transition: opacity 0.45s var(--ease-out) 3.36s, transform 0.45s var(--ease-out) 3.36s; }

/* ================= RESULTS + SAMPLES (hidden at launch: [data-stats] / [data-samples]) ================= */
.cw-sec { position: relative; z-index: 2; padding: 0 0 var(--cw-gap); }
.cw-sec-title { margin-bottom: clamp(32px, 4vw, 56px); }
.result:nth-child(2) { transition-delay: 0.08s; }
.result:nth-child(3) { transition-delay: 0.16s; }
.result:nth-child(4) { transition-delay: 0.24s; }
.cw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cw-sample {
  background: linear-gradient(180deg, #0E0F13 0%, #0B0C0F 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px; min-width: 0;
  overflow-wrap: break-word;
}
.cw-sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cw-sample-head .mono { margin: 0; min-width: 0; }
.cw-s-body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--signal-dim); }
.cw-s-foot { margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; font-weight: 500; }
.cw-s-title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.cw-s-meta { margin: auto 0 0; font-size: 13px; color: var(--text-2); }
.cw-s-beats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.cw-s-beats li + li { color: var(--text-2); }
.cw-s-time { font-size: 9px; margin-right: 8px; font-variant-numeric: tabular-nums; }
.cw-noscript { margin: 0; font-size: 15px; color: var(--text-2); }
.cw-noscript a { color: var(--text); }

/* Footer: Telegram handle wraps as one unit (no dangling dot). */
/* Table slogan: "makes you money." stays together (no lone "money."). */
.cw-nowrap { white-space: nowrap; }

/* Mockups are pictures (aria-hidden): nothing in them is tappable or selectable. */
.wd-laptop, .hiw-art { pointer-events: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; cursor: default; }

/* ============================================================
   Responsive — kept last so it wins.
   ============================================================ */
@media (min-width: 1800px) {
  :root { --cw-h1: clamp(56px, min(8.6vw, 15vh), 140px); }
}
@media (min-width: 2400px) {
  :root { --cw-h1: clamp(56px, min(8.6vw, 15vh), 168px); }
  .result-label { font-size: 13px; }
  .cw-dash-title, .cw-sec-title { font-size: 68px; }
  .partners-row .partner-logo { height: 72px; }
  .partners-row .partner-logo.text-only { font-size: 38px; }
  .result-val { font-size: 88px; }
  .cw-grid { gap: 26px; }
  .cw-sample { padding: 32px; gap: 20px; min-height: 360px; border-radius: 26px; }
  .cw-s-body, .cw-s-foot { font-size: 19px; }
  .cw-s-title { font-size: 28px; }
  .cw-s-meta { font-size: 16px; }
  .cw-s-beats { font-size: 17px; }
}
@media (min-width: 3200px) {
  :root { --cw-h1: clamp(56px, min(8.6vw, 15vh), 216px); }
  .result-label { font-size: 16px; }
  .cw-dash-title, .cw-sec-title { font-size: 90px; }
  .partners-row .partner-logo { height: 92px; }
  .partners-row .partner-logo.text-only { font-size: 48px; }
  .result-val { font-size: 116px; }
  .cw-grid { gap: 34px; }
  .cw-sample { padding: 42px; gap: 26px; min-height: 470px; border-radius: 34px; }
  .cw-s-body, .cw-s-foot { font-size: 25px; }
  .cw-s-title { font-size: 37px; }
  .cw-s-meta { font-size: 21px; }
  .cw-s-beats { font-size: 22px; }
}
@media (max-width: 960px) {
  .wd-screen { height: 540px; }
  .wd-hide-m { display: none; }
  .cw-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cw-sample { min-height: 0; }
  .cw-s-meta, .cw-s-foot { margin-top: 8px; }
  /* Partners: one row, sized down (as /ad-accounts). */
  .partners-row { flex-wrap: nowrap; gap: clamp(8px, 2vw, 28px); }
  .partners-row .partner-logo { flex: 1 1 0; min-width: 0; height: clamp(30px, 4.4vw, 48px); }
  .partners-row .partner-logo.text-only { font-size: clamp(13px, 3.6vw, 26px); white-space: nowrap; }
}
@media (max-width: 600px) {
  /* Same 20px phone gutter as every page; core sizes the nav to the same edge. */
  :root { --cw-pad: 20px; }
  .wrap { padding: 0 20px; }
  .cw-fold .hero-actions { gap: 12px; flex-wrap: wrap; }
  .cw-fold .hero-actions .btn-lg { justify-content: center; padding: 15px 22px; font-size: 15px; min-height: 52px; }
  /* Laptop on phones: thinner bezel, a simpler ribbon, and the page fills the screen width. */
  .wd-lid { padding: 14px 8px 8px; border-radius: 12px 12px 4px 4px; }
  .wd-cam { top: 5px; width: 4px; height: 4px; }
  .wd-base { height: 10px; margin: 0 -3%; }
  .wd-screen { height: 500px; }
  .wd-tabs { gap: 12px; padding: 0 10px; }
  .wd-tabs span:nth-child(n+5) { display: none; }
  .wd-tools { padding: 6px 8px; gap: 2px; }
  .wd-hide-s { display: none; }
  .wd-tt-w { min-width: 0; max-width: 96px; }
  .wd-canvas-in, .wd-docs.has-comment .wd-canvas-in { padding: 12px 10px 32px; }
  .wd-sheet { padding: 22px 16px 32px; min-height: 900px; font-size: 12px; }
  .wd-sheet h3 { font-size: 19px; }
  .wd-table { font-size: 11px; }
  .wd-table th, .wd-table td { padding: 6px 6px; }
  .wd-table th, .wd-table td:first-child { font-size: 9px; letter-spacing: 0.08em; }
  .wd-avs, .wd-saved { display: none; }
  .wd-doctabs { justify-content: flex-end; }
  /* Title moves next to the window dots so it clears the Send button. */
  .wd-titlebar { justify-content: flex-start; padding-left: 56px; }
  .wd-tbt { max-width: calc(100% - 150px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  .wd-table th:nth-child(1) { width: 18%; } .wd-table th:nth-child(2) { width: 46%; }
  .wd-comment { width: 180px; right: 10px; bottom: 10px; }
  .wd-status > span:nth-child(1) { display: none; }
  .partners { padding: 22px 0 30px; }
}
/* Journey art on phones (audit #6): components.js lays every .hiw-art out at 360×320
   (.hiw-art-phone, content box 304px) and scales it to the content width (≈0.97 at 390,
   ≈0.78 at 320). Key text is sized so it renders ≥11px at 390 and ≥9px at 320; the
   cursors are re-aimed at their buttons in the 304px-wide layout. Same story + timings. */
@media (max-width: 600px) {
  .hiw-art-phone .cw-art-lab { font-size: 12px; letter-spacing: 0.12em; }
  .hiw-art-phone .status { font-size: 12px; padding: 4px 9px; gap: 6px; }
  .hiw-art-phone .cw-wal-added { font-size: 12px; letter-spacing: 0.12em; padding: 4px 10px; }
  .hiw-art-phone .cw-wal-methods .tag { font-size: 12px; letter-spacing: 0.1em; padding: 4px 9px; }
  .hiw-art-phone .cw-wal-cursor { left: 241px; }            /* tip on Top Up at 70% of 304 */
  .hiw-art-phone .cw-cart-cursor { left: 247px; }           /* tip on Pay from wallet at 73% of 304 */
  /* The struck draft line stays on one line so the strike runs through its text. */
  .hiw-art-phone .cw-rev-old { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* Landscape phones (#10): the 480×320 art is scaled by height (≈0.77 at 844×390) — same
   type bump so labels/pills still render ≥9px. Layout and cursor targets are unchanged. */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .hiw-art .cw-art-lab { font-size: 12px; letter-spacing: 0.12em; }
  .hiw-art .status { font-size: 12px; padding: 4px 9px; gap: 6px; }
  .hiw-art .cw-wal-added { font-size: 12px; letter-spacing: 0.12em; padding: 4px 10px; }
  .hiw-art .cw-wal-methods .tag { font-size: 12px; letter-spacing: 0.1em; padding: 4px 9px; }
}
/* Side by side like /ad-accounts while they fit; below that, stacked at equal full width. */
@media (max-width: 380px) {
  .cw-fold .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
}

/* Short / landscape viewports: the hero still fits its fold. */
@media (max-height: 600px) {
  :root { --cw-h1: clamp(28px, 12vh, 126px); }
  .cw-fold { padding: 100px 0 14px; }
  .cw-fold .hero-actions { margin-top: 24px; }
  .cw-fold .hero-actions .btn-lg { padding: 13px 22px; font-size: 15px; min-height: 46px; }
}

/* Reduced motion: finished state, no loops (cw-anim is never set, so art is already final). */
html.reduced .cw-dash { animation: none; }
html.reduced .cw-caret { display: none; }
html.reduced .wd-dcaret { display: none; }
html.reduced .hiw-art *, html.reduced .hiw-art *::after { transition: none !important; animation: none !important; }
/* Audit #25: zero animations under reduced motion. Core's preloader signature + the H1
   underline draw are "forwards" animations that otherwise stay registered — show their
   end state statically instead (preloader is skipped anyway when reduced). */
html.reduced #preloader { display: none; }
html.reduced #preloader *, html.reduced #preloader::after, html.reduced .pl-sig-bar::after { animation: none !important; }
html.reduced .hero-title .em-underline::after { animation: none !important; transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .cw-dash { animation: none; }
  .cw-caret { display: none; }
}

/* Room for descenders (y, p) under the silver .em gradient (background-clip: text). */
.cw-fold h1.hero-title .em { padding-bottom: 0.14em; }
