:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --text: #1c1d21;
  --muted: #5d606b;
  --border: #e2dfd6;
  --brand: #1f5f5b;
  --brand-ink: #ffffff;
  --brand-soft: #e3efed;
  --high: #b3261e;
  --high-soft: #fbe9e7;
  --medium: #8a5a00;
  --medium-soft: #fdf1d8;
  --low: #4b5563;
  --low-soft: #eceef1;
  --ok: #1e6b3a;
  --ok-soft: #e4f2e8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.04);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --surface: #1b1d20;
    --surface-2: #23262a;
    --text: #eceae4;
    --muted: #a3a6ad;
    --border: #2f3237;
    --brand: #5fb3ab;
    --brand-ink: #0d1716;
    --brand-soft: #1d2e2c;
    --high: #f28b82;
    --high-soft: #3a1f1d;
    --medium: #f2c46d;
    --medium-soft: #372c16;
    --low: #b8bec8;
    --low-soft: #2a2d32;
    --ok: #81c995;
    --ok-soft: #1b2e21;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.hidden { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* Header */
.mock-banner {
  background: var(--medium-soft);
  color: var(--medium);
  text-align: center;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-bottom: 1px solid var(--border);
}
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 14px; align-items: center; font-size: 0.95rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav a.btn { color: var(--brand-ink); }

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; background: var(--brand); color: var(--brand-ink);
}
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-small { padding: 7px 12px; font-size: 0.9rem; }
.btn.btn-large { padding: 16px 22px; font-size: 1.1rem; }
.btn.btn-block { display: flex; width: 100%; }
.card.download-card { border: 2px solid var(--brand); }
.deadline { margin: 12px 0 0; font-weight: 600; color: var(--medium); }
.btn-danger { background: var(--surface); color: var(--high); border-color: var(--high); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

label { font-weight: 600; display: block; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.875rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.field { margin-bottom: 20px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 18px; }

.notice { border-radius: 10px; padding: 12px 14px; font-size: 0.93rem; border: 1px solid var(--border); background: var(--surface-2); }
.notice-warn { background: var(--medium-soft); color: var(--medium); border-color: transparent; }
.notice-error { background: var(--high-soft); color: var(--high); border-color: transparent; }
.notice-ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.disclaimer { border-left: 4px solid var(--medium); background: var(--medium-soft); color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 0.93rem; }

main { padding: 32px 0 64px; }
section { padding: 36px 0; }

/* Landing */
.hero { padding: 48px 0 24px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.badge { background: var(--brand-soft); color: var(--brand); padding: 4px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .card h3 { display: flex; align-items: center; gap: 8px; }
.tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 6px; }
.tag-before { background: var(--high-soft); color: var(--high); }
.tag-after { background: var(--ok-soft); color: var(--ok); }
.quote { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; font-style: italic; margin-bottom: 12px; }
.fake-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.fake-photo { aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; font-size: 0.8rem; color: var(--muted); text-align: center; padding: 6px; }
.fake-photo svg { width: 64%; height: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 10px; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan.featured { border: 2px solid var(--brand); }
.plan ul { padding-left: 1.1em; margin: 12px 0 18px; color: var(--muted); }

/* Check form */
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 18px; background: var(--surface); text-align: center; }
.dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input[type="file"] { display: block; margin: 8px auto 0; max-width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 12px; }
.thumb { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .remove { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 12px; padding: 2px 6px; cursor: pointer; }
.thumb .label { position: absolute; left: 4px; bottom: 4px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width 0.2s; }

/* Results */
.flag { border: 1px solid var(--border); border-left-width: 5px; border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.flag.high { border-left-color: var(--high); }
.flag.medium { border-left-color: var(--medium); }
.flag.low { border-left-color: var(--low); }
.flag-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.flag h3 { margin: 0 0 6px; }
.conf { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.conf.high { background: var(--high-soft); color: var(--high); }
.conf.medium { background: var(--medium-soft); color: var(--medium); }
.conf.low { background: var(--low-soft); color: var(--low); }
.photo-refs { font-size: 0.85rem; color: var(--muted); margin: 0; }
.list { padding-left: 1.2em; margin: 0; }
.list li + li { margin-top: 6px; }
.reply-box { width: 100%; min-height: 260px; font-family: inherit; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { text-align: center; }
.summary { font-size: 1.06rem; }

/* Proof packs */
.conf.ok { background: var(--ok-soft); color: var(--ok); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: pstep; }
.steps-list > li + li { margin-top: 18px; }
.step .flag-head h3::before { counter-increment: pstep; content: counter(pstep) ". "; color: var(--muted); }
.step.done { border-color: var(--ok); }
.step .thumbs { margin: 0 0 12px; }
.step .thumbs:empty { display: none; }
.thumb-wrap { min-width: 0; }
.thumb-wrap .thumb { display: block; }
.thumb-time { font-size: 0.72rem; color: var(--muted); margin: 4px 0 0; line-height: 1.3; }
.step-status:empty { display: none; }
.step-status { margin: 10px 0 0; }
.recorder { margin-bottom: 12px; }
.recorder-preview { width: 100%; max-height: 60vh; background: #000; border-radius: 10px; object-fit: contain; }
.recorder-controls { margin-top: 10px; align-items: center; }
.pack-card h3 a { color: var(--text); }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .compare, .steps, .pricing, .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .card { padding: 18px; }
}
@media (max-width: 520px) {
  .nav-extra { display: none; }
}

/* Results: photo dates and details */
.details-heading { margin: 20px 0 4px; font-size: 1rem; }
.table-scroll { overflow-x: auto; margin-top: 8px; }
.details-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.details-table th, .details-table td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.details-table th { color: var(--muted); font-weight: 600; }
.details-table td:first-child { font-weight: 700; white-space: nowrap; }
.details-table td div + div { color: var(--muted); }
