/* Agent-facing outputs. Colors come from the agent's brokerage via --p / --s / --a. */
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 Figtree, system-ui, sans-serif; color: #1a1f2e; background: #fff; }
h1, h2, h3 { font-family: 'Archivo Narrow', Figtree, sans-serif; line-height: 1.12; margin: 0 0 .45em; color: var(--p); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
a { color: var(--s); }
img { max-width: 100%; }
.ow { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: #5f6678; } .small { font-size: 14px; } .tiny { font-size: 12px; }
.kicker { font: 700 12px Figtree, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; color: var(--s); }
.btn { display: inline-block; background: var(--p); color: var(--on-p); padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: 700 15px Figtree, sans-serif; }
.btn:hover { filter: brightness(1.1); }
.btn-out { background: transparent; color: var(--p); box-shadow: inset 0 0 0 2px var(--p); }

.ob-bar { background: #fff; border-bottom: 1px solid #e8eaf0; position: sticky; top: 0; z-index: 10; }
.ob-in { display: flex; gap: 14px; align-items: center; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.ob-logo { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.ob-brkname { font: 700 18px 'Archivo Narrow'; color: var(--p); }
.ob-agent { display: flex; gap: 10px; align-items: center; margin-left: auto; font-size: 14px; }
.ob-agent img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; background: var(--p) center/cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65)); }
.hero .ow { position: relative; z-index: 1; padding-bottom: 40px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.5vw, 62px); margin: 6px 0; }
.hero .tag { display: inline-block; background: var(--a); color: var(--on-a); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 99px; letter-spacing: 1px; text-transform: uppercase; }
.hero .price { font: 700 28px 'Archivo Narrow'; }

.stats { background: var(--p); color: var(--on-p); }
.stats .ow { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.stats div div { padding: 18px 10px; text-align: center; }
.stats b { display: block; font: 700 26px 'Archivo Narrow'; }
.stats span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }

section.blk { padding: 56px 0; }
section.alt { background: #f6f7fa; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.hl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hl li { padding-left: 30px; position: relative; }
.hl li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 4px; background: var(--a); }
.facts { width: 100%; border-collapse: collapse; }
.facts td { padding: 10px 0; border-bottom: 1px solid #e8eaf0; }
.facts td:last-child { text-align: right; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; cursor: zoom-in; }
.tourvid { display: block; width: 100%; border-radius: 12px; background: #000; }
.tourvid.horizontal { aspect-ratio: 16/9; }
.tourvid.vertical { max-width: 380px; aspect-ratio: 9/16; margin: 0 auto; }
.map { width: 100%; height: 340px; border: 0; border-radius: 12px; }

.agentcard { display: flex; gap: 18px; align-items: center; }
.agentcard img.hs { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--a); }
.agentcard .nm { font: 700 24px 'Archivo Narrow'; color: var(--p); }
.agentcard div { line-height: 1.5; }

.formcard { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 6px 30px rgba(0,0,0,.08); border-top: 5px solid var(--p); }
.formcard label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 5px; }
.formcard input, .formcard select, .formcard textarea { width: 100%; padding: 11px 12px; border: 1.5px solid #dde1ea; border-radius: 8px; font: inherit; margin-bottom: 14px; background: #fff; }
.formcard textarea { min-height: 90px; }
.formcard .g { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ok { background: #e6f6ef; color: #0a7a52; padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 14px; }
.bad { background: #fdecea; color: #b42318; padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; }

.ofoot { background: #11141c; color: #b9bfcc; padding: 34px 0; font-size: 13px; }
.ofoot .ow { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.ofoot img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.ofoot .eho { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: #fff; }
.demo-bar { background: #000066; color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.demo-bar a { color: #00b7d6; font-weight: 700; }
.embed .printbar, .embed .ob-bar { position: static; }
.embed .printbar { display: none; }
.gimg { position: relative; margin: 0; }
.vs { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 99px; pointer-events: none; }
.hero .vs { left: auto; right: 16px; bottom: 16px; z-index: 2; }
.printbar { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: flex; gap: 8px; }

/* ---- presentation (slides that print one per page) ---- */
body.deck { background: #e9ecf2; }
.slide { width: min(1100px, 100% - 32px); margin: 24px auto; background: #fff; aspect-ratio: 11/8.5; border-radius: 6px; box-shadow: 0 6px 30px rgba(0,0,0,.08); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.slide .in { padding: 5.5% 6%; flex: 1; display: flex; flex-direction: column; }
.slide .sf { display: flex; align-items: center; gap: 12px; padding: 10px 6%; border-top: 4px solid var(--p); font-size: 12px; color: #5f6678; }
.slide .sf img { height: 26px; width: auto; max-width: 130px; object-fit: contain; }
.slide .sf .pg { margin-left: auto; }
.cover { background: var(--p) center/cover; color: #fff; justify-content: flex-end; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--p) 92%, transparent) 0 46%, transparent 85%); }
.cover .in { position: relative; z-index: 1; justify-content: center; max-width: 60%; color: var(--on-p); }
.cover h1 { color: var(--on-p); font-size: clamp(30px, 4.5vw, 56px); }
.cover .logo-chip { background: #fff; padding: 10px 14px; border-radius: 8px; display: inline-block; margin-bottom: 24px; }
.cover .logo-chip img { height: 46px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.bigstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 10px 0 20px; }
.bigstat div { background: #f6f7fa; border-radius: 10px; padding: 16px; border-left: 5px solid var(--a); }
.bigstat b { display: block; font: 700 30px 'Archivo Narrow'; color: var(--p); }
.bigstat span { font-size: 13px; color: #5f6678; text-transform: uppercase; letter-spacing: 1px; }
.ctable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ctable th { background: var(--p); color: var(--on-p); text-align: left; padding: 9px 10px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.ctable td { padding: 9px 10px; border-bottom: 1px solid #e8eaf0; }
.ctable tr:nth-child(even) td { background: #f8f9fb; }
.range { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--s), var(--p)); margin: 34px 0 40px; }
.range .mk { position: absolute; top: -30px; transform: translateX(-50%); text-align: center; font-weight: 700; color: var(--p); white-space: nowrap; }
.range .mk::after { content: ''; display: block; width: 4px; height: 24px; background: var(--a); margin: 4px auto 0; border-radius: 2px; }
.range .lo, .range .hi { position: absolute; top: 22px; font-size: 14px; color: #5f6678; }
.range .hi { right: 0; }
.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan div { border: 1.5px solid #e8eaf0; border-radius: 10px; padding: 14px 16px; }
.plan b { color: var(--p); display: block; font-size: 17px; }
.net td { padding: 10px 4px; border-bottom: 1px solid #e8eaf0; font-size: 17px; }
.net td:last-child { text-align: right; }
.net tr.total td { font: 700 26px 'Archivo Narrow'; color: var(--p); border-top: 3px solid var(--p); border-bottom: 0; }

/* ---- flyer / poster (letter size) ---- */
body.paper { background: #e9ecf2; }
.sheet { width: 8.5in; min-height: 11in; margin: 24px auto; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.1); display: flex; flex-direction: column; overflow: hidden; }
.fl-top { background: var(--p); color: var(--on-p); padding: .28in .4in; display: flex; justify-content: space-between; align-items: center; }
.fl-top .t { font: 700 34px 'Archivo Narrow'; letter-spacing: 1px; text-transform: uppercase; }
.fl-top .logo-chip { background: #fff; padding: 6px 10px; border-radius: 6px; }
.fl-top .logo-chip img { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.fl-hero { height: 4.1in; background: #ccd center/cover; }
.fl-body { padding: .3in .4in; flex: 1; display: grid; grid-template-columns: 1fr 1.9in; gap: .3in; }
.fl-body h1 { font-size: 32px; margin: 0; }
.fl-price { font: 700 28px 'Archivo Narrow'; color: var(--s); margin: 2px 0 10px; }
.fl-stats { display: flex; gap: 18px; font-weight: 700; color: var(--p); margin-bottom: 10px; }
.fl-oh { background: var(--a); color: var(--on-a); border-radius: 8px; padding: 10px 14px; font-weight: 700; margin-bottom: 12px; }
.fl-qr { text-align: center; font-size: 12px; font-weight: 600; color: var(--p); }
.fl-qr img { width: 1.9in; height: 1.9in; display: block; border: 2px solid var(--p); border-radius: 8px; }
.fl-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 .4in; }
.fl-thumbs div { height: 1.15in; background: #ccd center/cover; border-radius: 4px; }
.fl-foot { border-top: 4px solid var(--p); padding: .18in .4in; display: flex; gap: 14px; align-items: center; font-size: 12px; margin-top: .2in; }
.fl-foot img.hs { width: .75in; height: .75in; border-radius: 50%; object-fit: cover; }
.fl-foot .nm { font: 700 18px 'Archivo Narrow'; color: var(--p); }
.fl-legal { font-size: 9px; color: #6b7280; padding: 0 .4in .15in; }
.poster { justify-content: space-between; text-align: center; }
.poster .pt { background: var(--p); color: var(--on-p); padding: .5in .4in .4in; }
.poster .pt h1 { color: var(--on-p); font-size: 64px; margin: 0; text-transform: uppercase; letter-spacing: 2px; }
.poster .pt p { font-size: 22px; margin: 6px 0 0; }
.poster .qrbig img { width: 4.6in; height: 4.6in; }
.poster .scan { font: 700 30px 'Archivo Narrow'; color: var(--p); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 760px) {
  .two, .fl-body { grid-template-columns: 1fr; }
  .hero { min-height: 400px; }
  .formcard .g { grid-template-columns: 1fr; }
  .cover .in { max-width: 100%; }
  .slide { aspect-ratio: auto; }
  .sheet { width: 100%; min-height: 0; margin: 0; }
}
@media print {
  @page { size: letter; margin: 0; }
  .printbar, .noprint { display: none !important; }
  body.deck, body.paper { background: #fff; }
  .ob-bar { position: static; }
  .slide { width: 11in; height: 8.5in; aspect-ratio: auto; margin: 0; border-radius: 0; box-shadow: none; page-break-after: always; break-after: page; }
  .sheet { margin: 0; box-shadow: none; width: 8.5in; height: 11in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
