/* BindingOffers — Sunny Porch design system. Desktop first; phones below 760px. */
:root {
  --cream: #FFFBF0; --yellow: #FFE59A; --yellow-soft: #FFF6D6; --navy: #1F2A44; --navy-2: #2A3656;
  --muted: #3A4460; --line: #EFE6CC; --field: #D9D1B8; --green: #8FB27A; --ok-bg: #E1EEDB; --ok: #2F5A2A;
  --warn-bg: #FBE3D9; --warn: #8C3A20; --grey-bg: #EEF0F5; --r: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.5 Figtree, system-ui, sans-serif; }
a { color: var(--navy); }
a:hover { color: #3A4C78; }
img { max-width: 100%; }
.dis { font-family: "Young Serif", Georgia, serif; font-weight: 400; }
.muted { color: var(--muted); }
.t-xs { font-size: 12px; } .t-sm { font-size: 14px; } .t-lg { font-size: 18px; } .t-right { text-align: right; }
.h-xl { font-size: 76px; line-height: 1.02; letter-spacing: -1.5px; margin: 0; }
.h-lg { font-size: 52px; line-height: 1.05; margin: 0; }
.h-md { font-size: 34px; line-height: 1.1; margin: 0; }
.h-sm { font-size: 24px; line-height: 1.2; margin: 0; }
.h-page { font-size: 40px; margin: 0 0 22px; }
.row { display: flex; align-items: center; } .col { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .end { align-items: flex-end; }
.gap-sm { gap: 8px; } .gap-md { gap: 14px; } .gap-lg { gap: 24px; }
.stack > * + * { margin-top: 16px; } .stack-sm > * + * { margin-top: 8px; }
.stack > :is(span, a, strong, b, label, img):not(.pill):not(.btn):not(.avatar), .stack-sm > :is(span, a, strong, b, label, img):not(.pill):not(.btn):not(.avatar) { display: block; }
.stack > .pill, .stack-sm > .pill, .stack > .btn, .stack-sm > .btn { align-self: flex-start; }
.stack > label.check, .stack-sm > label.check, .stack > label.f, .stack-sm > label.f { display: flex; }
.grid { display: grid; gap: 20px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.card { background: #fff; border: 2px solid var(--navy); border-radius: var(--r); padding: 24px; }
.card-y { background: var(--yellow); border: 2px solid var(--navy); border-radius: var(--r); padding: 24px; }
.card-d { background: var(--navy); color: var(--cream); border-radius: var(--r); padding: 24px; }
.card-d a { color: var(--cream); } .card-d .muted { color: #C9CFE0; }
.soft { background: var(--cream); border: 2px solid var(--line); border-radius: 16px; padding: 16px; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--yellow); color: var(--navy); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.grey { background: var(--grey-bg); color: var(--muted); } .pill.dark { background: var(--navy); color: var(--yellow); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.stat { display: flex; flex-direction: column; gap: 2px; } .stat b { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.1; } .stat span { font-size: 14px; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px Figtree, sans-serif; text-decoration: none; padding: 13px 20px; border-radius: 14px; border: 2px solid var(--navy); cursor: pointer; background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--cream); } .btn-dark:hover { color: var(--yellow); }
.btn-y { background: var(--yellow); color: var(--navy); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 12px; } .btn-lg { padding: 18px 28px; font-size: 17px; } .btn-block { width: 100%; }
.btn-danger { color: var(--warn); border-color: var(--warn); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; text-decoration: underline; }
.link-plain { text-decoration: none; font-weight: 600; }

label.f { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.inp, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea {
  font: 16px Figtree, sans-serif; padding: 12px 14px; border: 2px solid var(--field); border-radius: 12px; background: #fff; color: var(--navy); width: 100%; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--navy); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--navy); margin-top: 2px; }
.sign { font-family: "Young Serif", Georgia, serif !important; font-style: italic; font-size: 20px !important; border-color: var(--navy) !important; }
.help { font-size: 13px; font-weight: 500; color: var(--muted); }
.flash { margin: 16px auto 0; max-width: 1100px; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--navy); font-weight: 600; }
.flash-error { background: var(--warn-bg); color: var(--warn); border-color: var(--warn); } .flash-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.app-main .flash, .guest .flash { margin: 0 0 18px; max-width: none; }

/* Tables that become stacked lists on phones */
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); background: var(--cream); padding: 12px 16px; border-bottom: 2px solid var(--navy); }
.tbl td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.tbl-wrap { border: 2px solid var(--navy); border-radius: var(--r); overflow: hidden; overflow-x: auto; background: #fff; }
.tbl tr.hl td { background: var(--yellow-soft); }

/* Marketing */
.mkt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 72px; }
.brand { font-size: 26px; text-decoration: none; }
.mkt-nav { display: flex; gap: 30px; font-weight: 500; } .mkt-nav a { text-decoration: none; } .mkt-nav a.on { font-weight: 700; border-bottom: 3px solid var(--yellow); }
.mkt-cta { display: flex; gap: 10px; align-items: center; }
.sec { padding: 96px 72px; } .sec-tight { padding: 56px 72px; }
.panel-y { margin: 8px 32px 0; background: var(--yellow); border-radius: 44px; padding: 72px; }
.panel-d { margin: 0 32px; background: var(--navy); color: var(--cream); border-radius: 44px; padding: 88px 72px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-bottom: 0; overflow: hidden; }
.hero-art { position: relative; height: 640px; }
.hero-art .house { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 480px; }
.hero-art .grass { position: absolute; left: -40px; right: -60px; bottom: 0; height: 31px; background: var(--green); }
.bubble { align-self: flex-start; background: #F1ECDD; border-radius: 14px 14px 14px 4px; padding: 8px 11px; font-size: 13px; }
.before { position: absolute; left: -8px; top: 0; width: 218px; background: #fff; border: 2px solid var(--navy); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 7px; transform: rotate(-4deg); z-index: 1; }
.after { position: absolute; right: -8px; top: 24px; width: 228px; background: var(--navy); color: var(--cream); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 11px; transform: rotate(3deg); z-index: 1; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.mkt-foot { margin: 0 32px 32px; background: var(--yellow); border-radius: 44px; padding: 56px 72px; display: flex; flex-direction: column; gap: 28px; }
.mkt-foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.mkt-foot-links { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.icon-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #E8DFC4; text-decoration: none; }
.tool-row:last-child { border-bottom: 0; }
.arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
details.menu summary { list-style: none; width: 42px; height: 42px; border: 2px solid var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #fff; font-size: 20px; }
details.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 16px; top: 64px; background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; min-width: 200px; z-index: 20; }
.menu-panel a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 10px; } .menu-panel a:hover { background: var(--yellow-soft); }
.seg { display: inline-flex; gap: 4px; background: #F3EEDD; padding: 4px; border-radius: 14px; }
.seg a, .seg button { font: 600 15px Figtree, sans-serif; border: 0; border-radius: 10px; padding: 10px 16px; background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; }
.seg .on { background: var(--navy); color: var(--cream); font-weight: 700; }

/* App */
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; border-bottom: 2px solid var(--navy); background: #fff; position: sticky; top: 0; z-index: 10; padding-top: max(14px, env(safe-area-inset-top)); }
.app-head .brand { font-size: 22px; }
.app-body { display: flex; min-height: calc(100vh - 70px); }
.app-side { width: 236px; flex-shrink: 0; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; border-right: 2px solid var(--line); }
.app-side a { text-decoration: none; font-weight: 500; padding: 12px 16px; border-radius: 12px; border: 2px solid transparent; }
.app-side a.on { font-weight: 700; background: var(--yellow); border-color: var(--navy); }
.app-main { flex-grow: 1; min-width: 0; padding: 36px 40px 60px; }
.app-tabs { display: none; }
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.list-row:first-of-type { border-top: 0; }
.board-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--line); }
.board-row.you { background: var(--yellow-soft); border-color: var(--navy); }
.board-row.lead { border-color: var(--navy); }
.big { font-family: "Young Serif", Georgia, serif; font-size: 40px; line-height: 1.1; }
.banner { background: var(--navy); color: var(--cream); padding: 12px 28px; font-size: 14px; }
.banner-y { background: var(--yellow); padding: 12px 28px; font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--navy); }
.steps { display: flex; align-items: center; gap: 12px; }
.steps .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #C9C0A6; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #6B7390; }
.steps .dot.on { background: var(--yellow); border-color: var(--navy); color: var(--navy); } .steps .dot.done { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.steps .line { flex-grow: 1; height: 2px; background: var(--line); }
.guest-wrap { max-width: 1240px; margin: 0 auto; padding: 32px 32px 80px; }
.sticky-bar { display: none; }
.dropzone { border: 2px dashed #C9C0A6; border-radius: 16px; padding: 18px; text-align: center; font-weight: 700; }
.toggle-card summary { cursor: pointer; font-weight: 700; }
.print-only { display: none; }

/* ---------- Phones ---------- */
.show-sm { display: none; }
@media (max-width: 760px) {
  .hide-sm { display: none !important; } .show-sm { display: inline-flex; }
  body { font-size: 15px; }
  .h-xl { font-size: 42px; letter-spacing: -0.5px; } .h-lg { font-size: 32px; } .h-md { font-size: 26px; } .h-page { font-size: 30px; margin-bottom: 16px; }
  .g2, .g3, .g4, .split, .hero { grid-template-columns: minmax(0, 1fr); }
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat b { font-size: 26px; }
  .card, .card-y, .card-d { padding: 18px; border-radius: 20px; }
  .mkt-head { padding: 14px 18px; position: relative; } .mkt-nav { display: none; } .brand { font-size: 20px; }
  .sec { padding: 44px 18px; } .sec-tight { padding: 28px 16px; }
  .panel-y { margin: 4px 12px 0; border-radius: 30px; padding: 30px 20px; } .panel-d { margin: 0 12px; border-radius: 30px; padding: 30px 18px; }
  .hero-art { height: 470px; margin: 0 -20px; }
  .hero-art .house { width: 330px; }
  .before { left: 14px; width: 200px; } .after { right: 12px; top: 110px; width: 196px; }
  .mkt-foot { margin: 0 12px 12px; border-radius: 30px; padding: 32px 22px; } .mkt-foot-cta { flex-direction: column; align-items: stretch; }
  .btn-lg { padding: 16px 20px; }
  .app-head { padding: 12px 16px; } .app-head .brand { font-size: 19px; }
  .app-side { display: none; }
  .app-main { padding: 20px 16px 110px; }
  .app-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 2px solid var(--navy); padding: 8px 10px max(14px, env(safe-area-inset-bottom)); gap: 4px; z-index: 10; }
  .app-tabs a { flex: 1; text-align: center; text-decoration: none; font-size: 12px; font-weight: 500; padding: 10px 0; border-radius: 14px; }
  .app-tabs a.on { background: var(--yellow); font-weight: 700; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 12px 16px; border-top: 1px solid var(--line); } .tbl td { border: 0; padding: 3px 0; }
  .tbl td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-size: 13px; }
  .guest-wrap { padding: 16px 12px 110px; }
  .sticky-bar { display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 2px solid var(--navy); padding: 12px 14px max(18px, env(safe-area-inset-bottom)); z-index: 10; }
  .banner, .banner-y { padding: 10px 16px; font-size: 13px; }
  .big { font-size: 30px; }
  .steps .label { display: none; }
}

@media print {
  .app-head, .app-side, .app-tabs, .no-print, .flash { display: none !important; }
  .app-main { padding: 0; } .print-only { display: block; }
  body { background: #fff; }
}
.btn[disabled], button[disabled] { opacity: 0.45; cursor: not-allowed; }
