:root {
  --bg: #ffffff;
  --bg-soft: #FFF7FB;
  --ink: #1A1016;
  --ink-2: #7A5A66;
  --line: #F3D3E3;
  --brand: #A23C5A;
  --brand-ink: #ffffff;
  --accent: #E43C90;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(162,60,90,.10);
  --max: 1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.3px; color: var(--brand); }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.nav a.active, .nav a:hover { background: var(--bg-soft); color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.btn:hover { border-color: #bbb; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { background: #86304A; border-color: #86304A; }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn.ghost { border-color: transparent; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -1px; margin: 0 0 16px; font-weight: 700; }
.hero p.sub { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0 auto 32px; }
.eyebrow { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--brand); font-weight: 700; margin-bottom: 14px; }

/* AI search */
.ai-search { max-width: 820px; margin: 0 auto; }
.ai-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow); }
.ai-box input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 12px 0; background: transparent; min-width: 0; }
.ai-box button { border-radius: 999px; }
.ai-examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.ai-examples button { background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink-2); }
.ai-examples button:hover { border-color: var(--line); color: var(--ink); }
.ai-understood { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #e6f4f2; color: #0b5f59; font-size: 13px; font-weight: 600; border: 1px solid #cfe9e5; }
.chip button { border: 0; background: transparent; color: inherit; padding: 0 0 0 2px; line-height: 1; font-size: 15px; }

/* Filter bar */
.filters { position: sticky; top: 72px; z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 0; }
.filters .wrap { display: flex; gap: 10px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.filters .wrap::-webkit-scrollbar { display: none; }
.fsel { position: relative; flex: 0 0 auto; }
.fbtn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.fbtn.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.fbtn .caret { font-size: 10px; opacity: .6; }
.fpop { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; min-width: 240px; z-index: 30; }
.fpop label { display: flex; gap: 10px; align-items: center; padding: 7px 4px; font-size: 14px; cursor: pointer; border-radius: 8px; }
.fpop label:hover { background: var(--bg-soft); }
.fpop input[type=range] { width: 100%; }
.fpop .rowv { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.fpop select { width: 100%; padding: 9px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.fclear { margin-left: auto; font-size: 13px; color: var(--ink-2); background: none; border: 0; text-decoration: underline; white-space: nowrap; }

/* Results */
.results-hd { display: flex; align-items: baseline; justify-content: space-between; padding: 24px 0 8px; }
.results-hd h2 { font-size: 18px; margin: 0; font-weight: 600; }
.results-hd .count { color: var(--ink-2); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; padding: 8px 0 64px; }
.card { cursor: pointer; display: block; }
.card .ph { aspect-ratio: 4/3; border-radius: var(--radius); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.card .ph .ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; font-weight: 700; letter-spacing: -2px; opacity: .9; }
.card .ph .tag { position: relative; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.card .ph .tag + .tag { margin-left: 6px; }
.card .ph .heart { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); font-size: 15px; }
.card .body { padding-top: 12px; }
.card .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .name { font-weight: 600; font-size: 15px; }
.card .rating { font-size: 14px; white-space: nowrap; }
.card .meta { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.card .meta2 { color: var(--ink-2); font-size: 14px; }
.card .fee { margin-top: 6px; font-size: 14px; }
.card .fee b { font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--brand); }
.badge svg { width: 14px; height: 14px; }
.empty { text-align: center; color: var(--ink-2); padding: 64px 0; }

/* Profile */
.profile { padding: 32px 0 80px; }
.profile .back { font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.profile h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.5px; }
.profile .sub { color: var(--ink-2); font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; }
.phero { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 20px 0 28px; height: 340px; }
.phero > div { border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px; text-align: center; padding: 20px; }
.phero > div small { display: block; font-weight: 500; opacity: .85; font-size: 13px; margin-top: 4px; }
.pgrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.sec { padding: 24px 0; border-bottom: 1px solid var(--line); }
.sec h3 { font-size: 18px; margin: 0 0 10px; font-weight: 600; }
.sec p { margin: 0; color: #444; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; font-size: 16px; flex: 0 0 auto; }
.fact b { display: block; font-size: 14px; font-weight: 600; }
.fact span { font-size: 13px; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.portfolio .pi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.portfolio .pi b { display: block; font-size: 14px; margin-bottom: 4px; }
.review { padding: 14px 0; }
.review .who { font-weight: 600; font-size: 14px; }
.review .when { color: var(--ink-2); font-size: 13px; margin-left: 8px; }
.review p { margin: 6px 0 0; color: #444; font-size: 15px; }
.stickycard { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.stickycard .price { font-size: 22px; font-weight: 600; }
.stickycard .price small { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.stickycard .stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 16px 0; text-align: center; }
.stickycard .stats div { background: var(--bg-soft); border-radius: 10px; padding: 10px 6px; }
.stickycard .stats b { display: block; font-size: 16px; }
.stickycard .stats span { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .6px; }
.stickycard .btn { width: 100%; justify-content: center; }
.stickycard .fine { font-size: 12px; color: var(--ink-2); text-align: center; margin-top: 10px; }
.stickycard .fine.warn { color: #b45309; }

/* Postings */
.board { padding: 32px 0 80px; }
.board-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.board-hd h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -.5px; }
.board-hd p { margin: 0; color: var(--ink-2); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.post .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.post .st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.st.launching { background: #e6f4f2; color: #0b5f59; }
.st.underperforming { background: #fff1f0; color: #b42318; }
.st.live { background: #eef2ff; color: #3730a3; }
.post h3 { margin: 0; font-size: 18px; }
.post .m { color: var(--ink-2); font-size: 14px; }
.post p { margin: 0; font-size: 15px; color: #444; }
.post .ft { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-2); }

/* Forms / modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 28px; position: relative; }
.modal h2 { margin: 0 0 6px; font-size: 22px; }
.modal p.lead { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.modal .x { position: absolute; top: 14px; right: 14px; border: 0; background: var(--bg-soft); width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; width: 100%; }
.form textarea { min-height: 90px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .checks label { flex-direction: row; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.form .checks input { width: auto; padding: 0; }
.form .btn { justify-content: center; margin-top: 6px; }
.form .fine { font-size: 12px; color: var(--ink-2); text-align: center; }
.success { text-align: center; padding: 20px 0; }
.success .ok { width: 56px; height: 56px; border-radius: 50%; background: #e6f4f2; color: var(--brand); display: grid; place-items: center; font-size: 26px; margin: 0 auto 12px; }

/* Landing sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0 56px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile h3 { margin: 0 0 8px; font-size: 20px; }
.tile p { color: var(--ink-2); margin: 0 0 16px; font-size: 15px; }
.how { padding: 32px 0 72px; }
.how h2 { font-size: 26px; text-align: center; margin: 0 0 28px; letter-spacing: -.4px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-weight: 700; margin: 0 auto 12px; color: var(--brand); }
.step h4 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-2); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr; }
  .phero { grid-template-columns: 1fr 1fr; height: 240px; }
  .phero > div:nth-child(3) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav a:not(.keep) { display: none; }
  .stickycard { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 24px; }
  .ai-box { padding-left: 14px; }
  .ai-box input { font-size: 15px; }
  .facts { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
}

/* Tabs, tables, wizard, dashboard, inbox, toasts */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab { background: none; border: 0; padding: 10px 14px; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.demo { position: relative; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.mtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.mtable th, .mtable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtable th { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-2); background: var(--bg-soft); font-weight: 600; }
.mtable tr:last-child td { border-bottom: 0; }
.score { display: inline-block; min-width: 34px; text-align: center; background: #e6f4f2; color: #0b5f59; border-radius: 999px; padding: 2px 8px; font-weight: 700; font-size: 13px; }
.wizard { padding: 32px 24px 80px; max-width: 760px; }
.wizard h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.5px; }
.wizard .sub { color: var(--ink-2); margin: 0 0 20px; }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.stp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--bg-soft); }
.stp .n { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.stp.cur { background: var(--ink); color: #fff; } .stp.cur .n { background: #fff; color: var(--ink); border-color: #fff; }
.stp.done .n { background: var(--brand); color: #fff; border-color: var(--brand); }
.card-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form .hint, .hint { font-size: 12px; color: var(--ink-2); font-weight: 400; }
.form h4, .county h4 { margin: 8px 0 6px; font-size: 14px; }
.county { margin-bottom: 6px; }
.row-btns { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.row-btns .btn { flex: 1; justify-content: center; margin: 0; }
.switch { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-weight: 500 !important; }
.switch input { width: auto !important; }
.note { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #444; }
.more summary { cursor: pointer; font-size: 14px; color: var(--brand); font-weight: 600; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 26px; letter-spacing: 2px; background: var(--bg-soft); border: 1px dashed #bbb; border-radius: 12px; padding: 14px; text-align: center; margin: 12px 0; user-select: all; }
.code.inline { display: inline-block; font-size: 14px; padding: 2px 8px; margin: 0 2px; letter-spacing: 1px; }
.dash-sec { margin-bottom: 28px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.toggle input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #ddd; position: relative; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked { background: var(--brand); } .toggle input:checked::after { left: 21px; }
.price-tile .big { font-size: 34px; font-weight: 700; letter-spacing: -1px; margin: 4px 0 10px; }
.price-tile .big small { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; letter-spacing: 0; }
.price-tile ul { padding-left: 18px; margin: 0 0 16px; color: #444; font-size: 14px; } .price-tile li { margin-bottom: 6px; }
.price-tile .btn { width: 100%; justify-content: center; }
.inbox { display: grid; grid-template-columns: 300px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; min-height: 480px; }
.threads { border-right: 1px solid var(--line); background: var(--bg-soft); overflow-y: auto; }
.thread { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.thread b { display: block; } .thread span { display: block; color: var(--ink-2); font-size: 13px; } .thread small { color: var(--ink-2); font-size: 11px; }
.thread.on { background: #fff; }
.pane { display: flex; flex-direction: column; }
.pane-hd { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; position: sticky; top: var(--hdr-h, 72px); z-index: 12; background: #fff; }
.msgs { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-height: 480px; }
.msg { max-width: 75%; background: var(--bg-soft); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 15px; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg small { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }
.send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); position: sticky; bottom: 0; z-index: 12; background: #fff; }
.send textarea { flex: 1; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 10px; resize: none; }
.bdg { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; margin-left: 6px; }
.contact { font-size: 13px; text-align: right; }
.contact b { display: block; color: var(--brand); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 24px; }
.stat { background: var(--bg-soft); border-radius: 12px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 22px; } .stat span { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .5px; }
.phero .caption { background: rgba(0,0,0,.45); border-radius: 10px; padding: 8px 12px; }
.card .ph { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 100; box-shadow: var(--shadow); animation: toast .3s ease; max-width: 90vw; text-align: center; }
.toast.err { background: #b42318; } .toast.warn { background: #92400e; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 760px) { .inbox { grid-template-columns: 1fr; } .msgs { max-height: none; overflow-y: visible; } .pane-hd { gap: 6px 10px; padding: 10px 14px; } .pane-hd > span:last-child { margin-left: 0 !important; width: 100%; gap: 6px !important; } .pane-hd .btn { padding: 6px 10px; font-size: 12px; border-radius: 10px; width: auto; white-space: nowrap; } .pane-hd .fine, .pane-hd .contact { font-size: 12px; text-align: left; } .threads { max-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); } .form .three { grid-template-columns: 1fr; } .row-btns { flex-direction: column; } }

/* Mobile header: keep one call to action, nav scrolls */
@media (max-width: 900px) {
  .hdr .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  #auth-slot .btn:not(.primary) { display: none; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav a { display: inline-block !important; white-space: nowrap; }
  .filters { top: 0; }
}

/* Pairhost wordmark, same construction as the Discovered In Travels logo: outlined geometric caps + signature script */
.logo{flex-direction:column;align-items:flex-start;gap:2px}
.wm{display:inline-flex;align-items:baseline;line-height:1;white-space:nowrap}
.tagline{font-size:11.5px;letter-spacing:.2px;color:var(--ink-2);font-weight:500;white-space:nowrap}
@media (max-width:640px){.tagline{display:none}}
.wm-caps{font-family:'Montserrat',system-ui,sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:26px;color:#FAEFF2;-webkit-text-stroke:1.6px #A23B5B;paint-order:stroke fill}
.wm-script{font-family:'Allison',cursive;font-weight:400;font-size:38px;color:#1A1016;margin-left:-2px;position:relative;top:3px}
@media (max-width:640px){.wm-caps{font-size:22px;-webkit-text-stroke-width:1.3px}.wm-script{font-size:32px}}

/* Leads desk */
.coach { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; font-size: 14px; }
.coach ol { margin: 8px 0 0 18px; display: grid; gap: 6px; }
.post.lead .why { margin: 8px 0 0 16px; font-size: 13px; color: var(--ink-2); display: grid; gap: 3px; }
.steps-list { display: grid; gap: 14px; }
.steps-list label b { display: block; margin-bottom: 6px; font-size: 14px; }

/* Role doors (home hero + Get started) */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; margin: 22px auto 0; }
.door { display: block; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.door:hover { border-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; }
.door b { display: block; font-size: 16px; margin-bottom: 4px; }
.door span { font-size: 13px; color: var(--ink-2); }
.door.primary { background: var(--brand); color: #fff; border-color: var(--brand); } .door.primary span { color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; } .video iframe { width: 100%; height: 100%; border: 0; }
.btn.apple { background: #000; color: #fff; border-color: #000; width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 12px 16px; font-size: 15px; }
.btn.apple:hover { background: #222; }

/* Loading skeletons (home grid before data arrives, async pages) */
.sk-line { height: 12px; border-radius: 6px; margin: 10px 0; background: linear-gradient(90deg, #f6e6ee 25%, #fff2f8 50%, #f6e6ee 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
.card.skel { cursor: default; pointer-events: none; }
.card.skel .ph { background: linear-gradient(90deg, #f6e6ee 25%, #fff2f8 50%, #f6e6ee 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk-line, .card.skel .ph { animation: none; } }

/* Help accordion and wired pages (PH 2, Oct 31) */
.faq { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { font-size: 15px; color: var(--ink); }
.faq[open] summary { color: var(--brand); }
.badge.seeded { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; border-radius: 999px; padding: 2px 8px; font-weight: 500; }

/* iOS zooms the page when a focused input is under 16px; keep form controls at 16px on phones (PH 3 defect 3). */
@media (max-width: 760px) { input, select, textarea, input.fbtn, select.fbtn, .form input, .form select, .form textarea, .ai-box input, .send textarea { font-size: 16px; } }
.modal label > span { min-width: 0; }

/* Accessibility pass (PH 2, Oct 31): visible keyboard focus everywhere, skip link, no outline loss on cards and doors. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.card:focus-visible, .door:focus-visible, .thread:focus-visible { outline-offset: 4px; }
.skip { position: absolute; left: 8px; top: -48px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 8px; }
.hint, .fine { color: #5f4a53; }
.stat span, .fact span, .thread span, .thread small { color: #5f4a53; }
/* Billing (migration 0011): Pro badge, Featured tag, pitch analytics, danger zone */
.badge.pro { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.card .ph .tag.featured { background: #A23C5A; color: #fff; }
.analytics { margin-bottom: 20px; padding: 20px 22px; }
.stats4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stats4 .stat { background: var(--bg-soft); border-radius: 10px; padding: 12px 10px; text-align: center; display: grid; gap: 2px; }
.stats4 .stat b { font-size: 24px; letter-spacing: -.5px; }
.stats4 .stat span { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .6px; }
.stats4 .stat small { font-size: 12px; color: var(--ink-2); }
.blur { filter: blur(7px); user-select: none; opacity: .7; }
.analytics .upgrade { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.analytics .upgrade p { margin: 0; font-size: 14px; }
.btn.danger { border-color: #fecaca; color: #b42318; background: #fff; }
.btn.danger:hover { background: #fff1f0; }
.dash-sec.danger .tile { border-color: #fecaca; }
.dash-sec.danger .tile p { margin-bottom: 12px; }
/* iOS shell: no purchase UI (Apple 3.1.1). The header Pricing link is hidden; app.js removes buy controls after render. */
.native-ios .nav a[href="/pricing"] { display: none; }
/* Wedges (CEO focus, Oct 31): three doors with the private start first; platform chips on co-host cards. */
.doors.three { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
@media (max-width: 900px) { .doors.three { grid-template-columns: 1fr; } }
.plats { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.plat { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--brand); border: 1px solid var(--line); }
/* Handover checklist under a matched thread; drive note on cards. */
.handover { padding: 14px 18px 18px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.drive { color: var(--brand); font-weight: 600; }
@media print { .hdr, footer, .btn, .nav, .skip { display: none !important; } .wrap.board { max-width: none; } }

/* Photo bands (property-only photos, PH 2 Nov 3 2026) */
.hero-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: var(--max); margin: 0 auto; padding: 16px 24px 0; }
.hb-slot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.hb-slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(255,242,248,0) 60%, rgba(255,242,248,.55)); }
.hb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hb-img.on { opacity: 1; }
.hero-band + .hero { padding-top: 32px; }
.ai-prompt { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .hero-band { grid-template-columns: 1fr; padding: 12px 16px 0; }
  .hb-x { display: none; }
  .hero-band + .hero { padding-top: 24px; }
}
.page-banner { position: relative; aspect-ratio: 4 / 1; max-height: 280px; border-radius: var(--radius); overflow: hidden; margin: 12px 0 18px; background: var(--bg-soft); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.page-banner::after, .card .ph.fb::after { content: "Illustrative photo"; position: absolute; right: 10px; bottom: 8px; font-size: 10px; letter-spacing: .3px; color: #fff; background: rgba(26,16,22,.55); padding: 2px 8px; border-radius: 999px; }
.card .ph.fb::after { right: auto; left: 12px; top: 12px; bottom: auto; }
.card .ph.fb .ini { display: block; position: absolute; top: 12px; right: 12px; left: auto; bottom: auto; width: auto; font-size: 12px !important; letter-spacing: 0; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(162,60,90,.92); }
.photo-empty { padding: 24px 0 48px; }
.photo-empty .page-banner { max-width: 640px; margin: 0 auto 18px; }
.photo-empty h3 { margin: 0 0 6px; color: var(--ink); }
@media (max-width: 760px) { .page-banner { aspect-ratio: 16 / 7; } }

/* Co-host card image: logos contained on white, quiet monogram when there is nothing */
.card .ph.logo { background: #fff; border: 1px solid var(--line); padding: 0; }
.card .ph.logo img { position: absolute; inset: 0; margin: auto; width: 58%; height: 58%; object-fit: contain; padding: 0; }
.card .ph.mono { background-color: var(--bg-soft); background-size: cover; background-position: center; border: 1px solid var(--line); text-shadow: none; }
.card .ph.mono .ini { position: absolute; top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; opacity: 1; font-family: "Montserrat", -apple-system, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 1px; color: var(--brand); }
.card .typeline { color: var(--ink-2); font-size: 12px; margin: 2px 0 0; }

/* Full business name on the no-logo card image (CEO: names, not abbreviations) */
.card .ph.mono .ini.name { width: auto; height: auto; max-width: 84%; min-height: 0; padding: 12px 16px; border-radius: 14px; font-size: 17px; line-height: 1.2; letter-spacing: .3px; text-align: center; text-transform: none; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .card .ph.mono .ini.name { font-size: 15px; } }

/* Seeded profile: the business's own logo beside its name */
.seed-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.seed-head h1 { margin: 0; }
.seed-logo { width: 84px; height: 84px; flex: none; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 8px; }
.seed-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Profile hero with no photo: the business name, quiet and on brand */
.phero > .name-hero { background: var(--bg-soft); border: 1px solid var(--line); color: var(--brand); font-family: "Montserrat", -apple-system, sans-serif; font-weight: 800; font-size: 26px; line-height: 1.2; }
.phero > .name-hero small { color: var(--ink-2); font-family: inherit; }

/* ======================================================================================================
   PH 2 Design layer (Nov 3 2026). Tokens and components from docs/design/spec.md. Appended so it overrides
   the rules above by order; earlier rules stay for anything this layer does not touch.
   ====================================================================================================== */
:root {
  --surface: #FFFAFC; --blush: #FFF2F8;
  --ink-body: #3D2C34; --ink-3: #5F4A53;
  --line: #EFE2E8; --line-brand: #EBCADA;
  --brand-deep: #86304A;
  --ok: #2F7A5B; --ok-bg: #EEF7F2; --warn: #9A4A12; --warn-bg: #FFF5EB; --chip: #F6EFF2;
  --radius: 16px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(26,16,22,.04), 0 1px 1px rgba(26,16,22,.03);
  --sh-2: 0 12px 32px -12px rgba(26,16,22,.16), 0 2px 6px rgba(26,16,22,.04);
  --shadow: var(--sh-2);
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --t: 160ms cubic-bezier(.2,.7,.2,1);
}
body { line-height: 1.6; color: var(--ink); }
::selection { background: #F7D6E6; }
input[type=checkbox], input[type=radio], input[type=range] { accent-color: var(--brand); }

/* Type */
h1, h2, h3 { font-family: var(--head); color: var(--ink); letter-spacing: -.015em; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 980px; margin: 0 auto 20px; text-wrap: balance; }
.hero h1 .script { font-family: "Allison", cursive; font-weight: 400; font-size: 1.5em; line-height: .5; letter-spacing: 0; color: var(--brand); padding: 0 .04em 0 .02em; }
.profile h1, .board h1, .board-hd h1, .wizard h1 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.profile h1, .board h1, .board-hd h1, .wizard h1, .modal h2, .how h2 { text-wrap: balance; }
.results-hd h2, .board h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.how h2 { font-size: 28px; font-weight: 700; }
.modal h2 { font-size: 22px; font-weight: 700; line-height: 1.25; padding-right: 36px; }
.tile h3, .sec h3, .post h3, .faq h3 { font-weight: 600; font-size: 18px; line-height: 1.3; }
.lead, .board-hd p, .wizard .sub, .modal p.lead { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.fine { font-size: 14px; line-height: 1.55; }
.hint, .form .hint { font-size: 13px; color: var(--ink-3); }
.eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: 18px; }
p { text-wrap: pretty; }

/* Header */
.hdr { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--line); }
.tagline { color: var(--ink-3); font-size: 11px; letter-spacing: .3px; opacity: .9; }
.nav { gap: 2px; }
.nav a { position: relative; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 500; color: var(--ink-2); transition: color var(--t), background-color var(--t); }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.active { background: transparent; color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--brand); }
.hdr .btn { min-height: 40px; padding: 8px 18px; }

/* Buttons: one primary, one secondary, one quiet */
.btn { min-height: 44px; padding: 10px 20px; justify-content: center; text-align: center; line-height: 1.25; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; transition: background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t); }
.btn:hover { border-color: var(--line-brand); background: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(134,48,74,.22); }
.btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.lg { min-height: 52px; padding: 13px 26px; font-size: 16px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--blush); color: var(--ink); }
.btn.danger { border-color: #F3C9C4; }

/* Chips and badges: neutral, accent, status */
.chip, .badge, .badge.seeded { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 10px; border: 0; border-radius: 999px; background: var(--chip); color: var(--ink-3); font-size: 12px; font-weight: 600; line-height: 1.3; }
.badge.seeded { font-weight: 500; }
.badge svg { color: var(--brand); }
.badge[title^="Checked"] { background: var(--blush); color: var(--brand); }
.badge.pro { background: var(--blush); color: var(--brand); border: 0; }
.pill { background: #fff; border-color: var(--line); color: var(--ink-body); padding: 6px 12px; }
.plat { background: transparent; border-color: var(--line); color: var(--ink-3); font-weight: 500; }
.demo { background: var(--warn-bg); color: var(--warn); border: 0; font-weight: 600; letter-spacing: .02em; }
.st.launching { background: var(--ok-bg); color: var(--ok); }
.st.underperforming { background: #FFF1EF; color: #A33A2B; }
.st.live { background: var(--blush); color: var(--brand); }
.score, .success .ok { background: var(--ok-bg); color: var(--ok); }
.bdg { background: var(--accent); }

/* Hero and search */
.hero { padding: 48px 0 56px; }
.hero-band { gap: 12px; padding: 20px 24px 0; }
.hero-band + .hero { padding-top: 44px; }
.hero p.sub { font-size: 18px; line-height: 1.6; max-width: 620px; margin-bottom: 40px; }
.ai-prompt { font-size: 15px; margin-bottom: 12px; }
.ai-box { min-height: 60px; padding: 6px 6px 6px 22px; border-color: var(--line); box-shadow: var(--sh-2); transition: border-color var(--t), box-shadow var(--t); }
.ai-box:focus-within { border-color: var(--line-brand); box-shadow: var(--sh-2), 0 0 0 4px rgba(228,60,144,.08); }
.ai-box .btn, .ai-box button { min-height: 46px; padding: 0 22px; }
.ai-examples { gap: 8px; max-width: 760px; margin: 16px auto 0; }
.ai-examples button { background: transparent; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; padding: 6px 13px; line-height: 1.4; transition: border-color var(--t), color var(--t), background-color var(--t); }
.ai-examples button:hover { border-color: var(--line-brand); color: var(--ink); background: var(--surface); }
.hero p.fine { text-align: center !important; max-width: 660px; margin-left: auto !important; margin-right: auto !important; color: var(--ink-2); }
.hero p.fine a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-brand); }
.hero p.fine a:hover { text-decoration-color: var(--brand); color: var(--brand); }

/* Doors: equal weight, the private door marked by a berry rule rather than a filled block */
.doors.three { gap: 16px; max-width: 940px; margin: 40px auto 20px; }
.door { padding: 22px 22px 20px; border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.door:hover { border-color: var(--line-brand); box-shadow: var(--sh-2); transform: translateY(-2px); }
.door b { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.35; margin-bottom: 6px; color: var(--ink); }
.door span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.door.primary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: inset 0 3px 0 var(--brand), var(--sh-1); }
.door.primary:hover { box-shadow: inset 0 3px 0 var(--brand), var(--sh-2); border-color: var(--line-brand); }
.door.primary b { color: var(--brand); }
.door.primary span { color: var(--ink-2); }

/* Filter bar */
.filters { background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); padding: 14px 0; }
.fbtn { min-height: 40px; padding: 0 16px; border-color: var(--line); color: var(--ink); transition: border-color var(--t), background-color var(--t); }
.fbtn:hover { border-color: var(--line-brand); }
.fpop { border-color: var(--line); box-shadow: var(--sh-2); padding: 12px; }
select.fbtn, .fpop select, .form select { -webkit-appearance: none; appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A5A66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; }

/* Results and cards */
.results-hd { padding: 40px 0 14px; }
.results-hd .count { font-size: 14px; color: var(--ink-2); }
.grid { gap: 40px 28px; padding: 12px 0 72px; }
.card .ph { border-radius: var(--r-lg); transition: box-shadow var(--t), transform var(--t); }
.card:hover .ph { box-shadow: var(--sh-2); transform: translateY(-2px); }
.card .ph.logo, .card .ph.mono { border-color: var(--line); }
.card .ph.logo img { transition: transform 300ms ease; }
.card:hover .ph.logo img { transform: scale(1.03); }
.card .ph .tag { background: rgba(255,255,255,.94); font-size: 12px; padding: 4px 10px; text-shadow: none; }
.card .ph .tag.featured { background: var(--brand); color: #fff; }
.card .ph.fb .ini { background: rgba(255,255,255,.94); color: var(--ink); text-shadow: none; }
.card .body { padding-top: 14px; }
.card .row1 { align-items: flex-start; }
.card .name { font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .rating { font-size: 13px; line-height: 1.6; }
.card .typeline { font-size: 12px; letter-spacing: .02em; color: var(--ink-3); margin-top: 2px; }
.card .m { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.card .meta { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.card .meta2 { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.card .fee { margin-top: 8px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.card.skel .ph { border: 0; }

/* Empty states */
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 24px; margin: 8px 0 48px; color: var(--ink-2); font-size: 15px; line-height: 1.6; grid-column: 1 / -1; }
.empty.photo-empty { padding: 24px 24px 32px; }
.empty .btn { margin-top: 12px; }
.threads .empty, .empty[style*="padding:24px"] { background: none; border: 0; margin: 0; font-size: 14px; }

/* Page layout: gutters always come from .wrap (audit item 1) */
.wrap.profile, .wrap.board, .wrap.wizard { padding: 40px 24px 96px; }
.page-banner { border-radius: var(--r-lg); aspect-ratio: 3 / 1; max-height: 300px; margin: 8px 0 28px; }
.page-banner img { object-position: center 60%; }

/* Profile */
.profile .back { font-size: 14px; margin-bottom: 20px; transition: color var(--t); }
.profile .back:hover { color: var(--ink); }
.profile .sub { font-size: 15px; gap: 6px 16px; }
.phero { gap: 12px; margin: 24px 0 40px; height: 360px; }
.phero > div { border-radius: var(--r-lg); }
.phero:has(> :only-child) { grid-template-columns: 1fr; height: 240px; }
.phero:has(> :nth-child(2):last-child) { grid-template-columns: 2fr 1fr; }
.phero:has(> .name-hero:first-child) { height: 280px; }
.phero > .name-hero { border-color: var(--line); background: var(--blush); }
.phero > .name-hero:not(:first-child) { font-size: 17px; font-weight: 700; color: var(--ink); background: var(--surface); }
.phero .caption { background: rgba(26,16,22,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: var(--r-md); }
.pgrid { gap: 64px; }
.sec { padding: 28px 0; border-bottom-color: var(--line); }
.sec h3 { margin-bottom: 12px; }
.sec p { color: var(--ink-body); line-height: 1.65; }
.facts { gap: 20px 32px; }
.fact .ic { display: none; }
.fact > div:last-child { display: flex; flex-direction: column-reverse; gap: 2px; }
.fact b { font-size: 15px; font-weight: 600; color: var(--ink); }
.fact span { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; color: var(--ink-3); }
.stickycard { top: 104px; border-color: var(--line); padding: 28px; box-shadow: var(--sh-2); }
.stickycard .price { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.stickycard .stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.stickycard .btn + .btn, .stickycard .fine + .btn { margin-top: 8px; }
.seed-logo { border-color: var(--line); border-radius: var(--r-lg); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; color: var(--ink-body); line-height: 1.55; }
.review { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review:last-child { border-bottom: 0; }
.review p { color: var(--ink-body); }

/* Panels */
.tile, .post, .coach, .faq, .portfolio .pi { border-color: var(--line); background: #fff; }
.tile { border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); }
.tile p { line-height: 1.6; }
.post { border-radius: var(--r-lg); padding: 24px; gap: 12px; box-shadow: var(--sh-1); transition: box-shadow var(--t), border-color var(--t); }
.post:hover { border-color: var(--line-brand); }
.post p { color: var(--ink-body); line-height: 1.6; }
.post .ft { flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.post .ft .btn { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.posts { gap: 24px; }
.coach { background: var(--surface); border-radius: var(--r-lg); padding: 18px 22px; }
.faq { border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; transition: border-color var(--t); }
.faq:hover { border-color: var(--line-brand); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--ink-body); line-height: 1.65; }
.split { gap: 24px; padding: 48px 0 64px; }
.how { padding: 56px 0 96px; }
.how h2 { margin-bottom: 40px; }
.step .n { width: 36px; height: 36px; background: var(--blush); font-family: var(--head); font-size: 15px; }
.step h4 { font-size: 16px; font-weight: 600; }
.step p { max-width: 300px; margin: 0 auto; line-height: 1.6; }
.mtable-wrap { border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.mtable th { background: var(--surface); color: var(--ink-3); font-size: 11px; letter-spacing: .07em; }
.mtable th, .mtable td { padding: 12px 16px; border-bottom-color: var(--line); }
.mtable tbody tr { transition: background-color var(--t); }
.mtable tbody tr:hover { background: var(--surface); }
.stat, .stats4 .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.price-tile .big { font-family: var(--head); letter-spacing: -.02em; }
.price-tile ul { color: var(--ink-body); line-height: 1.5; }
.dash-sec { margin-bottom: 40px; }
.dash-sec > label.fine { margin: 16px 0 !important; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }

/* Forms and wizard */
.form { gap: 16px; }
.form label { font-size: 14px; color: var(--ink); }
.form input, .form select, .form textarea { min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background-color: #fff; color: var(--ink); transition: border-color var(--t), box-shadow var(--t); }
.form select { padding-right: 38px; }
.form input, .form select, .form textarea { font-weight: 400; }
.form textarea { min-height: 110px; line-height: 1.5; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--line-brand); }
.form input:focus, .form select:focus, .form textarea:focus, .send textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(162,60,90,.12); }
::placeholder { color: #A08A94; opacity: 1; }
.form input[type=checkbox], .form input[type=radio], .form input[type=range] { width: auto; min-height: 0; padding: 0; flex: none; box-shadow: none; border-radius: 4px; }
.form input[type=checkbox], .form input[type=radio] { width: 18px; height: 18px; }
.form .toggle input, .toggle input { width: 42px; height: 24px; border-radius: 999px; }
.form .checks label { padding: 8px 14px; font-size: 14px; border-color: var(--line); transition: border-color var(--t), background-color var(--t), color var(--t); }
.form .checks label:hover { border-color: var(--line-brand); }
.form .checks label:has(input:checked) { background: var(--blush); border-color: var(--line-brand); color: var(--brand); }
.form .fine { font-size: 13px; color: var(--ink-3); }
.form .btn { margin-top: 8px; }
.card-form { border-color: var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--sh-2); }
.wizard { max-width: 720px; }
.wizard .sub { margin-bottom: 28px; }
.stepper { gap: 8px 22px; margin: 0 0 24px; }
.stp { background: transparent; padding: 0; gap: 8px; font-size: 14px; color: var(--ink-3); }
.stp .n { width: 26px; height: 26px; background: #fff; border-color: var(--line); color: var(--ink-3); font-size: 12px; }
.stp.cur { background: transparent; color: var(--ink); font-weight: 600; }
.stp.cur .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.stp.done { color: var(--ink-2); }
.stp.done .n { background: var(--blush); border-color: var(--line-brand); color: var(--brand); }
.mk-consent label { font-size: 14px; line-height: 1.45; color: var(--ink-body); }

/* Modal, tabs, toast */
.modal-bg { background: rgba(26,16,22,.38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadein 180ms ease; }
.modal { border-radius: 20px; padding: 32px; box-shadow: 0 24px 64px -16px rgba(26,16,22,.32); animation: rise 220ms cubic-bezier(.2,.7,.2,1); }
.modal .x { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: background-color var(--t); }
.modal .x:hover { background: var(--blush); color: var(--ink); }
@keyframes fadein { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.tabs { gap: 4px; border-bottom-color: var(--line); margin-bottom: 20px; }
.tab { padding: 12px 14px; font-weight: 500; transition: color var(--t); }
.tab:hover { color: var(--ink); }
.tab.on { border-color: var(--brand); }
.toast { box-shadow: var(--sh-2); }

/* Inbox */
.inbox { gap: 0; border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.threads { background: var(--surface); border-right-color: var(--line); }
.thread { padding: 16px 18px; border-bottom-color: var(--line); transition: background-color var(--t); }
.thread:hover { background: var(--blush); }
.thread.on { background: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.pane-hd { padding: 16px 20px; border-bottom-color: var(--line); background: rgba(255,255,255,.96); }
.pane-hd .btn { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.msgs { padding: 20px; gap: 10px; }
.msg { background: var(--chip); border-radius: 16px 16px 16px 6px; line-height: 1.5; }
.msg.me { border-radius: 16px 16px 6px 16px; }
.send { padding: 14px; border-top-color: var(--line); }
.send textarea { border-color: var(--line); border-radius: var(--r-md); padding: 12px 14px; transition: border-color var(--t), box-shadow var(--t); }
.handover { border-top-color: var(--line); background: var(--surface); }

/* Footer */
footer { background: var(--surface); border-top-color: var(--line); padding: 40px 0 48px; color: var(--ink-2); line-height: 1.9; }
footer .wrap { gap: 8px 28px; align-items: baseline; }
footer a { text-decoration: none !important; color: var(--ink-2); transition: color var(--t); }
footer a:hover { color: var(--ink); text-decoration: underline !important; text-underline-offset: 3px; }

/* Mobile */
@media (max-width: 900px) {
  .hdr .wrap { padding-top: 8px; padding-bottom: 2px; }
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .nav a { padding: 10px 12px; }
  .nav a.active::after { bottom: 3px; }
  .phero { height: 240px; }
  .pgrid { gap: 8px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-band { padding: 12px 20px 0; }
  .hero-band + .hero { padding-top: 32px; }
  .hero { padding-bottom: 40px; }
  .hero p.sub { font-size: 16px; margin-bottom: 28px; }
  .ai-box { padding-left: 16px; min-height: 56px; }
  .ai-box .btn, .ai-box button { padding: 0 16px; min-height: 44px; }
  .ai-examples button:nth-child(n+3) { display: none; }
  .doors.three { margin-top: 28px; }
  .wrap.profile, .wrap.board, .wrap.wizard { padding: 24px 20px 72px; }
  .grid { gap: 32px; }
  .card-form { padding: 22px 20px; border-radius: 18px; }
  .modal { padding: 26px 20px; }
  .tile { padding: 22px; }
  .results-hd { padding-top: 32px; }
  .phero:has(> :only-child), .phero:has(> .name-hero:first-child) { height: 200px; }
  .lead, .board-hd p, .wizard .sub { font-size: 16px; }
  .how { padding: 40px 0 72px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
}
@media (max-width: 760px) {
  .pane-hd { padding: 12px 16px; }
  .pane-hd .btn { min-height: 34px; padding: 6px 12px; font-size: 12px; }
  .msgs { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover .ph, .door:hover, .card:hover .ph.logo img { transform: none; }
}

/* iOS shell: keep the Pricing link hidden even under the mobile nav rule that forces links visible */
.native-ios .nav a[href="/pricing"] { display: none !important; }
/* Review follow-ups (PH 2 Design): small inline-padded buttons stay small; the home empty panel keeps side padding; two-tile heroes split evenly on phones; the active filter keeps its ink border on hover */
.btn[style*="padding"], td .btn, .pill .btn { min-height: 0; }
.empty.photo-empty { padding: 24px 24px 32px !important; }
.empty.photo-empty .page-banner { margin-top: 0; }
.fbtn.on:hover { border-color: var(--ink); }
@media (max-width: 900px) { .phero:has(> .name-hero:first-child) { height: 240px; } }
@media (max-width: 560px) { .phero:has(> :nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } .phero:has(> :only-child), .phero:has(> .name-hero:first-child) { height: 200px; } }
