/* TidyCheck — free tool homepage. Visual identity approved 2026-07-26 (ref: didtheyghostyou.com). */
/* Reskin only: every selector the wizard JS relies on is preserved. */

:root {
  --bone: #F4F2EC;
  --ink: #171714;
  --ink-2: #3a392f;
  --muted: #74736B;
  --card: #FFFFFF;
  --line: #DEDCD3;
  --err: #8a2c25;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) 4rem;
}

/* === Header / nav === */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0 20px; border-bottom: 1px solid var(--line);
}
header > h1 {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
}
header > h1::before {
  content: "✓"; width: 26px; height: 26px; flex: 0 0 26px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.tagline { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--muted); }
.nav-links a.btn-outline:hover { color: var(--bone); }
@media (max-width: 560px) { .nav-links { gap: 14px; } }

/* === Home hero === */
.home-hero { padding: 64px 0 44px; }
.home-hero .eyebrow,
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.home-hero h2 {
  font-weight: 500; font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.9; letter-spacing: -0.045em; margin: 22px 0 0; max-width: 22ch;
}
.home-hero .sub {
  margin-top: 26px; font-size: 18px; line-height: 1.5;
  max-width: 40ch; color: var(--ink-2);
}

/* === Tool column (narrower, centred) === */
#tool { max-width: 44rem; margin: 0 auto; }

/* === Step indicator === */
.step-indicator { display: flex; align-items: center; gap: 0.75rem; margin: 8px 0 28px; }
.step {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.step.active { color: var(--ink); }
.step-sep { width: 24px; height: 1px; background: var(--line); }

/* === Step content === */
.step-content { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.step-content h2 { font-size: 22px; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: -0.01em; }
.step-header p { color: var(--muted); font-size: 15px; margin-bottom: 1.5rem; }

/* === Forms === */
label { display: block; margin-bottom: 1.1rem; font-weight: 500; font-size: 14px; color: var(--ink-2); }
select, input:not([type="checkbox"]):not([type="radio"]), textarea {
  display: block; width: 100%; margin-top: 0.4rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 0; font-size: 16px;
  font-family: inherit; background: var(--card); color: var(--ink);
  transition: border 0.15s; appearance: none; -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2374736B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem;
}
textarea { resize: vertical; min-height: 3rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.field-error { display: block; font-size: 13px; color: var(--err); margin-top: 0.25rem; }

.room-counts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.room-counts label { margin-bottom: 0; }
fieldset { border: none; margin-bottom: 0.25rem; }
fieldset legend { font-weight: 600; font-size: 14px; margin-bottom: 0.5rem; color: var(--ink-2); }

/* === Buttons === */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 0; font-size: 15px;
  font-weight: 400; cursor: pointer; transition: background 0.12s, color 0.12s;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: inherit;
}
.btn:hover { background: var(--ink); color: var(--bone); }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: #000; }
.btn-outline { display: inline-block; padding: 11px 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; font-size: 14px; text-decoration: none; cursor: pointer; transition: background 0.12s, color 0.12s; }
.btn-outline:hover { background: var(--ink); color: var(--bone); }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn-block { width: 100%; text-align: center; }
.step-nav { display: flex; gap: 0.75rem; justify-content: space-between; margin-top: 1.75rem; }

/* === Step cards === */
#step-1, #step-2, #step-3 { background: var(--card); border: 1px solid var(--line); padding: 28px 26px; }

/* === Checkboxes === */
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; cursor: pointer; margin-bottom: 0; padding: 0.2rem 0; font-size: 15px; }
.checkbox-label input[type="checkbox"] { width: 1rem; height: 1rem; margin-top: 0; accent-color: var(--ink); }

/* === Room cards (step 2) === */
.room-card { border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 14px; background: var(--bone); }
.room-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.task-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0.7rem 0 0.25rem; }
.task-item { font-size: 15px; }
.custom-task-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0; font-size: 15px; }
.btn-remove { background: none; border: none; color: var(--err); cursor: pointer; font-size: 15px; padding: 0.1rem 0.3rem; }
.btn-remove:hover { color: #000; }
.add-custom-task { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.add-custom-task input { flex: 1; margin-top: 0; }

/* === Step 3 checklist === */
.print-hint { color: var(--muted); font-size: 14px; margin-bottom: 1.25rem; }
.checklist { font-size: 15px; max-width: 100%; }
.checklist-header { text-align: left; margin-bottom: 1.5rem; padding-bottom: 0.85rem; border-bottom: 2px solid var(--ink); }
.checklist-header h1 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.checklist-date, .checklist-address, .checklist-ref { font-size: 14px; color: var(--muted); line-height: 1.5; }
.checklist-room { margin-bottom: 1.25rem; }
.checklist-room h2 { font-size: 16px; font-weight: 600; margin-bottom: 0.4rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--line); }
.checklist table { width: 100%; border-collapse: collapse; }
.checklist th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--line); }
.checklist td { padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 15px; }
.task-cell { color: var(--ink-2); }
.col-done { width: 2.5rem; text-align: center; font-size: 1.1rem; }
.col-notes { width: 18%; }
.checklist-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--ink); }
.signature-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; font-size: 15px; color: var(--ink-2); }

/* === Modal === */
.modal-overlay { position: fixed; inset: 0; background: rgba(23, 23, 20, 0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; animation: fadeIn 0.2s ease; }
.modal-overlay.hidden { display: none; }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 0; padding: 32px 28px; max-width: 26rem; width: 100%; position: relative; box-shadow: 0 24px 50px -20px rgba(23, 23, 20, 0.35); animation: fadeIn 0.25s ease; }
.modal-close { position: absolute; top: 0.75rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal h2 { font-size: 20px; margin-bottom: 0.35rem; padding-right: 1.5rem; }
.modal-sub { color: var(--muted); font-size: 15px; margin-bottom: 1.25rem; }
#capture-form label { margin-bottom: 0.85rem; }
.modal .checkbox-label { font-size: 14px; color: var(--ink-2); }
.modal-skip { text-align: center; margin-top: 0.85rem; font-size: 14px; }
.modal-skip a { color: var(--muted); text-decoration: underline; cursor: pointer; }
#capture-success { text-align: center; padding: 1rem 0; }
.success-icon { font-size: 2rem; color: #2f5b31; margin-bottom: 0.5rem; }
.hidden { display: none !important; }

/* === Waitlist === */
.waitlist-section { margin-top: 2rem; padding: 28px 26px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.waitlist-section hr { border: none; border-top: 1px solid var(--line); margin-bottom: 1.25rem; }
.waitlist-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 0.4rem; }
.waitlist-section p { font-size: 15px; color: var(--ink-2); margin-bottom: 1rem; }
.waitlist-form { display: flex; gap: 0.5rem; max-width: 28rem; }
.waitlist-form input { flex: 1; margin-top: 0; }
#waitlist-success p { color: #2f5b31; font-weight: 500; }

/* === Print === */
@media print {
  html, body { background: #fff; font-size: 11pt; color: #000; }
  header, .home-hero, .step-indicator, .step-nav, .print-hint, .btn, .btn-primary, .waitlist-section, .modal-overlay { display: none !important; }
  #app, #tool { max-width: 100%; padding: 0; margin: 0; }
  #step-3 { border: none; padding: 0; }
  .checklist-room, .checklist-footer { page-break-inside: avoid; }
  .checklist th { font-size: 8pt; }
  .checklist td { font-size: 9pt; padding: 0.15rem 0.25rem; }
  .col-done { width: 2rem; }
  .col-notes { width: 25%; min-width: 3cm; }
  .checklist-header { border-bottom-color: #000; }
  .checklist-footer { border-top-color: #000; }
}

/* === Responsive === */
@media (max-width: 560px) {
  .room-counts { grid-template-columns: 1fr; gap: 0.5rem; }
  #step-1, #step-2, #step-3 { padding: 20px 16px; }
  .signature-row { flex-direction: column; gap: 0.4rem; }
  .step-nav { flex-direction: column; }
  .step-nav .btn { width: 100%; text-align: center; }
  .waitlist-form { flex-direction: column; }
}
