.section-label {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #91684a;
  margin-bottom: 2.5rem;
}

.body-col p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.body-col p:last-child {
  margin-bottom: 0;
}

.body-col strong {
  color: var(--ink);
  font-weight: 500;
}

.voice-note {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 1rem;
}

.voice-note em {
  font-style: italic;
  color: var(--ink);
  opacity: 0.85;
}

.deliverable-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliverable-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.75;
  font-size: 1rem;
  color: var(--muted);
}

.deliverable-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: var(--mono);
  font-weight: 700;
  color: #91684a;
}

.deliverable-list li:last-child {
  margin-bottom: 0;
}

.deliverable-list strong {
  color: var(--ink);
  font-weight: 500;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.steps li {
  position: relative;
  padding: 1.2rem 1.4rem 1.2rem 3.6rem;
  border: 0.5px solid var(--line);
  border-radius: 8px;
  background-color: rgba(237, 237, 237, 0.92);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #91684a;
  letter-spacing: 0.05em;
}

.steps li strong {
  font-weight: 500;
}

.two-col-wide {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  padding: 4rem 0;
}

@media (max-width: 600px) {
  .two-col-wide {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
}

.label-col h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.label-col-subtitle {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.58);
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.faq-q {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.faq-a {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-a a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer {
  border-top: 0.5px solid var(--line);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.footer-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-copy,
.footer-company {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
}

.footer-legal a {
  font-family: var(--mono);
  font-size: 11px;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--link-text-hover, #000);
}

.site > .section,
.site > .two-col-wide {
  background: transparent;
  border: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin: 1rem 0;
}

/* Contact modal */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.contact-modal-overlay.is-open { display: flex; }
.contact-modal {
  background: var(--card-bg, #fafaf8);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
}
.contact-modal h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.contact-modal p.modal-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.modal-field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.modal-field input,
.modal-field textarea {
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--ink);
  background: transparent;
  border: 0.5px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  width: 100%;
  outline: none;
  resize: none;
  transition: border-color 0.15s;
}
.modal-field input:focus,
.modal-field textarea:focus { border-color: #91684a; }
.modal-submit {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #c59965;
  border: 0.5px solid var(--border-strong);
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: opacity 0.15s;
}
.modal-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.modal-feedback { font-family: var(--mono); font-size: 12px; margin-top: 0.75rem; text-align: center; min-height: 1.2em; }

.hpt-email-result-overlay .hpt-email-result-modal {
  text-align: center;
  padding: 2.25rem 2rem 2rem;
  max-width: 400px;
}
.hpt-email-result-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hpt-email-result-modal.is-ok .hpt-email-result-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}
.hpt-email-result-modal.is-err .hpt-email-result-icon {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}
.hpt-email-result-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}
.hpt-email-result-modal.is-ok .hpt-email-result-icon-err,
.hpt-email-result-modal.is-err .hpt-email-result-icon-ok {
  display: none;
}
.hpt-email-result-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}
.hpt-email-result-message {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.hpt-email-result-dismiss {
  width: 100%;
  margin: 0;
}
.hpt-email-result-overlay .modal-close:focus-visible,
.hpt-email-result-overlay .hpt-email-result-dismiss:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  body:not(.tools-page)::before {
    background: url('/img/Mobile.webp') no-repeat center calc(50% - 10px);
    background-size: cover;
  }
  body.scrolled-mobile:not(.tools-page)::before {
    opacity: 0;
  }
  .site { padding: 0 1.5rem; }
  .hero h1, .hero-sub { text-shadow: none; }
  .two-col-wide { padding: 3.25rem 0; }
  .section { padding: 3.25rem 0; }
}

@media (max-width: 768px) {
  nav[aria-label="Primary"] { flex-wrap: wrap; gap: 0.85rem; align-items: flex-start; }
  .nav-links { gap: 1.1rem; flex-wrap: wrap; }
  .contact-modal-overlay {
    padding: 0.75rem;
  }
  .contact-modal {
    padding: 1.35rem 1.2rem 1.45rem;
  }
  .modal-close {
    top: 0.6rem;
    right: 0.65rem;
  }
}

@media (max-width: 480px) {
  .site { padding: 0 1rem; }
  nav[aria-label="Primary"] { padding: 1rem 0; }
  .hero { padding: 2rem 0 2rem; }
  .hero.hero-with-viz { gap: 1rem; }
  body.tools-page .hero.hero-with-viz {
    gap: 0.95rem;
    padding: 0.85rem 0 1rem;
  }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-sub { font-size: 1.1rem; margin-top: 1.1rem; }
  .hero-ctas { margin-top: 1.5rem; }
  .btn-primary { width: 100%; text-align: center; }
  .section { padding: 2.25rem 0; }
  .section-label { margin-bottom: 1.35rem; }
  .footer-primary { flex-direction: column; align-items: flex-start; }
  .site > .section,
  .site > .two-col-wide {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .contact-modal-overlay {
    padding: 0.5rem;
  }
  .contact-modal {
    padding: 1.15rem 0.95rem 1.3rem;
  }
}

/* Homepage teardown — shared window chrome (hero + scanner) */
.hpt-window {
  border: 0.5px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  backdrop-filter: blur(2px);
}
.hpt-window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-bottom: 0.5px solid var(--line);
  background: rgba(0, 0, 0, 0.04);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
}
.hpt-window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.hpt-window-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-viz-frame#scanner-tool {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}
.hpt-tool--in-hero {
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
}
.hpt-tool {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 1rem;
}
.hpt-tool .hpt-scanner-window {
  margin: 0 auto;
}
.hpt-tool .hpt-window-body {
  padding: clamp(1.1rem, 2vw, 1.75rem);
}
.hpt-tool .hpt-sub {
  color: rgba(0, 0, 0, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
  max-width: 62ch;
}
.hpt-tool .stack { display: grid; gap: 0.8rem; }
.hpt-tool label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.hpt-tool input {
  width: 100%;
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
  font-family: var(--sans);
  background: #fff;
  color: var(--ink);
}
.hpt-tool .hpt-btn {
  border: 0.5px solid var(--border-strong);
  background: #c59965;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
}
.hpt-tool .hpt-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hpt-tool .turnstile-wrap {
  width: 100%;
  min-height: 65px;
  margin-top: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hpt-tool .turnstile-wrap.hidden { display: none; }
.hpt-tool .turnstile-wrap > div { width: 100%; max-width: 100%; }
body.hpt-scan-running #scanBtn { display: none; }
body.hpt-scan-running #urlInput {
  opacity: 0.65;
  pointer-events: none;
}
body.hpt-scan-running .scan-status-hint:not(.err):not(.ok) {
  visibility: hidden;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.hpt-tool .scan-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0 0.25rem;
  min-height: 5.5rem;
}
.hpt-tool .scan-loading:not(.hidden) { display: flex; }
.hpt-tool .scan-loading-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 2.5px solid rgba(0, 0, 0, 0.1);
  border-top-color: #c59965;
  border-radius: 50%;
  animation: hpt-scan-spin 0.8s linear infinite;
}
.hpt-tool .scan-loading-message {
  width: 100%;
  max-width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.72);
  text-align: center;
  line-height: 1.45;
  min-height: 1.45em;
  margin: 0;
}
@keyframes hpt-scan-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hpt-tool .scan-loading-spinner {
    animation: none;
    border-top-color: #c59965;
    opacity: 0.85;
  }
}
.hpt-tool .hint {
  min-height: 1.4em;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.62);
}
.hpt-tool .err { color: #b42318; }
.hpt-tool .ok { color: #256f3a; }
.hpt-tool .hidden { display: none !important; }
body.hpt-scan-results .hpt-hide-after-scan { display: none !important; }
body.hpt-scan-results .hero.hero-with-viz { padding-top: 1.25rem; }
body.hpt-scan-results .hero-viz-frame#scanner-tool {
  max-width: 760px;
  margin-top: 0.75rem;
}
.hpt-tool .scan-status-hint {
  min-height: 1.4em;
  margin: 0.15rem 0 0.5rem;
}
body.hpt-scan-results .scan-status-hint {
  margin-bottom: 0.75rem;
}
