/* The Buyers Message Desk™ — Musa Fasasi | The Fasasi Effect | Wealth Through Ownership */
:root {
  --ink: #172635;          /* Midnight Ink */
  --brass: #B59A65;        /* Muted Brass (accents) */
  --brass-text: #765F2C;   /* darker brass for readable text on ivory */
  --ivory: #F5F1E8;        /* Warm Ivory */
  --char: #292D30;         /* Charcoal */
  --soft: #4D5256;
  --line: #E1D9C7;
  --card: #FFFEFB;
  --red: #A32020; --red-bg: #FBE9E7; --red-line: #E8B4AE;
  --amber: #7A4E0B; --amber-bg: #FBF1DD; --amber-line: #E6D3A3;
  --green: #1F6B57; --green-bg: #E5F1EC; --green-line: #B8D8CC;
  --grey-bg: #ECE8DD;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--char); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(28px, 6vw, 40px); }
h2 { font-size: clamp(22px, 4.5vw, 28px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--ink); }
button { font-family: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* header */
.site-header { background: var(--ink); color: #fff; }
.site-header .in { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brass); flex: none; }
.brand .n { display: block; font-family: var(--serif); text-transform: uppercase; letter-spacing: 1.6px; font-size: 15px; font-weight: 600; line-height: 1.2; }
.brand .t { display: block; font-size: 10px; color: #D3BF93; letter-spacing: .4px; line-height: 1.3; }
.hdr-btn { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 99px; min-height: 40px; padding: 0 16px; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.hdr-btn:hover { border-color: var(--brass); }

main { max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--brass-text); margin-bottom: 10px; }
.lead { font-size: 17px; color: var(--soft); }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 4vw, 22px); color: var(--ink); margin-bottom: 1em; }

/* cards + notices */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; margin: 0 0 18px; box-shadow: 0 1px 2px rgba(23,38,53,.04); }
.card > :last-child { margin-bottom: 0; }
.notice { border: 1px solid var(--line); border-left: 5px solid var(--brass); background: var(--card); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; margin: 0 0 18px; }
.notice.amber { background: var(--amber-bg); border-color: var(--amber-line); border-left-color: #B7791F; color: #4a3207; }
.notice.red { background: var(--red-bg); border-color: var(--red-line); border-left-color: var(--red); }
.notice.green { background: var(--green-bg); border-color: var(--green-line); border-left-color: var(--green); }
.notice strong:first-child { display: block; margin-bottom: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 12px 24px; border-radius: 99px; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 2px solid var(--ink); background: transparent; color: var(--ink); line-height: 1.3; }
.btn:hover { background: rgba(23,38,53,.06); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #263a4f; }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #172635; }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: 13.5px; }
.btn.danger { border-color: var(--red); color: var(--red); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.row.end { justify-content: space-between; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--ink); text-decoration: underline; font-size: 14px; cursor: pointer; font-weight: 600; min-height: 44px; text-align: left; }

/* forms */
.field { margin: 0 0 18px; }
label.lbl, legend.lbl { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); padding: 0; }
.hint { font-size: 13px; color: var(--soft); margin: 4px 0 0; }
.req { color: var(--red); }
input[type=text], select, textarea { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1.5px solid #CFC6B0; border-radius: 10px; background: #fff; color: var(--char); min-height: 48px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.err { color: var(--red); font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.invalid input, .invalid select { border-color: var(--red); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 620px) { .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }


/* ===== Message Desk ===== */
.hero { padding: 8px 0 18px; }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 60ch; }
.promise { font-weight: 700; color: var(--ink); }
h2.sec { font-size: 21px; margin: 26px 0 10px; }
.pop { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; margin: 0 0 6px; }
@media (min-width: 560px) { .pop { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .pop { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.pop a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pop a:hover { border-color: var(--brass); }
.pop a::after { content: "\2192"; color: var(--brass-text); }
.searchbox { position: relative; margin: 0 0 12px; }
.searchbox input { padding-right: 96px; }
.searchbox .clr { position: absolute; right: 6px; top: 6px; min-height: 36px; padding: 0 12px; border: 0; background: var(--grey-bg); border-radius: 99px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--ink); }
input[type=search] { -webkit-appearance: none; appearance: none; }
input[type=search], input[type=tel], input[type=date], input[type=time] { width: 100%; font: 400 16px/1.4 var(--sans); padding: 12px 14px; border: 1.5px solid #CFC6B0; border-radius: 10px; background: #fff; color: var(--char); min-height: 48px; }
input[type=search]:focus, input[type=tel]:focus, input[type=date]:focus, input[type=time]:focus { border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid #CFC6B0; background: var(--card); font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--char); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .7; font-weight: 500; margin-left: 4px; }
.resultsbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; font-size: 14px; color: var(--soft); }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
@media (min-width: 760px) { .tlist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.tcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 56px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.tcard:hover { border-color: var(--brass); }
.tcard h3 { font-size: 17px; margin: 0; }
.tcard h3 a { text-decoration: none; color: var(--ink); }
.tcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.tcard h3 a:focus-visible { outline: none; }
.tcard:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
.tcard p { margin: 0; font-size: 14px; color: var(--soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--grey-bg); color: var(--soft); }
.tag.tn { background: #EFE7D2; color: #5d4a1f; }
.tag.cat { background: transparent; border: 1px solid var(--line); }
.star { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; color: #8c8269; display: grid; place-items: center; }
.star:hover { background: var(--grey-bg); }
.star[aria-pressed=true] { color: #B7791F; }
.star-inline { position: static; display: inline-grid; vertical-align: middle; }
.empty { text-align: center; padding: 34px 18px; border: 1.5px dashed #CFC6B0; border-radius: 14px; background: var(--card); }
.empty h3 { margin-bottom: 6px; }

/* editor */
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.ehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ehead h1 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.tabs { display: flex; gap: 6px; margin: 4px 0 14px; background: var(--grey-bg); padding: 4px; border-radius: 99px; }
.tabs button { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 99px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--soft); }
.tabs button[aria-selected=true] { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .tabs { display: none; } }
.edit { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
@media (min-width: 900px) { .edit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 22px; align-items: start; } .pane-prev { position: sticky; top: 12px; } }
@media (max-width: 899px) { .pane.off { display: none; } }
.tonebox { display: grid; gap: 8px; margin-bottom: 18px; }
.tone { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #D8CFB9; border-radius: 12px; cursor: pointer; background: #fff; min-height: 50px; font-weight: 600; font-size: 14.5px; }
.tone input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.tone.sel { border-color: var(--ink); background: #F1EEE5; box-shadow: inset 0 0 0 1px var(--ink); }
.tone:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
.need { font-size: 13px; color: var(--amber); font-weight: 600; margin-top: 6px; }
.preview { width: 100%; min-height: 280px; font: 400 16px/1.6 var(--sans); padding: 16px; border: 1.5px solid #CFC6B0; border-radius: 14px; background: #FBFAF4; white-space: pre-wrap; resize: vertical; color: var(--char); }
.preview:focus { border-color: var(--ink); }
.pmeta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--soft); margin: 6px 0 12px; }
.actions { display: grid; gap: 10px; margin: 12px 0; }
@media (min-width: 560px) { .actions.two { grid-template-columns: 1fr 1fr; } }
.actions .btn { width: 100%; }
.wa { background: #1F6B57; border-color: #1F6B57; color: #fff; }
.wa:hover { background: #185546; }
.status { min-height: 1.6em; font-size: 14.5px; font-weight: 600; margin: 8px 0; }
.status.ok { color: var(--green); } .status.bad { color: var(--red); }
.manual { margin-top: 10px; }
.manual textarea { min-height: 160px; }
.banner { font-size: 14px; margin: 0 0 12px; }
.usage { font-size: 13.5px; color: var(--soft); margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.phone { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.phone .ok { color: var(--green); font-weight: 600; font-size: 13.5px; margin-top: 6px; }
.fields-note { font-size: 13.5px; color: var(--soft); margin: -4px 0 14px; }
.sociallinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0; }

/* footer */
footer.site { background: var(--ink); color: #ECE6D6; text-align: center; padding: 28px 16px; font-size: 13px; }
footer.site .fn { font-family: var(--serif); text-transform: uppercase; letter-spacing: 2px; color: #fff; font-size: 17px; }
footer.site .fs { color: #D3BF93; margin-bottom: 8px; }
footer.site a { color: #ECE6D6; }
.toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); z-index: 40; }
table.w { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 14px; }
table.w th, table.w td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.w th { background: var(--ivory); }
.lockup { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto 8px; border-radius: 12px; }

#printReport { display: none; }
@media (min-width: 900px) { .mob-only { display: none !important; } }
