/* ==========================================================================
   Knock Property 1, LLC — knockproperty.com
   styles.css
   ========================================================================== */

:root {
  --navy: #1E3A5F;
  --navy-darker: #15294A;
  --sage: #6B8E6B;
  --sage-darker: #547054;
  --warm: #8B6F47;
  --light: #F5F2ED;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-muted: #4A4A4A;
  --ink-soft: #6B6B6B;
  --border: #E0DCD3;
  --border-strong: #C9C2B3;
  --error-red: #B33A3A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
a:hover { text-decoration-color: var(--navy); }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Preview banner — REMOVE IN PRODUCTION */
.preview-banner {
  background: #FFF5D6;
  border-bottom: 1px solid #E8D484;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: #6B5618;
  font-style: italic;
}

/* Header */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-link:hover { text-decoration: none; }
.logo-mark { display: block; }
.logo-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}

nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
/* Default nav links — excludes the .btn CTA */
nav a:not(.btn):hover { color: var(--navy); }
nav a.active:not(.btn) { color: var(--navy); }
/* Ensure the CTA button in the nav keeps its white text in every state */
nav a.btn,
nav a.btn:hover,
nav a.btn:active,
nav a.btn:focus { color: var(--paper); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn:hover {
  background: var(--navy-darker);
  text-decoration: none;
  color: var(--paper);
}
.btn:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--paper);
}
.btn-large { padding: 16px 32px; font-size: 16px; }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin-bottom: 20px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.6); }

.section-h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.section-p {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.sub-h3 {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-top: 32px;
  margin-bottom: 18px;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  background: linear-gradient(180deg, var(--light) 0%, #EFEAE0 100%);
  position: relative;
  overflow: hidden;
}
.hero-secondary {
  padding: 80px 0 64px;
}
.hero-content {
  max-width: 740px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 60px;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero p.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-disclaimer {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 18px;
  font-style: italic;
}
.hero-decor {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 480px;
  opacity: 0.07;
  pointer-events: none;
}

/* Page header (used on About, FAQ, Inquire, Privacy, Terms) */
.page-header {
  padding: 96px 0 48px;
  background: var(--light);
}

/* Who it's for */
.who-its-for { background: var(--paper); }
.who-its-for h2 {
  font-size: 40px;
  margin-bottom: 24px;
  max-width: 600px;
}
.who-its-for p.section-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 720px;
  margin-bottom: 48px;
}
.who-its-for h3 {
  font-size: 22px;
  margin-top: 24px;
  margin-bottom: 18px;
  color: var(--navy);
}
.situations-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  max-width: 880px;
}
.situations-list li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-muted);
  line-height: 1.55;
}
.situations-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--sage);
}

/* How teaser */
.how-teaser { background: var(--light); }
.how-teaser h2 {
  font-size: 40px;
  margin-bottom: 28px;
  max-width: 580px;
}
.how-teaser p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 720px;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* Fee section */
.fee-section { background: var(--paper); }
.fee-section h2 {
  font-size: 40px;
  margin-bottom: 28px;
}
.fee-section p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.fee-section h3 {
  font-size: 19px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-top: 32px;
  margin-bottom: 18px;
}
.fee-list {
  list-style: none;
  max-width: 720px;
}
.fee-list li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.fee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1px;
  background: var(--sage);
}

/* Trust band */
.trust-band {
  background: var(--navy);
  color: var(--paper);
}
.trust-band h2 {
  font-size: 40px;
  color: var(--paper);
  margin-bottom: 24px;
  max-width: 700px;
}
.trust-band p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

/* CTA band */
.cta-band {
  background: var(--light);
  text-align: left;
}
.cta-band h2 {
  font-size: 40px;
  margin-bottom: 18px;
  max-width: 720px;
}
.cta-band p {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

/* Steps */
.steps { margin: 48px 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  color: var(--sage);
  line-height: 1;
  font-weight: 400;
}
.step-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.step-content p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* About */
.about-content h1 {
  font-size: 52px;
  margin-bottom: 28px;
  max-width: 720px;
  line-height: 1.1;
}
.about-content p {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 22px;
}
.about-content p.intro {
  font-size: 20px;
  color: var(--ink);
}
.about-content h2 {
  font-size: 30px;
  margin-top: 56px;
  margin-bottom: 20px;
}

.aba-disclosure {
  background: var(--paper);
  border: 1px solid var(--border-strong);
  padding: 40px;
  margin: 40px 0;
  max-width: 880px;
}
.aba-disclosure h3 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--navy);
}
.aba-disclosure p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 16px;
  max-width: none;
}

/* FAQ */
.faq-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
}
.faq-content > p.subtitle {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 56px;
  max-width: 640px;
}
.faq-section { margin-bottom: 56px; }
.faq-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  padding-right: 36px;
  user-select: none;
}
.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  color: var(--sage);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open h3::after { content: "−"; }
.faq-item p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
  display: none;
  margin-top: 12px;
}
.faq-item.open p { display: block; }

/* Inquire form */
.inquire-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
}
.inquire-content > p.subtitle {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.form {
  max-width: 680px;
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 28px; }

.form-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-top: 36px;
}
.form-section-title:first-of-type { margin-top: 0; }

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
label .required { color: var(--warm); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.helper-text {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-style: italic;
}

.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.radio-group label {
  font-weight: 400;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 0;
}

input[type="radio"], input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.checkbox-group label {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.form-submit-wrapper {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.submit-disclaimer {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
  font-style: italic;
  line-height: 1.6;
}
.error {
  color: var(--error-red);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}
.error.show { display: block; }
.error.error-pad { margin-top: -8px; margin-bottom: 14px; }
input.error-state, select.error-state {
  border-color: var(--error-red);
}

/* Confirmation state */
.confirmation {
  display: none;
  background: var(--paper);
  padding: 56px 48px;
  border: 1px solid var(--border);
  max-width: 680px;
}
.confirmation.show { display: block; }
.confirmation h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.confirmation p {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.confirmation h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-top: 36px;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.confirmation ul {
  list-style: none;
  padding-left: 0;
}
.confirmation li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.confirmation li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--sage);
}

/* Placeholder block (privacy / terms pages) */
.placeholder-block {
  background: var(--paper);
  border-left: 3px solid var(--sage);
  padding: 32px 40px;
  margin: 40px 0;
  max-width: 720px;
}
.placeholder-block h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.placeholder-block p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--paper);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}
footer .entity-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 14px;
}
footer p, footer a {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
footer a {
  text-decoration: none;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 8px;
}
footer a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}
footer a.footer-link-inline {
  display: inline;
  margin-bottom: 0;
}
.footer-disclosure {
  background: rgba(255, 255, 255, 0.04);
  padding: 24px 28px;
  margin-bottom: 32px;
  border-left: 2px solid var(--sage);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
.footer-disclosure strong { color: rgba(255, 255, 255, 0.95); }
.footer-disclosure a {
  color: rgba(255, 255, 255, 0.95);
  display: inline;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Page visibility */
.page { display: none; }
.page.active { display: block; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 42px; }
  .hero p.lead { font-size: 18px; }
  section { padding: 64px 0; }
  .who-its-for h2,
  .how-teaser h2,
  .fee-section h2,
  .trust-band h2,
  .cta-band h2,
  .section-h2 { font-size: 30px; }
  .situations-list { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; }
  .step-num { font-size: 36px; }
  .form { padding: 28px; }
  .aba-disclosure { padding: 28px; }
}

/* Legal pages — Privacy, Terms, Cookies */
.legal-content {
  margin-top: 40px;
  max-width: 760px;
}
.legal-content h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.legal-content h2:first-child { margin-top: 24px; }
.legal-content h3 {
  font-size: 19px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.legal-content p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.legal-content ul li {
  padding-left: 24px;
  position: relative;
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 1px;
  background: var(--sage);
}
.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}
.legal-callout {
  background: var(--paper);
  border-left: 3px solid var(--warm);
  padding: 20px 28px;
  margin: 28px 0;
}
.legal-callout p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}
