/* Guides and feature pages added 22 Nov 2026: the drawn pictures (inbox,
   settings screen, provider form, the three checks), the provider list, the
   booking form, and Alex the website assistant. Uses the tokens in style.css. */

/* ── Drawn pictures: one frame style for all of them ── */
/* Pictures stay paper-white wherever they sit (like .screen in style.css). */
.pic,.alex{--text:#1E2A38;--sub:#4F5D6C;--amber-text:#8A5200;--tint:#FFF4E0;--line:#E5DFD3;--surface:#fff;--bg:#FBF9F5;--bg-2:#F5F1E9;--ok:#1B7A46;--bad:#B42318;color:var(--text)}
.pic{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.pic__bar{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--bg-2);font-size:12px;color:var(--sub)}
.pic__bar i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.pic__bar b{margin-left:8px;font-weight:600;color:var(--text)}
.pic__body{padding:16px}
.pic-cap{margin:10px 2px 0;font-size:14px;color:var(--sub)}
.pics2{display:grid;gap:20px;grid-template-columns:1fr}
@media (min-width:860px){.pics2{grid-template-columns:1fr 1fr}}

/* Inbox: before and after */
.inbox{list-style:none;margin:0;padding:0}
.inbox li{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line)}
.inbox li:last-child{border-bottom:0}
.inbox .av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--navy)}
.inbox .who{font-weight:700;font-size:15px}
.inbox .addr{font-family:var(--mono);font-size:12.5px;color:var(--sub);word-break:break-all}
.inbox .addr mark{background:var(--tint);color:var(--amber-text);padding:0 3px;border-radius:4px}
.inbox .subj{font-size:14px;color:var(--text)}
.inbox .when{font-size:12px;color:var(--sub)}
.mtag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
.mtag--before{background:var(--bg-2);color:var(--sub)}
.mtag--after{background:#E3F4EA;color:var(--ok)}

/* The Maintivo settings screen, drawn */
.mini-phone{max-width:340px;margin:0 auto;border:10px solid var(--navy);border-radius:38px;background:var(--bg);padding:18px 14px 22px;box-shadow:var(--shadow)}
.mini-phone h4{margin:6px 0 4px;font-size:17px}
.mini-phone .muted{font-size:12.5px;color:var(--sub);margin:0 0 10px}
.prog{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;margin:10px 0}
.prog span{flex:1;height:7px;border-radius:4px;background:var(--line);overflow:hidden}
.prog span::after{content:"";display:block;height:100%;width:var(--done,66%);background:var(--ok)}
.stepcard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:8px;font-size:12.5px}
.stepcard--done{border-color:var(--ok);background:#F2FAF5}
.stepcard .top{display:flex;justify-content:space-between;font-weight:700}
.stepcard .ok{color:var(--ok)}
.stepcard .wait{color:var(--sub);font-weight:600}
.kv{display:grid;grid-template-columns:auto 1fr auto;gap:4px 8px;align-items:center;margin-top:6px}
.kv dt{color:var(--sub)}
.kv dd{margin:0;font-family:var(--mono);word-break:break-all}
.copy{font-size:11px;font-weight:800;color:var(--amber-text);background:var(--tint);border-radius:999px;padding:3px 8px}

/* A provider's "add a record" form, drawn (no provider's branding) */
.dnsform{display:grid;gap:10px}
.dnsform label{display:grid;gap:4px;font-size:12.5px;color:var(--sub);font-weight:600}
.dnsform .box{border:1px solid var(--line);border-radius:8px;padding:9px 10px;font-family:var(--mono);font-size:13px;color:var(--text);background:var(--surface)}
.dnsform .box--pasted{border-color:var(--amber);box-shadow:0 0 0 3px var(--tint)}
.dnsform .row{display:grid;grid-template-columns:1fr 2fr;gap:10px}
.dnsform .save{justify-self:start;background:var(--navy);color:#fff;border-radius:8px;padding:8px 16px;font-weight:700;font-size:13px}
.arrow-note{font-size:12.5px;color:var(--amber-text);font-weight:700}

/* Three steps in a row */
.flow3{display:grid;gap:14px;grid-template-columns:1fr;counter-reset:f}
@media (min-width:760px){.flow3{grid-template-columns:repeat(3,1fr)}}
.flow3 li{list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;position:relative}
.flow3 li::before{counter-increment:f;content:counter(f);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--amber);color:var(--navy);font-weight:900;margin-bottom:10px}
.flow3 h3{margin:0 0 6px;font-size:17px}
.flow3 p{margin:0;color:var(--sub);font-size:15px}
.flow3 .ico{position:absolute;right:16px;top:16px;width:30px;height:30px;color:var(--amber-text)}

/* Safe for your inbox: two lanes */
.lanes{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:760px){.lanes{grid-template-columns:1fr 1fr}}
.lane{border-radius:var(--radius);padding:16px;border:1px dashed var(--line)}
.lane--yours{background:var(--bg-2)}
.lane--ours{background:#F2FAF5;border-color:#BFE3CD}
.lane h3{margin:0 0 6px;font-size:16px}
.lane p{margin:0;font-size:14.5px;color:var(--sub)}
.lane code{font-size:13px}

/* The three checks (SPF, DKIM, DMARC) */
.checks{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:860px){.checks{grid-template-columns:repeat(3,1fr)}}
.chk{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.chk .badge{display:inline-flex;align-items:center;gap:6px;font-weight:900;font-size:13px;padding:4px 10px;border-radius:999px;background:var(--navy);color:#fff}
.chk h3{margin:10px 0 6px;font-size:17px}
.chk p{margin:0;color:var(--sub);font-size:15px}
.chk .like{margin-top:10px;font-size:13.5px;color:var(--amber-text);font-weight:700}
.verdict{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.verdict span{font-size:12.5px;font-weight:800;padding:4px 10px;border-radius:999px}
.verdict .pass{background:#E3F4EA;color:var(--ok)}
.verdict .fail{background:#FDE8E7;color:var(--bad)}

/* Spam reasons with a tick or a cross */
.reasons{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.reasons li{display:grid;grid-template-columns:28px 1fr;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.reasons .x{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:#FDE8E7;color:var(--bad)}
.reasons .y{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:#E3F4EA;color:var(--ok)}
.reasons b{display:block}
.reasons span.t{color:var(--sub);font-size:15px}

/* Provider chips and sections */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.chips a{display:inline-block;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 13px;font-weight:700;font-size:14px;color:var(--text);text-decoration:none}
.chips a:hover,.chips a:focus-visible{border-color:var(--amber);background:var(--tint)}
.prov{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-top:12px;scroll-margin-top:90px}
.prov summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:800;font-size:17px;display:flex;justify-content:space-between;align-items:center}
.prov summary::-webkit-details-marker{display:none}
.prov summary::after{content:"+";font-size:22px;color:var(--amber-text)}
.prov[open] summary::after{content:"−"}
.prov .in{padding:0 18px 18px}
.prov ol{margin:0;padding-left:20px;display:grid;gap:8px}
.prov .tip{margin-top:12px;background:var(--tint);border-radius:10px;padding:10px 12px;font-size:14.5px}

/* Book a time */
.slot-form{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:760px){.slot-form{grid-template-columns:1fr 1fr}}
.slot-form label{display:grid;gap:6px;font-weight:600;font-size:14.5px}
.slot-form input,.slot-form select,.slot-form textarea{font:inherit;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--surface);color:var(--text)}
.slot-form .full{grid-column:1/-1}
.slots{display:flex;flex-wrap:wrap;gap:8px}
.slots label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:600;cursor:pointer;background:var(--surface)}
.slots input{accent-color:var(--amber)}
.form-ok{display:none;background:#E3F4EA;color:var(--ok);border-radius:10px;padding:12px 14px;font-weight:700}

/* Drawn Diary week */
.week{display:grid;grid-template-columns:44px repeat(5,1fr);gap:4px;font-size:11.5px}
.week .h{font-weight:800;text-align:center;color:var(--sub);padding:4px 0}
.week .t{color:var(--sub);text-align:right;padding-right:4px}
.week .cell{min-height:28px;border-radius:6px;background:var(--bg-2)}
.week .job{border-radius:6px;padding:4px 6px;color:#fff;font-weight:700;line-height:1.2}
.week .j1{background:#2F6FB1}.week .j2{background:#1B7A46}.week .j3{background:#8A5200}.week .j4{background:#6B4FA0}

/* ── Alex, the website assistant ── */
.alex-btn{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 16px 12px 12px;background:var(--navy);color:#fff;font:inherit;font-weight:800;box-shadow:0 8px 24px rgba(15,25,35,.25);cursor:pointer}
.alex-btn img{width:30px;height:30px;border-radius:50%;background:var(--amber)}
.alex-btn .dot{width:9px;height:9px;border-radius:50%;background:#3DDC84;margin-left:2px}
/* Above the phone sticky bar when it shows */
body:has(.sticky.on) .alex-btn{bottom:86px}
.alex{z-index:90}
.alex{position:fixed;right:18px;bottom:18px;z-index:61;width:min(380px,calc(100vw - 24px));height:min(600px,calc(100vh - 36px));display:none;flex-direction:column;background:var(--surface);border-radius:18px;box-shadow:0 18px 50px rgba(15,25,35,.3);overflow:hidden}
.alex.open{display:flex}
.alex__head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--navy);color:#fff}
.alex__head img{width:34px;height:34px;border-radius:50%;background:var(--amber)}
.alex__head b{display:block}
.alex__head small{color:var(--on-dark-sub)}
.alex__head button{margin-left:auto;background:none;border:0;color:#fff;font-size:24px;cursor:pointer;line-height:1}
.alex__log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.alex__msg{max-width:85%;padding:10px 12px;border-radius:14px;font-size:15px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.alex__msg--bot{background:var(--surface);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.alex__msg--me{background:var(--navy);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.alex__msg img{max-width:100%;border-radius:8px;display:block;margin-bottom:6px}
.alex__msg a{color:var(--amber-text);font-weight:700}
.alex__msg--me a{color:#fff}
.alex__chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px;background:var(--bg)}
.alex__chips button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.alex__form{display:flex;gap:6px;align-items:flex-end;padding:10px;border-top:1px solid var(--line);background:var(--surface)}
.alex__form textarea{flex:1;resize:none;max-height:110px;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;font-size:15px}
.alex__form button{border:0;border-radius:12px;padding:10px 12px;font:inherit;font-weight:800;cursor:pointer}
.alex__send{background:var(--amber);color:var(--navy)}
.alex__attach{background:var(--bg-2);color:var(--text)}
.alex__thumb{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:13px;color:var(--sub);background:var(--surface);border-top:1px solid var(--line)}
.alex__thumb img{width:40px;height:40px;object-fit:cover;border-radius:6px}
.alex__thumb button{margin-left:auto;background:none;border:0;color:var(--bad);font-weight:800;cursor:pointer}
.alex__note{font-size:11.5px;color:var(--sub);padding:0 12px 8px;background:var(--surface)}
.alex__typing{align-self:flex-start;font-size:13px;color:var(--sub)}
@media (prefers-reduced-motion:no-preference){.alex.open{animation:alexIn .18s ease-out}@keyframes alexIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.alex-btn[hidden],.alex__thumb[hidden]{display:none}
