/* ==============================================================
   Shared wizard styles. Loaded by every brief form, so a visual fix
   lands on all of them at once. Extracted verbatim from brief.html.
   ============================================================== */

  :root {
    --accent: #a78bfa;
    --accent-2: #7c6cff;
    --accent-3: #f0abfc;
    --text: #f5f3ff;
    --muted: rgba(235, 231, 255, .8);
    --line: rgba(235, 231, 255, .26);
    --error: #ff8f9a;
    --ok: #6ee7b7;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #0a0819;
    overflow: hidden;
  }
  h1, h2, h3, .btn, .qnum, .hw-num, .hw-eyebrow, .chrome { font-family: 'Space Grotesk', 'Inter', sans-serif; }
  ::selection { background: rgba(167,139,250,.4); }

  /* ---------- animated backdrop ---------- */
  .bg {
    position: fixed; inset: -60px; z-index: 0;
    background:
      radial-gradient(60% 80% at 15% 20%, rgba(124, 108, 255, .38), transparent 60%),
      radial-gradient(50% 70% at 85% 15%, rgba(240, 171, 252, .2), transparent 60%),
      radial-gradient(70% 80% at 70% 90%, rgba(56, 189, 248, .18), transparent 60%),
      #0a0819;
    transition: transform .6s cubic-bezier(.22,1,.36,1);
    will-change: transform;
  }
  /* starfield */
  .bg::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.9), transparent 100%),
      radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.7), transparent 100%),
      radial-gradient(2px 2px at 44% 12%, rgba(240,171,252,.8), transparent 100%),
      radial-gradient(1px 1px at 58% 42%, rgba(255,255,255,.6), transparent 100%),
      radial-gradient(1.5px 1.5px at 70% 78%, rgba(167,139,250,.9), transparent 100%),
      radial-gradient(1px 1px at 82% 28%, rgba(255,255,255,.75), transparent 100%),
      radial-gradient(1.5px 1.5px at 90% 60%, rgba(255,255,255,.6), transparent 100%),
      radial-gradient(1px 1px at 6% 82%, rgba(240,171,252,.7), transparent 100%),
      radial-gradient(1px 1px at 36% 90%, rgba(255,255,255,.65), transparent 100%),
      radial-gradient(1.5px 1.5px at 64% 6%, rgba(255,255,255,.8), transparent 100%),
      radial-gradient(1px 1px at 20% 46%, rgba(167,139,250,.7), transparent 100%),
      radial-gradient(1px 1px at 76% 92%, rgba(255,255,255,.55), transparent 100%);
    animation: twinkle 7s ease-in-out infinite alternate;
  }
  @keyframes twinkle {
    0%   { opacity: .35; }
    50%  { opacity: .9; }
    100% { opacity: .5; }
  }
  /* faint grid, fading toward edges */
  .bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(167,139,250,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(167,139,250,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 100%);
  }
  .blob {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
    animation: drift 22s ease-in-out infinite alternate, hue 30s linear infinite;
    will-change: transform;
  }
  .blob.b1 { width: 520px; height: 520px; left: -140px; top: -120px; background: #6d5cff; }
  .blob.b2 { width: 440px; height: 440px; right: -120px; top: 30%; background: #c026d3; animation-delay: -8s, -10s; opacity: .32; }
  .blob.b3 { width: 400px; height: 400px; left: 25%; bottom: -160px; background: #2563eb; animation-delay: -16s, -20s; opacity: .38; }
  @keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, 55px) scale(1.18); }
  }
  @keyframes hue {
    from { filter: blur(90px) hue-rotate(0deg); }
    to   { filter: blur(90px) hue-rotate(40deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .blob, .bg::before { animation: none; }
    .bg { transition: none; }
  }

  /* ---------- top chrome ---------- */
  .chrome {
    position: fixed; top: 0; left: 0; right: 0; z-index: 5;
    padding: 18px 22px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: var(--muted); letter-spacing: .04em;
  }
  .chrome .section { text-transform: uppercase; font-weight: 600; }
  .progress-track {
    position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 6;
    background: rgba(255,255,255,.08);
  }
  .progress-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-3), #7dd3fc, var(--accent-2));
    background-size: 300% 100%;
    animation: shimmer 5s linear infinite;
    transition: width .45s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 0 14px rgba(167, 139, 250, .9);
  }

  /* ---------- question stage ---------- */
  .stage {
    position: relative; z-index: 1;
    height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 70px 22px 110px;
  }
  .q {
    position: absolute; width: 100%; max-width: 800px;
    max-height: calc(100vh - 150px); overflow-y: auto;
    padding: 4px 10px;
    opacity: 0; pointer-events: none;
    transform: translateY(60px) scale(.97);
    filter: blur(6px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1), filter .45s ease;
    scrollbar-width: thin;
  }
  .q.active { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); filter: none; }
  .q.above { transform: translateY(-60px) scale(.97); }

  /* staggered entrance of each element inside the active screen */
  .q > * { opacity: 0; transform: translateY(18px); }
  .q.active > * { animation: rise-in .6s cubic-bezier(.22,1,.36,1) both; }
  .q.active > *:nth-child(1) { animation-delay: .05s; }
  .q.active > *:nth-child(2) { animation-delay: .12s; }
  .q.active > *:nth-child(3) { animation-delay: .19s; }
  .q.active > *:nth-child(4) { animation-delay: .26s; }
  .q.active > *:nth-child(5) { animation-delay: .33s; }
  .q.active > *:nth-child(6) { animation-delay: .4s; }
  .q.active > *:nth-child(7) { animation-delay: .47s; }
  .q.active > *:nth-child(8) { animation-delay: .54s; }
  .q.active > *:nth-child(n+9) { animation-delay: .6s; }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .q { filter: none; transition: opacity .3s ease; transform: none; }
    .q > * { opacity: 1; transform: none; }
    .q.active > * { animation: none; }
  }
  .q::-webkit-scrollbar { width: 5px; }
  .q::-webkit-scrollbar-track { background: transparent; }
  .q::-webkit-scrollbar-thumb { background: rgba(235,231,255,.18); border-radius: 99px; }
  .q { scrollbar-color: rgba(235,231,255,.18) transparent; }

  .qnum {
    display: flex; align-items: center; gap: 8px;
    color: var(--accent); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px;
  }
  .qnum .arrow { font-size: .8rem; }
  .q h2 { font-size: clamp(1.8rem, 4.8vw, 2.7rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px; }
  .q h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent-3), #7dd3fc, var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 6s linear infinite;
  }
  @keyframes shimmer { to { background-position: 300% 0; } }
  @media (prefers-reduced-motion: reduce) { .q h2 em { animation: none; } }
  .q .sub { color: var(--muted); font-size: 1.15rem; line-height: 1.6; margin-bottom: 28px; }
  .req { color: var(--accent-3); }

  input[type=text], input[type=url], textarea {
    width: 100%;
    background: transparent;
    border: none; border-bottom: 2px solid var(--line);
    padding: 10px 2px 12px;
    font: inherit; font-size: 1.5rem; color: var(--text);
    caret-color: var(--accent-3);
    background-image: linear-gradient(90deg, var(--accent-2), var(--accent-3));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: border-color .2s, background-size .45s cubic-bezier(.22,1,.36,1);
  }
  input::placeholder, textarea::placeholder { color: rgba(235,231,255,.28); }
  input:focus, textarea:focus { outline: none; border-bottom-color: transparent; background-size: 100% 2px; }
  textarea { resize: none; min-height: 100px; line-height: 1.5; font-size: 1.25rem; }
  .invalid { border-bottom-color: var(--error) !important; }
  .field-error { color: var(--error); font-size: .9rem; margin-top: 10px; display: none; }
  .multi input { margin-bottom: 18px; font-size: 1.1rem; }

  /* choices */
  .choices { display: flex; flex-direction: column; gap: 10px; }
  .choice {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--line); border-radius: 12px;
    padding: 16px 18px; cursor: pointer; font-size: 1.12rem;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(6px);
    transition: border-color .18s, background .18s, transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  }
  .choice:hover { border-color: var(--accent); background: rgba(167,139,250,.08); transform: translateX(8px); box-shadow: -6px 0 22px rgba(124,108,255,.25); }
  .choice:has(input:checked) {
    border-color: var(--accent);
    background: rgba(167,139,250,.16);
    box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(124,108,255,.35);
    animation: pop .3s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
  }
  .choice input { accent-color: var(--accent-2); width: 17px; height: 17px; flex: none; }
  .choice .key {
    flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; color: var(--muted);
  }
  .conditional { margin-top: 18px; display: none; }
  /* both: a conditional placed directly in a screen would otherwise end its
     fade-in back on the screen's own starting opacity of 0, and vanish. */
  .conditional.show { display: block; animation: rise .3s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  .check {
    display: flex; align-items: flex-start; gap: 12px;
    border: 1px solid var(--line); border-radius: 12px;
    padding: 15px 18px; cursor: pointer; font-size: 1.08rem; line-height: 1.5;
    background: rgba(255,255,255,.03);
    transition: border-color .15s, background .15s;
  }
  .check:hover { border-color: var(--accent); }
  .check:has(input:checked) { border-color: var(--ok); background: rgba(110,231,183,.08); }
  .check input { margin-top: 3px; accent-color: var(--ok); width: 18px; height: 18px; flex: none; }

  .note {
    border: 1px solid rgba(240,171,252,.35); background: rgba(240,171,252,.07);
    border-radius: 12px; padding: 14px 16px; font-size: .95rem; line-height: 1.55;
    margin-top: 20px; color: #f4dcfc;
  }

  /* files */
  .dropzone {
    border: 2px dashed var(--line); border-radius: 16px;
    padding: 34px 20px; text-align: center; cursor: pointer;
    color: var(--muted); font-size: 1rem; line-height: 1.6;
    background: rgba(255,255,255,.03);
    transition: border-color .15s, background .15s;
  }
  .dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(167,139,250,.08); color: var(--text); }
  .dropzone .ico { font-size: 1.8rem; display: block; margin-bottom: 6px; }
  .filelist { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .filelist li {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.3);
    border-radius: 10px; padding: 9px 14px; font-size: .92rem;
  }
  .filelist button { border: none; background: none; color: var(--error); cursor: pointer; font-size: 1rem; padding: 2px 6px; }

  /* action row */
  .actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
  .btn {
    position: relative; overflow: hidden;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700; font-size: 1.15rem;
    border: none; border-radius: 14px; padding: 15px 36px; cursor: pointer;
    background: linear-gradient(120deg, var(--accent-2), #9f6cff 55%, var(--accent-3));
    background-size: 160% 100%;
    color: #fff; letter-spacing: .01em;
    box-shadow: 0 8px 28px rgba(124, 108, 255, .45), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background-position .35s;
  }
  .btn::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
  }
  .btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 38px rgba(124,108,255,.6), inset 0 1px 0 rgba(255,255,255,.25); background-position: 100% 0; }
  .btn:hover::after { left: 130%; }
  .btn:active { transform: translateY(-1px) scale(1); }
  .btn:disabled { opacity: .55; cursor: default; transform: none; }
  .btn:disabled::after { display: none; }
  .enter-hint { color: var(--muted); font-size: .92rem; }
  .enter-hint b { font-weight: 700; color: var(--text); }
  .skip-note { color: var(--muted); font-size: .82rem; }

  /* bottom nav */
  .navdock {
    position: fixed; right: 22px; bottom: 22px; z-index: 5;
    display: flex; gap: 8px;
  }
  .navdock button {
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: rgba(20, 16, 48, .7); backdrop-filter: blur(10px);
    color: var(--text); font-size: 1.1rem; cursor: pointer;
    transition: background .15s, border-color .15s, transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  }
  .navdock button:hover:not(:disabled) { border-color: var(--accent); background: rgba(167,139,250,.2); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(124,108,255,.35); }
  .navdock button:disabled { opacity: .3; cursor: default; }

  /* review */
  .review-group {
    border: 1px solid var(--line); border-radius: 14px;
    padding: 16px 18px; margin-bottom: 12px; background: rgba(255,255,255,.03);
  }
  .review-group h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
  .review-group h3 button { border: none; background: none; color: var(--accent); cursor: pointer; font-size: .85rem; font-weight: 700; }
  .review-group dl { font-size: .92rem; }
  .review-group dt { color: var(--muted); margin-top: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
  .review-group dd { margin-top: 2px; white-space: pre-wrap; word-break: break-word; line-height: 1.45; }
  .warn-box {
    border: 1px solid rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08);
    border-radius: 14px; padding: 4px; margin: 18px 0 6px;
  }
  .warn-box .check { border: none; background: none; }
  .warn-box .check:has(input:checked) { background: none; }

  .thanks-warning {
    display: flex; align-items: flex-start; gap: 14px; text-align: left;
    border: 1px solid rgba(255, 143, 154, .4); background: rgba(255, 143, 154, .08);
    border-radius: 14px; padding: 16px 18px; margin-top: 26px;
    max-width: 420px; margin-left: auto; margin-right: auto;
  }
  .thanks-warning .icon { font-size: 1.6rem; flex: none; line-height: 1; }
  .thanks-warning strong { color: #ffb3bb; display: block; margin-bottom: 4px; font-size: .98rem; }
  .thanks-warning p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }
  .submit-error { color: var(--error); font-size: .95rem; margin-top: 14px; display: none; }

  /* calendly */
  .calendly-box {
    border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    margin-bottom: 20px;
  }
  .booking-status {
    display: flex; align-items: flex-start; gap: 14px;
    border-radius: 14px; padding: 16px 18px; line-height: 1.5;
  }
  .booking-status .ico { font-size: 1.5rem; flex: none; line-height: 1; }
  .booking-status strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
  .booking-status p { color: var(--muted); font-size: .95rem; }
  .booking-status.waiting { border: 1px dashed var(--line); background: rgba(255,255,255,.03); }
  .booking-status.done {
    border: 1px solid rgba(110,231,183,.45); background: rgba(110,231,183,.1);
    animation: pop .35s cubic-bezier(.34,1.56,.64,1);
  }
  .booking-status.done strong { color: var(--ok); }
  .booking-fallback {
    margin-top: 12px; background: none; border: none; padding: 0;
    color: var(--muted); font: inherit; font-size: .88rem;
    text-decoration: underline; cursor: pointer;
  }
  .booking-fallback:hover { color: var(--text); }

  /* welcome & thanks */
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px;
    font-size: .82rem; color: var(--muted); margin-bottom: 22px;
    background: rgba(255,255,255,.04);
  }
  .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: breathe 2.2s ease-in-out infinite; }
  @keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 6px var(--ok); }
    50% { transform: scale(1.35); box-shadow: 0 0 14px var(--ok); }
  }
  .q.welcome h2 { font-size: clamp(2.3rem, 6.5vw, 3.7rem); }
  .thanks-big { font-size: 3.4rem; margin-bottom: 14px; animation: bounce-in 1s cubic-bezier(.34,1.56,.64,1) both; display: inline-block; }
  @keyframes bounce-in {
    0% { transform: scale(0) rotate(-30deg); }
    60% { transform: scale(1.25) rotate(8deg); }
    100% { transform: scale(1) rotate(0); }
  }

  /* how-we-work slides */
  .hw-eyebrow {
    font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 18px;
  }
  .hw-num {
    position: relative;
    width: 62px; height: 62px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    box-shadow: 0 0 30px rgba(124,108,255,.55);
  }
  .hw-num::before, .hw-num::after {
    content: ''; position: absolute; inset: -28px; border-radius: 50%;
    border: 2px solid rgba(167,139,250,.55);
    transform: scale(.53);
    animation: ring 2.6s ease-out infinite;
  }
  .hw-num::after { animation-delay: 1.3s; }
  @keyframes ring {
    0%   { transform: scale(.53); opacity: .8; }
    100% { transform: scale(1); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .hw-num::before, .hw-num::after { animation: none; opacity: 0; } }
  .hw-highlight {
    border: 1px solid rgba(240,171,252,.35); background: rgba(240,171,252,.07);
    border-radius: 12px; padding: 14px 16px; font-size: .95rem; line-height: 1.6;
    color: #f4dcfc; margin-bottom: 8px;
  }

  /* hw slides: text + illustration side by side */
  .q.hw { max-width: 1060px; }
  .q.wide { max-width: 950px; }

  /* visual design-style picker */
  .style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 4px; }
  .style-card {
    position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
    border: 2px solid var(--line); background: rgba(255,255,255,.03);
    transition: border-color .18s, transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  }
  .style-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 26px rgba(124,108,255,.28); }
  .style-card input { position: absolute; opacity: 0; pointer-events: none; }
  .style-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: rgba(255,255,255,.03); }
  .style-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .35s ease; pointer-events: none;
  }
  .style-media img.on { opacity: 1; }
  .style-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: rgba(10,8,25,.55); color: #fff; font-size: .9rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; transition: opacity .15s;
  }
  .style-card:hover .style-nav { opacity: 1; }
  .style-nav.prev { left: 8px; }
  .style-nav.next { right: 8px; }
  .style-dots {
    position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2;
    display: flex; justify-content: center; gap: 5px;
  }
  .style-dots span {
    width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4);
    transition: background .15s, transform .15s;
  }
  .style-dots span.on { background: #fff; transform: scale(1.3); }
  .style-card .label { padding: 10px 12px; font-size: .95rem; font-weight: 600; }
  .style-card .label small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 2px; }
  .style-card:has(input:checked) {
    border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(124,108,255,.35);
    animation: pop .3s cubic-bezier(.34,1.56,.64,1);
  }
  @media (max-width: 480px) { .style-grid { grid-template-columns: 1fr; } }
  .hw-wrap { display: flex; align-items: center; gap: 56px; }
  .hw-copy { flex: 1; min-width: 0; }
  .hw-art { flex: none; width: 300px; }
  .hw-art svg {
    width: 100%; height: auto; display: block; overflow: visible;
    filter: drop-shadow(0 0 26px rgba(124,108,255,.35));
    animation: bob 5.5s ease-in-out infinite;
  }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @media (max-width: 760px) {
    .hw-wrap { flex-direction: column-reverse; gap: 18px; align-items: flex-start; }
    .hw-art { width: 150px; align-self: center; }
  }
  /* stagger inside the copy column (mirrors .q > * stagger) */
  .q .hw-copy > *, .q .hw-art { opacity: 0; transform: translateY(18px); }
  .q.active .hw-copy > *, .q.active .hw-art { animation: rise-in .6s cubic-bezier(.22,1,.36,1) both; }
  .q.active .hw-copy > *:nth-child(1) { animation-delay: .05s; }
  .q.active .hw-copy > *:nth-child(2) { animation-delay: .12s; }
  .q.active .hw-copy > *:nth-child(3) { animation-delay: .19s; }
  .q.active .hw-copy > *:nth-child(4) { animation-delay: .26s; }
  .q.active .hw-copy > *:nth-child(5) { animation-delay: .33s; }
  .q.active .hw-copy > *:nth-child(n+6) { animation-delay: .4s; }
  .q.active .hw-art { animation-delay: .25s; }

  /* svg element animations, triggered when the slide becomes active */
  .hw-art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .q.active .hw-art .draw { animation: draw 1s ease forwards; animation-delay: var(--d, .5s); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .hw-art .pop { opacity: 0; transform-origin: center; transform-box: fill-box; }
  .q.active .hw-art .pop { animation: pop-in .5s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: var(--d, .7s); }
  @keyframes pop-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
  .hw-art .pulse-ring { transform-origin: center; transform-box: fill-box; animation: svg-pulse 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
  @keyframes svg-pulse {
    0% { transform: scale(.5); opacity: .9; }
    100% { transform: scale(1.15); opacity: 0; }
  }
  .hw-art .scan { animation: scan 3.2s ease-in-out infinite; }
  @keyframes scan {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(104px); }
  }
  .hw-art .blink { animation: blink 1.1s infinite; }
  @keyframes blink { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
  .hw-art .orbit { transform-origin: center; transform-box: fill-box; animation: spin 16s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* smaller side-art on question screens */
  .hw-art.sm { width: 240px; }
  @media (max-width: 860px) { .hw-art.sm { display: none; } }
  @media (prefers-reduced-motion: reduce) {
    .hw-art svg { animation: none; }
    .q .hw-copy > *, .q .hw-art { opacity: 1; transform: none; }
    .q.active .hw-copy > *, .q.active .hw-art { animation: none; }
    .hw-art .draw { stroke-dashoffset: 0; }
    .hw-art .pop { opacity: 1; }
    .q.active .hw-art .draw, .q.active .hw-art .pop,
    .hw-art .pulse-ring, .hw-art .scan, .hw-art .blink, .hw-art .orbit { animation: none; }
  }
  .team-note {
    border: 1px solid var(--line); background: rgba(255,255,255,.04);
    border-radius: 12px; padding: 13px 16px; margin-top: 20px;
    font-size: .9rem; line-height: 1.55; color: var(--muted);
  }
  .team-note strong { color: var(--text); }

  /* mobile gate */
  .mobile-gate {
    position: fixed; inset: 0; z-index: 20;
    display: none;
    align-items: center; justify-content: center;
    padding: 32px 24px;
    text-align: center;
    background: #0a0819;
  }
  .mobile-gate.show { display: flex; }
  .mobile-gate .card {
    max-width: 380px;
  }
  .mobile-gate .emoji { font-size: 3rem; margin-bottom: 18px; animation: bounce-in 1s cubic-bezier(.34,1.56,.64,1) both; display: inline-block; }
  .mobile-gate h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; line-height: 1.3; }
  .mobile-gate h2 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .mobile-gate p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin-bottom: 10px; }
  .mobile-gate .joke { color: rgba(235,231,255,.4); font-size: .88rem; margin-top: 18px; }

  .autosave {
    position: fixed; left: 22px; bottom: 26px; z-index: 5;
    color: rgba(235,231,255,.55); font-size: .8rem; max-width: 250px; line-height: 1.4;
  }
  @media (max-width: 640px) {
    .autosave { display: none; }
    .stage { padding: 60px 18px 96px; }
    input[type=text], input[type=url] { font-size: 1.15rem; }
  }

/* --------------------------------------------------------------
   Screens that ask more than one thing. Added for the ads brief;
   new selectors only, so nothing the social media brief already
   renders changes.
   -------------------------------------------------------------- */
.choices.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .choices.two-col { grid-template-columns: 1fr; } }
.group-label { font-weight: 600; margin: 24px 0 10px; }
.opt { font-weight: 400; color: var(--muted); }
.hint { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* A screen built around a how-to video: the video beside the steps, so the
   answer sits on screen instead of below the fold. Ads brief only; new
   selectors, so nothing else changes. */
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }
.tutorial-video {
  width: 100%; aspect-ratio: 16 / 9; display: block; background: #000;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.steps { margin: 0 0 0 20px; padding: 0; line-height: 1.6; font-size: .95rem; }
.steps li { margin-bottom: 6px; }
.steps a { color: var(--accent); }
.copy-row { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
.copy-row code {
  font-size: .9rem; padding: 3px 8px; border-radius: 8px;
  background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.35);
}
.copy-btn {
  font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
  padding: 3px 10px; border-radius: 8px; color: inherit;
  background: transparent; border: 1px solid var(--line);
}
.copy-btn:hover { border-color: var(--accent); }
.choices.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
@media (max-width: 860px) { .choices.row3 { grid-template-columns: 1fr; } }
