/* OnePoint Houston brand
   Navy  #102A43  trust, listing broker, Gulf / ship channel
   Paper #F4EFE6  limestone / Houston sun, not Zillow white
   Ink   #1C1917  readable body
   Clay  #E24A1A  the "one point" — heat, action, 1%
   Sand  #DDD4C6  rules and cards
   Avoid: Zillow blue, Redfin red, Compass navy-purple, Astros orange replica
*/

:root {
  --navy: #102a43;
  --navy-2: #0b1f33;
  --paper: #f4efe6;
  --card: #fffcf7;
  --ink: #1c1917;
  --muted: #6b635a;
  --line: #ddd4c6;
  --clay: #e24a1a;
  --clay-2: #c43d14;
  --ok: #1f6b4a;
  --ok-bg: #e7f4ed;
  --warn: #8a5a12;
  --warn-bg: #fff4e0;
  --no: #8b2e2e;
  --no-bg: #fbeeee;
  --white: #fff;
  --radius: 14px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.sans { font-family: var(--sans); }
.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 32px)); margin: 0 auto; }

a { color: var(--navy); }
a.quiet { color: inherit; text-decoration: none; }

.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
}
.logo .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 1px 2px;
  background: var(--clay);
  border-radius: 1px;
  vertical-align: middle;
}
.logo span { font-weight: 500; opacity: .78; margin-left: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-family: var(--sans); font-size: 14px; }
.nav a { color: #e8dfd2; text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; }
.nav .cta {
  background: var(--clay);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 650;
}
.nav .cta:hover { background: var(--clay-2); }

.hero { padding: 56px 0 28px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay-2);
  margin: 0 0 10px;
}
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--muted); max-width: 38rem; margin: 0 0 22px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pills li {
  font-family: var(--sans);
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.section { padding: 28px 0 48px; }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
h3 { font-size: 20px; margin: 0 0 6px; }
.help, .muted { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card .num {
  font-family: var(--sans);
  color: var(--clay);
  font-weight: 750;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.prose { max-width: 720px; }
.glossary { max-width: 760px; }
.glossary dt { font-family: var(--sans); font-weight: 700; margin-top: 18px; color: var(--navy); }
.glossary dd { margin: 4px 0 0; color: var(--ink); }
.glossary .letter { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin: 28px 0 0; }
.prose h2 { font-size: 26px; margin: 2rem 0 .6rem; line-height: 1.2; }
.prose p, .prose li { font-size: 18px; }
.prose ul { padding-left: 1.2rem; }
.prose .btn { margin-top: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); }

/* Qualifier */
.q-main { padding: 28px 0 64px; }
.progress {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.bar > i { display: block; height: 100%; width: 0; background: var(--clay); border-radius: 99px; transition: width .25s ease; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.choice {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  margin: 0 0 10px;
  position: relative;
  cursor: pointer;
  background: var(--card);
}
.choice:hover { border-color: #b7ab9a; }
.choice input { position: absolute; left: 14px; top: 16px; }
.choice strong { display: block; font-size: 16px; }
.choice em { display: block; font-style: normal; color: var(--muted); font-size: 14px; font-family: var(--sans); margin-top: 2px; }
.choice.selected { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16,42,67,.12); }
.field-label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  font: 16px var(--sans);
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.error {
  display: none;
  background: var(--no-bg);
  color: var(--no);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.banner { border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-family: var(--sans); font-size: 15px; }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.banner.no { background: var(--no-bg); color: var(--no); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.checklist { margin: 0 0 16px; padding-left: 18px; }
.hidden { display: none !important; }
.fee {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}
.check { list-style: none; padding: 0; margin: 0 0 18px; }
.check li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
.check li:before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border: 1.5px solid var(--navy); border-radius: 3px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 8px;
}
.faq summary {
  font-family: var(--sans);
  font-weight: 650;
  cursor: pointer;
}
.faq details p { margin: 10px 0 4px; color: var(--ink); }
.faq h2 { margin: 28px 0 12px; }

.op-chat { position: fixed; right: 16px; bottom: 16px; z-index: 80; font-family: var(--sans); }
.op-chat-btn {
  background: var(--clay); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 24px rgba(16,42,67,.25);
}
.op-chat-panel {
  position: absolute; right: 0; bottom: 52px; width: min(340px, calc(100vw - 32px));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16,42,67,.2); overflow: hidden;
}
.op-chat-head {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--navy); color: #fff; padding: 10px 12px; font-size: 14px;
}
.op-chat-close { background: transparent; color: #e8dfd2; border: 0; cursor: pointer; font-size: 13px; }
.op-chat-log { max-height: 240px; overflow: auto; padding: 10px; background: var(--paper); }
.op-bubble { font-size: 13px; line-height: 1.45; padding: 8px 10px; border-radius: 10px; margin: 0 0 8px; max-width: 95%; }
.op-bot { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.op-you { background: var(--navy); color: #fff; margin-left: auto; }
.op-chat-links { font-size: 11px; color: var(--muted); padding: 0 10px; margin: 0 0 8px; }
.op-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 8px; }
.op-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 8px; font-size: 12px; cursor: pointer;
}
.op-chat-form { display: flex; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid var(--line); }
.op-chat-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font: inherit; font-size: 13px;
}
.op-chat-form button { background: var(--clay); color: #fff; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; }

@media (max-width: 800px) {
  .grid-2, .grid-3, .grid-4, .row { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 32px; }
}
