/* Frank — site styles. Mobile first; desktop layout kicks in at 900px. */
/* Fonts are hosted with the site (Inter + Bricolage Grotesque, SIL Open Font License) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #0E1A2B;
  --cream: #F7F0E1;
  --accent: #FF5A1F;
  --accent-dark: #C2410C;
  --muted: #3A4A60;
  --muted-2: #4A5565;
  --line: #D9CFB8;
  --white: #FFFFFF;
  --field: #8A939F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
}
a { color: var(--ink); }
a:hover { color: var(--muted); }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.display {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; padding: 0 28px; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 700; font-size: 20px; text-decoration: none; cursor: pointer;
}
.btn svg { flex: none; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #FF7140; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #22344F; color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); font-weight: 700; font-size: 17px; min-height: 56px; }
.btn-block { display: flex; width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-dark); outline-offset: 3px;
}

/* Wrong-page strip */
.switch-bar {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 16px; text-align: center; font-weight: 700; font-size: 16px; text-decoration: none;
}
.switch-bar-ink { background: var(--ink); color: var(--white); }
.switch-bar-ink:hover { color: var(--white); text-decoration: underline; }
.switch-bar-accent { background: var(--accent); color: var(--ink); }
.switch-bar-accent:hover { color: var(--ink); text-decoration: underline; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 40px; height: 40px; }
.logo-word { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.logo-tag { font-size: 15px; letter-spacing: 0.08em; margin-left: 2px; font-weight: 700; }

/* ---------- Front door ---------- */
.door { min-height: 100vh; display: flex; flex-direction: column; }
.door-main { flex: 1; display: flex; flex-direction: column; gap: 28px; padding: 12px 0 40px; }
.door h1 { font-size: 46px; }
.door-intro { display: flex; flex-direction: column; gap: 10px; }
.choices { display: flex; flex-direction: column; gap: 16px; }
.choice {
  display: flex; align-items: center; gap: 16px; padding: 24px 20px; min-height: 124px;
  border-radius: 24px; text-decoration: none; transition: transform .15s ease;
}
.choice:hover { transform: translateY(-2px); }
.choice-accent { background: var(--accent); color: var(--ink); }
.choice-accent:hover { color: var(--ink); }
.choice-ink { background: var(--ink); color: var(--white); }
.choice-ink:hover { color: var(--white); }
.choice-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.choice-title { font-size: 28px; line-height: 1.05; }
.choice-sub { font-size: 17px; font-weight: 500; }
.choice-ink .choice-sub { color: #E3E7ED; }
.trust { text-align: center; font-weight: 600; font-size: 16px; }
.trust svg { display: inline-block; vertical-align: -5px; margin-right: 6px; }

/* ---------- Homeowners ---------- */
.home-hero { display: grid; gap: 28px; padding: 8px 0 32px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.hero-avatar { width: 96px; height: 96px; }
.home-hero h1 { font-size: 48px; }
.or-text { text-align: center; font-size: 16px; color: var(--muted); }
.or-text strong { color: var(--ink); }

.chat { margin: 0; background: var(--white); border-radius: 24px; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 10px; border-bottom: 1px solid #ECE5D5; margin-bottom: 4px; font-weight: 700; }
.chat-head svg { width: 34px; height: 34px; }
.bubble { max-width: 82%; padding: 10px 14px; font-size: 16px; line-height: 1.4; }
.bubble-me { align-self: flex-end; background: var(--ink); color: var(--white); border-radius: 18px 18px 4px 18px; }
.bubble-frank { align-self: flex-start; background: #FCE3D6; color: var(--ink); border-radius: 18px 18px 18px 4px; }
.chat figcaption { text-align: center; font-size: 14px; color: var(--muted-2); padding-top: 4px; }

.promises { list-style: none; margin: 0; padding: 0 0 32px; display: grid; gap: 16px; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.check { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.promise strong { font-size: 19px; display: block; }
.promise span.body { color: var(--muted); }

.story { background: var(--white); border-radius: 24px; padding: 26px 22px; display: grid; gap: 12px; margin-bottom: 32px; }
.story h2 { font-size: 31px; line-height: 1.05; }
.story-body { display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.story-kicker { font-weight: 700; font-size: 19px; color: var(--ink); }
.story-sign { font-size: 15px; color: var(--muted-2); }

.cta-band { background: var(--ink); color: var(--white); }
.cta-band .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 20px; }
.cta-band h2 { font-size: 38px; }

/* ---------- Pros ---------- */
.pro-grid { display: grid; gap: 28px; padding: 8px 0 32px; }
.pro-copy { display: flex; flex-direction: column; gap: 14px; }
.pro-copy h1 { font-size: 50px; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.point { display: flex; gap: 14px; align-items: center; background: var(--ink); color: var(--white); border-radius: 18px; padding: 16px 18px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.point .check { background: var(--accent); color: var(--ink); }

.form-card { background: var(--white); border-radius: 24px; padding: 26px 20px; }
.form-card h2 { font-size: 30px; line-height: 1.05; }
.form-intro { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-intro p { color: var(--muted); font-size: 16px; }
form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.field label .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 12px 14px; font-family: inherit; font-size: 18px;
  border: 2px solid var(--field); border-radius: 12px; background: var(--white); color: var(--ink);
}
.field-row { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; line-height: 1.45; color: var(--muted-2); }
.form-error { background: #FDECEA; color: #8A1C1C; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.form-done { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.form-done h2 { font-size: 34px; }
.form-done p { color: var(--muted); font-size: 18px; }
.pro-text-alt { margin-bottom: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 36px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: var(--muted); }
.site-footer .copy { width: 100%; }
.site-footer a { padding: 10px 0; }
.door-footer { border-top: 0; padding-top: 0; justify-content: center; text-align: center; }
.door-footer .copy { width: auto; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .site-header { padding: 24px 0; }
  .logo svg { width: 48px; height: 48px; }
  .logo-word { font-size: 34px; }

  .door-main { justify-content: center; gap: 40px; padding-bottom: 80px; }
  .door-intro { text-align: center; align-items: center; }
  .door h1 { font-size: 96px; }
  .door .lead { font-size: 22px; }
  .choices { flex-direction: row; gap: 24px; }
  .choice { flex: 1 1 0; flex-direction: column; align-items: flex-start; padding: 36px 32px; min-height: 260px; gap: 18px; }
  .choice .chev { margin-top: auto; }
  .choice-title { font-size: 38px; }
  .choice-sub { font-size: 19px; }
  .trust { font-size: 18px; }

  .home-hero { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; padding: 32px 0 64px; }
  .home-hero h1 { font-size: 80px; }
  .hero-copy .btn { align-self: flex-start; min-width: 320px; }
  .or-text { text-align: left; }
  .chat { padding: 24px 20px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; padding-bottom: 64px; }
  .story { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 48px; margin-bottom: 64px; align-items: start; }
  .story h2 { font-size: 46px; }
  .cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
  .cta-band h2 { font-size: 58px; }

  .pro-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding: 32px 0 48px; }
  .pro-copy { position: sticky; top: 24px; }
  .pro-copy h1 { font-size: 84px; }
  .form-card { padding: 36px 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
[data-number] { white-space: nowrap; }

/* Legal pages */
.legal { max-width: 720px; padding: 8px 0 48px; }
.legal h1 { font-size: 44px; margin-bottom: 6px; }
.legal-date { color: var(--muted-2); font-size: 15px; margin-bottom: 24px; }
.legal h2 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal p, .legal li { color: #2A3648; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
@media (min-width: 900px) { .legal h1 { font-size: 64px; } }
