/* Nigel Buys Houses / C Nigel Investments, LLC
   Design system carried over from the tenant's existing site:
   DM Serif Display headings, Manrope body, navy #092641, orange #ff7043. */

:root {
  --navy: #092641;
  --navy-mid: #213d55;
  --navy-lift: #1e3a5f;
  --orange: #ff7043;
  --orange-dark: #e65100;
  --ink: #334155;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --line: #ced1d5;
  --muted: #868c92;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --amber: #f59e0b;
  --red-400: #f87171;
  --maxw: 1180px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- alert bar ---------- */
.alert {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.alert .pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 8px;
  letter-spacing: 0.06em;
}
.alert a { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(206, 209, 213, 0.5);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 48px; height: 48px; flex-shrink: 0;
  object-fit: contain;
}
.brand-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 20px; color: var(--navy); line-height: 1.1;
}
.brand-sub { font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.btn-call {
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.btn-call:hover { background: var(--navy-lift); }
@media (max-width: 900px) { .site-nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  overflow: hidden;
  padding: 56px 0 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.28;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9, 38, 65, 0.94) 0%, rgba(15, 23, 42, 0.86) 55%, rgba(15, 23, 42, 0.62) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); }
.hero h1 .accent { color: var(--orange); }
.hero-lede { color: #cbd5e1; font-size: 17px; margin-top: 18px; max-width: 44ch; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #e2e8f0; font-weight: 600; }
.tick {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.16); color: var(--emerald-light);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 2px;
}

/* ---------- form card ---------- */
.form-card {
  background: #fff; border-radius: 20px; padding: 26px;
  box-shadow: 0 22px 50px rgba(2, 8, 23, 0.4);
  color: var(--navy);
}
.form-card h2 { font-size: 24px; }
.form-kicker { font-size: 12.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 5px; }
.field { margin-top: 14px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--navy); margin-bottom: 6px;
}
.field .req { color: #ef4444; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--slate-200);
  border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--navy);
  background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 12px; }
.field-hint { font-size: 10.5px; color: var(--slate-400); margin-top: 5px; }
.btn-submit {
  width: 100%; margin-top: 20px; background: var(--orange); color: #fff;
  border: 0; border-radius: 11px; padding: 15px 20px; font-size: 17px; font-weight: 800;
  font-family: "DM Serif Display", Georgia, serif; cursor: pointer; min-height: 50px;
}
.btn-submit:hover { background: var(--orange-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* consent block — dual checkboxes (A2P 30913) */
.consent {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--slate-100);
  display: flex; flex-direction: column; gap: 12px;
}
.consent-box {
  margin: 0; padding: 12px 12px 10px; border: 1px solid var(--slate-100);
  border-radius: 10px; background: #fafbfc;
}
.consent-box-marketing { background: #fffaf5; border-color: #f3e0cc; }
.consent-box legend {
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--slate-500); padding: 0 4px;
}
.consent-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input[type="checkbox"] {
  width: 17px; height: 17px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--orange);
}
.consent-label { font-size: 11.5px; line-height: 1.55; color: var(--navy); font-weight: 500; }
.consent-lead { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.consent-fine { font-size: 11px; line-height: 1.6; color: var(--slate-500); font-weight: 500; margin: 0; }
.consent-fine a { color: var(--navy); text-decoration: underline; }
.form-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--slate-100);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 10.5px; color: var(--slate-400);
}
.form-error {
  display: none; margin-top: 12px; padding: 11px 13px; border-radius: 9px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  font-size: 13px; font-weight: 700;
}

/* ---------- sections ---------- */
section { padding: 76px 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.sec-head p { color: var(--slate-600); margin-top: 14px; font-size: 17px; }
.bg-slate { background: var(--slate-50); border-top: 1px solid rgba(206,209,213,0.35); border-bottom: 1px solid rgba(206,209,213,0.35); }
.bg-navy { background: var(--slate-900); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .sec-head p { color: var(--slate-400); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--slate-50); border: 1px solid var(--slate-100);
  border-radius: 18px; padding: 32px 28px; position: relative;
}
.step:hover { box-shadow: 0 12px 28px rgba(2,8,23,0.08); }
.step-num {
  position: absolute; top: -18px; right: 30px; background: var(--orange); color: #fff;
  font-family: "DM Serif Display", Georgia, serif; font-size: 19px;
  padding: 5px 16px; border-radius: 999px;
}
.step-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 13px; background: #fff;
  box-shadow: 0 3px 10px rgba(2,8,23,0.08); color: var(--orange); margin-bottom: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--slate-600); font-size: 16px; }
.sec-cta { text-align: center; margin-top: 46px; }
.btn-dark {
  display: inline-flex; align-items: center; gap: 9px; background: var(--navy); color: #fff;
  text-decoration: none; padding: 15px 36px; border-radius: 999px;
  font-family: "DM Serif Display", Georgia, serif; font-size: 18px;
}
.btn-dark:hover { background: var(--navy-lift); }

/* option cards */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 58px; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }
.opt {
  background: #fff; border-radius: 18px; padding: 30px;
  box-shadow: 0 2px 10px rgba(2,8,23,0.05); border-top: 8px solid var(--orange);
}
.opt.b { border-top-color: var(--navy-mid); }
.opt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.tag {
  background: rgba(255,112,67,0.11); color: var(--orange); padding: 5px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
}
.tag.grey { background: var(--slate-100); color: var(--slate-700); }
.opt-meta { font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.03em; }
.opt h3 { font-size: 23px; margin-bottom: 10px; }
.opt > p { color: var(--slate-500); font-size: 14.5px; margin-bottom: 20px; }
.opt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.opt li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--slate-700); font-weight: 500; }
.opt li .tick { background: rgba(16,185,129,0.13); color: var(--emerald); }

/* ---------- calculator ---------- */
.calc {
  background: #fff; border-radius: 22px; padding: 38px;
  box-shadow: 0 22px 55px rgba(2,8,23,0.12); border: 2px solid rgba(206,209,213,0.45);
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 700px) { .calc { padding: 24px; } }
.calc-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 26px; border-bottom: 1px solid var(--slate-200); padding-bottom: 28px; margin-bottom: 34px;
}
.calc-kicker {
  font-size: 12.5px; font-weight: 900; color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.12em; display: flex; align-items: center; gap: 8px;
}
.calc-head h3 { font-size: 27px; margin: 7px 0 5px; }
.calc-head .sub { color: var(--slate-500); font-size: 16px; font-weight: 600; }
.slider-box { width: 100%; max-width: 380px; }
.slider-top { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.slider-top .val { color: var(--orange); }
.slider-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--slate-500); font-weight: 700; margin-top: 5px; }
input[type="range"] {
  width: 100%; height: 11px; background: var(--slate-200); border-radius: 8px;
  appearance: none; -webkit-appearance: none; cursor: pointer; accent-color: var(--orange);
}
.calc-body { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .calc-body { grid-template-columns: 1fr; } }
.calc-inputs h4 {
  font-family: Manrope, sans-serif; font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px;
}
.calc-inputs label { display: block; font-size: 13.5px; font-weight: 800; color: var(--slate-700); margin-bottom: 6px; }
.calc-inputs input[type="number"] {
  width: 100%; padding: 12px 14px; border: 2px solid var(--slate-300); border-radius: 11px;
  font-size: 15px; font-weight: 800; font-family: inherit; color: var(--navy);
}
.calc-inputs input[type="number"]:focus { outline: none; border-color: var(--orange); }
.calc-inputs .field { margin-top: 0; margin-bottom: 18px; }
.calc-tip {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 10px;
  padding: 15px; font-size: 14px; color: var(--slate-600); font-weight: 500; line-height: 1.6;
}
.calc-out {
  background: var(--slate-900); color: #fff; border-radius: 18px; padding: 30px; position: relative; overflow: hidden;
}
.calc-out::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(255,112,67,0.16), transparent 62%);
}
.calc-out > * { position: relative; z-index: 1; }
.calc-out h4 {
  font-family: Manrope, sans-serif; color: var(--orange); font-size: 12.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 22px;
}
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .results { grid-template-columns: 1fr; } }
.res {
  background: rgba(30,41,59,0.8); border: 2px solid var(--slate-700);
  border-radius: 13px; padding: 20px 14px; text-align: center;
}
.res.feature {
  background: rgba(33,61,85,0.85); border-color: rgba(255,112,67,0.42);
  box-shadow: 0 0 0 4px rgba(255,112,67,0.16);
}
.res .cap { display: block; font-size: 11px; color: var(--slate-400); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.res.feature .cap { color: var(--slate-200); }
.res .amt { display: block; font-size: 27px; font-weight: 900; margin-top: 9px; letter-spacing: -0.02em; }
.res .amt.orange { color: var(--orange); }
.res .amt.green { color: var(--emerald-light); }
.res .amt.grey { color: var(--slate-300); }
.res .note { display: block; font-size: 13px; font-weight: 800; margin-top: 11px; }
.res .note.green { color: var(--emerald-light); }
.res .note.red { color: var(--red-400); }
.res .sub { display: block; font-size: 11.5px; color: var(--slate-300); margin-top: 4px; font-weight: 500; }
.calc-foot {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--slate-700);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--slate-400); font-weight: 500;
}
.calc-foot a { color: var(--orange); font-weight: 900; text-decoration: none; }
.calc-foot a:hover { text-decoration: underline; }
.calc-disclaimer { max-width: 1000px; margin: 20px auto 0; font-size: 12.5px; color: var(--slate-500); text-align: center; }

/* coverage */
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
@media (max-width: 900px) { .cover-grid { grid-template-columns: 1fr; } }
.cover-img { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 38px rgba(2,8,23,0.14); }
.cover-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .market-grid { grid-template-columns: 1fr; } }
.market-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 18px;
  padding: 26px 22px; box-shadow: 0 2px 10px rgba(2,8,23,0.05);
}
.market-state {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; margin-bottom: 12px;
}
.market-card > p { color: var(--slate-600); font-size: 15px; margin: 0 0 4px; }
.area-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area-list li {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 9px;
  padding: 10px 14px; font-size: 14.5px; font-weight: 700; color: var(--navy);
}
.market-card .area-list li { background: var(--slate-50); }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item strong { display: block; color: #fff; font-size: 15.5px; margin-bottom: 4px; }
.trust-item span { color: var(--slate-400); font-size: 14px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details.qa {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 13px; padding: 20px 24px;
}
details.qa[open] { box-shadow: 0 6px 18px rgba(2,8,23,0.07); }
details.qa summary {
  cursor: pointer; font-weight: 800; font-size: 16.5px; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; flex-shrink: 0; }
details.qa[open] summary::after { content: "\2013"; }
details.qa p { margin-top: 13px; color: var(--slate-600); font-size: 15.5px; }

/* final cta */
.final { background: var(--navy); color: #fff; text-align: center; }
.final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.final p { color: #cbd5e1; margin: 16px auto 30px; max-width: 60ch; font-size: 17px; }
.btn-orange {
  display: inline-flex; align-items: center; gap: 9px; background: var(--orange); color: #fff;
  text-decoration: none; padding: 15px 36px; border-radius: 999px;
  font-family: "DM Serif Display", Georgia, serif; font-size: 18px;
}
.btn-orange:hover { background: var(--orange-dark); }

/* footer */
.site-footer {
  background: #fff; border-top: 1px solid rgba(206,209,213,0.5);
  padding: 54px 0 40px; color: var(--slate-600); font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 {
  font-family: Manrope, sans-serif; font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 13px;
}
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-links a { color: var(--slate-600); text-decoration: none; }
.foot-links a:hover { color: var(--orange); }
.legal-line {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--slate-200);
  font-size: 11.5px; color: var(--slate-400); line-height: 1.7;
}

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 52px 20px 76px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal h2 { font-size: 20px; margin: 34px 0 9px; }
.legal p, .legal li { color: var(--ink); }
.legal .eff { color: var(--slate-500); font-size: 13.5px; margin-bottom: 10px; }
.legal .callout {
  border-left: 4px solid var(--orange); background: #fff7f4;
  padding: 18px 20px; margin: 24px 0; border-radius: 0 10px 10px 0;
}
.legal .callout h2 { margin-top: 0; }
.legal ul { padding-left: 20px; }

/* thank you */
.ty { max-width: 660px; margin: 0 auto; padding: 76px 20px 90px; text-align: center; }
.ty-badge {
  width: 66px; height: 66px; border-radius: 999px; background: rgba(16,185,129,0.12);
  color: var(--emerald); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 30px;
}
.ty h1 { font-size: 34px; }
.ty p { color: var(--slate-600); margin-top: 16px; font-size: 17px; }
.ty .box {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 14px;
  padding: 24px; margin-top: 30px; text-align: left;
}
