/* TidyCheck Pro — visual identity (approved direction 2026-07-26, ref: didtheyghostyou.com) */
:root {
  --bone: #F4F2EC;
  --ink: #171714;
  --ink-2: #3a392f;
  --muted: #74736B;
  --card: #FFFFFF;
  --line: #DEDCD3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bone);
  color: var(--ink);
  font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { padding: 0 clamp(20px, 5vw, 40px); }
#app { max-width: 1360px; margin: 0 auto; }

/* Nav */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
header h1 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
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;
}
.pro-badge { font-weight: 500; color: var(--muted); background: none; padding: 0; }
header .tagline { display: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.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: 620px) { .nav-links { gap: 16px; } .nav-links a:not(.btn-outline) { display: none; } }

/* Landing sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section .eyebrow { margin-bottom: 20px; }
.section h3 { font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 22px; } }
.step .n { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; }
.step h4 { font-size: 19px; font-weight: 600; margin: 8px 0 6px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.price-line { font-size: 22px; margin-bottom: 20px; }
.price-line b { font-weight: 600; }

/* Add-room row */
.add-room { display: flex; gap: 8px; margin: 4px 0 16px; }
.add-room input { margin: 0; flex: 1; }
.add-room button { flex: 0 0 auto; }

/* Type helpers */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
h2.display { font-weight: 500; font-size: clamp(44px, 6.5vw, 104px); line-height: 0.86; letter-spacing: -0.05em; margin: 22px 0 0; }
.sub { margin-top: 26px; font-size: 18px; line-height: 1.5; max-width: 34ch; color: var(--ink-2); }

/* Buttons */
.btn-outline, .btn-solid {
  display: inline-block; font-family: inherit; font-size: 15px; border-radius: 0;
  padding: 12px 18px; cursor: pointer; text-decoration: none; border: 1px solid var(--ink);
  transition: background 0.12s ease, color 0.12s ease;
}
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bone); }
.btn-solid { background: var(--ink); color: var(--bone); }
.btn-solid:hover { background: #000; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-danger { border-color: #8a2c25; color: #8a2c25; }
.btn-danger:hover { background: #8a2c25; color: var(--bone); }
.site-footer { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* Main */
#pro-main { padding: 60px 0 40px; }

/* Login / landing */
.landing { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .landing { grid-template-columns: 1fr; gap: 28px; } }
.login-card { border: 1px solid var(--line); background: var(--card); padding: 30px; }
.login-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.login-card .meta { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Forms */
input[type="email"], input[type="text"], input[type="number"], select {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line); border-radius: 0;
  padding: 12px 14px; margin-bottom: 12px;
}
input:focus, select:focus { outline: none; border-color: var(--ink); }

/* Counted-room inputs (bedrooms / bathrooms / reception) */
.room-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 14px; margin: 4px 0 8px; }
.room-counts label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; }
.room-counts input[type="number"] { width: 72px; margin: 0; text-align: center; }

/* Testimonial cards (landing: tilted, marketing) */
.quote-cards { position: relative; min-height: 520px; }
@media (max-width: 860px) { .quote-cards { min-height: 0; display: grid; gap: 16px; } }
.quote {
  background: var(--card); border: 1px solid var(--line); padding: 24px 26px; width: 340px; max-width: 100%;
  box-shadow: 0 22px 40px -18px rgba(23, 23, 20, 0.28);
}
.quote p { font-size: 19px; line-height: 1.34; font-style: italic; }
.quote .who { margin-top: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 861px) {
  .quote { position: absolute; }
  .q1 { top: 0; right: 6px; transform: rotate(3deg); }
  .q2 { top: 200px; right: 140px; transform: rotate(-4deg); }
  .q3 { top: 380px; right: 20px; transform: rotate(2.5deg); }
}

/* Cards (dashboard: straight, utilitarian) */
.card { border: 1px solid var(--line); background: var(--card); padding: 22px 24px; margin-bottom: 14px; }
.card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.card .meta { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 16px; font-size: 15px; }
.room-grid label { display: flex; align-items: center; gap: 8px; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 16px; }
.section-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Messages */
.msg { padding: 12px 14px; margin: 12px 0; font-size: 15px; border: 1px solid; }
.msg.error { border-color: #d9b3b0; background: #fbf1f0; color: #8a2c25; }
.msg.ok { border-color: #bcd4bd; background: #eef5ee; color: #2f5b31; }

/* Checklist print view */
.checklist h2 { font-weight: 500; font-size: 32px; letter-spacing: -0.02em; margin-bottom: 4px; }
.checklist .room { margin: 18px 0; }
.checklist .room h3 { font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 10px; }
.checklist ul { list-style: none; }
.checklist li { padding: 5px 0; font-size: 15px; }
.checklist .signoff { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; line-height: 2.2; }

@media print {
  header, .row-actions, #new-property-form, #logout-btn, .no-print { display: none !important; }
  body { padding: 0; }
}

/* Live clean screen */
.task-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px;
  background: none; border: none; border-bottom: 1px solid var(--line);
  font-family: inherit; font-size: 16px; color: var(--ink); text-align: left;
  padding: 8px 0; cursor: pointer;
}
.task-row:last-child { border-bottom: none; }
.task-row .box {
  width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid var(--ink);
  display: grid; place-items: center; font-size: 13px; line-height: 1;
}
.task-row .box.on { background: var(--ink); color: var(--bone); }
.task-row[aria-pressed="true"] .task-text { color: var(--muted); text-decoration: line-through; }
.clean-bar {
  position: sticky; bottom: 0; background: var(--bone); border-top: 1px solid var(--line);
  padding: 12px 0; display: flex; gap: 12px; align-items: center; margin-top: 8px;
}
.history-row a { color: var(--ink); }
#notes-input { width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--bone); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; }

/* Completion report */
.report .report-biz { font-weight: 500; font-size: 32px; letter-spacing: -0.02em; margin: 4px 0; }
.report-facts { display: flex; gap: 36px; flex-wrap: wrap; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.fact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.report-room { margin: 16px 0; }
.report-room h3 { font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; }
.report-room ul { list-style: none; }
.report-room li { padding: 4px 0; font-size: 15px; }
.report-room li .mark { display: inline-block; width: 1.2em; font-weight: 600; }
.report-room li.not-done { color: var(--muted); }
.report-notes { margin-top: 18px; }
.report-notes h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.report-notes p { font-size: 15px; white-space: pre-wrap; }
.report-ref { margin-top: 20px; font-size: 12px; color: var(--muted); }
@media print {
  body { padding: 0; }
  .card.report { border: none; padding: 0; }
}

/* Property rows (dashboard) */
.property-rows { display: flex; flex-direction: column; gap: 10px; }
.property-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; gap: 12px;
  padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  font: inherit; color: inherit;
}
.property-row:hover { border-color: var(--ink); }
.pr-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pr-name { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.pr-meta { color: var(--muted); font-size: 0.85rem; overflow-wrap: anywhere; }
.pr-chev { font-size: 1.4rem; color: var(--muted); flex: 0 0 auto; }

/* === FAQ (Pro) === */
#faq > .eyebrow, #faq > h3 { max-width: 44rem; margin-left: auto; margin-right: auto; }
#faq .faq-list { border-top: 1px solid var(--line); max-width: 44rem; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--muted); line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq-item p { margin: 0 40px 22px 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
