/* ============================================
   The Lightkeeper — Offerpad-inspired layout
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #e63946;          /* Offerpad-style red CTA */
  --accent-dark: #c02b38;
  --accent-soft: #fde8ea;
  --ink: #0f172a;             /* deep slate for headlines */
  --text: #334155;            /* body copy */
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-dark: #0f1b2d;
  --radius: 14px;
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.25);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Normalize form controls across Safari/iOS/Firefox */
input, button, select, textarea {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
/* Ensure native checkbox rendering on iOS Safari */
input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
}

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }

a { color: inherit; }

/* ===========================================
   NAVBAR
   =========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Nav drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 98;
}

.nav-overlay.open { display: block; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.nav-drawer.open { transform: translateX(0); }

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.drawer-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.drawer-link:last-child { border-bottom: none; }

.drawer-cta {
  margin-top: 1.5rem;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-bottom: none !important;
}

.drawer-cta:hover { background: var(--accent-dark); }

/* Old nav styles (kept for reference, no longer rendered) */
.nav-links { display: none; }
.nav-link { display: none; }
.nav-phone-link { display: none; }
.nav-cta { display: none; }

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6rem 1.25rem 2rem;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Mobile: shifted so lighthouse appears on right */
  background: url("image/lighthouse.jpeg") 65% 30% / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 255, 255, 0.10) 45%,
      rgba(255, 255, 255, 0.20) 75%,
      rgba(255, 255, 255, 0.30) 100%
    );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.hero-copy {
  max-width: 560px;
  width: 100%;
  color: #0f172a;
  padding-top: 4rem;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: 'IM Fell Double Pica', Georgia, serif;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #0f172a;
  text-shadow: 0 1px 8px rgba(255,255,255,0.95), 0 2px 24px rgba(255,255,255,0.85);
}
.hero-copy h1 .nowrap { white-space: nowrap; }

.lead {
  font-family: 'IM Fell Double Pica', Georgia, serif;
  font-size: 1.3rem;
  color: #1e3a5f;
  max-width: 480px;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 8px rgba(255,255,255,0.95), 0 2px 16px rgba(255,255,255,0.8);
}

.badges-strip {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #fff;
}

/* --- trust-badges-img: MOBILE --- */
.trust-badges-img {
  display: block;
  max-width: 340px;
  width: 100%;
  height: auto;
  position: relative;
  top: 0px;      /* ← move up(-) / down(+) */
  left: 0px;     /* ← move left(-) / right(+) */
}

/* --- trust-badges-img: DESKTOP (900px+) --- */
@media (min-width: 900px) {
  .trust-badges-img {
    position: relative;
    top: -700px;    /* ← move up(-) / down(+) */
    left: 750px;   /* ← move left(-) / right(+) */
  }
}

/* ===========================================
   OFFER FORM CARD
   =========================================== */
.offer-form {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  border: 2px solid #111;
  padding: 5px 5px 5px 14px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  gap: 8px;
}

.offer-pin {
  display: flex;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.offer-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}

.offer-form input::placeholder { color: #94a3b8; }

.offer-form button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}

.offer-form button:hover { background: var(--accent-dark); }
.offer-form button:active { transform: scale(0.95); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-tagline-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: -9rem auto 0;
  position: relative;
  z-index: 0;
}

/* ===========================================
   SHARED SECTION STYLES
   =========================================== */
section {
  padding: 5rem 1.25rem;
}

.section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-eyebrow.light { color: var(--accent-soft); }

section > h2 {
  text-align: center;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.05s ease;
}

.btn-primary.large { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: translateY(1px); }

/* ===========================================
   HOW IT WORKS
   =========================================== */
.how-it-works {
  background: var(--bg);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.steps-img-wrap {
  text-align: center;
  margin: 0 auto;
  max-width: 1600px;
}

.steps-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step p { color: var(--text); font-size: 0.95rem; }

/* ===========================================
   WHY US
   =========================================== */
.why-us {
  background: var(--bg-dark);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("image/lighthouse.jpeg") center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.why-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.why-copy h2 {
  color: #fff;
  text-align: left;
  margin: 0 0 1rem;
}

.why-lead { color: #cbd5e1; font-size: 1.05rem; }

.benefits {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.benefits li {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.benefits strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.benefits span { font-size: 0.9rem; color: #94a3b8; }

/* ===========================================
   BOTTOM CTA BAND
   =========================================== */
.cta-band {
  background: var(--accent);
  text-align: center;
  color: #fff;
  padding: 4rem 1.25rem;
}

.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.75rem; opacity: 0.95; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent) !important;
}

.cta-band .btn-primary:hover { background: var(--ink); color: #fff !important; }

/* ===========================================
   FOOTER
   =========================================== */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 1.25rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.footer-brand .brand-text { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.25rem; }

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin: 0.15rem 0;
}

.footer-contact a:hover { color: var(--accent); }

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-block;
  margin: 0.1rem 0;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal strong { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-block;
  margin: 0.1rem 0;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav strong { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

.footer-fine-print {
  font-size: 0.75rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}
.footer-fine-print a { color: #64748b; text-decoration: underline; }
.footer-fine-print a:hover { color: #94a3b8; }

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* ===========================================
   LEGAL PAGES
   =========================================== */
.legal-body { background: #f8fafc; color: var(--ink); }

.legal-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.legal-container h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.legal-date {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.legal-container h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.35rem;
}

.legal-container h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.4rem;
  color: var(--ink);
}

.legal-container p,
.legal-container li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 0.6rem;
}

.legal-container ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-contact {
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-top: 0.5rem;
}
.legal-contact li { margin-bottom: 0.4rem; }
.legal-contact a { color: var(--accent); text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .navbar { padding: 1rem 2rem; }
  .nav-link { display: inline-block; }
  .nav-phone-link { display: inline-block; color: var(--accent); }

  .hero { padding: 7rem 2rem 4rem; align-items: flex-start; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 7rem;
  }

  .hero-bg { background-position: center center; }
  .hero-copy { padding-top: 0; max-width: 620px; }
  .offer-form { max-width: 100%; }



  .why-inner { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
  .why-copy { position: sticky; top: 100px; }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: left;
    align-items: start;
  }
  .footer-contact { text-align: left; }
}

@media (min-width: 1200px) {
  .hero-copy h1 { font-size: 5rem; }
}


/* ===========================================
   WIZARD PAGE (offer.html)
   =========================================== */
.wizard-body {
  background: linear-gradient(180deg, #fef9f3 0%, #f1f5f9 100%);
  min-height: 100vh;
  min-height: 100dvh;
}

.wizard-nav {
  position: static;
  padding: 1.25rem 1.5rem;
  justify-content: flex-start;
}

.wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

.wizard-progress {
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.wizard-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.35s ease;
}

.wizard-track { position: relative; }

.wiz-step {
  display: none;
  animation: wizSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wiz-step.is-active { display: block; }

@keyframes wizSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wiz-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.wiz-question {
  font-family: 'IM Fell Double Pica', Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.wiz-address {
  font-size: 1.1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.wiz-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wiz-btn-primary, .wiz-btn-secondary {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.05s ease;
}
.wiz-btn-primary {
  background: var(--accent);
  color: #fff;
}
.wiz-btn-primary:hover { background: var(--accent-dark); }
.wiz-btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.wiz-btn-secondary:hover { border-color: var(--ink); }

/* Choice cards */
.wiz-choices {
  display: grid;
  gap: 0.85rem;
}

.wiz-choice {
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.wiz-choice:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
}
.wiz-choice:active { transform: translateY(1px); }

.wiz-choice-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.wiz-choice-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact details card */
.wiz-form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem;
}

.wiz-form-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.wiz-form-title {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.wiz-form-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.wiz-form { display: flex; flex-direction: column; gap: 1rem; }

.wiz-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.wiz-form-field { display: flex; flex-direction: column; gap: 0.35rem; }

.wiz-form-field label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.wiz-form-field input {
  background: #f1f5f9;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  font-size: 1rem; /* 16px prevents iOS Safari zoom-on-focus */
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wiz-form-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.wiz-form-privacy {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.wiz-form-privacy a { color: #2563eb; font-weight: 600; }

.wiz-consent {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.wiz-consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
  /* Larger touch target on iOS/Android for the whole label */
  padding: 0.35rem 0;
  -webkit-user-select: none;
  user-select: none;
}
.wiz-consent-label input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  accent-color: var(--accent);
  cursor: pointer;
  /* Ensure iOS Safari renders native checkbox, not a bullet */
  -webkit-appearance: checkbox;
  appearance: auto;
  /* Nudge to align with first line of text */
  margin-top: 0.15rem;
}

.wiz-form-submit {
  margin-top: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}
.wiz-form-submit:hover { background: var(--accent-dark); }
.wiz-form-submit:active { transform: translateY(1px); }

.wiz-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 1.25rem;
  transition: color 0.15s ease;
}
.wiz-back:hover { color: var(--ink); }

.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;
}

.field-error {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  min-height: 1em;
  display: block;
}
.wiz-form-field input.input-error {
  border-color: var(--accent);
  background: #fff5f5;
}

@media (min-width: 640px) {
  .wiz-form-row { grid-template-columns: 1fr 1fr; }
  .wiz-form-card { padding: 2.25rem 2rem; }
}
