/* Deck Check site styles.
   Fonts: to switch to the custom brand fonts, add their @font-face below and change
   --font-body / --font-label. Nothing else needs to change. */

@font-face { font-family: 'BN Cringe Sans'; src: url('/fonts/bncringesans-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'BN Cringe Sans'; src: url('/fonts/bncringesans-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'BN Cringe Sans'; src: url('/fonts/bncringesans-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'BN Cringe Sans'; src: url('/fonts/bncringesans-bold.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/fonts/be-vietnam-pro-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/fonts/be-vietnam-pro-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('/fonts/be-vietnam-pro-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --font-body: 'BN Cringe Sans', system-ui, sans-serif;
  --font-label: 'Be Vietnam Pro', system-ui, sans-serif;

  --teal: #1e4452;        /* logo teal, dark bands */
  --teal-2: #2b6070;      /* secondary teal */
  --text: #495d7f;        /* slate blue text */
  --text-body: #3a4a50;
  --text-muted: #4a6670;
  --text-on-dark: #cfe3e8;
  --bg: #f9f9f9;
  --cream: #f0ebe0;
  --border: #d8d2c4;
  --amber: #f5b85a;
  --amber-note: #fdf1dc;
  --amber-band: #fff7e6;
  --amber-ink: #8a5a00;
  --blue-gray: #6f8fa6;
  --pm-bg: #eef2f5;
  --input-border: #b9ccd2;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); }
a:hover { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-body); line-height: 1.15; margin: 0; }
h2 { font-weight: 400; font-size: clamp(28px, 4vw, 38px); color: var(--text); margin-bottom: 12px; }
h3 { font-size: 20px; color: var(--teal); }
p { margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 14px; vertical-align: top; text-align: left; }
ul { margin: 0; padding: 0; list-style: none; }
.sr, .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-sm { padding-top: 64px; padding-bottom: 64px; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 700px; margin-bottom: 40px; }
.lead-light { font-size: 18px; color: var(--text-on-dark); margin-bottom: 26px; }
.kicker { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 10px; color: var(--text-muted); }
.muted { color: var(--text-muted); font-size: 15px; }
.band-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-cream { background: var(--cream); }
.band-dark { background: var(--teal); color: #fff; }
.band-dark h2 { color: #fff; }

/* buttons */
.btn { display: inline-block; text-align: center; text-decoration: none; font-family: inherit; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; padding: 14px 24px; border-radius: 6px; border: 0; cursor: pointer; line-height: 1.25; }
.btn-amber { background: var(--amber); color: var(--teal); }
.btn-amber:hover { background: #f2a93a; color: var(--teal); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { background: var(--teal-2); color: #fff; }
.btn-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); padding: 12px 20px; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-sm { font-size: 14px; padding: 11px 18px; }
.btn-lg { font-size: 17px; padding: 16px 30px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row, .cta-set { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 150px; }
.cta-set { margin-top: 28px; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a, .nav-phone { text-decoration: none; color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-phone { color: var(--teal); font-weight: 700; white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { display: none; } }
@media (max-width: 560px) {
  .nav-logo img { height: 30px; }
  .nav-phone { display: none; }
  .nav .btn-sm { font-size: 12px; padding: 10px 12px; letter-spacing: .5px; }
}

/* layout helpers */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-top { align-items: flex-start; }
.split-a { flex: 1 1 440px; min-width: 0; }
.split-b { flex: 1 1 400px; min-width: 0; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.cards > * { flex: 1 1 300px; min-width: 0; }
.cards-4 > * { flex-basis: 240px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; }
.card-line { border: 1px solid var(--border); }
.card p { font-size: 16px; color: var(--text-body); margin: 0; }
.bar-top { border-top: 5px solid var(--teal); }
.bar-top.c2 { border-top-color: var(--teal-2); }
.bar-top.c3 { border-top-color: var(--amber); }
.bar-top.c4 { border-top-color: var(--blue-gray); }
.bar-left { border-left: 5px solid var(--amber); }

/* hero */
.hero { background: var(--teal); color: #fff; }
.hero .split { gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero .kicker { color: var(--amber); }
.hero h1 { font-weight: 400; font-size: clamp(34px, 5.4vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 19px; color: var(--text-on-dark); margin-bottom: 24px; }
.hero-amber { font-size: 17px; color: var(--amber); font-weight: 600; margin-bottom: 18px; }
.hero-me { font-size: 18px; margin-bottom: 20px; }
.hero-call { display: inline-block; color: var(--amber); font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.hero-call:hover { color: #fff; border-color: #fff; }
.hero-cred { margin-top: 20px; font-size: 15px; color: var(--text-on-dark); }

/* forms */
.form-card { background: var(--bg); border-top: 6px solid var(--amber); padding: 32px; color: var(--text); }
.form-card.on-white { background: #fff; }
.letter-note { background: var(--amber-note); border-radius: 6px; padding: 10px 14px; margin-bottom: 18px; font-size: 15px; color: var(--teal); }
.form-title { font-size: 26px; color: var(--teal); margin-bottom: 4px; }
.form-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-fields label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--text-muted); }
input, select, textarea { width: 100%; height: 48px; border: 1px solid var(--input-border); border-radius: 6px; padding: 0 14px; font-size: 16px; font-family: inherit; color: var(--text-body); background: #fff; }
textarea { height: auto; padding: 12px 14px; }
.form-small { font-size: 13px; color: var(--text-muted); text-align: center; margin: 0; }
.form-error { color: #9b2c1f; background: #fbe9e6; border-radius: 6px; padding: 10px 14px; font-size: 15px; margin: 0; }
.form-done { background: var(--amber-note); border-radius: 8px; padding: 18px; color: var(--teal); }
.form-done p { margin: 0; }
.form-done strong, .cost-card .form-done strong { color: var(--teal); }

/* photo band */
.photo-band { height: 150px; overflow: hidden; background: var(--teal); }
.photo-band img { width: 100%; height: 150px; object-fit: cover; }

/* short answer */
.short-answer { background: var(--amber-band); border-bottom: 1px solid #e8d6a8; }
.short-answer .wrap { padding-top: 36px; padding-bottom: 36px; }
.short-answer .kicker { color: var(--amber-ink); }
.short-answer p { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; max-width: 920px; margin: 0; }

/* steps */
.step-num { font-size: 44px; color: var(--amber); line-height: 1; }
.card h3 { margin: 12px 0 8px; }

/* receive + cost */
.ticks { display: flex; flex-direction: column; gap: 14px; color: var(--text-body); }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--amber); }
.cost-card { background: var(--teal); border-radius: var(--radius); padding: 32px; color: var(--text-on-dark); }
.cost-card h2 { color: #fff; font-size: 30px; margin-bottom: 16px; }
.cost-card strong { color: #fff; }
.cost-card p { margin-bottom: 10px; }
.price-form { background: var(--teal-2); border-radius: 8px; padding: 20px; margin: 22px 0 18px; color: #fff; }
.price-form-title { font-weight: 700; margin-bottom: 12px; }
.price-form .form-fields { gap: 10px; }
.price-row { display: flex; flex-wrap: wrap; gap: 10px; }
.price-row input { flex: 1 1 200px; min-width: 0; }
.price-form input { border: 0; height: 46px; }
.form-note { margin: 0; font-size: 14px; color: var(--text-on-dark); }
.price-form .form-done { background: #fff; }

/* laws */
.law-card .kicker { font-size: 13px; }
.law-card h3 { font-weight: 400; font-size: 28px; color: var(--text); margin: 4px 0 10px; }
.law-card .code { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
.law-card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--teal); }

/* cities */
.city-card { text-decoration: none; color: var(--text); }
.city-card .city-name { font-size: 26px; color: var(--teal); margin-bottom: 8px; }
.map-box { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.map-box svg { width: 100%; max-width: 960px; height: auto; margin: 0 auto; display: block; font-family: var(--font-body); }
.map-box p { margin: 16px 0 0; font-size: 15px; color: var(--text-muted); }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.law-table { min-width: 760px; font-size: 15px; line-height: 1.5; }
.law-table thead tr { background: var(--teal); color: #fff; }
.law-table tbody tr { border-bottom: 1px solid var(--border); }
.law-table tbody tr:nth-child(even) { background: #f7f4ee; }
.law-table td:first-child { font-weight: 700; }

/* watch + risk */
.watch-photo { width: 100%; max-width: 440px; height: 260px; object-fit: cover; border-radius: var(--radius); margin-top: 24px; }
.risk-card { background: var(--teal); border-radius: var(--radius); padding: 32px; color: var(--text-on-dark); align-self: stretch; }
.risk-card h2 { color: #fff; font-size: 30px; margin-bottom: 16px; }

/* engineer */
.engineer-photo { flex: 0 0 280px; width: 280px; height: 320px; border-radius: var(--radius); object-fit: cover; object-position: 42% 20%; }
@media (max-width: 640px) { .engineer-photo { flex-basis: 100%; width: 100%; height: 300px; } }

/* rules */
.rule-card h3 { font-weight: 400; font-size: 24px; color: var(--text); margin: 0 0 8px; }
.call-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

/* testimonials */
.quotes { align-items: flex-start; }
.quotes > * { flex-basis: 460px; }
.quote-card { background: var(--bg); margin: 0; border-left: 5px solid var(--amber); }
.quote-card blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--text-body); }
.quote-card figcaption { font-size: 15px; color: var(--text-muted); }
.quote-card figcaption strong { color: var(--teal); }
.quote-law { display: block; font-family: var(--font-label); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--amber-ink); margin-top: 4px; }

/* property managers */
.pm { background: var(--pm-bg); }
.pm .kicker { color: var(--amber-ink); }
.pm h2 { font-weight: 500; font-size: clamp(30px, 4.4vw, 40px); color: var(--teal); }
.pm-card { background: #fff; border-radius: 8px; padding: 20px; }
.pm-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.pm-card p { font-size: 15px; color: var(--text); margin: 0; }
.pm .cards { gap: 16px; margin-bottom: 36px; }
.pm .cards > * { flex-basis: 220px; }
.pm-table { font-size: 15px; }
.pm-table thead tr { border-bottom: 2px solid #c9d6da; color: var(--teal); }
.pm-table tbody tr { border-bottom: 1px solid #c9d6da; }
.pm-table td:first-child { font-weight: 600; }
.pm-form { display: flex; flex-direction: column; gap: 12px; }
.pm-form input { border-color: #c9d6da; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 32px; }
.faq h3 { font-size: 19px; margin-bottom: 6px; }
.faq p { color: var(--text-body); margin-bottom: 24px; }
.byline { border-top: 1px solid var(--border); padding-top: 20px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }

/* quick answers */
.quick { display: flex; flex-direction: column; gap: 16px; font-size: 16px; color: var(--text-body); }
.quick a { font-weight: 700; }
.glance { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.glance h2 { font-size: 28px; margin-bottom: 16px; }
.glance table { font-size: 15px; }
.glance tr { border-bottom: 1px solid #e3ddd0; }
.glance tr:last-child { border-bottom: 0; }
.glance td:first-child { font-weight: 700; width: 38%; }

/* article pages */
.page-hero { background: var(--teal); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { font-weight: 400; font-size: clamp(32px, 5vw, 46px); line-height: 1.12; max-width: 900px; margin-bottom: 18px; }
.page-hero .answer { font-size: 19px; color: var(--text-on-dark); max-width: 820px; margin: 0; }
.page-hero .kicker { color: var(--amber); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-body); }
.prose ul.ticks { margin-bottom: 18px; }
.note { background: var(--amber-note); border-left: 5px solid var(--amber); border-radius: 8px; padding: 16px 20px; color: var(--teal); margin: 24px 0; }
.aside-card { position: sticky; top: 96px; }
.article-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.article-grid .prose { flex: 1 1 520px; min-width: 0; }
.article-grid aside { flex: 1 1 320px; min-width: 0; }
@media (max-width: 900px) { .article-grid aside.aside-first { order: -1; } .aside-card { position: static; } }

/* footer */
.final-cta .wrap { padding-top: 64px; padding-bottom: 64px; }
.final-cta { border-top: 4px solid var(--amber); }
.site-footer { background: #163541; color: var(--text-on-dark); font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid > div { flex: 1 1 220px; }
.footer-grid > div:first-child { flex-basis: 320px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-h { font-size: 13px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: 1px; color: var(--amber); margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: 14px; }

/* sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 30; background: var(--teal); border-top: 3px solid var(--amber); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .mobile-bar-call { color: var(--amber); font-weight: 700; text-decoration: none; white-space: nowrap; }
  .mobile-bar .btn-sm { font-size: 13px; padding: 10px 12px; letter-spacing: .5px; white-space: nowrap; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero .split { padding-top: 44px; padding-bottom: 44px; gap: 36px; }
  .form-card, .cost-card, .risk-card, .card { padding: 22px; }
}
