/* ==========================================================================
   FGX — Web development (web-development/index.html)
   Builds on /assets/fgx/fgx-type.css (fonts + fluid type scale) and
   ui-ux.css (tokens, grid, buttons, statement, lens, process, kinetic,
   work grid, stats, reasons, logos, quotes, CTA, theme switching).
     FGX-WD-01 hero + live code-to-site build   FGX-WD-05 service bento + spotlight
     FGX-WD-03 responsive device switcher       FGX-WD-08 performance audit toggle
     FGX-WD-07 kinetic band (own red panel)     FGX-WD-13 goal chips (own dark panel)
   Colour: one slow page fade (dark hero → light). Lens, red band, quotes
   and CTA carry their own backgrounds, so the body never flips back.
   Geometry: panels and cards are square, per fgx-chrome.css. Pills, round
   controls and device mockups keep their shape.
   ========================================================================== */

body.fgx-webdev { transition-duration: 1.6s, 1.6s; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
.wd .ux-eyebrow a { color: inherit; text-decoration: none; }
.wd .ux-eyebrow a:hover { color: var(--ux-red); }
.wd-intro { margin-top: 28px !important; max-width: 46ch; }

/* ---------- 01 Hero ------------------------------------------------------- */
.wd-hero { position: relative; padding-top: clamp(120px, 17vh, 200px); padding-bottom: clamp(88px, 11vw, 180px); overflow: hidden; }
.wd-hero::before { content: ""; position: absolute; right: -15vw; top: 20vh; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(229, 36, 33, .14), transparent 70%); }
.wd-hero__body { position: relative; display: grid; gap: 56px; margin-top: clamp(40px, 5vw, 88px); }
@media (min-width: 1200px) { .wd-hero__body { grid-template-columns: 5fr 7fr; gap: var(--ux-gap); align-items: start; } .wd-hero__copy { padding-top: 12px; } }
.wd-hero__copy .ux-lead { max-width: 25ch; }
.wd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; }
.wd-tags li { padding: 9px 16px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ux-muted); }

/* Live build */
.wd-build {
  position: relative; display: grid; place-items: center; gap: 22px; min-height: clamp(560px, 44vw, 740px); padding: clamp(64px, 6vw, 96px) 0 clamp(40px, 4vw, 64px);
  overflow: hidden; isolation: isolate; border: 0; border-radius: 0;
  background: transparent;
}
.wd-build::before { content: none; }
.wd-build__cap { position: absolute; left: 0; top: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .55); }
.wd-build__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 2.4s infinite; }

/* Keep the top of the tall Jumbo case-study capture visible in the portrait frame. */
.wd-main .ux-statement__figure .ux-frame > img {
  top: 0;
  height: 100%;
  object-position: center top;
}

.wd-win { width: min(100%, 640px); background: #f7f4f2; color: #0f0f0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px rgba(0, 0, 0, .55); overflow: hidden; }
.wd-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eae5e2; }
.wd-win__bar > i { width: 9px; height: 9px; border-radius: 50%; background: rgba(15, 15, 15, .18); }
.wd-win__bar span { display: flex; align-items: center; gap: 6px; margin-left: 14px; padding: 4px 12px; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 700; color: rgba(15, 15, 15, .6); }
.wd-win__bar b { font-size: 9px; }
.wd-win__body { display: grid; grid-template-columns: 1fr 1fr; height: 300px; }

.wd-code { margin: 0; padding: 16px 14px; overflow: hidden; background: #111; color: rgba(244, 240, 238, .82); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-all; }
.wd-code code { font: inherit; }
.wd-code .t { color: #ff6b5e; }
.wd-code .a { color: #f2d200; }
.wd-code .s { color: #6ee7b7; }
.wd-code .c { color: rgba(244, 240, 238, .35); }
.wd-code .cur { display: inline-block; width: 7px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: var(--ux-red); animation: wd-blink 1s steps(1) infinite; }
@keyframes wd-blink { 50% { opacity: 0; } }

.wd-site { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #fff; overflow: hidden; }
.wd-site [data-wd-step] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ux-ease), transform .6s var(--ux-ease); }
.wd-site [data-wd-step].is-on { opacity: 1; transform: none; }
.wd-site__nav { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(15, 15, 15, .08); }
.wd-site__nav b { width: 34px; height: 8px; background: #0f0f0f; margin-right: auto; }
.wd-site__nav span { width: 18px; height: 5px; background: rgba(15, 15, 15, .2); }
.wd-site__h { display: grid; gap: 5px; }
.wd-site__h i { display: block; height: 11px; background: #0f0f0f; }
.wd-site__h i:first-child { width: 88%; }
.wd-site__h i:last-child { width: 58%; background: var(--ux-red); }
.wd-site__btn { align-self: flex-start; padding: 5px 10px; border-radius: 99px; background: var(--ux-red); color: #fff; font-size: 9px; font-weight: 700; }
.wd-site__img { flex: 1; min-height: 60px; background: linear-gradient(135deg, rgba(229, 36, 33, .85), #2a0d0c 70%), url("/assets/fgx/components/ui-ux/img/ui-feel.webp") center / cover; background-blend-mode: multiply; }
.wd-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wd-site__cards i { height: 34px; background: #f1ece9; border-top: 3px solid var(--ux-red); }

.wd-rings { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; width: min(100%, 640px); }
.wd-rings li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(20, 20, 20, .74); border: 1px solid rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wd-rings svg { width: 38px; height: 38px; transform: rotate(-90deg); }
.wd-rings circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3; }
.wd-rings .wd-ring__v { stroke: #34d399; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.wd-rings b { position: absolute; left: 8px; width: 38px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.wd-rings span { font-size: 12px; font-weight: 700; }

@media (max-width: 767px) {
  .wd-build { min-height: 0; padding-top: 72px; }
  .wd-win__body { grid-template-columns: 1fr; height: auto; }
  .wd-code { height: 150px; order: 2; font-size: 10.5px; }
  .wd-site { height: 230px; }
  .wd-rings li { padding-right: 12px; }
  .wd-rings span { font-size: 11px; }
}

/* ---------- 03 Device switcher ---------------------------------------------- */
.wd-dev { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: clamp(48px, 6vw, 96px); }
@media (min-width: 1100px) { .wd-dev { grid-template-columns: 4fr 8fr; gap: var(--ux-gap); align-items: center; } }
.wd-dev__tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--ux-line); border-radius: 999px; }
.wd-dev__tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--ux-fg); transition: background .4s var(--ux-ease), color .4s var(--ux-ease);
}
.wd-dev__tabs button small { font-size: 11px; font-weight: 700; color: var(--ux-muted); transition: color .4s var(--ux-ease); }
.wd-dev__tabs button:hover { background: rgba(15, 15, 15, .06); }
.wd-dev__tabs button[aria-selected="true"] { background: var(--ux-ink); color: var(--ux-paper); }
.wd-dev__tabs button[aria-selected="true"] small { color: rgba(244, 240, 238, .6); }
.wd-dev__tabs button:focus-visible { outline: 3px solid #f2d200; outline-offset: 2px; }
@media (max-width: 575px) {
  .wd-dev__tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .wd-dev__tabs button { justify-content: center; padding: 11px 6px; }
  .wd-dev__tabs button small { display: none; }
}
.wd-dev__read { margin-top: clamp(28px, 3vw, 44px); }
.wd-dev__px { margin: 0 !important; font-family: var(--ux-display); font-weight: 600; font-size: clamp(64px, 7vw, 128px); line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.wd-dev__px b { font-weight: inherit; }
.wd-dev__read .ux-body { margin-top: 18px !important; max-width: 36ch; color: var(--ux-muted); min-height: 4.4em; }
.wd-dev__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ux-line); }
.wd-dev__list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ux-line); font-weight: 700; color: var(--ux-muted); transition: color .5s var(--ux-ease); }
.wd-dev__list i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ux-line); font-style: normal; font-size: 11px; transition: background .5s var(--ux-ease), color .5s var(--ux-ease), border-color .5s var(--ux-ease); }
.wd-dev__list li.is-on { color: var(--ux-fg); }
.wd-dev__list li.is-on i { background: var(--ux-red); border-color: var(--ux-red); color: #fff; }

.wd-dev__stage { display: grid; place-items: center; min-height: clamp(480px, 42vw, 640px); padding: clamp(20px, 3vw, 48px); background: #e7e1dd; overflow: hidden; }
.wd-dev__screen {
  width: 320px; max-width: 100%; height: clamp(460px, 38vw, 560px); container-type: inline-size; overflow: hidden;
  border: 10px solid #0f0f0f; border-radius: 40px; background: #fff; box-shadow: 0 40px 80px rgba(15, 15, 15, .25);
  transition: border-radius 1s var(--ux-ease), border-width 1s var(--ux-ease);
}
.wd-dev__screen.is-tablet { border-width: 12px; border-radius: 26px; }
.wd-dev__screen.is-desktop { border-width: 8px; border-top-width: 26px; border-radius: 10px; }

/* The mock site reflows with container queries as the frame changes width */
.wd-mock { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 16px; color: #0f0f0f; font-family: var(--ux-text); }
.wd-mock__nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(15, 15, 15, .08); }
.wd-mock__nav b { font-family: var(--ux-display); font-size: 15px; letter-spacing: -.03em; }
.wd-mock__links { display: none; gap: 18px; font-style: normal; }
.wd-mock__links i { font-style: normal; font-size: 12px; font-weight: 700; color: rgba(15, 15, 15, .6); }
.wd-mock__burger { display: grid; gap: 4px; }
.wd-mock__burger i { display: block; width: 20px; height: 2px; background: #0f0f0f; }
.wd-mock__hero { display: grid; gap: 14px; }
.wd-mock__k { margin: 0 !important; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ux-red); }
.wd-mock__h { margin: 6px 0 0 !important; font-family: var(--ux-display); font-weight: 600; font-size: 30px; line-height: .95; letter-spacing: -.045em; }
.wd-mock__p { margin: 8px 0 0 !important; font-size: 13px; color: rgba(15, 15, 15, .6); }
.wd-mock__btn { display: inline-block; margin-top: 12px; padding: 9px 16px; border-radius: 99px; background: var(--ux-red); color: #fff; font-size: 12px; font-weight: 700; }
.wd-mock__img { min-height: 130px; background: linear-gradient(160deg, rgba(229, 36, 33, .9), #1c0706 75%), url("/assets/fgx/components/ui-ux/img/ui-feel.webp") center / cover; background-blend-mode: multiply; }
.wd-mock__cards { display: grid; gap: 10px; }
.wd-mock__cards i { display: block; height: 58px; background: #f1ece9; border-top: 3px solid var(--ux-red); }
.wd-mock__cards i:nth-child(n+2) { display: none; }
.wd-mock__foot { margin-top: auto; display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(15, 15, 15, .08); }
.wd-mock__foot i { display: block; width: 50px; height: 6px; background: rgba(15, 15, 15, .14); }

@container (min-width: 480px) {
  .wd-mock { padding: 22px; gap: 18px; }
  .wd-mock__h { font-size: 40px; }
  .wd-mock__cards { grid-template-columns: repeat(2, 1fr); }
  .wd-mock__cards i:nth-child(2) { display: block; }
  .wd-mock__img { min-height: 150px; }
}
@container (min-width: 700px) {
  .wd-mock { padding: 26px 32px; }
  .wd-mock__links { display: flex; }
  .wd-mock__burger { display: none; }
  .wd-mock__hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
  .wd-mock__h { font-size: 48px; }
  .wd-mock__img { min-height: 200px; }
  .wd-mock__cards { grid-template-columns: repeat(3, 1fr); }
  .wd-mock__cards i { display: block !important; height: 72px; }
}

/* ---------- 05 Service bento ------------------------------------------------ */
.wd-bento { list-style: none; margin: clamp(48px, 6vw, 96px) 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .wd-bento { grid-template-columns: repeat(2, 1fr); } .wd-card--hero { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .wd-bento { grid-template-columns: repeat(12, 1fr); }
  .wd-card { grid-column: span 4; }
  .wd-card--hero { grid-column: span 8; grid-row: span 2; }
  .wd-card--wide { grid-column: span 6; }
}
.wd-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(24px, 2.6vw, 40px); overflow: hidden; isolation: isolate;
  background: var(--ux-paper-2, #ebe6e2); border: 1px solid var(--ux-line); transition: border-color .4s var(--ux-ease), transform .5s var(--ux-ease);
}
.wd-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ux-ease); background: radial-gradient(420px circle at var(--mx) var(--my), rgba(229, 36, 33, .16), transparent 60%); }
.wd-card:hover { border-color: rgba(229, 36, 33, .45); }
.wd-card:hover::before { opacity: 1; }
.wd-card__n { margin: 0 0 auto !important; padding-bottom: clamp(36px, 4vw, 64px); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ux-red); }
.wd-card .ux-h3 { max-width: 14ch; }
.wd-card .ux-body { margin-top: 14px !important; max-width: 40ch; color: var(--ux-muted); }
.wd-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; }
.wd-card__tags li { padding: 6px 12px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.wd-card__link { position: absolute; right: clamp(24px, 2.6vw, 40px); top: clamp(24px, 2.6vw, 40px); font-size: 13px; font-weight: 700; color: var(--ux-fg); text-decoration: none; }
.wd-card__link:hover { color: var(--ux-red); }
.wd-card--hero { display: grid; gap: 28px; background: var(--ux-ink); color: var(--ux-paper); border-color: transparent; }
.wd-card--hero .ux-body { color: rgba(244, 240, 238, .62); }
.wd-card--hero .wd-card__tags li { border-color: rgba(244, 240, 238, .2); }
.wd-card--hero::before { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(229, 36, 33, .32), transparent 60%); }
.wd-card--hero .wd-card__copy { display: flex; flex-direction: column; }
.wd-card__img { position: relative; min-height: 220px; overflow: hidden; }
.wd-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ux-ease); }
.wd-card--hero:hover .wd-card__img img { transform: scale(1.1); }
@media (min-width: 1200px) { .wd-card--hero { grid-template-columns: 1fr 1fr; } .wd-card__img { min-height: 0; } }

/* ---------- 06 Process: soft rule tones for the light body ------------------ */
.wd-process .ux-step__num { -webkit-text-stroke-color: rgba(15, 15, 15, .22); }

/* ---------- 07 Kinetic band: its own red panel ------------------------------ */
.wd-kinetic { background: var(--ux-red); color: var(--ux-ink); }
.wd-kinetic .ux-kinetic__note { color: var(--ux-ink); }

/* ---------- 08 Performance audit ------------------------------------------- */
.wd-report { margin-top: clamp(48px, 6vw, 96px); padding: clamp(24px, 3.4vw, 56px); background: var(--ux-ink); color: var(--ux-paper); }
.wd-report__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.wd-report__t { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .6); }
.wd-report__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 2.4s infinite; }
.wd-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(244, 240, 238, .08); border: 1px solid rgba(244, 240, 238, .14); }
.wd-switch button { all: unset; position: relative; z-index: 1; cursor: pointer; padding: 11px 20px; text-align: center; font-size: 14px; font-weight: 700; color: rgba(244, 240, 238, .6); transition: color .4s var(--ux-ease); }
.wd-switch button[aria-checked="true"] { color: #fff; }
.wd-switch button:focus-visible { outline: 3px solid #f2d200; outline-offset: 2px; border-radius: 999px; }
.wd-switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: rgba(244, 240, 238, .16); transition: transform .6s var(--ux-ease), background .6s var(--ux-ease); }
.wd-report.is-fgx .wd-switch__thumb { transform: translateX(100%); background: var(--ux-red); }

.wd-gauges { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; }
@media (min-width: 900px) { .wd-gauges { grid-template-columns: repeat(4, 1fr); } }
.wd-gauges li { --c: #ff4e42; position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; }
.wd-gauges li.is-mid { --c: #ffa400; }
.wd-gauges li.is-good { --c: #0cce6b; }
.wd-gauges svg { width: min(100%, 170px); aspect-ratio: 1; transform: rotate(-90deg); }
.wd-gauges circle { fill: color-mix(in srgb, var(--c) 10%, transparent); stroke: rgba(244, 240, 238, .1); stroke-width: 2.4; transition: fill .6s var(--ux-ease); }
.wd-gauges .wd-gauge__v { fill: none; stroke: var(--c); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--v, 0)); transition: stroke .6s var(--ux-ease); }
.wd-gauges b { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; width: min(100%, 170px); margin: 0 auto; display: grid; place-items: center; font-family: var(--ux-display); font-weight: 600; font-size: clamp(34px, 3.4vw, 54px); letter-spacing: -.05em; color: var(--c); font-variant-numeric: tabular-nums; transition: color .6s var(--ux-ease); }
.wd-gauges span { font-size: 13px; font-weight: 700; color: rgba(244, 240, 238, .75); }

.wd-report__grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid rgba(244, 240, 238, .14); }
@media (min-width: 900px) { .wd-report__grid { grid-template-columns: 5fr 7fr; align-items: center; } }
.wd-load__k { margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .55); }
.wd-load__v { margin: 10px 0 0 !important; font-family: var(--ux-display); font-weight: 600; font-size: clamp(56px, 6vw, 104px); line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.wd-load__v b { font-weight: inherit; }
.wd-load__bar { height: 6px; margin-top: 20px; border-radius: 99px; background: rgba(244, 240, 238, .1); overflow: hidden; }
.wd-load__bar i { display: block; height: 100%; width: calc(var(--v, 1) * 100%); background: #ff4e42; border-radius: inherit; transition: background .6s var(--ux-ease); }
.wd-report.is-fgx .wd-load__bar i { background: #0cce6b; }
.wd-load__note { margin: 14px 0 0 !important; font-size: 14px; color: rgba(244, 240, 238, .6); }
.wd-checks { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
@media (min-width: 600px) { .wd-checks { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.wd-checks li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(244, 240, 238, .12); font-weight: 700; color: rgba(244, 240, 238, .4); transition: color .5s var(--ux-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.wd-checks li:nth-child(2) { --d: 1; } .wd-checks li:nth-child(3) { --d: 2; } .wd-checks li:nth-child(4) { --d: 3; }
.wd-checks li span { text-decoration: line-through; text-decoration-color: rgba(244, 240, 238, .3); }
.wd-checks i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(244, 240, 238, .2); font-style: normal; font-size: 12px; transition: inherit; }
.wd-checks i::before { content: "✕"; color: rgba(244, 240, 238, .4); }
.wd-report.is-fgx .wd-checks li { color: var(--ux-paper); }
.wd-report.is-fgx .wd-checks li span { text-decoration-color: transparent; }
.wd-report.is-fgx .wd-checks i { background: #0cce6b; border-color: #0cce6b; }
.wd-report.is-fgx .wd-checks i::before { content: "✓"; color: #0f0f0f; }

/* ---------- 13 CTA: its own dark panel -------------------------------------- */
.wd-cta {
  --ux-bg: var(--ux-ink); --ux-fg: var(--ux-paper); --ux-muted: rgba(244, 240, 238, .56); --ux-line: rgba(244, 240, 238, .16);
  background: var(--ux-bg); color: var(--ux-fg);
}
.wd-goals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.wd-goals button {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 13px 20px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  font-size: 15px; font-weight: 700; color: #fff; transition: background .35s var(--ux-ease), border-color .35s var(--ux-ease), transform .35s var(--ux-ease);
}
.wd-goals button:hover { border-color: #fff; }
.wd-goals button[aria-pressed="true"] { background: var(--ux-red); border-color: var(--ux-red); }
.wd-goals button[aria-pressed="true"]::before { content: "✓ "; }
.wd-goals button:active { transform: scale(.96); }
.wd-goals button:focus-visible { outline: 3px solid #f2d200; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .wd-build__rec, .wd-report__dot, .wd-code .cur { animation: none; }
  .wd-site [data-wd-step] { opacity: 1; transform: none; }
}
