/* Marketing Management proof components. Uses the page tokens from shared.css.
   Hovers are colour changes only. Nothing here scales, lifts or casts a shadow on hover. */

/* ---- generic page bits ---- */
.mm-eyebrow{display:inline-flex;align-items:center;gap:.6em;font-family:var(--f-mono);font-weight:500;font-size:13px;line-height:1;letter-spacing:.08em;text-transform:uppercase}
.mm-eyebrow i{width:9px;height:9px;border-radius:50%;background:var(--volt);border:2px solid var(--ink);display:inline-block}
.band-ink .mm-eyebrow i{border-color:var(--volt)}
.mm-h1{font-family:var(--f-display);text-transform:uppercase;font-weight:400;letter-spacing:0;line-height:.9;font-size:clamp(3rem,8.4vw,9.4rem);text-wrap:balance}
.mm-btn{display:inline-flex;align-items:center;justify-content:center;gap:.7em;min-height:52px;padding:.95em 1.5em;border:2px solid var(--ink);border-radius:var(--r-pill);background:var(--volt);color:var(--ink);font-family:var(--f-mono);font-weight:500;font-size:14px;line-height:1;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.mm-btn svg{width:16px;height:16px;flex:none}
.mm-btn:hover{background:var(--ink);color:var(--volt)}
.mm-btn:active{background:var(--graphite);color:var(--white)}
.mm-btn-ghost{background:transparent}
.mm-btn-ghost:hover{background:var(--ink);color:var(--white)}
.band-ink .mm-btn{border-color:var(--volt)}
.band-ink .mm-btn:hover{background:var(--white);color:var(--ink);border-color:var(--white)}
.band-ink .mm-btn-ghost{color:var(--white);border-color:var(--white)}
.band-ink .mm-btn-ghost:hover{background:var(--volt);color:var(--ink);border-color:var(--volt)}
.mm-links{display:flex;flex-wrap:wrap;gap:12px}
.mm-note{font-family:var(--f-mono);font-size:13px;line-height:1.5;letter-spacing:.03em;color:var(--muted)}
.band-ink .mm-note{color:color-mix(in srgb,var(--white) 66%,var(--ink))}
.mm-open{display:inline-flex;align-items:center;min-height:44px;font-family:var(--f-mono);font-weight:500;font-size:13px;letter-spacing:.06em;text-transform:uppercase;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;transition:color .15s}
.mm-open:hover{color:var(--graphite)}
.band-ink .mm-open:hover,.tile-ink .mm-open:hover{color:var(--volt)}
.mm-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mm-demo{display:inline-block;font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;border:2px dashed currentColor;border-radius:var(--r-pill);padding:.5em .9em;line-height:1.2}

/* ---- mail window (real email in an iframe) ---- */
.mail{border:2px solid var(--ink);border-radius:var(--r-tile);background:var(--white);overflow:hidden;color:var(--ink)}
.mail-bar{display:flex;align-items:center;gap:14px;padding:8px 16px;background:var(--fog);border-bottom:2px solid var(--ink);font-family:var(--f-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.mail-dots{display:flex;gap:6px}
.mail-dots i{width:10px;height:10px;border-radius:50%;border:2px solid var(--ink);display:block}
.mail-title{margin-right:auto}
.mail-views{display:flex;gap:6px}
.mail-view{min-height:44px;min-width:44px;padding:0 14px;border:2px solid var(--ink);border-radius:var(--r-pill);background:transparent;font-family:var(--f-mono);font-weight:500;font-size:12px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background-color .15s,color .15s}
.mail-view:hover{background:var(--volt)}
.mail-view[aria-pressed="true"]{background:var(--ink);color:var(--white)}
.mail-view[aria-pressed="true"]:hover{background:var(--graphite)}
.mail-body{display:grid;grid-template-columns:minmax(0,1fr)}
.mail-list{display:flex;flex-direction:row;border-bottom:2px solid var(--ink);background:var(--paper);align-content:start}
.mail-item{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:3px;text-align:left;padding:14px 16px;min-height:44px;background:var(--white);border:0;border-right:2px solid var(--ink);cursor:pointer;font-family:var(--f-body);transition:background-color .15s}
.mail-item:last-child{border-right:0}
.mail-item:hover{background:var(--fog)}
.mail-item[aria-selected="true"]{background:var(--volt)}
.mail-item[aria-selected="true"]:hover{background:color-mix(in srgb,var(--volt) 80%,var(--white))}
.mail-from{font-weight:700;font-size:15px;line-height:1.2;display:flex;justify-content:space-between;gap:8px}
.mail-from time{font-family:var(--f-mono);font-weight:400;font-size:11px;letter-spacing:.04em;white-space:nowrap}
.mail-subj{font-size:14px;line-height:1.3;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mail-pre{font-size:13px;line-height:1.3;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mail-read{display:flex;flex-direction:column;background:#E4E4DF;min-width:0}
.mail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:12px 16px;background:var(--white);border-bottom:2px solid var(--ink);font-size:14px;line-height:1.3}
.mail-meta b{font-weight:700}
.mail-meta span{color:var(--muted)}
.mail-meta .mm-open{margin-left:auto}
.mail-stage{display:flex;justify-content:center;padding:0;background:#E4E4DF}
.mail-frame{width:100%;height:clamp(520px,72vh,760px);border:0;background:#fff;display:block;transition:none}
.mail[data-view="phone"] .mail-stage{padding:20px 12px}
.mail[data-view="phone"] .mail-frame{width:375px;max-width:100%;height:clamp(520px,70vh,720px);border:2px solid var(--ink);border-radius:26px}
@media (min-width:900px){
  .mail-body{grid-template-columns:minmax(260px,330px) minmax(0,1fr)}
  .mail-list{flex-direction:column;border-bottom:0;border-right:2px solid var(--ink)}
  .mail-item{flex:none;border-right:0;border-bottom:2px solid var(--ink);padding:18px 18px}
  .mail-item:last-child{border-bottom:0}
  .mail-frame{height:760px}
  .mail[data-view="phone"] .mail-frame{height:740px}
}
.mail-single .mail-body{grid-template-columns:minmax(0,1fr)}

/* ---- phone (SMS) ---- */
.phone{width:300px;max-width:100%;border:2px solid var(--ink);border-radius:42px;background:var(--ink);padding:10px;flex:none}
.phone-screen{display:flex;flex-direction:column;height:460px;border-radius:32px;overflow:hidden;background:#fff;color:#111;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.phone-status{display:flex;justify-content:space-between;align-items:center;padding:12px 22px 4px;font-size:13px;font-weight:600;line-height:1}
.phone-status i{display:block;width:58px;height:7px;border-radius:4px;background:#111;margin-top:0}
.phone-head{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 12px 12px;border-bottom:1px solid #D9D9DE;background:#F6F6F8}
.phone-av{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--sms-av,#444);color:var(--sms-avt,#fff);font-weight:700;font-size:15px;line-height:1}
.phone-name{font-size:12px;line-height:1;color:#333}
.phone-msgs{flex:1;display:flex;flex-direction:column;gap:6px;padding:14px 12px 16px;overflow:hidden;background:#fff}
.phone-time{align-self:center;font-size:11px;line-height:1.3;color:#6A6A70;text-align:center;padding-bottom:4px}
.phone-bub{align-self:flex-start;max-width:86%;background:#E9E9EB;color:#111;border-radius:20px 20px 20px 6px;padding:10px 14px;font-size:15px;line-height:1.32;overflow-wrap:anywhere}
.phone-bub u{text-decoration:underline;text-decoration-color:#0B63C5;color:#0B63C5;text-underline-offset:2px}
.phone-bub .optout{display:block;margin-top:6px;color:#4a4a50;font-size:13px}
.phone-in{display:flex;align-items:center;gap:8px;padding:8px 12px 14px;border-top:1px solid #E4E4E8;background:#fff}
.phone-in span{flex:1;border:1px solid #CFCFD4;border-radius:18px;padding:7px 12px;font-size:13px;color:#8A8A90;line-height:1.2}
.phone-cap{margin-top:14px;font-family:var(--f-mono);font-size:12px;letter-spacing:.05em;text-transform:uppercase;line-height:1.4}

/* ---- social posts (neutral frame, business-owned style) ---- */
.post{--p-bg:#fff;--p-ink:#111;--p-acc:#111;--p-fnt:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;width:100%;max-width:340px;border:2px solid var(--ink);border-radius:var(--r-tile);overflow:hidden;background:var(--p-bg);color:var(--p-ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.post-h{display:flex;align-items:center;gap:10px;padding:10px 12px}
.post-av{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--p-acc);color:var(--p-bg);font-family:var(--p-fnt);font-size:12px;font-weight:700;line-height:1;flex:none}
.post-id{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.post-id b,.post-id small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-id b{font-size:13px;font-weight:700}
.post-id small{font-size:11px;opacity:.7}
.post-tag{flex:none;margin-left:auto;font-family:var(--f-mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;border:1.5px solid currentColor;border-radius:999px;padding:.4em .7em;line-height:1}
.post-media{position:relative;overflow:hidden;background:var(--fog)}
.post-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post-45{aspect-ratio:4/5}
.post-sq{aspect-ratio:1}
.post-916{aspect-ratio:9/16}
.post-over{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:18px;background:linear-gradient(to top,rgba(0,0,0,.66),rgba(0,0,0,0) 62%);color:#fff;font-family:var(--p-fnt)}
.post-over small{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;opacity:.9}
.post-over strong{font-size:clamp(24px,2.2vw,30px);line-height:1.05;font-weight:400}
.post-play{position:absolute;left:50%;top:44%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;background:rgba(255,255,255,.88);display:grid;place-items:center}
.post-play svg{width:22px;height:22px;margin-left:3px;fill:#111}
.post-act{display:flex;gap:14px;padding:10px 12px 2px}
.post-act svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.post-cap{padding:6px 12px 14px;font-size:13px;line-height:1.45;text-wrap:pretty}
.post-cap b{font-weight:700}
.post-cap em{font-style:normal;opacity:.65}
/* Business themes. These belong to the example business, not to Maddrell Design. */
.t-vv{--p-bg:#FAF5EC;--p-ink:#2A1A1F;--p-acc:#4A1727;--p-fnt:"Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif}
.t-vv .post-over strong{font-style:italic}
.t-ht{--p-bg:#FBF8F2;--p-ink:#14202B;--p-acc:#14202B;--p-fnt:Georgia,"Times New Roman",serif}
.t-ht .post-over strong{letter-spacing:.01em}
.post-text{display:grid;place-content:center;gap:10px;text-align:center;padding:26px;background:var(--p-acc);color:var(--p-bg);font-family:var(--p-fnt)}
.post-text small{font-family:var(--f-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;opacity:.85}
.post-text strong{font-size:clamp(26px,2.5vw,34px);line-height:1.08;font-weight:400}
.t-vv .post-text strong{font-style:italic}

/* ---- sets: posts in a row ---- */
.set{display:grid;gap:20px;grid-template-columns:minmax(0,1fr);justify-items:center}
@media (min-width:700px){.set{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}}
.set .post{max-width:360px}

/* ---- compliance list ---- */
.mm-list{display:flex;flex-direction:column;gap:0;border-top:2px solid currentColor}
.mm-list li{display:grid;grid-template-columns:minmax(5.5em,8.5em) minmax(0,1fr);gap:4px 18px;padding:18px 0;border-bottom:2px solid currentColor}
.mm-list b{font-family:var(--f-mono);font-weight:500;font-size:13px;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;grid-row:span 2}
.mm-list span{line-height:1.45}

@media (max-width:599px){.mm-list li{grid-template-columns:minmax(0,1fr)}.mm-list b{grid-row:auto}}
/* ---- details / faq ---- */
.faq details{border-bottom:2px solid var(--ink)}
.faq details:first-child{border-top:2px solid var(--ink)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:14px 0;cursor:pointer;list-style:none;font-family:var(--f-display);text-transform:uppercase;font-size:clamp(1.3rem,2.2vw,2.2rem);line-height:1;transition:color .15s}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--f-mono);font-size:26px;line-height:1;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq summary:hover{color:var(--graphite)}
.faq details>div{padding:0 0 22px;max-width:46em;line-height:1.5}

/* reduced motion: nothing here animates; scroll behaviour handled in shared.css */
@media (max-width:899px){
  .mail-views{display:none}
  .mail-view{min-height:44px}
  .mm-btn{min-height:48px}
}
