/* MLSMate — single-page lead funnel
   Tokens kept from brand (blue/green/orange) but reworked for restraint. */

:root {
  --ink:    #0a1626;
  --ink-2:  #25344b;
  --soft:   #6a7793;
  --line:   #e3e7ef;
  --paper:  #ffffff;
  --shade:  #f5f7fb;
  --blue:   #0066c2;
  --blue-d: #004a91;
  --green:  #1f9a3d;
  --amber:  #ff6b35;
  --max:    1140px;
  --gutter: 28px;
  --r:      10px;
  --r-lg:   14px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }

/* ============ TOP BAR (logo-only, no nav) ============ */
.bar {
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
}
.brand .x { color: var(--amber); }
.bar a.cta-mini {
  display: inline-block;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1px;
}
.bar a.cta-mini:hover { background: var(--blue); text-decoration: none; }

/* ============ HERO ============ */
.hero {
  padding: 70px var(--gutter) 60px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(31,154,61,.10), transparent 70%),
    radial-gradient(700px 350px at 10% 110%, rgba(0,102,194,.08), transparent 70%),
    var(--paper);
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.04;
  max-width: 12ch;
  color: var(--ink);
}
.hero h1 .b { color: var(--blue); }
.hero .lede {
  margin-top: 18px;
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.5;
}
.hero .row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 14px 24px;
  background: var(--blue);
  color: var(--paper);
  border: 0;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1px;
  transition: background .12s, transform .12s;
}
.btn:hover { background: var(--blue-d); text-decoration: none; transform: translateY(-1px); }
.btn.amber { background: var(--amber); }
.btn.amber:hover { background: #e85a26; }
.btn.large {
  padding: 18px 28px;
  font-size: 17px;
  width: 100%;
  max-width: 360px;
}
.hero .quiet {
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
}
.hero .badges {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.hero .badges li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}

/* ============ COMMON SECTION ============ */
.section { padding: 64px var(--gutter); }
.section .inner { max-width: var(--max); margin: 0 auto; }
.section.shade { background: var(--shade); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.15;
  color: var(--ink);
  max-width: 22ch;
}
.section h2.center { margin: 0 auto; text-align: center; }
.section .sub {
  margin-top: 12px;
  color: var(--ink-2);
  max-width: 56ch;
  font-size: 17px;
}
.section .sub.center { margin: 12px auto 0; text-align: center; }

/* ============ PACKAGES ============ */
.pkgs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pkg {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg.featured {
  border-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue) inset, 0 16px 30px -16px rgba(0,102,194,.35);
}
.pkg.featured::after {
  content: "Most picked";
  position: absolute;
  top: -1px;
  right: 18px;
  background: var(--blue);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px 4px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
}
.pkg h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pkg .price {
  margin-top: 6px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1;
}
.pkg .price .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
  margin-left: 4px;
  letter-spacing: 0;
}
.pkg ul {
  margin-top: 18px;
  list-style: none;
  flex: 1;
}
.pkg li {
  padding: 5px 0 5px 18px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
}
.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--green);
}
.pkg .pick {
  margin-top: 22px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 14px;
  background: var(--shade);
  color: var(--ink);
  border-radius: var(--r);
  text-align: center;
  border: 1px solid var(--line);
  transition: all .12s;
}
.pkg.featured .pick { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.pkg:hover .pick { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pkg.featured:hover .pick { background: var(--blue-d); border-color: var(--blue-d); }

.addons-line {
  margin-top: 24px;
  text-align: center;
  font-size: 14.5px;
  color: var(--soft);
}
.addons-line strong { color: var(--ink-2); font-weight: 600; }

/* ============ HOW IT WORKS (compressed) ============ */
.how {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.how .step {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid var(--blue);
  counter-increment: step;
}
.how .step::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 0;
  background: var(--blue);
  color: var(--paper);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.how .step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.how .step p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.how .step p .num {
  color: var(--amber);
  font-weight: 700;
}

/* ============ GUARANTEE ============ */
.warranty {
  margin-top: 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 38px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.warranty h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.25;
  max-width: 28ch;
}
.warranty h3 .green { color: #6ee87f; }
.warranty p {
  margin-top: 8px;
  color: #c8d2e3;
  font-size: 15px;
  max-width: 50ch;
}
.warranty .seal {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid #6ee87f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  color: #6ee87f;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: .5px;
}
.warranty .seal .big {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--paper);
  margin-bottom: 2px;
}

/* ============ ORDER FORM ============ */
.form-shell {
  margin-top: 30px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 24px 60px -32px rgba(10,22,38,.18);
}
.form-shell h2 { text-align: center; }
.form-shell .sub { text-align: center; margin: 8px auto 28px; max-width: 50ch; }
fieldset { border: 0; margin-bottom: 22px; }
legend {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--soft);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0;
}
.field {
  margin-bottom: 12px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font: inherit;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
}
.field input::placeholder,
.field textarea::placeholder { color: #97a3bd; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,194,.14);
}
.field textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pkg-radio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pkg-radio label {
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 14px 12px;
  text-align: center;
  transition: all .12s;
}
.pkg-radio label:hover { border-color: var(--blue); }
.pkg-radio input { position: absolute; opacity: 0; }
.pkg-radio .n { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--soft); text-transform: uppercase; }
.pkg-radio .p { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 2px; letter-spacing: -.5px; }
.pkg-radio label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(0,102,194,.06);
  box-shadow: 0 0 0 3px rgba(0,102,194,.10) inset;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  font-size: 14px;
  cursor: pointer;
  transition: all .12s;
}
.checks label:has(input:checked) {
  border-color: var(--green);
  background: rgba(31,154,61,.06);
}
.checks input { accent-color: var(--green); }
.checks .p {
  margin-left: auto;
  font-weight: 700;
  color: var(--green);
  font-size: 13px;
}

.live-total {
  margin: 22px 0 14px;
  padding: 14px 18px;
  background: var(--shade);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live-total .lbl {
  font-size: 13px;
  color: var(--soft);
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.live-total .amt {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.5px;
}
.submit {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  background: var(--amber);
  color: var(--paper);
  border: 0;
  border-radius: var(--r);
  letter-spacing: .2px;
  transition: background .12s, transform .12s, box-shadow .12s;
}
.submit:hover {
  background: #e85a26;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px rgba(255,107,53,.5);
}
.fineprint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--soft);
  text-align: center;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
.footer {
  padding: 38px var(--gutter) 28px;
  background: var(--ink);
  color: #9aa6bd;
  font-size: 13px;
  text-align: center;
}
.footer .inner { max-width: var(--max); margin: 0 auto; }
.footer .brand-line {
  color: var(--paper);
  font-weight: 700;
  margin-bottom: 6px;
}
.footer .areas {
  color: #c8d2e3;
  margin-top: 4px;
}
.footer .copy {
  margin-top: 16px;
  font-size: 12px;
  color: #6a7793;
}

/* ============ THANKS PAGE ============ */
.thanks {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.thanks .mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 26px;
  font-weight: 800;
}
.thanks h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.5px;
}
.thanks p { color: var(--ink-2); margin-top: 12px; font-size: 17px; }
.thanks .box {
  margin-top: 28px;
  background: var(--shade);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  text-align: left;
}
.thanks .box ol { padding-left: 22px; }
.thanks .box li { padding: 5px 0; color: var(--ink-2); }
.thanks .box li b { color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 800px) {
  .pkgs, .how, .row2, .pkg-radio, .checks {
    grid-template-columns: 1fr;
  }
  .warranty {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .warranty .seal { margin: 0 auto; }
  .hero { padding: 44px var(--gutter) 40px; }
  .section { padding: 48px var(--gutter); }
  .form-shell { padding: 26px 20px; }
  .bar a.cta-mini { padding: 8px 14px; font-size: 13px; }
}
