:root {
  --ink: #08090a;
  --muted: #686d76;
  --line: #e5e7eb;
  --soft: #f5f6f8;
  --blue: #2867f0;
  --blue-dark: #1450d2;
  --blue-soft: #eaf0ff;
  --green: #15885b;
  --red: #c93547;
  --yellow: #986900;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(11, 18, 32, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 14px;
  background: var(--ink); color: var(--white); font-weight: 760; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.button.blue { background: var(--blue); border-color: var(--blue); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button.large { min-height: 58px; padding-inline: 28px; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.site-nav { height: 76px; display: flex; align-items: center; border-bottom: 1px solid rgba(229,231,235,.76); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 20px; font-weight: 860; letter-spacing: -.045em; }
.brand span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: #4d525b; }
.nav-cta { min-height: 42px; border-radius: 12px; padding: 0 17px; }

.hero { padding: 84px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
h1 { margin: 18px 0 22px; font-size: clamp(48px, 6.2vw, 82px); line-height: .98; letter-spacing: -.065em; max-width: 780px; }
.hero-copy { max-width: 610px; color: #4f555f; font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof { display: flex; gap: 22px; align-items: center; margin-top: 32px; font-size: 13px; color: var(--muted); }
.proof-item { display: flex; align-items: center; gap: 7px; }
.tick { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e7f7ef; color: var(--green); font-size: 11px; font-weight: 900; }

.result-stage { position: relative; min-height: 590px; display: grid; place-items: center; }
.result-stage::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #eff3fb; }
.report-card {
  position: relative; width: min(430px, 95%); padding: 28px; border: 1px solid #dfe3ea;
  border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); transform: rotate(-2deg);
}
.report-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mini-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.score-ring { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) 0 61%, #e8ebf0 61%); }
.score-ring::before { content: ""; position: absolute; width: 68px; height: 68px; border-radius: 50%; background: #fff; }
.score-number { position: relative; font-size: 26px; font-weight: 850; letter-spacing: -.06em; }
.report-card h3 { margin: 10px 0 4px; font-size: 22px; letter-spacing: -.035em; }
.report-verdict { margin: 20px 0; padding: 17px; border-radius: 15px; background: #f4f6f9; font-size: 14px; line-height: 1.45; }
.photo-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.photo-placeholder { width: 48px; height: 55px; border-radius: 10px; background: linear-gradient(145deg,#cdd7eb,#7d8da9); }
.photo-row b { font-size: 13px; }
.photo-row small { display: block; color: var(--muted); margin-top: 3px; }
.decision { padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; }
.decision.move { color: #1556d9; background: #eaf0ff; }
.decision.keep { color: #13764f; background: #e7f7ef; }
.decision.delete { color: #b92e3f; background: #fbe9ec; }
.floating-note { position: absolute; right: -25px; bottom: 30px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: white; font-size: 12px; font-weight: 740; box-shadow: var(--shadow); transform: rotate(3deg); }

.section { padding: 92px 0; }
.section.soft { background: var(--soft); }
.section.black { color: white; background: #08090a; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section h2 { margin: 10px 0 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.055em; max-width: 800px; }
.section-intro { max-width: 470px; color: var(--muted); line-height: 1.6; }
.black .section-intro { color: #a5abb5; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { padding: 28px; min-height: 270px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.step-number { color: var(--blue); font-size: 13px; font-weight: 850; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 50px 0 22px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-size: 20px; }
.step-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.judge-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #25282e; border-radius: 22px; overflow: hidden; }
.judge-item { min-height: 220px; padding: 26px 20px; border-right: 1px solid #25282e; }
.judge-item:last-child { border: 0; }
.judge-item span { color: #6f99ff; font-size: 12px; font-weight: 850; }
.judge-item h3 { margin: 75px 0 8px; font-size: 18px; }
.judge-item p { margin: 0; color: #9da3ad; font-size: 13px; line-height: 1.5; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; padding: 28px; min-height: 260px; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.featured { background: var(--blue-soft); border-color: #c7d6ff; }
.price-badge { position: absolute; right: 18px; top: 18px; padding: 6px 10px; border-radius: 999px; background: var(--blue); color: white; font-size: 10px; font-weight: 850; }
.price { margin: 52px 0 12px; font-size: 38px; font-weight: 850; letter-spacing: -.055em; }
.price-card p { color: var(--muted); line-height: 1.5; }
.final-cta { padding: 86px 0; text-align: center; }
.final-cta h2 { margin-inline: auto; }
.final-cta p { max-width: 580px; margin: 18px auto 28px; color: var(--muted); line-height: 1.6; }
.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 20px; }

/* Audit flow */
.flow-body { min-height: 100vh; background: #f7f8fa; }
.flow-nav { background: white; }
.flow-shell { width: min(840px, calc(100% - 32px)); margin: 54px auto 80px; }
.progress-wrap { margin-bottom: 24px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-track { height: 5px; background: #e4e7ec; border-radius: 99px; overflow: hidden; }
.progress-fill { width: 20%; height: 100%; background: var(--blue); transition: width .3s ease; }
.flow-card { padding: clamp(26px, 6vw, 58px); background: white; border: 1px solid #e3e6eb; border-radius: 28px; box-shadow: 0 18px 55px rgba(20,29,45,.06); }
.flow-step { display: none; }
.flow-step.active { display: block; animation: reveal .25s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } }
.flow-card h1 { margin: 12px 0; font-size: clamp(34px, 5vw, 50px); line-height: 1.05; letter-spacing: -.055em; }
.flow-card .lead { margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; min-height: 82px; padding: 18px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 720; transition: .18s ease; }
.choice label::after { content: ""; width: 20px; height: 20px; border: 1.5px solid #c7cbd2; border-radius: 50%; }
.choice input:checked + label { border-color: var(--blue); background: #f7f9ff; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + label::after { border: 6px solid var(--blue); }
.flow-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.upload-zone { position: relative; padding: 45px 20px; border: 1.5px dashed #c8ced8; border-radius: 20px; background: #fafbfc; text-align: center; transition: .18s ease; }
.upload-zone.dragover { border-color: var(--blue); background: #f3f6ff; }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); font-size: 24px; }
.upload-zone h3 { margin: 0 0 6px; }
.upload-zone p { margin: 0; color: var(--muted); font-size: 13px; }
.preview-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.preview-item { position: relative; aspect-ratio: .65; border-radius: 12px; overflow: hidden; background: #eef0f4; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item button { position: absolute; right: 5px; top: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: white; cursor: pointer; }
.privacy-note { display: flex; align-items: start; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.error-box { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #fff0f2; color: var(--red); font-size: 13px; }
.error-box.show { display: block; }
.analyzing { text-align: center; padding: 30px 0; }
.scan-orbit { position: relative; width: 118px; height: 118px; margin: 0 auto 30px; border-radius: 50%; border: 1px solid #dfe4ec; }
.scan-orbit::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px solid var(--blue); border-left-color: transparent; animation: spin 1.1s linear infinite; }
.scan-face { position: absolute; inset: 29px; display: grid; place-items: center; border-radius: 20px; background: var(--blue-soft); color: var(--blue); font-weight: 900; }
@keyframes spin { to { transform: rotate(360deg); } }
.analysis-list { max-width: 430px; margin: 24px auto 0; text-align: left; }
.analysis-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--muted); font-size: 13px; }
.analysis-item.done { color: var(--ink); }

/* Report */
.report-body { background: #f5f6f8; }
.report-shell { width: min(1080px, calc(100% - 32px)); margin: 42px auto 80px; }
.report-loading { min-height: 560px; display: grid; place-items: center; text-align: center; }
.report-hero { display: grid; grid-template-columns: 190px 1fr; gap: 36px; padding: 38px; border-radius: 26px; background: #090a0c; color: white; }
.big-score { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#4f7eff var(--score), #262931 0); }
.big-score-inner { width: 130px; height: 130px; display: grid; place-items: center; border-radius: 50%; background: #0d0f12; }
.big-score strong { display: block; font-size: 50px; line-height: .85; letter-spacing: -.07em; }
.big-score small { color: #a9afba; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.report-hero h1 { margin: 10px 0 16px; font-size: clamp(34px, 5vw, 54px); line-height: 1.03; }
.report-hero p { color: #b5bbc6; line-height: 1.6; margin: 0; }
.diagnosis-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 16px; }
.diagnosis { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.diagnosis.critical { border-left: 4px solid var(--blue); }
.diagnosis h3 { margin: 8px 0; font-size: 20px; }
.diagnosis p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.report-section { position: relative; margin-top: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: white; overflow: hidden; }
.report-section h2 { margin: 0 0 22px; font-size: 28px; letter-spacing: -.04em; }
.locked-content { filter: blur(8px); opacity: .62; user-select: none; pointer-events: none; }
.lock-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 25px; background: linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.94) 58%); }
.paywall { width: min(560px, 100%); padding: 28px; border: 1px solid #dce1e9; border-radius: 22px; background: white; box-shadow: var(--shadow); text-align: center; }
.paywall-icon { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); }
.paywall h2 { margin: 0 0 8px; }
.paywall p { margin: 0 auto 18px; color: var(--muted); line-height: 1.5; }
.offer-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin: 16px 0; text-align: left; }
.offer { padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.offer.selected { border-color: var(--blue); background: #f5f8ff; box-shadow: inset 0 0 0 1px var(--blue); }
.offer small { display: block; color: var(--muted); margin-top: 4px; }
.offer strong { font-size: 20px; }
.photo-audit-row { display: grid; grid-template-columns: 54px 90px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.photo-index { width: 54px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: #edf0f5; font-weight: 850; }
.decision-pill { display: inline-flex; justify-content: center; padding: 7px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 850; }
.photo-copy h3 { margin: 0 0 6px; font-size: 16px; }
.photo-copy p { margin: 0 0 8px; color: var(--muted); line-height: 1.5; font-size: 14px; }
.action-line { color: var(--ink) !important; font-weight: 650; }
.rebuild-block { padding: 18px; border-radius: 16px; background: #f6f7f9; margin-bottom: 12px; }
.rebuild-block h3 { margin: 0 0 8px; font-size: 14px; }
.rebuild-block p, .rebuild-block li { color: #525863; line-height: 1.55; }
.report-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 20; padding: 14px 18px; border-radius: 12px; background: #101216; color: white; transform: translateY(100px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .result-stage { min-height: 520px; }
  .steps, .price-grid { grid-template-columns: 1fr; }
  .judge-grid { grid-template-columns: 1fr 1fr; }
  .judge-item { border-bottom: 1px solid #25282e; min-height: 180px; }
  .judge-item h3 { margin-top: 42px; }
  .diagnosis-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-nav { height: 66px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: 50px; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 8px; }
  .report-card { transform: none; }
  .floating-note { right: 5px; }
  .section { padding: 72px 0; }
  .section-header { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .judge-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .flow-shell { margin-top: 28px; }
  .flow-card { border-radius: 22px; }
  .preview-grid { grid-template-columns: repeat(3, 1fr); }
  .report-hero { grid-template-columns: 1fr; padding: 25px; }
  .big-score { width: 130px; height: 130px; }
  .big-score-inner { width: 105px; height: 105px; }
  .offer-row { grid-template-columns: 1fr; }
  .photo-audit-row { grid-template-columns: 48px 1fr; }
  .photo-copy { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}

