/* ============================================================
   Cashout Estates — light theme (clone of sellfast.com/offer)
   Recolored to NAVY + GOLD to match the logo.
   ============================================================ */
:root {
  --navy:        #142a55;
  --navy-deep:   #0d1d3c;
  --navy-soft:   #21407a;
  --gold:        #c2a043;
  --gold-bright: #d9bd64;
  --gold-soft:   #f1e8cd;
  --tint:        #eef2f9;   /* light navy wash (replaces original light-blue) */
  --page:        #ffffff;
  --card:        #ffffff;
  --ink:         #16203a;
  --muted:       #6b7385;
  --border:      #e4e7ee;
  --ring:        rgba(20, 42, 85, .14);
  --shadow:      0 10px 26px rgba(13, 29, 60, .10);
  --radius:      14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.brand-pane, .form-pane { min-width: 0; }

/* ---------- Left brand panel (now light) ---------- */
.brand-pane {
  background: var(--page);
  color: var(--ink);
  padding: 56px 56px;
}

/* Small logo above the headline (desktop top-left, mobile centered) */
.brand-row { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 4px; }
.brand-logo { height: 54px; width: auto; display: block; }

/* Heading shown at the top on mobile (desktop uses the left-panel headline) */
.mobile-brand { display: none; text-align: center; margin-bottom: 24px; }
.mobile-brand .brand-logo { display: none; }
.m-headline { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1.12; letter-spacing: -.3px; margin: 0; }
.m-headline .accent { color: var(--gold); }

.headline {
  margin: 48px 0 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--navy);
  overflow-wrap: break-word;
}
.headline .accent { color: var(--gold); }
.subhead { margin: 14px 0 0; font-size: 1.1rem; color: var(--muted); font-weight: 500; }

.benefits { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 22px; }
.benefit { display: flex; gap: 15px; align-items: flex-start; }
.benefit .ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--navy);
}
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h3 { margin: 1px 0 3px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.benefit p { margin: 0; font-size: .9rem; color: var(--muted); }

.trust {
  margin: 34px 0 0; padding: 18px 22px; border-radius: 14px;
  background: var(--tint); color: var(--navy);
  font-weight: 600; line-height: 1.5; font-size: 1.02rem;
}
.trust b { color: var(--navy); font-weight: 800; }
.copyright { margin: 42px 0 0; font-size: .75rem; color: #9aa1b1; }

/* ---------- Right form panel ---------- */
.form-pane {
  display: flex; flex-direction: column;
  padding: 56px 56px;
  background: var(--page);
  border-left: 1px solid var(--border);
}
.form-inner { flex: 1 1 auto; max-width: 540px; width: 100%; margin: 0 auto; }

.step-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.3px; margin: 0 0 6px; color: var(--ink); }
.step-sub { color: var(--muted); margin: 0 0 24px; font-size: .96rem; }

/* choice buttons */
.choices { display: grid; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 15px; width: 100%;
  text-align: left; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 15px 18px;
  font: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .05s;
}
.choice:hover { border-color: var(--navy-soft); box-shadow: var(--shadow); }
.choice:active { transform: translateY(1px); }
.choice.selected { border-color: var(--navy); box-shadow: 0 0 0 3px var(--ring); }
.choice .ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--navy);
}
.choice .ico svg { width: 21px; height: 21px; }
.choice .txt { flex: 1 1 auto; min-width: 0; }
.choice .lab { display: block; font-weight: 650; }
.choice .sub { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.choice .check { color: var(--navy); opacity: 0; }
.choice.selected .check { opacity: 1; }

/* fields */
.fields { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.input {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 11px; padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9aa1b1; }
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--ring); }
select.input { appearance: none; background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7385' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.consent { font-size: .76rem; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }

/* primary button (gold CTA from the logo) */
.btn {
  width: 100%; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--navy); background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: none; border-radius: var(--radius); padding: 15px 20px;
  box-shadow: 0 8px 18px rgba(194,160,67,.28);
  transition: filter .15s, transform .05s, opacity .15s;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* footer nav + progress */
.nav-row { display: flex; justify-content: space-between; align-items: center; margin: 26px auto 14px; max-width: 540px; width: 100%; }
.linkbtn { background: none; border: none; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.linkbtn:hover { color: var(--ink); }
.linkbtn svg { width: 16px; height: 16px; }
.progress { height: 7px; border-radius: 999px; background: #eceef3; overflow: hidden; max-width: 540px; width: 100%; margin: 0 auto; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy), var(--navy-soft)); transition: width .45s ease; }

/* thank you */
.thanks { display: grid; place-items: center; text-align: center; min-height: 60vh; max-width: 520px; margin: 0 auto; }
.thanks .seal { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); margin-bottom: 6px; }
.thanks .seal svg { width: 42px; height: 42px; }
.thanks h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; color: var(--navy); margin: 12px 0 0; }
.thanks p { color: var(--ink); margin: 14px 0 0; line-height: 1.55; }
.thanks p.fine { color: var(--muted); font-size: .9rem; }
.thanks .pill { display:inline-block; margin-top:18px; padding:8px 16px; border-radius:999px; background:var(--navy); color:#fff; font-weight:600; font-size:.85rem; }

/* email preview card (owner notification mockup) */
.preview {
  margin: 28px auto 0; max-width: 540px; width: 100%;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); overflow: hidden;
}
.preview .head { background: var(--navy); color: #fff; padding: 14px 18px; font-weight: 700; font-size: .95rem; }
.preview .head small { display:block; font-weight:500; color:#c9d2e6; font-size:.78rem; margin-top:2px; }
.preview table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.preview td { padding: 10px 18px; border-bottom: 1px solid var(--border); }
.preview td.k { color: var(--muted); width: 42%; font-weight: 600; }
.preview td.v { color: var(--ink); font-weight: 600; }
.preview tr:last-child td { border-bottom: none; }

.note { font-size: .8rem; color: var(--muted); text-align:center; margin: 12px auto 0; max-width:540px; line-height:1.5; }
.note b { color: var(--navy); }

.hidden { display: none !important; }
.spin { display:inline-block; width:18px; height:18px; border:2.5px solid rgba(20,42,85,.3); border-top-color:var(--navy); border-radius:50%; animation: sp .7s linear infinite; vertical-align:-3px; margin-right:8px;}
@keyframes sp { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */
@media (max-width: 960px) {
  /* Match the original: hide the marketing panel, show just the centered quiz. */
  .shell { grid-template-columns: minmax(0, 1fr); }
  .brand-pane { display: none; }
  .mobile-brand { display: block; }
  .form-pane { padding: 28px 22px 40px; border-left: none; }
  .form-inner { display: flex; flex-direction: column; justify-content: center; }
  .nav-row { margin-top: 26px; }
}

@media (max-width: 560px) {
  .form-pane { padding: 24px 18px 36px; }
  .m-headline { font-size: 2rem; }
  .mobile-brand { margin-bottom: 22px; }
  .grid-2 { grid-template-columns: 1fr; }
  .step-title { font-size: 1.3rem; }
  .choice .ico { width: 38px; height: 38px; }
  .choice { padding: 14px 15px; gap: 13px; }
}
