:root {
  --ap-ink: #131512;
  --ap-paper: #f4f5f0;
  --ap-white: #ffffff;
  --ap-line: #dfe1da;
  --ap-muted: #62665e;
  --ap-teal: #08766d;
  --ap-coral: #ff6847;
  --ap-lime: #dffc68;
  --ap-blue: #dfe9ff;
}

.appearance-page {
  background: var(--ap-paper);
  color: var(--ap-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.appearance-page * { box-sizing: border-box; letter-spacing: 0; }
.appearance-page main { overflow: hidden; }
.appearance-page button, .appearance-page input { font: inherit; }
.appearance-page .topbar {
  position: relative;
  border-bottom: 1px solid var(--ap-line);
  background: rgba(255, 255, 255, .96);
}
.appearance-page .brand-mark { border-radius: 6px; }
.appearance-page .topnav a { font-weight: 650; }
.appearance-page .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ap-teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.appearance-page .eyebrow > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ap-coral);
}

.appearance-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 28px 0;
}
.analysis-workspace {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr);
  gap: 58px;
  align-items: center;
}
.intro-copy { padding: 26px 0; }
.intro-copy h1 {
  max-width: 630px;
  margin: 0;
  font-size: 66px;
  line-height: .98;
  font-weight: 800;
}
.intro-lead {
  max-width: 590px;
  margin: 22px 0 20px;
  color: #3f433d;
  font-size: 19px;
  line-height: 1.5;
}
.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.benefit-row span {
  padding: 8px 11px;
  border: 1px solid #c9ccc3;
  border-radius: 5px;
  background: var(--ap-white);
  font-size: 13px;
  font-weight: 750;
}
.benefit-row span:before {
  content: "✓";
  margin-right: 6px;
  color: var(--ap-teal);
}

.appearance-drop {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 2px solid var(--ap-ink);
  border-radius: 7px;
  background: var(--ap-ink);
  color: white;
  cursor: pointer;
  box-shadow: 8px 8px 0 var(--ap-lime);
  transition: transform .18s, box-shadow .18s;
}
.appearance-drop:hover, .appearance-drop.is-dragging {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 var(--ap-lime);
}
.appearance-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.upload-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--ap-lime);
  color: var(--ap-ink);
  font-size: 26px;
  font-weight: 900;
}
.upload-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.upload-copy strong { font-size: 16px; line-height: 1.2; }
.upload-copy small { color: #b8beb5; font-size: 11px; }
.upload-arrow { font-size: 27px; text-align: right; }
.analyze-button[hidden] { display: none; }
.analysis-status {
  min-height: 19px;
  margin: 13px 0 20px;
  color: var(--ap-muted);
  font-size: 12px;
}
.analysis-status.is-error { color: #b2372b; }
.offer-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #cfd1ca;
  border-bottom: 1px solid #cfd1ca;
}
.offer-line span { padding: 13px 14px 13px 0; color: var(--ap-muted); font-size: 12px; line-height: 1.35; }
.offer-line span + span { padding-left: 14px; border-left: 1px solid #cfd1ca; }
.offer-line b { display: block; margin-bottom: 2px; color: var(--ap-ink); font-size: 14px; }
.privacy-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--ap-teal);
  font-size: 12px;
  font-weight: 750;
}
.privacy-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #d9eee8;
}

.preview-pane { min-width: 0; }
.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 3px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.local-badge {
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--ap-lime);
  color: var(--ap-ink);
  font-size: 10px;
}
.face-stage {
  position: relative;
  height: 590px;
  overflow: hidden;
  border-radius: 8px;
  background: #1d211e;
  box-shadow: 0 26px 70px rgba(20, 24, 20, .17);
}
.face-stage canvas {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.face-stage.has-photo canvas { display: block; }
.face-stage.has-photo .stage-empty { display: none; }
.stage-empty { position: absolute; inset: 0; }
.stage-empty > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  filter: saturate(.88) contrast(1.02);
}
.stage-empty:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32%;
  background: rgba(10, 13, 11, .48);
  pointer-events: none;
}
.demo-mesh {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 50%;
  width: 186px;
  height: 220px;
  transform: translateX(-50%) rotate(-2deg);
  border: 1px solid rgba(223, 252, 104, .62);
  border-radius: 47% 47% 45% 45%;
  box-shadow: inset 0 0 26px rgba(223, 252, 104, .07);
}
.demo-mesh:before, .demo-mesh:after,
.demo-mesh i:before, .demo-mesh i:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ap-lime);
  box-shadow: 0 0 9px rgba(223, 252, 104, .9);
}
.demo-mesh:before { top: -3px; left: 50%; }
.demo-mesh:after { bottom: -3px; left: 50%; }
.demo-mesh i:nth-child(1) { position: absolute; top: 41%; left: 12%; width: 76%; border-top: 1px solid rgba(223,252,104,.7); transform: rotate(-2deg); }
.demo-mesh i:nth-child(1):before { left: -2px; top: -3px; }.demo-mesh i:nth-child(1):after { right: -2px; top: -3px; }
.demo-mesh i:nth-child(2) { position: absolute; top: 57%; left: 25%; width: 50%; border-top: 1px solid rgba(223,252,104,.7); }
.demo-mesh i:nth-child(2):before { left: -2px; top: -3px; }.demo-mesh i:nth-child(2):after { right: -2px; top: -3px; }
.demo-mesh i:nth-child(3) { position: absolute; top: 71%; left: 30%; width: 42%; border-top: 1px solid rgba(223,252,104,.7); transform: rotate(2deg); }
.demo-mesh i:nth-child(3):before { left: -2px; top: -3px; }.demo-mesh i:nth-child(3):after { right: -2px; top: -3px; }
.demo-mesh i:nth-child(4) { position: absolute; top: 9%; bottom: 7%; left: 50%; border-left: 1px solid rgba(223,252,104,.58); }
.demo-mesh i:nth-child(5), .demo-mesh i:nth-child(6) { display: none; }
.demo-score, .demo-shape, .demo-angle {
  position: absolute;
  z-index: 3;
  border-radius: 6px;
  background: rgba(255,255,255,.94);
  color: var(--ap-ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.demo-score { top: 24px; left: 24px; display: grid; grid-template-columns: auto auto; padding: 13px 15px; }
.demo-score small { grid-column: 1 / -1; color: var(--ap-muted); font-size: 10px; text-transform: uppercase; }
.demo-score strong { font-size: 32px; line-height: 1; }.demo-score span { align-self: end; color: var(--ap-muted); font-size: 11px; }
.demo-shape { top: 24px; right: 24px; padding: 13px 15px; }
.demo-shape small { display: block; color: var(--ap-muted); font-size: 10px; text-transform: uppercase; }.demo-shape strong { display: block; margin-top: 3px; font-size: 16px; }
.demo-angle { right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.demo-angle span { color: var(--ap-muted); font-size: 11px; text-transform: uppercase; }.demo-angle strong { font-size: 14px; }
.scan-progress { position: absolute; z-index: 5; display: none; inset: 0; background: rgba(8,14,10,.28); }
.scan-progress.is-active { display: block; }
.scan-progress span { position: absolute; right: 0; left: 0; height: 2px; background: var(--ap-lime); box-shadow: 0 0 20px var(--ap-lime); animation: scan 1.7s ease-in-out infinite; }
@keyframes scan { 0% { top: 6%; } 50% { top: 92%; } 100% { top: 6%; } }
.stage-caption { margin: 10px 2px 0; color: var(--ap-muted); font-size: 11px; text-align: center; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}
.proof-strip > div { display: flex; min-height: 92px; padding: 18px 28px; justify-content: center; flex-direction: column; }
.proof-strip > div + div { border-left: 1px solid var(--ap-line); }
.proof-strip strong { font-size: 17px; }.proof-strip span { margin-top: 3px; color: var(--ap-muted); font-size: 12px; }

.result-section { max-width: 1184px; margin: 0 auto; padding: 72px 0 84px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.result-heading h2, .unlock-copy h2, .full-report-head h2, .section-copy h2, .faq-title h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 790;
  line-height: 1.06;
}
.text-button { border: 0; border-bottom: 1px solid var(--ap-ink); padding: 4px 0; background: transparent; color: var(--ap-ink); cursor: pointer; }
.score-band {
  display: grid;
  grid-template-columns: 130px 1fr minmax(230px, .75fr);
  align-items: center;
  gap: 26px;
  padding: 28px;
  border-radius: 8px 8px 0 0;
  background: var(--ap-ink);
  color: white;
}
.score-dial {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--ap-ink) 80%, transparent 82% 99%), conic-gradient(var(--ap-lime) calc(var(--score) * 1%), #3c403a 0);
}
.score-dial span { font-size: 38px; font-weight: 800; line-height: .9; }.score-dial small { margin-top: 5px; color: #afb4aa; font-size: 10px; }
.score-copy > span { color: #abb0a6; font-size: 12px; }.score-copy strong { display: block; margin: 5px 0; font-size: 23px; }.score-copy p { max-width: 470px; margin: 0; color: #abb0a6; font-size: 12px; }
.quality-note { padding: 14px 16px; border-left: 3px solid var(--ap-coral); border-radius: 0 5px 5px 0; background: #2a2e29; color: #dfe3da; font-size: 12px; line-height: 1.5; }
.basic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ap-line); border: 1px solid var(--ap-line); border-top: 0; }
.basic-card { min-height: 175px; padding: 24px; background: white; }
.basic-card span { color: var(--ap-coral); font-size: 10px; font-weight: 850; text-transform: uppercase; }.basic-card h3 { margin: 13px 0 7px; font-size: 21px; }.basic-card p { margin: 0; color: var(--ap-muted); font-size: 13px; line-height: 1.55; }

.unlock-band {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 52px;
  margin-top: 38px;
  padding: 40px;
  border-radius: 8px;
  background: var(--ap-blue);
}
.unlock-copy > p:not(.eyebrow) { max-width: 650px; color: #4f5868; }
.report-preview-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 22px; border-top: 1px solid #b8c4dc; }
.report-preview-list span { padding: 12px 8px 12px 0; border-bottom: 1px solid #b8c4dc; font-size: 13px; }.report-preview-list span:nth-child(even) { padding-left: 12px; border-left: 1px solid #b8c4dc; }.report-preview-list b { margin-right: 7px; color: var(--ap-teal); font-size: 10px; }
.unlock-action { display: flex; align-items: stretch; justify-content: center; flex-direction: column; text-align: center; }
.unlock-action > small:first-child { color: #5a6579; font-size: 11px; font-weight: 800; text-transform: uppercase; }.unlock-action > strong { margin-top: 3px; font-size: 43px; line-height: 1; }.unlock-action > span { margin: 7px 0 16px; color: #5a6579; font-size: 11px; }
.pay-report-button, .pay-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 5px;
  background: var(--ap-ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.pay-report-button:hover, .pay-submit:hover { background: var(--ap-teal); }.pay-report-button:active, .pay-submit:active { transform: translateY(1px); }.pay-report-button:disabled { cursor: not-allowed; opacity: .42; }
.unlock-action > small:last-child { margin-top: 9px; color: #6a7485; font-size: 10px; }

.full-report { margin-top: 38px; border-top: 4px solid var(--ap-teal); }
.full-report-head { display: flex; padding: 30px 0 22px; align-items: end; justify-content: space-between; }.full-report-head > span { padding: 6px 9px; border-radius: 3px; background: #d9eee8; color: var(--ap-teal); font-size: 11px; font-weight: 850; }
.report-sections { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ap-line); }.report-section { min-height: 210px; padding: 26px; border-bottom: 1px solid var(--ap-line); background: white; }.report-section:nth-child(odd) { border-right: 1px solid var(--ap-line); }.report-section h3 { margin: 0 0 13px; font-size: 19px; }.report-section ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }.report-section li { position: relative; padding-left: 18px; color: #4d514a; font-size: 13px; line-height: 1.5; }.report-section li:before { content: ""; position: absolute; top: 7px; left: 1px; width: 7px; height: 7px; border-radius: 50%; background: var(--ap-coral); }.report-expiry { color: var(--ap-muted); font-size: 11px; }

.report-details {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  padding: 82px max(28px, calc((100vw - 1184px)/2));
  background: var(--ap-white);
}
.section-copy p:not(.eyebrow) { color: var(--ap-muted); line-height: 1.6; }
.detail-list { border-top: 1px solid var(--ap-ink); }.detail-list article { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--ap-line); }.detail-list article > span { color: var(--ap-coral); font-size: 11px; font-weight: 850; }.detail-list h3 { margin: 0 0 5px; font-size: 18px; }.detail-list p { margin: 0; color: var(--ap-muted); font-size: 13px; }
.ethics-note { grid-column: 1 / -1; margin: 0; padding: 15px 18px; border-left: 3px solid var(--ap-teal); background: #edf3f0; color: #56615b; font-size: 12px; }
.appearance-faq { display: grid; grid-template-columns: 280px 1fr; gap: 70px; max-width: 1184px; margin: 0 auto; padding: 78px 0; }.faq-items { border-top: 1px solid var(--ap-ink); }.faq-items details { border-bottom: 1px solid var(--ap-line); padding: 19px 0; }.faq-items summary { position: relative; padding-right: 38px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }.faq-items summary:after { content: "+"; position: absolute; right: 8px; font-size: 22px; font-weight: 400; }.faq-items details[open] summary:after { content: "−"; }.faq-items p { max-width: 760px; margin: 11px 0 0; color: var(--ap-muted); font-size: 13px; line-height: 1.55; }

.appearance-modal { display: none; position: fixed; z-index: 100; inset: 0; place-items: center; padding: 18px; }.appearance-modal.is-open { display: grid; }.modal-shade { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(13,17,15,.7); cursor: pointer; }.appearance-modal-panel { position: relative; width: min(460px, 100%); padding: 31px; border-radius: 7px; background: white; box-shadow: 0 20px 80px rgba(0,0,0,.25); }.appearance-modal-panel h2 { margin: 0; font-size: 31px; line-height: 1.05; }.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 29px; cursor: pointer; }.modal-price { display: flex; align-items: baseline; gap: 10px; margin: 20px 0; padding: 14px 0; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }.modal-price strong { font-size: 28px; }.modal-price span { color: var(--ap-muted); font-size: 12px; }.appearance-modal-panel label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.appearance-modal-panel input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #a9ada4; border-radius: 4px; background: white; }.pay-submit { margin-top: 12px; }.modal-error { min-height: 18px; margin: 6px 0 0; color: #a33428; font-size: 11px; }.appearance-modal-panel > small { display: block; margin-top: 12px; color: var(--ap-muted); font-size: 10px; line-height: 1.5; }.appearance-modal-panel a { color: inherit; }

@media (max-width: 920px) {
  .appearance-page .topnav a:not(:last-child) { display: none; }
  .appearance-intro { padding: 34px 18px 0; }
  .analysis-workspace { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { max-width: 680px; margin: 0 auto; padding: 10px 0; }
  .preview-pane { width: min(680px, 100%); margin: 0 auto; }
  .face-stage { height: 610px; }
  .proof-strip { margin-right: -18px; margin-left: -18px; }
  .result-section { padding: 62px 18px 72px; }
  .score-band { grid-template-columns: 105px 1fr; }.quality-note { grid-column: 1 / -1; }.score-dial { width: 90px; height: 90px; }
  .basic-grid { grid-template-columns: 1fr; }.basic-card { min-height: auto; }
  .unlock-band { grid-template-columns: 1fr; gap: 28px; }.unlock-action { max-width: 360px; }
  .report-sections { grid-template-columns: 1fr; }.report-section:nth-child(odd) { border-right: 0; }
  .report-details { grid-template-columns: 1fr; gap: 30px; }.appearance-faq { grid-template-columns: 1fr; gap: 24px; padding: 62px 18px; }
}

@media (max-width: 560px) {
  .appearance-page .brand-text small { display: none; }
  .appearance-intro { padding: 24px 14px 0; }
  .intro-copy h1 { font-size: 43px; line-height: 1.01; }
  .intro-lead { margin: 17px 0; font-size: 16px; }
  .benefit-row { gap: 6px; margin-bottom: 18px; }.benefit-row span { padding: 7px 8px; font-size: 11px; }
  .appearance-drop { grid-template-columns: 42px minmax(0, 1fr) 22px; min-height: 74px; padding: 10px 12px; box-shadow: 6px 6px 0 var(--ap-lime); }.upload-symbol { width: 42px; height: 42px; }.upload-copy strong { font-size: 14px; }.upload-arrow { font-size: 21px; }
  .analysis-status { margin-bottom: 14px; }.offer-line span { padding: 10px 9px 10px 0; font-size: 10px; }.offer-line span + span { padding-left: 9px; }.offer-line b { font-size: 12px; }
  .preview-pane { width: calc(100% + 28px); margin-left: -14px; }.preview-topline { padding: 0 14px; }.face-stage { height: 475px; border-radius: 0; }.stage-caption { padding: 0 14px; }
  .demo-mesh { top: 9%; width: 150px; height: 184px; }.demo-score { top: 16px; left: 14px; }.demo-shape { top: 16px; right: 14px; }.demo-angle { right: 14px; bottom: 14px; left: 14px; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 28px; }.proof-strip > div { min-height: 68px; padding: 12px 20px; }.proof-strip > div + div { border-top: 1px solid var(--ap-line); border-left: 0; }
  .result-heading { align-items: start; flex-direction: column; }.result-heading h2, .unlock-copy h2, .full-report-head h2, .section-copy h2, .faq-title h2 { font-size: 31px; }
  .score-band { gap: 14px; padding: 20px 14px; }.score-copy strong { font-size: 18px; }.score-copy p { font-size: 10px; }
  .unlock-band { padding: 26px 18px; }.report-preview-list { grid-template-columns: 1fr; }.report-preview-list span:nth-child(even) { padding-left: 0; border-left: 0; }.full-report-head { align-items: start; flex-direction: column; gap: 12px; }
  .report-details { padding: 58px 18px; }.appearance-modal-panel { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .appearance-drop { transition: none; }
  .scan-progress span { animation: none; top: 50%; }
}
