/* HeatBooked — getheatbooked.com pilot site
   Navy / teal professional, mobile-first */

:root {
  --navy: #0b1f33;
  --navy-mid: #143049;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-soft: #ccfbf1;
  --slate: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --danger: #b91c1c;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

img { max-width: 100%; height: auto; }

.container {
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 0;
  border-bottom: 3px solid var(--teal);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.logo span { color: var(--teal); }

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--white); }

/* Hero / marketing */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #0f3d4a 100%);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
}

.hero .lede {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 38rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #99f6e4;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.5rem;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-block { width: 100%; text-align: center; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  color: var(--navy);
}

.section p { color: var(--slate); margin: 0 0 1rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
}

.pricing-box strong { color: var(--navy); }

.notice {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  color: #115e59;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.notice-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

ul.check {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

ul.check li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
  color: var(--slate);
}

ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Form page */
.page-intro {
  padding: 2rem 0 0.5rem;
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
}

.page-intro .intro-copy {
  color: var(--slate);
  white-space: pre-line;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 2rem;
  margin: 1.5rem 0 3rem;
}

.form-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; }

.form-section h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section h2 .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.field .req { color: var(--danger); }

.help {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(13, 148, 136, 0.35);
  border-color: var(--teal);
}

textarea { min-height: 90px; resize: vertical; }

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checkbox-group label,
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--slate);
  cursor: pointer;
}

.checkbox-group input,
.agree-row input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--teal);
}

.agreements {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.agreements .agree-row {
  background: #f1f5f9;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Honeypot — visually hidden, still in tab/accessibility tree minimally */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-actions .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.status.show { display: block; }

.status-ok {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  color: #115e59;
}

.status-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.summary-box {
  display: none;
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  padding: 1rem;
}

.summary-box.show { display: block; }

.summary-box pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
  margin: 0.5rem 0 0;
  color: var(--slate);
  max-height: 280px;
  overflow: auto;
}

.alt-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.alt-note code {
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 1.75rem 0;
  font-size: 0.85rem;
}

.site-footer a { color: #99f6e4; }
.site-footer p { margin: 0 0 0.4rem; }

@media (max-width: 560px) {
  .btn-secondary { margin-left: 0; }
  .form-shell { padding: 1.15rem 1rem 1.5rem; }
}

/* ——— Demo walkthrough (demo.html) ——— */
.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.demo-hero .demo-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #99f6e4;
}

.demo-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
}

.demo-progress-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.demo-progress-dot:hover { color: #fff; border-color: #99f6e4; }
.demo-progress-dot.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.demo-step { scroll-margin-top: 1rem; }
.demo-step-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step-label.light { color: #99f6e4; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
}
.step-label.light .step-num {
  background: rgba(13, 148, 136, 0.35);
  color: #ccfbf1;
}

.demo-next {
  margin: 1.5rem 0 0;
  font-weight: 600;
}
.demo-next a { text-decoration: none; }
.demo-next a:hover { text-decoration: underline; }

/* Mock browser / form */
.mock-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 1.25rem;
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #cbd5e1;
}
.mock-dot:nth-child(1) { background: #fca5a5; }
.mock-dot:nth-child(2) { background: #fcd34d; }
.mock-dot:nth-child(3) { background: #86efac; }

.mock-url {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-body { padding: 1.15rem 1.25rem 1.4rem; }

.sample-banner {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.mock-title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.mock-sub {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mock-form { display: flex; flex-direction: column; gap: 0.75rem; }

.mock-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.mock-input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  background: #f8fafc;
  color: var(--slate);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.mock-field.filled .mock-input {
  border-color: #99f6e4;
  background: #f0fdfa;
}
.mock-textarea { min-height: 2.5rem; align-items: flex-start; }

.sample-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}
.sample-inline {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9a3412;
  text-transform: uppercase;
}

.mock-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--slate);
  background: #f1f5f9;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.mock-check {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  text-align: center;
  opacity: 0.92;
  cursor: default;
  user-select: none;
}

.sample-footer {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9a3412;
  background: #fff7ed;
  border-top: 1px dashed #fed7aa;
  text-align: center;
}

/* Qualify / notify */
.qualify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.notify-mock {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.notify-meta {
  font-size: 0.72rem;
  color: var(--muted);
  background: #f1f5f9;
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid var(--border);
}
.notify-body {
  padding: 0.85rem 0.9rem;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  background: #fff;
}

/* CRM table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 640px;
}
.demo-table th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  background: #f1f5f9;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.demo-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  vertical-align: top;
}
.demo-table tbody tr:last-child td { border-bottom: none; }
.muted-cell { color: var(--muted); font-size: 0.8rem; }

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status-pill.ok {
  background: var(--teal-soft);
  color: #115e59;
}
.status-pill.muted {
  background: #f1f5f9;
  color: var(--muted);
}
.status-pill.bad {
  background: #fef2f2;
  color: #991b1b;
}

/* Weekly report */
.report-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  margin-top: 1.25rem;
  position: relative;
}
.report-card::after {
  content: "SAMPLE";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(154, 52, 18, 0.35);
  transform: rotate(-12deg);
  pointer-events: none;
}
.report-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.report-meta { font-size: 0.85rem; color: var(--muted); }

.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.stat {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}
.report-notes { margin-top: 0.25rem; }

/* Demo end CTA */
.demo-cta-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #0f3d4a 100%);
  color: var(--white);
  padding: 3rem 0;
}
.demo-cta-section h2 {
  color: var(--white);
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}
.demo-cta-section .cta-lede {
  color: #cbd5e1;
  max-width: 38rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}
.demo-cta-section .notice a { color: #0f766e; font-weight: 600; }

@media (max-width: 560px) {
  .report-stats { grid-template-columns: repeat(2, 1fr); }
  .report-card::after { display: none; }
}
