/* ===================================================================
   SafeHome by SafeLease - D2C resident landing page (Wisconsin test)
   Brand layer mapped from sh-brand.css (shared with the operator page)
   Display: Banana Grotesk (700/800)  ·  Body: Open Sans (400-700)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

/* Banana Grotesk - hosted OTF (display only; never body) */
@font-face {
  font-family: 'Banana Grotesk';
  src: url('fonts/BananaGrotesk-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Banana Grotesk';
  src: url('fonts/BananaGrotesk-Semibold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Banana Grotesk';
  src: url('fonts/BananaGrotesk-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Banana Grotesk';
  src: url('fonts/BananaGrotesk-Extrabold.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --sh-tangerine: #F47B30;
  --sh-tangerine-700: #DA6620;
  --sh-rust: #A04612;
  --sh-peach: #FAB683;
  --sh-peach-soft: #FCD3B0;
  --sh-navy: #152744;
  --sh-navy-dark: #031E30;
  --sh-umber: #3E1B07;
  --sh-warm: #FEF3EA;
  --sh-warm-line: #F4E2D2;
  --sh-white: #FFFFFF;
  --sh-blue: #2779FB;        /* SafeLease blue - endorsement lockup ONLY */
  --sh-blue-light: #88B6ED;
  --sh-ink-60: #4A5468;      /* muted body */
  --sh-ink-45: #6B7385;      /* captions */
  --sh-line: #E7E3DC;
  --sh-error: #C0392B;

  --sh-display: 'Banana Grotesk', 'Poppins', system-ui, sans-serif;
  --sh-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sh-body);
  font-weight: 400;
  color: var(--sh-navy);
  line-height: 1.6;
  background: var(--sh-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--sh-tangerine); text-decoration: none; }
a:hover { color: var(--sh-rust); text-decoration: underline; }

/* Layout */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; position: relative; }
section.alt { background: var(--sh-warm); }
section.deep { background: var(--sh-navy); color: var(--sh-white); }
section.deep h2, section.deep h3 { color: var(--sh-white); }
section.deep .section-intro, section.deep p { color: rgba(255, 255, 255, 0.78); }
section.deep .section-eyebrow { color: var(--sh-peach); }

/* Scroll fade-in */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Logo lockup */
.sh-lockup-svg { display: block; width: auto; }
.nav-logo .sh-lockup-svg { height: 46px; }
.footer-logo .sh-lockup-svg { height: 42px; }

/* Nav */
.nav {
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--sh-navy); font-weight: 600; font-family: var(--sh-body); }
.nav-links a:hover { color: var(--sh-tangerine); text-decoration: none; }

.nav-cta {
  background: var(--sh-tangerine);
  color: var(--sh-white) !important;
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 10px;
}
.nav-cta:hover { background: var(--sh-rust); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sh-warm) 0%, var(--sh-white) 100%);
  padding: 92px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }

.eyebrow, .hero-eyebrow, .section-eyebrow {
  display: inline-block;
  font-family: var(--sh-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sh-tangerine);
  margin-bottom: 16px;
}
.section-eyebrow { display: block; margin-bottom: 14px; }

.hero h1 {
  font-family: var(--sh-display);
  font-weight: 800;
  font-size: clamp(33px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--sh-navy);
  margin-bottom: 22px;
}
.hero p.subtitle {
  font-family: var(--sh-body);
  font-size: 19px;
  color: var(--sh-ink-60);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero trust strip */
.trust-inline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 26px;
}
.trust-inline li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sh-ink-60);
}
.trust-inline li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  background: var(--sh-tangerine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Buttons */
.btn-primary, .btn-secondary {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 10px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--sh-tangerine); color: var(--sh-white); border: none; }
.btn-primary:hover { background: var(--sh-rust); color: var(--sh-white); text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: var(--sh-white); color: var(--sh-navy); border: 1.5px solid var(--sh-line); }
.btn-secondary:hover { background: var(--sh-navy); color: var(--sh-white); text-decoration: none; }

/* Hero photo */
.hero-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 44px rgba(3, 30, 48, 0.12);
  background: var(--sh-peach);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 123, 48, 0.16) 0%, transparent 55%, rgba(21, 39, 68, 0.16) 100%);
  pointer-events: none;
}

/* Section headings */
h2 {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--sh-navy);
  margin-bottom: 18px;
  max-width: 720px;
}
h2.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro { font-family: var(--sh-body); font-size: 18px; color: var(--sh-ink-60); max-width: 720px; margin-bottom: 44px; text-wrap: balance; }
.section-intro.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--sh-white);
  border: 1px solid var(--sh-line);
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 8px 22px rgba(3, 30, 48, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(3, 30, 48, 0.10); }

/* Icon tile - filled tangerine, white 2px-stroke icon */
.card-icon, .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sh-tangerine);
  color: var(--sh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon { margin-bottom: 18px; }
.card-icon svg, .feature-icon svg { width: 23px; height: 23px; }

.card h3 {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--sh-navy);
  margin-bottom: 10px;
}
.card p { font-family: var(--sh-body); font-size: 15px; color: var(--sh-ink-60); line-height: 1.6; }

.coverage-note {
  text-align: center;
  font-size: 15px;
  color: var(--sh-ink-60);
  margin-top: 30px;
}

/* Two-column section */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col h2 { margin-bottom: 18px; }

/* Icon bullet list */
.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-list .feature-text { padding-top: 6px; font-family: var(--sh-body); font-size: 16px; color: var(--sh-ink-60); line-height: 1.55; }
.feature-list .feature-text strong {
  font-family: var(--sh-display);
  font-weight: 700;
  color: var(--sh-navy);
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}

/* Side photo */
.side-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 16px 38px rgba(3, 30, 48, 0.10);
  background: var(--sh-peach);
}
.side-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 123, 48, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: left; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--sh-tangerine);
  color: var(--sh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sh-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
section.deep .step-num { background: var(--sh-peach); color: var(--sh-navy); }
.step h3 { font-family: var(--sh-display); font-weight: 700; font-size: 20px; color: var(--sh-navy); margin-bottom: 10px; }
.step p { font-family: var(--sh-body); font-size: 15px; color: var(--sh-ink-60); }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.step-head .step-num { margin-bottom: 0; }
.step-head h3 { margin-bottom: 0; }

/* ── Quote / intent funnel ─────────────────────────────────────── */
.quote-section { padding: 84px 0; }
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.quote-intro h2 { color: var(--sh-white); }
.quote-points { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.quote-points li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92);
}
.quote-points svg { width: 18px; height: 18px; color: var(--sh-peach); flex-shrink: 0; }

.quote-card {
  background: var(--sh-white);
  border-radius: 18px;
  padding: 34px 32px;
  box-shadow: 0 24px 60px rgba(3, 30, 48, 0.28);
  color: var(--sh-navy);
}
.quote-step { display: none; }
.quote-step.is-active { display: block; animation: qfade 0.3s ease; }
@keyframes qfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Keep card text dark on its white surface, even inside the navy (.deep) section */
section.deep .quote-card h3,
section.deep .quote-card .quote-card-h { color: var(--sh-navy); }
section.deep .quote-card .quote-card-sub { color: var(--sh-ink-60); }
section.deep .quote-card .quote-micro { color: var(--sh-ink-45); }
section.deep .quote-card label { color: var(--sh-navy); }
section.deep .quote-card .field-error { color: var(--sh-error); }

.quote-card-h {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  color: var(--sh-navy);
  margin-bottom: 6px;
}
.quote-card-sub { font-family: var(--sh-body); font-size: 15px; color: var(--sh-ink-60); margin-bottom: 22px; line-height: 1.55; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--sh-navy); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--sh-ink-45); font-size: 12px; }
.field input, .field select {
  width: 100%;
  font-family: var(--sh-body);
  font-size: 16px;
  color: var(--sh-navy);
  padding: 12px 14px;
  border: 1.5px solid var(--sh-line);
  border-radius: 10px;
  background: var(--sh-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--sh-ink-45); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--sh-tangerine);
  box-shadow: 0 0 0 3px rgba(244, 123, 48, 0.16);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-full { width: 100%; text-align: center; margin-top: 6px; }

.field-error { color: var(--sh-error); font-size: 13px; margin-top: 6px; min-height: 1px; }

.quote-micro { font-size: 12.5px; color: var(--sh-ink-45); margin-top: 14px; line-height: 1.5; }
.quote-micro a { color: var(--sh-tangerine); }

.link-back {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--sh-tangerine);
  font-family: var(--sh-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Confirmation states */
.quote-confirm { text-align: center; padding: 8px 0; }
.confirm-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sh-tangerine);
  color: var(--sh-white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.confirm-mark svg { width: 28px; height: 28px; }
.quote-confirm .quote-card-sub { max-width: 360px; margin-left: auto; margin-right: auto; }

/* CTA / callout band */
.cta-band { background: var(--sh-tangerine); color: var(--sh-white); padding: 84px 0; text-align: center; }
.cta-band h2 { color: var(--sh-white); text-align: center; margin: 0 auto 14px; max-width: 760px; text-wrap: balance; }
.cta-band p { font-family: var(--sh-body); color: rgba(255, 255, 255, 0.94); font-size: 18px; max-width: 600px; margin: 0 auto 28px; text-wrap: balance; }
.cta-band .btn-primary { background: var(--sh-white); color: var(--sh-tangerine-700); }
.cta-band .btn-primary:hover { background: var(--sh-navy); color: var(--sh-white); }

/* Footer */
footer { background: var(--sh-navy-dark); color: rgba(255, 255, 255, 0.75); padding: 56px 0 36px; font-family: var(--sh-body); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-logo { margin-bottom: 16px; display: inline-block; }
.footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); max-width: 380px; }
.footer-col h4 {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--sh-white);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--sh-white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--sh-peach); }
.fn-mark { font-weight: 700; }
.footnote { margin: 12px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.48); }

/* ── Coverage grid (8 items) ── */
.cov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 18px; }
.cov-item { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: 12px; padding: 22px 20px; box-shadow: 0 6px 18px rgba(3, 30, 48, 0.04); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cov-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 30, 48, 0.08); }
.cov-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sh-peach-soft); color: var(--sh-tangerine-700); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cov-ico svg { width: 21px; height: 21px; }
.cov-item h3 { font-family: var(--sh-display); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--sh-navy); margin-bottom: 6px; }
.cov-item p { font-family: var(--sh-body); font-size: 13.5px; color: var(--sh-ink-60); line-height: 1.5; }

/* ── Tailor your coverage ── */
.tailor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tailor-card { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: 14px; padding: 28px 26px; box-shadow: 0 8px 22px rgba(3, 30, 48, 0.05); }
.tailor-card h3 { font-family: var(--sh-display); font-weight: 700; font-size: 19px; color: var(--sh-navy); margin-bottom: 4px; }
.tailor-sub { font-family: var(--sh-body); font-size: 13.5px; color: var(--sh-ink-45); margin-bottom: 18px; }
.tailor-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tailor-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--sh-navy); line-height: 1.45; }
.tailor-list li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--sh-tangerine); }
.tailor-list li.more { color: var(--sh-ink-45); font-style: italic; }
.tailor-list li.more::before { background: var(--sh-peach); }
.tailor-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sh-line); font-size: 13px; color: var(--sh-ink-60); line-height: 1.5; }

/* ── Own or rent ── */
.ownrent { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.or-card { background: var(--sh-warm); border-left: 4px solid var(--sh-tangerine); border-radius: 10px; padding: 24px 26px; }
.or-card h3 { font-family: var(--sh-display); font-weight: 700; font-size: 17px; color: var(--sh-navy); margin-bottom: 8px; }
.or-card p { font-family: var(--sh-body); font-size: 14.5px; color: var(--sh-ink-60); line-height: 1.55; }

/* ── FAQ ── */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--sh-line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--sh-display); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--sh-navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--sh-body); font-size: 24px; font-weight: 400; color: var(--sh-tangerine); line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 20px; font-family: var(--sh-body); font-size: 14.5px; color: var(--sh-ink-60); line-height: 1.6; max-width: 720px; }

/* ── Financial strength band ── */
.strength { background: var(--sh-navy); color: #fff; padding: 50px 0; }
.strength-inner { display: flex; align-items: center; gap: 34px; }
.strength-seal { flex-shrink: 0; width: 188px; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); display: block; }
.strength-copy h3 { font-family: var(--sh-display); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 10px; }
.strength-copy p { font-family: var(--sh-body); font-size: 15.5px; color: rgba(255, 255, 255, 0.82); line-height: 1.6; max-width: 720px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid, .two-col, .footer-grid, .quote-wrap, .tailor-grid, .ownrent { grid-template-columns: 1fr; gap: 40px; }
  h2 { font-size: 28px; }
  section { padding: 56px 0; }
  .cards, .steps { grid-template-columns: 1fr; gap: 18px; }
  .strength-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
}

@media (max-width: 480px) {
  .hero p.subtitle { font-size: 17px; }
  .nav-logo .sh-lockup-svg { height: 38px; }
  .quote-card { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
}
