/* Pixel Powder — private consultation flow */
.ppc-lock, .ppc-lock body { overflow: hidden !important; overscroll-behavior: none; }

.ppc {
  --ppc-accent: #ff6036;
  --ppc-accent-hover: #ff7451;
  --ppc-ink: #151515;
  --ppc-muted: #626262;
  --ppc-line: rgba(21, 21, 21, 0.1);
  --ppc-soft: #fff6f3;
  --ppc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed; inset: 0; z-index: 2147483100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(21, 21, 21, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ppc-ease), visibility 0s linear 0.35s;
  font-family: "Roboto", "Roboto Placeholder", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; color: var(--ppc-ink);
}
.ppc[data-open="true"] { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ppc-ease), visibility 0s; }

.ppc__panel {
  position: relative; width: min(560px, 100%); max-height: min(760px, calc(100dvh - 40px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: translateY(24px) scale(0.985); transition: transform 0.5s var(--ppc-ease);
}
.ppc[data-open="true"] .ppc__panel { transform: none; }

/* liquid-glass header (same language as the works viewer) */
.ppc__bar {
  position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; flex: none;
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.62), rgba(40, 40, 40, 0.48));
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.ppc__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppc__step { font-size: 13px; color: rgba(255, 255, 255, 0.78); font-variant-numeric: tabular-nums; }
.ppc__btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.25s var(--ppc-ease), transform 0.25s var(--ppc-ease), opacity 0.25s;
}
.ppc__btn:hover { background: rgba(255, 255, 255, 0.26); }
.ppc__btn:active { transform: scale(0.94); }
.ppc__btn svg { width: 16px; height: 16px; }
.ppc__btn--close { background: rgba(255, 255, 255, 0.9); color: #151515; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.35), inset 0 1px 0 #fff; }
.ppc__btn--close:hover { background: #fff; }
.ppc__btn[hidden] { display: inline-grid; opacity: 0; pointer-events: none; }
.ppc__btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.95); outline-offset: 2px; }
.ppc__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255, 255, 255, 0.12); }
.ppc__progress i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, 0.85); transition: width 0.45s var(--ppc-ease); }

.ppc__body { flex: 1; min-height: 0; overflow-y: auto; padding: 40px 44px 36px; }
.ppc__screen { animation: ppc-in 0.45s var(--ppc-ease); }
@keyframes ppc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ppc__eyebrow {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; margin-bottom: 18px;
  background: var(--ppc-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.ppc__h { margin: 0 0 10px; font-size: 32px; line-height: 1.12; font-weight: 500; letter-spacing: -0.025em; }
.ppc__sub { margin: 0 0 28px; font-size: 16px; line-height: 1.5; color: var(--ppc-muted); }

/* intro checklist: equal-sized rows for easy scanning */
.ppc__checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.ppc__checks li {
  display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 16px;
  min-height: 72px; padding: 14px 20px; border-radius: 18px; background: var(--ppc-soft);
  font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -0.005em;
}
.ppc__checks li > span:not(.ppc__tick) { display: block; }
.ppc__checks li small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ppc-muted); }
.ppc__tick { width: 32px; height: 32px; border-radius: 50%; display: grid !important; place-items: center; flex: none; background: var(--ppc-accent); color: #fff; }
.ppc__tick svg { display: block; width: 16px; height: 16px; }

/* primary button: big orange pill, no icon */
.ppc__cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: 0 28px;
  border: 0; border-radius: 100px; cursor: pointer; background: var(--ppc-accent); color: #fff;
  font: inherit; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  box-shadow: 0 10px 30px -10px rgba(255, 96, 54, 0.7);
  transition: background 0.25s var(--ppc-ease), transform 0.25s var(--ppc-ease), opacity 0.25s;
}
.ppc__cta:hover { background: var(--ppc-accent-hover); }
.ppc__cta:active { transform: scale(0.985); }
.ppc__cta:focus-visible { outline: 3px solid rgba(255, 96, 54, 0.35); outline-offset: 3px; }
.ppc__cta[disabled] { opacity: 0.6; cursor: progress; }
.ppc__note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ppc-muted); }

/* fields */
.ppc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ppc__field { display: block; margin-bottom: 14px; }
.ppc__label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ppc-muted); }
.ppc__input, .ppc__select {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--ppc-line); background: #fff;
  font: inherit; font-size: 17px; color: var(--ppc-ink); outline: none; box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ppc__input::placeholder { color: #9a9a9a; }
.ppc__input:focus, .ppc__select:focus { border-color: var(--ppc-ink); box-shadow: 0 0 0 4px rgba(21, 21, 21, 0.06); }
.ppc__input[aria-invalid="true"] { border-color: #d6403a; box-shadow: 0 0 0 4px rgba(214, 64, 58, 0.08); }
.ppc__phone { display: grid; grid-template-columns: 190px 1fr; gap: 10px; }
.ppc__select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; font-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626262' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.ppc__error { min-height: 20px; margin: 2px 0 10px; font-size: 13px; color: #d6403a; }
.ppc__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* single-choice options */
.ppc__options { display: grid; gap: 10px; margin-bottom: 8px; }
.ppc__options--2 { grid-template-columns: 1fr 1fr; }
.ppc__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px;
  border-radius: 16px; border: 1px solid var(--ppc-line); background: #fff; cursor: pointer; text-align: left;
  font: inherit; font-size: 16px; color: var(--ppc-ink); transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.ppc__opt:hover { border-color: rgba(21, 21, 21, 0.35); }
.ppc__opt:active { transform: scale(0.99); }
.ppc__opt[aria-pressed="true"] { border-color: var(--ppc-accent); background: var(--ppc-soft); }
.ppc__opt i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid rgba(21, 21, 21, 0.25); display: grid; place-items: center; }
.ppc__opt[aria-pressed="true"] i { border-color: var(--ppc-accent); background: var(--ppc-accent); color: #fff; }
.ppc__opt i svg { width: 12px; height: 12px; opacity: 0; }
.ppc__opt[aria-pressed="true"] i svg { opacity: 1; }
.ppc__opt:focus-visible { outline: 2px solid var(--ppc-ink); outline-offset: 2px; }

.ppc__summary { margin: 0 0 24px; padding: 18px 20px; border-radius: 18px; background: var(--ppc-soft); font-size: 15px; line-height: 1.6; }
.ppc__summary b { font-weight: 500; }
.ppc__done { text-align: center; padding-top: 8px; }
.ppc__done .ppc__tick { width: 64px; height: 64px; margin: 0 auto 22px; }
.ppc__done .ppc__tick svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .ppc { padding: 0; place-items: end center; }
  .ppc__panel { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; }
  .ppc__body { padding: 30px 22px 26px; }
  .ppc__h { font-size: 26px; }
  .ppc__checks li { font-size: 16px; min-height: 66px; }
  .ppc__options--2 { grid-template-columns: 1fr; }
  .ppc__row { grid-template-columns: 1fr; gap: 0; }
  .ppc__phone { grid-template-columns: 120px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ppc, .ppc__panel, .ppc__screen, .ppc__progress i { transition: none !important; animation: none !important; } }
