:root {
  --ink: #141414;
  --ink-2: #3d3a36;
  --muted: #6b665f;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e5ded3;
  --red: #d3202a;
  --red-dark: #a8141d;
  --red-soft: #fbe5e6;
  --footer-bg: #141414;
  --cb-navy: #012169;
  --radius: 16px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Top bar: brokerage first (Ohio: brokerage name at least as prominent as the agent's name, on every page) */
.topbar { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 10; border-bottom: 4px solid var(--cb-navy); box-shadow: 0 1px 8px rgba(0,0,0,.08); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; padding-top: 6px; padding-bottom: 6px; }
.brokerage { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.cb-logo { height: 56px; width: auto; flex: none; }
.agent-id { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line); min-width: 0; }
.agent-name, .broker-name { font-weight: 700; font-size: 13px; line-height: 1.25; letter-spacing: .01em; white-space: nowrap; }
.broker-name { color: var(--cb-navy); }
.topbar-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; color: #fff; background: var(--cb-navy); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0 12px; white-space: nowrap; }
.call-num { display: none; }
@media (min-width: 640px) {
  .cb-logo { height: 64px; }
  .agent-name, .broker-name { font-size: 16px; }
  .call-num { display: inline; }
  .topbar-call { padding: 0 16px; }
}
@media (max-width: 359px) {
  .cb-logo { height: 48px; }
  .agent-id { padding-left: 8px; }
  .agent-name, .broker-name { font-size: 12px; }
}
.hero-badge { width: 40px; height: 40px; background: #fff; border-radius: 9px; padding: 2px; vertical-align: middle; margin-right: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border: 2px solid transparent; border-radius: 12px; padding: 12px 18px;
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; min-height: 48px;
}
.btn-lg { font-size: 18px; padding: 15px 22px; min-height: 56px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn:focus-visible, .chip:focus-visible, .link-btn:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid #2b6cff; outline-offset: 2px;
}
.link-btn { background: none; border: 0; padding: 12px 0 0; color: var(--muted); font: 500 15px var(--body); text-decoration: underline; cursor: pointer; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 32px 0 40px; border-bottom: 6px solid var(--red); }
.hero-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 16px; padding-bottom: 8px; } }
.eyebrow { margin: 0 0 10px; color: #ff6b6b; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 8.6vw, 56px); line-height: 1.04; margin: 0 0 14px; letter-spacing: .01em; }
.lede { font-size: 19px; line-height: 1.45; margin: 0 0 16px; color: #e9e4dc; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #e9e4dc; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Form card */
.form-card { background: var(--card); color: var(--ink); border-radius: 20px; padding: 22px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); scroll-margin-top: 92px; }
@media (min-width: 480px) { .form-card { padding: 26px 24px; } }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-label { margin: 0 0 4px; color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.form-title { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin: 0 0 16px; outline: none; }
.field { display: block; margin-bottom: 14px; }
.field > span, #timeline-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; font: 17px var(--body); color: var(--ink);
  padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
input::placeholder { color: #aaa39a; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 400px) { .field-row { grid-template-columns: 1fr 1fr; } }
#step-1 .field-row { grid-template-columns: 1fr 112px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip {
  min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line);
  background: #fff; color: var(--ink); font: 600 15px/1.25 var(--body); cursor: pointer; text-align: center;
}
.chip[aria-checked="true"] { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.err { display: block; color: var(--red-dark); font-size: 14px; margin-top: 4px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 4px 0 16px; font-size: 13px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.form-msg { color: var(--red-dark); font-weight: 600; margin: 12px 0 0; }
.form-msg:empty { display: none; }

/* Thank-you */
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 44px; color: var(--ink-2); }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 16px/30px var(--display); text-align: center; }
.next-steps li.done::before { background: var(--red); }
.next-steps strong { color: var(--ink); }
.next-steps .btn { margin-top: 10px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cta-btns .btn { margin-top: 0; }

/* Sections */
.section { padding-top: 44px; }
.section-title { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin: 0 0 18px; }
.get-grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .get-grid { grid-template-columns: repeat(3, 1fr); } }
.get-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.get-when { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: 3px 8px; }
.get-card h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 22px; margin: 10px 0 6px; }
.get-card p { margin: 0; color: var(--ink-2); }

.inside-list { list-style: none; counter-reset: inside; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 800px) { .inside-list { grid-template-columns: 1fr 1fr; } }
.inside-list li { counter-increment: inside; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.inside-list li::before { content: counter(inside, decimal-leading-zero); font-family: var(--display); font-weight: 600; color: var(--red); font-size: 20px; min-width: 28px; }
.inside-list .tag-critical { margin-left: auto; }
.walk-note { color: var(--muted); font-size: 14px; margin-top: 12px; }
.tag-critical { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: 3px 7px; white-space: nowrap; }

.about { display: grid; gap: 18px; }
.about-photo { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.about p { color: var(--ink-2); max-width: 680px; }
@media (min-width: 640px) { .about { grid-template-columns: 160px 1fr; align-items: start; } }

.faq { padding-bottom: 56px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details p { margin: 0 0 14px; color: var(--ink-2); }

/* Footer */
.footer { background: var(--footer-bg); color: #cfc9c0; font-size: 13px; line-height: 1.6; padding: 28px 0 40px; }
.footer a { color: #fff; }
.footer p { margin: 0 0 10px; max-width: 820px; }
.footer .fine { color: #8f8a83; }
.footer-logos { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.footer-logos img { width: 170px; height: auto; background: #fff; border-radius: 10px; padding: 10px 12px; }
.footer-id { font-size: 15px; color: #fff; }
.eho { width: 52px; height: 57px; color: #fff; }
.placeholder { background: #fff3a8; color: #141414; padding: 0 4px; border-radius: 3px; }

/* Phone header: keep name + brokerage the same size; drop ", REALTOR®" only where it can't fit */
@media (max-width: 419px) { .agent-id .realtor { display: none; } }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow .hero-badge { margin-right: 0; flex: none; }

/* Very small phones (320-379px): let name and brokerage wrap instead of hiding behind the call button */
@media (max-width: 379px) {
  .topbar-in { gap: 8px; }
  .brokerage { gap: 8px; flex: 1 1 auto; }
  .cb-logo { height: 46px; }
  .agent-id { padding-left: 8px; }
  .agent-name, .broker-name { white-space: normal; font-size: 12px; line-height: 1.2; }
}

/* Main page: guide highlights (10 sections) */
.inside-list li { align-items: flex-start; font-weight: 400; }
.inside-list li::before { padding-top: 1px; }
.inside-list strong { display: block; font-size: 17px; }
.ins-hl { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.4; margin-top: 2px; }
.walk-note + .btn { margin-top: 4px; }
.nowrap { white-space: nowrap; }
