.purchase-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(45, 34, 37, .15);
  transition: transform .2s ease;
}

.purchase-link:hover { transform: translateY(-2px); }

.developer-preview {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(37, 30, 32, .94);
  box-shadow: 0 16px 46px rgba(35, 24, 27, .3);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.developer-preview b { padding: 0 9px; color: #f1abb7; font-size: 9px; white-space: nowrap; }
.developer-preview a { padding: 8px 12px; border-radius: 999px; color: #d9ced0; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.developer-preview a.active { background: #f4d97b; color: #2b2426; }

.form-error-card {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(184, 70, 94, .2);
  border-radius: 17px;
  background: linear-gradient(135deg, #fff0f2, #fff9ef);
  color: var(--ink);
  text-align: left;
}

.form-error-card > b { display: block; font-size: 13px; color: #af4058; }
.form-error-card p { margin: 6px 0 8px; font-size: 11px; line-height: 1.65; color: #66585b; }
.form-error-card ul { margin: 0; padding-left: 18px; font-size: 10px; line-height: 1.7; color: #75676a; }
.form-error-card small { display: block; margin-top: 9px; color: #a68e94; font: 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

.generation-usage {
  margin: 12px 2px 0;
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff2bd;
  color: #5a4731;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.generation-usage.developer { background: #eee6f8; color: #674f78; }
.generation-usage.exhausted { background: #f4e6e9; color: #9e4054; }
.photo-check { grid-template-columns: auto 1fr auto auto; }
.photo-check .usage-pill { background: #fff2bd; color: #74552b; white-space: nowrap; }

.choice-board {
  max-width: 1060px;
  margin: 22px auto 0;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 5%, rgba(242, 216, 120, .38), transparent 28%),
    radial-gradient(circle at 5% 94%, rgba(199, 183, 229, .34), transparent 34%),
    #fff;
  box-shadow: 0 18px 65px rgba(85, 54, 60, .08);
}

.choice-board > header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 28px; margin-bottom: 28px; }
.choice-board > header small { color: #b65368; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.choice-board > header h2 { grid-row: 2; margin: 0; font: 500 clamp(34px, 5vw, 56px)/1.05 var(--serif); letter-spacing: -.045em; }
.choice-board > header p { grid-column: 2; grid-row: 1 / 3; max-width: 310px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.choice-groups { display: grid; gap: 13px; }
.choice-group { padding: 20px; border: 1px solid rgba(61, 39, 44, .08); border-radius: 22px; background: rgba(255, 250, 247, .72); }
.choice-group h3 { margin: 0 0 12px; color: #9d5664; font-size: 10px; letter-spacing: .1em; }
.choice-group > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.choice-group article { position: relative; min-height: 98px; padding: 15px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 7px 24px rgba(70, 43, 49, .05); }
.choice-group article::after { content: "✓"; position: absolute; right: 10px; top: 8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #f5d2da; color: #b74760; font-size: 10px; font-weight: 900; }
.choice-group article small { display: block; padding-right: 24px; color: #918487; font-size: 9px; }
.choice-group article b { display: block; margin-top: 11px; font: 500 20px/1.15 var(--serif); }
.choice-group article span { display: block; margin-top: 8px; color: #c26577; font-size: 8px; font-weight: 800; }

.choice-lock { padding: 25px; border-radius: 22px; background: #2b2426; color: #fff; }
.choice-lock > span { color: #eca0ae; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.choice-lock h3 { margin: 10px 0 16px; font: 500 27px/1.2 var(--serif); }
.choice-lock > div { display: flex; flex-wrap: wrap; gap: 7px; }
.choice-lock i { padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; background: rgba(255,255,255,.06); color: #d9ced0; font-size: 9px; font-style: normal; }
.choice-lock i b { color: #f0acb8; letter-spacing: .12em; }
.choice-lock button { display: block; width: 100%; margin-top: 20px; padding: 14px 20px; border: 0; border-radius: 99px; background: linear-gradient(90deg, #f4d97b, #f3b39e); color: var(--ink); font-weight: 900; cursor: pointer; }
.choice-lock > small { display: block; margin-top: 10px; color: #b9adaf; text-align: center; font-size: 8px; }

.report-module { padding-top: 48px; padding-bottom: 48px; }
.report-module h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; }
.module-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module-body > .answer-block { min-height: 170px; }
.module-body h3 i { display: inline-grid; width: 22px; height: 22px; margin-right: 5px; place-items: center; border-radius: 50%; background: #f5d5dc; color: #a84e60; font: normal 8px var(--sans); }
.module-body > .actions { background: rgba(238, 244, 242, .82); }
.module-body > .keyword-block { grid-column: 1 / -1; min-height: auto; }
.report-module > footer { padding: 15px 17px; border: 0; border-radius: 16px; background: rgba(255,255,255,.56); }
.report-module > footer p { font-size: 14px; }
.dimension-grid b { font: 700 11px/1.25 var(--sans); }
.looks-grid article > b { font-size: 12px; }

.failure-dialog ul { margin: 16px 0 20px; padding: 14px 14px 14px 32px; border-radius: 15px; background: #fff0f2; color: #65575a; font-size: 11px; line-height: 1.8; }
.failure-dialog > small { margin: 10px 0 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.failure-dialog .text-button { width: 100%; margin-top: 10px; padding: 10px; border: 0; background: transparent; color: #8b6670; text-decoration: underline; cursor: pointer; }

@media (max-width: 820px) {
  .photo-check { grid-template-columns: 1fr; }
  .choice-board { margin: 14px; padding: 30px 16px; border-radius: 24px; }
  .choice-board > header { display: block; }
  .choice-board > header p { margin-top: 12px; }
  .choice-group { padding: 13px; }
  .choice-group > div { grid-template-columns: 1fr 1fr; }
  .choice-group article { min-height: 91px; padding: 13px; }
  .choice-group article b { font-size: 18px; }
  .module-body { grid-template-columns: 1fr; }
  .module-body > .answer-block { min-height: auto; }
}

@media (max-width: 390px) {
  .choice-group > div { grid-template-columns: 1fr; }
}
.consent-stack{margin:18px 0;padding:16px;border:1px solid rgba(97,65,73,.14);border-radius:20px;background:rgba(255,255,255,.62)}
.consent-stack legend{padding:0 7px;color:#7f5260;font-size:12px;font-weight:800;letter-spacing:.08em}
.consent-stack .consent{margin:0;padding:10px 0;border-bottom:1px dashed rgba(97,65,73,.12)}
.consent-stack .consent:last-child{border-bottom:0}
.consent a,.form-note a{color:#9d5366;text-underline-offset:3px}
.privacy-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px;color:#77686c;font-size:12px}
.privacy-actions button{border:1px solid rgba(97,65,73,.16);border-radius:999px;background:#fff;padding:8px 11px;color:#7f5260;cursor:pointer}
.privacy-actions output{flex-basis:100%;color:#7f5260;line-height:1.5}
