:host{
  --sand:#f4f1e8; --card:#fdfdfb; --ink:#15201b; --deep:#0e2a2f;
  --teal:#16463c; --t2:#1f6b5f; --t3:#2f8f86; --t4:#5ab9ad; --mint:#7fdccf;
  --terra:#bf5630; --muted:#6a7672; --line:#e2e5e1;
  /* ---- Namakina palette for OWNED surfaces (form / email). ----
     Approximate; swap in the brand palette. */
  --nmk-ink:#1c1b19; --nmk-cream:#f7f2e9; --nmk-paper:#fffdf8;
  --nmk-accent:#c15b34; --nmk-line:#e7ddcb;
}
*{margin:0;padding:0;box-sizing:border-box;}
:host{background:var(--sand);color:var(--ink);font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;}
button{font-family:inherit;cursor:pointer;}
:focus-visible{outline:2px solid var(--t3);outline-offset:2px;}

/* ---------- top bar ---------- */
.bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 26px;background:var(--deep);color:#fff;position:sticky;top:0;z-index:50;}
.brand{display:flex;align-items:center;gap:12px;}
.wm{display:inline-block;line-height:0;text-decoration:none;}
.wm-img{display:block;height:22px;max-height:22px;width:auto;max-width:200px;object-fit:contain;}
.xtag{font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--mint);text-transform:uppercase;}
.cbtn{background:rgba(255,255,255,.08);border:1px solid rgba(127,220,207,.35);color:#dfe9e6;border-radius:999px;padding:7px 14px;font-size:10.5px;font-weight:700;letter-spacing:.08em;transition:border-color .2s,color .2s,background .2s;}
.cbtn:hover{background:rgba(127,220,207,.16);border-color:var(--mint);color:var(--mint);}
.bar-ctrls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.bctrl{display:flex;align-items:center;justify-content:center;gap:6px;background:rgba(255,255,255,.08);border:1px solid rgba(127,220,207,.35);color:#dfe9e6;border-radius:999px;font-family:inherit;font-weight:800;font-size:11px;letter-spacing:.06em;transition:all .18s;}
.bctrl:hover{background:rgba(127,220,207,.16);border-color:var(--mint);color:var(--mint);}
.bctrl.bicon{width:34px;height:34px;padding:0;font-size:18px;line-height:1;border-radius:50%;}
.bctrl.bplay{background:var(--mint);color:var(--deep);border-color:var(--mint);padding:8px 18px;min-width:104px;text-transform:uppercase;}
.bctrl.bplay:hover{background:#9fe6d8;color:var(--deep);border-color:#9fe6d8;}
.bctrl.bplay .bp-ic{font-size:11px;line-height:1;}
.bctrl.glow{border-color:var(--terra);color:var(--terra);animation:glowp 1.4s ease-in-out infinite;}
.bar-sep{width:1px;height:22px;background:rgba(127,220,207,.28);margin:0 2px;}
@media (max-width:560px){ .bar{gap:10px;} .bctrl.bplay{min-width:88px;padding:8px 12px;} }

/* ---------- headline ---------- */
.head{max-width:1060px;margin:34px auto 0;padding:0 26px;text-align:center;}
.head h1{font-size:clamp(26px,4vw,42px);line-height:1.08;font-weight:800;letter-spacing:-.015em;}
.head h1 em{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;color:var(--t2);}
.head p{font-size:13.5px;color:var(--muted);margin:14px auto 0;max-width:600px;line-height:1.55;}
.cap{max-width:580px;margin:20px auto 0;padding:0 26px;text-align:center;font-size:13px;color:var(--muted);line-height:1.55;min-height:2.4em;}
.thread-label{text-align:center;margin:24px auto 0;font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--t3);padding:0 20px;}

/* ---------- journey rail ---------- */
.rail{display:flex;justify-content:center;max-width:560px;margin:12px auto 0;padding:0 26px;position:relative;}
.rail-line{position:absolute;top:25px;left:16%;right:16%;height:2px;background:var(--line);z-index:0;}
.rail-item{position:relative;z-index:1;background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 4px;color:#a8b2ac;transition:color .25s;flex:1;min-width:0;}
.rail-ic{width:38px;height:38px;border-radius:50%;background:var(--sand);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#a8b2ac;transition:all .3s;}
.rail-lab{font-size:8.5px;font-weight:800;letter-spacing:.06em;}
.rail-item.seen{color:var(--t2);}
.rail-item.seen .rail-ic{background:#e6efe9;border-color:#cfe0d6;color:var(--t2);}
.rail-item.on{color:var(--t2);}
.rail-item.on .rail-ic{background:var(--t2);border-color:var(--t2);color:#fff;box-shadow:0 8px 18px -6px rgba(31,107,95,.6);transform:translateY(-2px);}

/* ---------- transport controls ---------- */
.controls{display:flex;justify-content:center;align-items:center;gap:9px;max-width:560px;margin:15px auto 0;padding:0 26px;}
.ctrl{display:flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:999px;color:var(--ink);font-size:12px;font-weight:700;padding:8px 13px;transition:all .18s;box-shadow:0 6px 16px -12px rgba(14,42,47,.5);}
.ctrl:hover{border-color:var(--t3);color:var(--t2);}
.ctrl.icon{width:38px;height:38px;padding:0;border-radius:50%;font-size:17px;line-height:1;}
.ctrl.primary{background:var(--t2);color:#fff;border-color:var(--t2);padding:9px 20px;min-width:112px;}
.ctrl.primary:hover{background:var(--teal);color:#fff;}
.ctrl.glow{border-color:var(--terra);color:var(--terra);animation:glowp 1.4s ease-in-out infinite;}
@keyframes glowp{0%,100%{box-shadow:0 0 0 0 rgba(191,86,48,0);}50%{box-shadow:0 0 0 6px rgba(191,86,48,.14);}}
.ctrl-hint{text-align:center;font-size:10px;color:var(--muted);letter-spacing:.04em;margin:9px auto 0;min-height:1.1em;}

/* ---------- advance track ---------- */
.advtrack{max-width:560px;margin:12px auto 0;padding:0 26px;}
.advbar{height:3px;background:var(--line);border-radius:3px;overflow:hidden;}
.advfill{height:100%;width:0;background:linear-gradient(90deg,var(--t2),var(--t4));border-radius:3px;}

/* ---------- device ---------- */
.devicewrap{display:flex;justify-content:center;margin:16px auto 0;padding:0 20px;}
.device{background:#0c0f0e;border-radius:34px;padding:11px;box-shadow:0 28px 64px -20px rgba(14,42,47,.55),0 6px 18px rgba(14,42,47,.18);position:relative;}
.device::after{content:"";position:absolute;left:50%;top:18px;transform:translateX(-50%);width:36%;height:20px;background:#0c0f0e;border-radius:0 0 15px 15px;z-index:30;}
/* fixed screen size, never changes across surfaces */
.screen{width:min(338px,86vw);height:min(648px,74vh);background:#fff;border-radius:24px;overflow:hidden;position:relative;display:flex;flex-direction:column;}

/* status bar */
.statusbar{display:flex;align-items:center;justify-content:space-between;padding:9px 22px 4px;font-weight:700;font-size:13px;position:relative;z-index:20;flex:0 0 auto;}
.sb-time{letter-spacing:.02em;}
.sb-icons{display:flex;align-items:center;gap:5px;}
.sb-light{color:#fff;}
.sb-dark{color:#0b0f0d;}

/* shared message stream */
.msgs{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:7px;padding:13px 12px;scroll-behavior:smooth;}
.msg{animation:pop .26s ease;}
@keyframes pop{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
.typing{display:inline-flex;gap:4px;width:max-content;}
.typing i{width:6px;height:6px;border-radius:50%;background:#9aa0a6;animation:blink 1s infinite;}
.typing i:nth-child(2){animation-delay:.16s;}.typing i:nth-child(3){animation-delay:.32s;}
@keyframes blink{0%,80%,100%{opacity:.25;}40%{opacity:1;}}
.meta{font-size:10px;color:#8e8e93;}

/* homebar */
.homebar{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);width:36%;height:5px;border-radius:3px;z-index:25;background:rgba(0,0,0,.30);}

/* ===== SMS / iMessage ===== */
[data-surface="sms"] .statusbar{background:#fff;}
.sms-nav{display:flex;align-items:flex-end;justify-content:space-between;padding:2px 14px 9px;background:#fff;border-bottom:1px solid #e6e6ea;flex:0 0 auto;color:#0a7cff;}
.sms-back,.sms-vid{display:flex;align-items:center;}
.sms-peer{display:flex;flex-direction:column;align-items:center;gap:3px;color:#111;}
.sms-av{width:30px;height:30px;border-radius:50%;background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;}
.sms-name{font-size:10px;font-weight:600;color:#3a3a3c;}
[data-surface="sms"] .msgs{background:#fff;}
[data-surface="sms"] .msg{max-width:76%;padding:8px 13px;border-radius:19px;font-size:14px;line-height:1.34;}
[data-surface="sms"] .msg.in{background:#e9e9eb;color:#000;align-self:flex-start;border-bottom-left-radius:5px;}
[data-surface="sms"] .msg.out{background:#3a3b3f;color:#fff;align-self:flex-end;border-bottom-right-radius:5px;}
[data-surface="sms"] .meta{align-self:flex-end;padding-right:5px;}
[data-surface="sms"] .msg.meta{background:none;padding:0;align-self:center;}
[data-surface="sms"] .typing{align-self:flex-start;background:#e9e9eb;border-radius:18px;padding:11px 14px;}
.sms-input{display:flex;align-items:center;gap:9px;padding:8px 12px 11px;background:#fff;border-top:1px solid #e6e6ea;flex:0 0 auto;}
.sms-pill{flex:1;border:1px solid #d0d0d4;border-radius:16px;padding:7px 13px;font-size:13px;color:#8e8e93;}
.sms-send{width:30px;height:30px;border-radius:50%;background:#0a7cff;color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}

/* ===== Social / Instagram ===== */
[data-surface="social"] .statusbar{background:#fff;}
.ig-nav{display:flex;align-items:center;gap:10px;padding:3px 13px 9px;background:#fff;border-bottom:1px solid #efefef;flex:0 0 auto;color:#111;}
.ig-back{display:flex;}
.ig-ring{width:34px;height:34px;border-radius:50%;padding:2px;background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);display:flex;flex:0 0 auto;}
.ig-av{flex:1;border-radius:50%;background:#3a3a3c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;border:2px solid #fff;}
.ig-id{flex:1;min-width:0;display:flex;flex-direction:column;}
.ig-handle{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:700;}
.ig-active{font-size:10.5px;color:#8e8e8e;}
.ig-icons{display:flex;gap:14px;align-items:center;}
[data-surface="social"] .msgs{background:#fff;}
[data-surface="social"] .msg{max-width:76%;padding:9px 13px;border-radius:20px;font-size:14px;line-height:1.34;}
[data-surface="social"] .msg.in{background:#efefef;color:#000;align-self:flex-start;border-bottom-left-radius:5px;}
[data-surface="social"] .msg.out{background:linear-gradient(45deg,#4f5bd5,#a02fb5);color:#fff;align-self:flex-end;border-bottom-right-radius:5px;}
[data-surface="social"] .meta{align-self:flex-end;color:#8e8e8e;}
[data-surface="social"] .msg.meta{padding:0;}
[data-surface="social"] .typing{align-self:flex-start;background:#efefef;border-radius:20px;padding:11px 14px;}
.ig-input{display:flex;align-items:center;gap:10px;padding:8px 12px 11px;background:#fff;border-top:1px solid #efefef;flex:0 0 auto;}
.ig-cam{width:30px;height:30px;border-radius:50%;background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.ig-field{flex:1;border:1px solid #dbdbdb;border-radius:18px;padding:8px 13px;font-size:13px;color:#8e8e8e;}
.ig-mic,.ig-spark{color:#262626;display:flex;}
/* IG ad + comment reference card (the trigger) */
.ig-post{align-self:flex-start;width:80%;background:#fff;border:1px solid #efefef;border-radius:16px;overflow:hidden;box-shadow:0 10px 22px -14px rgba(0,0,0,.4);animation:pop .3s ease;}
.ig-post-hd{display:flex;align-items:center;gap:7px;padding:8px 10px;}
.ig-post-av{width:22px;height:22px;border-radius:50%;padding:1.5px;background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);flex:0 0 auto;}
.ig-post-av>span{display:block;width:100%;height:100%;border-radius:50%;background:#3a3a3c;border:1.5px solid #fff;}
.ig-post-h{font-size:11.5px;font-weight:700;display:flex;align-items:center;gap:3px;}
.ig-post-sp{margin-left:auto;font-size:8.5px;font-weight:800;color:#8e8e8e;text-transform:uppercase;letter-spacing:.06em;}
.ig-post-img{height:118px;background:linear-gradient(135deg,#1f6b5f 0%,#0e2a2f 55%,#bf5630 130%);display:flex;align-items:flex-end;padding:12px;}
.ig-post-tag{color:#fff;font-family:'Newsreader',serif;font-style:italic;font-size:17px;line-height:1.22;text-shadow:0 2px 14px rgba(0,0,0,.45);}
.ig-post-cm{padding:9px 11px;font-size:11.5px;color:#26312d;border-top:1px solid #f4f4f4;line-height:1.4;}
.ig-post-cm b{font-weight:800;}
.ig-adwrap{align-self:stretch;margin:0 0 6px;}
.ig-ad{border:1px solid #e6e6e6;border-radius:14px;overflow:hidden;background:#fff;animation:pop .3s ease;}
.ig-ad-hd{display:flex;align-items:center;gap:8px;padding:7px 9px 6px;}
.ig-ad-av{width:24px;height:24px;border-radius:50%;flex:0 0 auto;background:#fff;border:1px solid #e0e0e0;position:relative;}
.ig-ad-av::after{content:"";position:absolute;inset:5px;border-radius:50%;border:1.7px solid #111;}
.ig-ad-id{display:flex;flex-direction:column;line-height:1.15;}
.ig-ad-name{font-size:11.5px;font-weight:800;color:#111;}
.ig-ad-sp{font-size:9.5px;color:#8e8e8e;font-weight:600;}
.ig-ad-more{margin-left:auto;color:#111;font-size:15px;line-height:1;}
.ig-ad-cap{padding:0 10px 8px;font-size:11px;line-height:1.35;color:#222;}
.ig-ad-photo{height:132px;background:#0e2a2f center/cover no-repeat;}
.ig-ad-foot{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fafafa;border-top:1px solid #eee;}
.ig-ad-foot-t{display:flex;flex-direction:column;min-width:0;flex:1;}
.ig-ad-url{font-size:8.5px;letter-spacing:.05em;color:#8e8e8e;text-transform:uppercase;}
.ig-ad-title{font-size:11.5px;font-weight:700;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:underline;text-underline-offset:2px;}
.ig-ad-cta{flex:0 0 auto;background:#efefef;color:#111;font-size:11px;font-weight:700;padding:7px 12px;border-radius:8px;}
.ig-ad-comment{display:flex;flex-direction:column;gap:1px;margin-top:8px;padding:7px 10px;background:#f3f3f5;border-radius:10px;}
.ig-ad-cm-lab{font-size:8px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#8e8e8e;}
.ig-ad-cm-txt{font-size:11.5px;color:#26312d;line-height:1.35;}

/* ===== Web browser bar (shared by the trip planner) ===== */
.wb-bar{padding:3px 12px 9px;display:flex;justify-content:center;}
.wb-url{background:#fff;border-radius:9px;padding:6px 14px;font-size:12px;color:#3a3a3c;display:flex;align-items:center;gap:6px;max-width:92%;box-shadow:0 1px 2px rgba(0,0,0,.06);}
.wb-url svg{flex:0 0 auto;}

/* ===== Trip planner (Typeform + chat hybrid, Namakina-branded) ===== */
.fm-topwrap{background:#e9e6df;flex:0 0 auto;}
[data-surface="form"] .statusbar{background:transparent;}
.fm-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 8px;background:var(--nmk-paper);flex:0 0 auto;}
.fm-brandmark{font-family:'Newsreader',serif;font-style:italic;font-size:19px;color:var(--nmk-ink);}
.fm-prog{font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--nmk-accent);}
.fm-track{height:3px;background:var(--nmk-line);flex:0 0 auto;}
.fm-fill{height:100%;width:0;background:var(--nmk-accent);transition:width .6s ease;}
.fm-body{flex:1 1 auto;min-height:0;overflow-y:auto;background:var(--nmk-cream);padding:16px 15px 18px;scroll-behavior:smooth;}
.fm-compose{display:flex;align-items:center;gap:9px;padding:9px 12px 12px;background:var(--nmk-paper);border-top:1px solid var(--nmk-line);flex:0 0 auto;}
.fm-compose-field{flex:1;display:flex;align-items:center;gap:2px;border:1px solid var(--nmk-line);border-radius:18px;padding:9px 14px;background:#fff;font-size:13px;color:#9a938a;box-shadow:0 1px 0 rgba(28,27,25,.03) inset;}
.fm-compose-cursor{display:inline-block;width:1.5px;height:15px;background:var(--nmk-accent);margin-right:5px;animation:fmcaret 1.1s step-end infinite;}
.fm-compose-field.typing{color:var(--nmk-ink);font-weight:600;justify-content:flex-start;}
.fm-compose-field.typing .fm-compose-cursor{margin:0 0 0 1px;}
.fm-compose-text{white-space:pre-wrap;}
@keyframes fmcaret{0%,50%{opacity:1;}51%,100%{opacity:0;}}
.fm-compose-send{width:32px;height:32px;border-radius:50%;background:var(--nmk-accent);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.fm-live{display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;background:var(--nmk-cream);border-top:1px solid var(--nmk-line);flex:0 0 auto;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--nmk-accent);}
.fm-live-dot{width:7px;height:7px;border-radius:50%;background:#39b06a;box-shadow:0 0 0 0 rgba(57,176,106,.5);animation:fmpulse 1.8s ease-out infinite;flex:0 0 auto;}
@keyframes fmpulse{0%{box-shadow:0 0 0 0 rgba(57,176,106,.5);}70%{box-shadow:0 0 0 6px rgba(57,176,106,0);}100%{box-shadow:0 0 0 0 rgba(57,176,106,0);}}
.fm-intro{font-size:13px;color:var(--nmk-ink);opacity:.72;margin-bottom:15px;animation:pop .3s ease;}
.fm-q{margin-bottom:19px;animation:pop .3s ease;}
.fm-qtext{font-size:16px;font-weight:800;color:var(--nmk-ink);line-height:1.3;margin-bottom:11px;}
.fm-opt{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:var(--nmk-paper);border:1.5px solid var(--nmk-line);border-radius:12px;padding:11px 12px;margin-bottom:8px;font-size:13.5px;color:var(--nmk-ink);transition:all .2s;}
.fm-key{width:22px;height:22px;flex:0 0 auto;border-radius:6px;border:1.5px solid var(--nmk-line);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--muted);}
.fm-opt.sel{background:var(--nmk-accent);border-color:var(--nmk-accent);color:#fff;transform:translateX(2px);box-shadow:0 12px 24px -12px rgba(193,91,52,.7);}
.fm-opt.sel .fm-key{background:rgba(255,255,255,.24);border-color:transparent;color:#fff;}
.fm-opt.dim{opacity:.4;}
/* Typeform-style visual quiz */
.fm-hero{margin:-16px -15px 16px;height:118px;position:relative;overflow:hidden;background:linear-gradient(135deg,#e6efe9,#dcefe9);}
.fm-hero img{width:100%;height:100%;object-fit:cover;display:block;}
.fm-hero.noimg img{display:none;}
.fm-hero-tint{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,21,18,.05),rgba(9,21,18,.5));}
.fm-hero-cap{position:absolute;left:14px;right:14px;bottom:11px;color:#fff;font-size:12px;font-weight:700;line-height:1.3;text-shadow:0 1px 4px rgba(0,0,0,.5);display:flex;align-items:center;gap:7px;}
.fm-hero-dot{width:7px;height:7px;border-radius:50%;background:#7fdccf;box-shadow:0 0 0 3px rgba(127,220,207,.3);flex:0 0 auto;}
.fm-imgopts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:8px;}
.fm-imgopt{position:relative;border:2px solid var(--nmk-line);border-radius:13px;overflow:hidden;background:#fff;padding:0;text-align:left;transition:all .2s;aspect-ratio:1/.82;}
.fm-imgopt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.fm-imgopt.noimg{background:linear-gradient(135deg,var(--t3),var(--teal));}
.fm-imgopt.noimg img{display:none;}
.fm-imgopt-grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,21,18,0) 34%,rgba(9,21,18,.72));}
.fm-imgopt-lab{position:absolute;left:10px;right:10px;bottom:9px;color:#fff;font-size:12.5px;font-weight:800;line-height:1.2;text-shadow:0 1px 4px rgba(0,0,0,.5);}
.fm-imgopt-tick{position:absolute;top:8px;right:8px;width:23px;height:23px;border-radius:50%;background:rgba(255,255,255,.28);border:1.5px solid rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.6);transition:all .2s;}
.fm-imgopt-tick svg{stroke:#fff;}
.fm-imgopt.sel{border-color:var(--nmk-accent);box-shadow:0 14px 28px -12px rgba(193,91,52,.7);}
.fm-imgopt.sel img{transform:scale(1.06);}
.fm-imgopt.sel .fm-imgopt-tick{background:var(--nmk-accent);border-color:var(--nmk-accent);opacity:1;transform:scale(1);}
.fm-imgopt.dim{opacity:.4;}
.fm-note{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--muted);margin-top:2px;animation:pop .3s ease;}
.fm-dot{width:7px;height:7px;border-radius:50%;background:#3aa66a;box-shadow:0 0 0 3px rgba(58,166,106,.18);flex:0 0 auto;}
.fm-ask{display:inline-flex;align-items:center;background:var(--nmk-paper);border:1.5px dashed var(--nmk-accent);color:var(--nmk-accent);border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800;margin:0 0 10px;animation:pop .3s ease;transition:opacity .2s,border-style .2s;cursor:default;}
.fm-ask.tapped{opacity:.5;border-style:solid;}
.fm-ans{background:var(--nmk-paper);border:1.5px solid var(--nmk-line);border-left:3px solid var(--nmk-accent);border-radius:12px;padding:11px 13px;font-size:12.5px;line-height:1.5;color:var(--nmk-ink);margin-bottom:19px;animation:pop .3s ease;}
.fm-typed{min-height:44px;background:var(--nmk-paper);border:1.5px solid var(--nmk-line);border-radius:12px;padding:11px 12px;font-size:13.5px;line-height:1.45;color:var(--nmk-ink);animation:pop .3s ease;}
.fm-typed.caret::after,.fm-phone-val.caret::after{content:"|";margin-left:1px;color:var(--nmk-accent);animation:cblink 1s step-end infinite;}
@keyframes cblink{50%{opacity:0;}}
.fm-phone{display:flex;align-items:center;gap:9px;background:var(--nmk-paper);border:1.5px solid var(--nmk-line);border-radius:12px;padding:12px 13px;animation:pop .3s ease;}
.fm-phone-ic{color:var(--nmk-accent);display:flex;flex:0 0 auto;}
.fm-phone-val{font-size:15px;font-weight:700;color:var(--nmk-ink);letter-spacing:.02em;min-height:18px;}
.fm-worry{align-self:flex-end;max-width:88%;margin:2px 0 12px auto;background:var(--nmk-accent);color:#fff;font-size:12.5px;line-height:1.45;padding:10px 13px;border-radius:14px;border-bottom-right-radius:5px;animation:pop .3s ease;}
.fm-typing{align-self:flex-start;display:inline-flex;gap:4px;background:#fff;border:1px solid var(--nmk-line);padding:11px 13px;border-radius:14px;border-bottom-left-radius:5px;margin-bottom:12px;}
.fm-typing i{width:6px;height:6px;border-radius:50%;background:#b7ad9d;animation:blink 1s infinite;}
.fm-typing i:nth-child(2){animation-delay:.15s;}
.fm-typing i:nth-child(3){animation-delay:.3s;}
.fm-plan{justify-content:space-between;}
.fm-plan-meta{display:flex;flex-direction:column;gap:2px;text-align:left;}
.fm-plan-name{font-size:13.5px;font-weight:800;color:var(--nmk-ink);}
.fm-plan-note{font-size:11px;color:var(--muted);font-weight:600;}
.fm-opt.sel .fm-plan-name,.fm-opt.sel .fm-plan-note{color:#fff;}
.fm-plan-price{flex:0 0 auto;font-size:13px;font-weight:800;color:var(--nmk-accent);white-space:nowrap;}
.fm-opt.sel .fm-plan-price{color:#fff;}

/* ===== Email (mobile mail) ===== */
.ml-topwrap{background:#fff;flex:0 0 auto;border-bottom:1px solid #e6e6ea;}
[data-surface="email"] .statusbar{background:transparent;}
.ml-nav{display:flex;align-items:center;justify-content:space-between;padding:2px 12px 9px;color:#0a7cff;}
.ml-back{display:flex;align-items:center;gap:3px;font-size:14px;}
.ml-tools{display:flex;gap:15px;}
.ml-body{flex:1 1 auto;min-height:0;overflow-y:auto;background:#fff;padding:15px 16px;scroll-behavior:smooth;}
.ml-subject{font-size:18px;font-weight:800;color:var(--nmk-ink);line-height:1.25;}
.ml-sender{display:flex;align-items:center;gap:10px;margin:13px 0;padding-bottom:13px;border-bottom:1px solid #eee;}
.ml-av{width:38px;height:38px;border-radius:50%;background:var(--nmk-ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex:0 0 auto;}
.ml-smeta{flex:1;min-width:0;}
.ml-from{font-size:13px;font-weight:800;color:#1b2620;display:block;}
.ml-addr,.ml-to{font-size:11px;color:#8e8e93;display:block;}
.ml-when{font-size:10px;color:#8e8e93;display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;flex:0 0 auto;}
.mail-rev{font-size:13.5px;line-height:1.6;color:#26312d;margin-bottom:12px;opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease;}
.mail-rev.on{opacity:1;transform:none;}
.ml-cta{display:inline-block;background:var(--nmk-accent);color:#fff;font-size:13px;font-weight:800;padding:11px 18px;border-radius:10px;}
.ml-sign{color:#6a7672;font-size:13px;line-height:1.5;}
.ml-toolbar{display:flex;gap:16px;padding:10px 16px 12px;background:#fff;border-top:1px solid #eee;flex:0 0 auto;}
.ml-tb{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#0a7cff;}

/* ---------- desktop email app window ---------- */
.device.dev-desktopEmail{padding:0;border-radius:14px;background:transparent;box-shadow:0 44px 96px -32px rgba(14,42,47,.55),0 12px 30px rgba(14,42,47,.18);}
.device.dev-desktopEmail::after{display:none;}
.dev-desktopEmail .screen{width:min(1040px,94vw);height:min(640px,74vh);border-radius:12px;}
.dev-desktopEmail .homebar{display:none;}
/* ---------- desktop browser window (web app surface) ---------- */
.device.dev-desktopBrowser{padding:0;border-radius:14px;background:transparent;box-shadow:0 44px 96px -32px rgba(14,42,47,.55),0 12px 30px rgba(14,42,47,.18);}
.device.dev-desktopBrowser::after{display:none;}
.dev-desktopBrowser .screen{width:min(1080px,95vw);height:min(680px,78vh);border-radius:12px;}
.dev-desktopBrowser .homebar{display:none;}
.wb-omni{flex:1;max-width:440px;margin:0 auto;background:#fff;border:1px solid #d3d7d0;border-radius:8px;padding:5px 12px;font-size:12px;font-weight:600;color:#5a655f;text-align:center;display:flex;align-items:center;justify-content:center;gap:6px;}
.wb-omni svg{opacity:.6;}
.wb-tools{display:flex;gap:14px;color:#9aa6a0;flex:0 0 auto;}
.wb-page{flex:1 1 auto;min-height:0;width:100%;max-width:780px;margin:0 auto;display:flex;flex-direction:column;background:var(--nmk-cream);box-shadow:0 0 90px rgba(28,27,25,.07);}
.dev-desktopBrowser .fm-body{padding:22px 26px 22px;}
.dev-desktopBrowser .fm-compose,.dev-desktopBrowser .fm-live{padding-left:26px;padding-right:26px;}
.win-bar{display:flex;align-items:center;gap:9px;height:38px;padding:0 14px;background:#e7e9e4;border-bottom:1px solid #d3d7d0;flex:0 0 auto;}
.win-lights{display:flex;gap:7px;}
.win-lights span{width:11px;height:11px;border-radius:50%;}
.win-lights span:nth-child(1){background:#ff5f57;}
.win-lights span:nth-child(2){background:#febc2e;}
.win-lights span:nth-child(3){background:#28c840;}
.win-title{flex:1;text-align:center;font-size:12px;font-weight:700;color:#5a655f;letter-spacing:.02em;}
.win-title span{opacity:.55;font-weight:600;}
.dm-wrap{flex:1 1 auto;min-height:0;display:flex;background:#fff;}
.dm-rail{flex:0 0 186px;background:#f3f4f1;border-right:1px solid #e3e6e0;padding:16px 12px;display:flex;flex-direction:column;gap:3px;overflow-y:auto;}
.dm-rail-h{font-size:10px;font-weight:800;letter-spacing:.16em;color:#9aa6a0;padding:4px 10px 9px;}
.dm-fold{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:9px;font-size:13.5px;font-weight:700;color:#46524b;}
.dm-fold svg{opacity:.5;flex:0 0 auto;}
.dm-fold.on{background:#16463c;color:#fff;}
.dm-fold.on svg{opacity:1;}
.dm-fold span:first-of-type{flex:1;}
.dm-count{font-size:11px;font-weight:800;background:#dde3dd;color:#5a655f;padding:1px 9px;border-radius:10px;}
.dm-fold.on .dm-count{background:rgba(255,255,255,.22);color:#fff;}
.dm-list{flex:0 0 292px;border-right:1px solid #e3e6e0;display:flex;flex-direction:column;overflow-y:auto;background:#fbfbf9;}
.dm-list-h{display:flex;align-items:baseline;justify-content:space-between;padding:16px 18px 12px;border-bottom:1px solid #eef0ec;flex:0 0 auto;}
.dm-list-h span:first-child{font-size:17px;font-weight:800;color:#15201b;}
.dm-list-sub{font-size:11px;color:#9aa6a0;font-weight:600;}
.dm-row{display:flex;gap:11px;padding:13px 16px;border-bottom:1px solid #eef0ec;}
.dm-row.on{background:#eef5f1;box-shadow:inset 3px 0 0 #1f6b5f;}
.dm-rav{width:36px;height:36px;border-radius:50%;background:#1f6b5f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex:0 0 auto;}
.dm-rav.alt{background:#2f8f86;}
.dm-rav.alt2{background:#bf5630;}
.dm-rmeta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.dm-rtop{display:flex;justify-content:space-between;gap:8px;}
.dm-rfrom{font-size:13px;font-weight:800;color:#1b2620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dm-rtime{font-size:10.5px;color:#9aa6a0;flex:0 0 auto;}
.dm-rsub{font-size:12.5px;font-weight:700;color:#36423b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dm-rsnip{font-size:11.5px;color:#8b958e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dm-read{flex:1 1 auto;min-width:0;overflow-y:auto;}
.dm-read-tools{display:flex;gap:6px;padding:11px 24px;border-bottom:1px solid #eef0ec;position:sticky;top:0;background:#fff;z-index:2;}
.dm-tbtn{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#5a655f;background:#f4f6f3;}
.dev-desktopEmail .ml-body{padding:0;}
.dev-desktopEmail .ml-subject{font-size:24px;padding:24px 30px 0;}
.dev-desktopEmail .ml-sender{margin:16px 30px;padding-bottom:16px;}
.dev-desktopEmail .ml-content{padding:0 30px 32px;}
.dev-desktopEmail .mail-rev{font-size:15px;line-height:1.66;margin-bottom:14px;}
.dev-desktopEmail .ml-cta{font-size:14px;padding:13px 22px;}
.dev-desktopEmail .ml-av{width:42px;height:42px;font-size:16px;}
.dev-desktopEmail .ml-from{font-size:14px;}
@media (max-width:720px){
  .dm-rail{flex-basis:60px;}
  .dm-rail-h,.dm-fold span,.dm-count{display:none;}
  .dm-fold{justify-content:center;}
  .dm-list{flex-basis:180px;}
}
.em-head{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--t2);margin:26px 0 12px;}
.em-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.em-photo{margin:0;border-radius:13px;overflow:hidden;position:relative;border:1px solid var(--line);box-shadow:0 14px 30px -20px rgba(14,42,47,.6);background:linear-gradient(135deg,#e6efe9,#dcefe9);min-height:150px;}
.em-photo img{display:block;width:100%;height:170px;object-fit:cover;}
.em-photo.noimg img{display:none;}
.em-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:20px 13px 10px;color:#fff;font-size:12px;font-weight:700;line-height:1.3;background:linear-gradient(180deg,rgba(9,21,18,0),rgba(9,21,18,.78));text-shadow:0 1px 4px rgba(0,0,0,.45);}
.em-plans{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;}
.em-plan{border:1px solid var(--line);border-radius:15px;padding:15px 14px;background:var(--card);position:relative;display:flex;flex-direction:column;}
.em-plan.rec{border-color:var(--t2);box-shadow:0 18px 40px -26px rgba(31,107,95,.65);}
.em-plan.chosen{border-color:var(--t2);background:#f2f8f5;box-shadow:0 18px 40px -26px rgba(31,107,95,.55);}
.em-plan-badge{align-self:flex-start;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:4px 9px;border-radius:20px;background:#e6efe9;color:var(--muted);}
.em-plan.rec .em-plan-badge,.em-plan.chosen .em-plan-badge{background:linear-gradient(135deg,var(--t2),var(--t3));color:#fff;}
.em-plan-name{font-size:14px;font-weight:800;color:var(--ink);margin-top:11px;}
.em-plan-price{font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin-top:3px;line-height:1;}
.em-plan-price span{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:0;}
.em-plan-sub{font-size:11px;color:var(--muted);margin-top:5px;font-weight:600;}
.em-plan-feats{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:7px;}
.em-plan-feats li{font-size:11.5px;color:#36423b;display:flex;gap:8px;align-items:flex-start;line-height:1.35;}
.em-plan-feats li::before{content:"";flex:0 0 auto;margin-top:5px;width:13px;height:7px;border-left:2.4px solid var(--t2);border-bottom:2.4px solid var(--t2);transform:rotate(-45deg);}
.em-inc{display:grid;grid-template-columns:1fr 1fr;gap:11px;}
.em-inc-tile{display:flex;gap:11px;align-items:center;background:#f5f7f4;border:1px solid var(--line);border-radius:12px;padding:12px 13px;}
.em-inc-ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--t2),var(--t3));color:#fff;display:flex;align-items:center;justify-content:center;}
.em-inc-lab{font-size:12px;line-height:1.35;color:#36423b;font-weight:600;}
.em-ex{border:1px solid var(--line);border-radius:14px;overflow:hidden;}
.em-ex-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line);background:#fff;}
.em-ex-row:last-child{border-bottom:0;}
.em-ex-meta{display:flex;flex-direction:column;gap:2px;min-width:0;}
.em-ex-place{font-size:13px;font-weight:800;color:var(--ink);}
.em-ex-who{font-size:11.5px;color:var(--muted);}
.em-ex-amt{flex:0 0 auto;font-size:16px;font-weight:800;color:var(--t2);font-variant-numeric:tabular-nums;}
.em-ex-note{font-size:11.5px;line-height:1.5;color:var(--muted);margin-top:11px;}
.em-inspo{display:flex;flex-direction:column;gap:10px;}
.em-inspo-row{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:13px;padding:13px 14px;background:#fff;}
.em-inspo-tag{flex:0 0 auto;font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:linear-gradient(135deg,var(--t2),var(--t3));padding:5px 9px;border-radius:20px;margin-top:1px;}
.em-inspo-meta{display:flex;flex-direction:column;gap:3px;min-width:0;}
.em-inspo-title{font-size:13px;font-weight:800;color:var(--ink);line-height:1.3;}
.em-inspo-hook{font-size:12px;color:var(--muted);line-height:1.45;}

/* ---------- finale + footer ---------- */
.finale{max-width:1060px;margin:34px auto 0;padding:0 26px;}
.finale .inner{background:var(--teal);border-radius:16px;color:#fff;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;transition:box-shadow .4s;}
.finale.pulse .inner{box-shadow:0 0 0 4px rgba(127,220,207,.35);}
.finale h2{font-weight:800;font-size:21px;letter-spacing:-.01em;line-height:1.2;}
.finale h2 em{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;color:var(--mint);}
.finale p{margin-top:8px;font-size:11.5px;color:#bcccc9;max-width:600px;line-height:1.5;}
.fincontact{font-size:10px;color:#8fb5ae;margin-top:10px;}
.fincontact a{color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(143,181,174,.55);}
.finale a.cta{flex:none;background:var(--terra);color:#fff;text-decoration:none;font-weight:800;font-size:12.5px;padding:13px 22px;border-radius:9px;white-space:nowrap;transition:transform .2s;}
.finale a.cta:hover{transform:translateY(-2px);}
.foot{max-width:1060px;margin:26px auto 0;padding:0 26px 40px;display:flex;justify-content:space-between;font-size:9px;font-weight:600;letter-spacing:.18em;color:#a3aba3;}

@media (max-width:560px){
  .head p{font-size:12.5px;}
  .finale .inner{flex-direction:column;align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce){/* demo intentionally always animates */}
.sample-ad-label{padding:6px 10px;font-size:9px;color:#6a7672;background:#fff;}
.ig-ad-photo{height:190px;}
@media(max-width:560px){.bar{padding:12px;flex-wrap:wrap}.brand{flex-wrap:wrap}.xtag{font-size:8px}.em-inc{grid-template-columns:1fr}.dm-rail,.dm-list{display:none}.dev-desktopEmail .ml-subject{padding:18px 16px 0;font-size:20px}.dev-desktopEmail .ml-sender{margin:14px 16px}.dev-desktopEmail .ml-content{padding:0 16px 24px}.em-photos{grid-template-columns:1fr}.wb-tools{display:none}.em-ex-amt{font-size:12px}}
.wm-img{height:28px;max-height:28px;max-width:195px;}
.fm-brandmark{display:flex;align-items:center;background:#fff;padding:0;border-radius:0;}
.fm-head{background:#fff;}
.fm-brandmark img{display:block;width:142px;height:auto;}
.ig-av img,.ig-ad-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}
.ig-ad-av::after{display:none;}
.planner-link{display:block;margin-top:9px;color:#16463c;text-decoration:underline;font-weight:800;overflow-wrap:anywhere;}
.planner-link:hover{color:#2f8f86;}
.email-brand{background:#fff;padding:4px 0 12px;border-radius:0;margin-bottom:18px;}
.email-brand img{display:block;width:170px;height:auto;}
.ad-screenshot{display:block;width:100%;height:auto;}
.ig-ad-screenshot{border:0;border-radius:10px;background:#fff;}
.ig-comment-feed{flex:1;min-height:0;overflow-y:auto;background:#fff;scroll-behavior:smooth;}
.ig-comment-feed .ig-post-hd{padding:12px;}
.ig-post-actions{display:flex;align-items:center;padding:10px 14px;color:#111;font-size:28px;}
.ig-comments-title{padding:0 14px 10px;font-size:13px;font-weight:800;color:#111;}
.ig-comment-list{padding:0 14px 16px;}
.posted-comment{display:flex;gap:10px;font-size:13px;line-height:1.45;animation:pop .3s ease;}
.posted-comment p{margin-top:3px;}
.comment-avatar{display:flex;width:28px;height:28px;flex-shrink:0;align-items:center;justify-content:center;border-radius:50%;background:#e7ede9;color:#16463c;font-weight:800;font-size:12px;}
.comment-meta{display:block;color:#8e8e8e;font-size:10px;margin-top:6px;}
.comment-post{color:#3897f0;font-size:12px;font-weight:800;}
.comment-compose{font-size:12px;max-height:92px;overflow-y:auto;}
[data-surface="comment"] .statusbar{background:#fff;}
.rail{max-width:640px;}
@media(max-width:560px){.rail{padding:0 10px;}.rail-lab{font-size:8px;}}

/* =========================================================
   v2 ADDITIONS  ·  three-solution structure on the travel engine
   ========================================================= */
:host{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);}
:host{scroll-padding-top:env(safe-area-inset-top,0px);}
:host{background:var(--sand);}
.bar{padding-top:calc(14px + env(safe-area-inset-top,0px));}
.head{margin-top:36px;}
.head p{max-width:560px;font-size:14px;}
.thread-label{letter-spacing:.2em;}
.cbtn .rs-ic{display:none;font-size:15px;line-height:1;}
@media (max-width:620px){
  .xtag{display:none;} .bar{gap:10px;padding-left:14px;padding-right:14px;flex-wrap:nowrap;}
  .bar-ctrls{flex-wrap:nowrap;gap:6px;} .bctrl.bplay{min-width:74px;padding:8px 10px;}
  .cbtn{padding:7px 10px;} .cbtn .rs-txt{display:none;} .cbtn .rs-ic{display:inline;} .bar-sep{display:none;}
  .wm-img{height:20px;max-height:20px;}
}

/* ---------- three doors (one per solution) ---------- */
.doors{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1060px;margin:14px auto 0;padding:0 26px;position:relative;}
.doors::before{content:"";position:absolute;left:calc(26px + 16.6%);right:calc(26px + 16.6%);top:50%;height:2px;background:var(--line);z-index:0;}
.door{position:relative;z-index:1;background:var(--card);border:1.5px solid var(--line);border-top:4px solid var(--line);border-radius:14px;padding:16px 18px 15px;text-align:left;display:flex;flex-direction:column;gap:4px;transition:border-color .25s,box-shadow .25s,transform .2s,background .25s;}
.door:hover{border-color:#cfe0d6;transform:translateY(-1px);}
.door-pos{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a8b2ac;display:flex;align-items:center;gap:8px;}
.door-pos i{font-style:normal;width:18px;height:18px;border-radius:50%;background:var(--sand);border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;color:var(--muted);letter-spacing:0;}
.door-name{font-size:14px;font-weight:800;color:var(--muted);letter-spacing:-.01em;line-height:1.25;min-height:2.5em;transition:color .25s;}
.door-stat{margin-top:6px;font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--muted);transition:color .25s;}
.door-stat small{display:block;font-size:11px;font-weight:700;letter-spacing:0;color:#a8b2ac;margin-top:5px;line-height:1.35;}
.door-res{font-size:12px;font-weight:700;color:#a8b2ac;margin-top:4px;}
.door.on{background:#fff;border-color:#cfe0d6;border-top-color:var(--terra);box-shadow:0 18px 38px -24px rgba(14,42,47,.55);}
.door.on .door-pos{color:var(--t3);}
.door.on .door-pos i{background:var(--t2);border-color:var(--t2);color:#fff;}
.door.on .door-name,.door.on .door-stat{color:var(--teal);}
.door.on .door-stat small{color:var(--t2);}
.door.on .door-res{color:var(--terra);}
@media (max-width:760px){
  .doors{grid-template-columns:1fr;gap:10px;}
  .doors::before{display:none;}
  .door{display:grid;grid-template-columns:1fr auto;grid-template-areas:"pos pos" "name stat" "res stat";column-gap:14px;row-gap:3px;align-items:center;padding:13px 15px;}
  .door-pos{grid-area:pos;} .door-name{grid-area:name;min-height:0;}
  .door-stat{grid-area:stat;font-size:24px;margin-top:0;text-align:right;align-self:center;}
  .door-stat small{font-size:10px;} .door-res{grid-area:res;margin-top:0;}
}
.rail{margin-top:28px;}
.rail-lab{text-align:center;}

/* ---------- bubble chips, capture card, link card (DM + SMS) ---------- */
.chips{align-self:flex-start;display:flex;flex-wrap:wrap;gap:7px;width:92%;margin:2px 0 2px;animation:pop .3s ease;}
.chip{font:inherit;font-size:12.5px;font-weight:600;color:#1b1b1e;background:#fff;border:1.5px solid #d9d9dd;border-radius:18px;padding:8px 13px;cursor:pointer;transition:all .25s;}
.chip.sel{background:#141417;border-color:#141417;color:#fff;}
.chip.dim{opacity:.4;}
[data-surface="social"] .chip{border-color:#dbdbdb;}
[data-surface="social"] .chip.sel{background:linear-gradient(45deg,#4f5bd5,#a02fb5);border-color:transparent;color:#fff;}
[data-surface="sms"] .chip{border-color:#cfcfd4;}
[data-surface="sms"] .chip.sel{background:#0a7cff;border-color:#0a7cff;color:#fff;}
.cap-card{align-self:stretch;width:100%;background:var(--nmk-ink);border-radius:16px;padding:15px 15px 16px;margin-top:2px;animation:pop .3s ease;}
.cap-q{font-size:13.5px;font-weight:700;color:#fff;line-height:1.35;}
.cap-row{display:flex;gap:9px;margin-top:11px;}
.cap-field{flex:1;background:#fff;border-radius:10px;padding:0 13px;display:flex;align-items:center;font-size:14px;color:#16181b;font-weight:600;min-height:42px;}
.cap-ph{white-space:pre;}
.cap-caret{width:2px;height:17px;background:var(--nmk-accent);margin-left:1px;animation:rpcaret 1s steps(1) infinite;}
.cap-btn{background:var(--nmk-accent);color:#fff;font-size:13px;font-weight:800;padding:0 16px;border-radius:10px;display:flex;align-items:center;white-space:nowrap;transition:all .3s;}
.cap-btn.on{background:#27c46b;color:#04210f;}
.cap-note{font-size:10px;color:#b7ad9d;margin-top:10px;line-height:1.5;}
.linkcard{align-self:flex-start;flex:0 0 auto;max-width:78%;background:#fff;border:1px solid #e3e3e7;border-radius:14px;overflow:hidden;animation:pop .3s ease;}
.msgs > .chips,.msgs > .cap-card,.msgs > .ig-adwrap,.msgs > .ig-ad-comment{flex:0 0 auto;}
.lk-band{height:64px;background:var(--nmk-ink) center/cover no-repeat;display:flex;align-items:flex-end;padding:0 12px 8px;}
.lk-band img{height:16px;width:auto;display:block;}
.lk-t{font-size:12.5px;font-weight:800;color:#15201b;padding:8px 12px 2px;line-height:1.3;}
.lk-d{font-size:10.5px;color:#8e8e93;padding:0 12px 9px;}
.msg.meta{background:none!important;padding:0!important;max-width:none;}

/* ---------- results / plan page (desktopBrowser, Namakina-owned surface) ---------- */
.rp-page{flex:1 1 auto;min-height:0;background:var(--nmk-cream);display:flex;flex-direction:column;}
.rp-top{display:flex;align-items:center;justify-content:space-between;padding:12px clamp(26px,7%,84px);border-bottom:1px solid var(--nmk-line);background:var(--nmk-paper);flex:0 0 auto;}
.rp-logo img{height:20px;width:auto;display:block;}
.rp-status{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--nmk-accent);display:flex;align-items:center;gap:7px;}
.rp-status i{width:8px;height:8px;border-radius:50%;background:#39b06a;box-shadow:0 0 0 3px rgba(57,176,106,.2);}
.rp-scroll{flex:1;overflow-y:auto;padding:26px clamp(26px,7%,84px) 12px;scroll-behavior:smooth;}
.rp-stream{max-width:760px;margin:0 auto;display:flex;flex-direction:column;}
.rp-intro{font-size:22px;line-height:1.32;font-weight:700;color:var(--nmk-ink);letter-spacing:-.01em;margin-bottom:6px;animation:rpin .5s ease;}
.rp-body{font-size:16.5px;line-height:1.45;color:#2a2825;margin-top:14px;animation:rpin .5s ease;}
.rp-result{font-weight:700;color:var(--nmk-ink);}
.rp-q{font-size:16.5px;line-height:1.4;font-weight:800;color:var(--nmk-ink);margin-top:20px;animation:rpin .5s ease;}
.rp-closeq{margin-top:24px;}
.rp-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;animation:rpin .5s ease;}
.rp-chip{font:inherit;font-size:14px;font-weight:600;color:var(--nmk-ink);background:var(--nmk-paper);border:1.5px solid var(--nmk-line);border-radius:24px;padding:10px 16px;cursor:pointer;transition:all .25s;}
.rp-chip.sel{background:var(--nmk-accent);border-color:var(--nmk-accent);color:#fff;box-shadow:0 12px 24px -12px rgba(193,91,52,.7);}
.rp-chip.dim{opacity:.38;}
.rp-pick{align-self:flex-end;margin-top:12px;background:var(--nmk-accent);color:#fff;font-size:14px;font-weight:800;padding:9px 16px;border-radius:20px 20px 6px 20px;animation:rpin .35s ease;}
.rp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px;animation:rpin .55s ease;}
.rp-card{background:var(--nmk-paper);border:1px solid var(--nmk-line);border-radius:16px;padding:18px 16px 0;display:flex;flex-direction:column;box-shadow:0 22px 44px -30px rgba(28,27,25,.45);overflow:hidden;}
.rp-card-tag{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--nmk-accent);}
.rp-card-h{font-size:16.5px;font-weight:800;color:var(--nmk-ink);line-height:1.22;margin-top:8px;min-height:2.4em;}
.rp-card-p{font-size:12.5px;line-height:1.5;color:#5e6166;margin-top:8px;flex:1;padding-bottom:16px;}
.rp-card-cta{margin:0 -16px;background:var(--nmk-ink);color:#fff;font-size:13px;font-weight:800;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;}
.rp-card.lead{border-color:var(--nmk-accent);}
.rp-card.lead .rp-card-cta{background:var(--nmk-accent);}
.rp-arw{font-weight:900;}
.rp-capture{margin-top:22px;background:var(--nmk-ink);border-radius:18px;padding:20px 20px 22px;animation:rpin .5s ease;}
.rp-cap-q{font-size:16px;font-weight:700;color:#fff;}
.rp-cap-row{display:flex;gap:10px;margin-top:13px;}
.rp-cap-field{flex:1;background:#fff;border-radius:11px;padding:0 15px;display:flex;align-items:center;font-size:16px;color:#16181b;font-weight:600;min-height:46px;}
.rp-cap-ph{white-space:pre;}
.rp-cap-caret{width:2px;height:20px;background:var(--nmk-accent);margin-left:1px;animation:rpcaret 1s steps(1) infinite;}
.rp-cap-btn{background:var(--nmk-accent);color:#fff;font-size:14px;font-weight:800;padding:0 18px;border-radius:11px;display:flex;align-items:center;white-space:nowrap;transition:all .3s;}
.rp-cap-btn.on{background:#27c46b;color:#04210f;}
.rp-cap-note{font-size:11px;color:#b7ad9d;margin-top:11px;line-height:1.5;}
.rp-replybar{flex:0 0 auto;margin:0 clamp(20px,6%,72px) 8px;background:#fff;border:1.5px solid var(--nmk-line);border-radius:30px;display:flex;align-items:center;justify-content:space-between;padding:6px 6px 6px 22px;box-shadow:0 12px 30px -22px rgba(28,27,25,.5);}
.rp-field{font-size:14px;color:#9a938a;}
.rp-send{width:38px;height:38px;border-radius:50%;background:var(--nmk-accent);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.rp-spon{flex:0 0 auto;text-align:center;font-size:11px;color:#9a938a;padding:4px 20px 12px;}
.rp-spon u{cursor:pointer;}
@keyframes rpin{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
@keyframes rpcaret{0%,50%{opacity:1;}51%,100%{opacity:0;}}
.rp-say{align-self:flex-end;max-width:78%;margin-top:18px;background:var(--nmk-accent);color:#fff;font-size:15.5px;line-height:1.42;padding:12px 16px;border-radius:20px 20px 7px 20px;box-shadow:0 12px 26px -16px rgba(0,0,0,.4);animation:rpin .4s ease;}
.rp-areply{margin-top:12px;}
.rp-typing{align-self:flex-start;display:inline-flex;gap:5px;width:max-content;margin-top:14px;background:var(--nmk-paper);border:1px solid var(--nmk-line);border-radius:16px;padding:13px 16px;animation:rpin .3s ease;}
.rp-typing i{width:7px;height:7px;border-radius:50%;background:#b7ad9d;animation:blink 1s infinite;}
.rp-typing i:nth-child(2){animation-delay:.16s;}.rp-typing i:nth-child(3){animation-delay:.32s;}
@media (max-width:680px){
  .rp-cards{grid-template-columns:1fr;} .rp-intro{font-size:19px;} .rp-scroll{padding:20px 18px 10px;} .rp-top{padding:10px 18px;}
  .rp-body,.rp-q{font-size:15px;}
}

/* ---------- visual email: three-up photos ---------- */
.em-photos.cols-3{grid-template-columns:repeat(3,1fr);}
.em-photos.cols-3 .em-photo img{height:150px;}
@media (max-width:560px){ .em-photos.cols-3{grid-template-columns:1fr;} }

/* =========================================================
   SPEC  ·  the written specification for the active solution
   ========================================================= */
.spec{max-width:1060px;margin:40px auto 0;padding:0 26px;}
.spec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--line);}
.spec-pos{font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--t3);}
.spec-head h2{font-size:clamp(22px,2.8vw,30px);font-weight:800;letter-spacing:-.015em;line-height:1.12;margin-top:6px;}
.spec-sum{font-size:14px;color:var(--muted);line-height:1.6;max-width:720px;margin-top:10px;}
.spec-nav{display:flex;gap:8px;flex-wrap:wrap;}
.spec-nav button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 13px;font-size:11px;font-weight:800;color:var(--muted);letter-spacing:.02em;}
.spec-nav button.on{background:var(--teal);border-color:var(--teal);color:#fff;}
.results{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px;}
.res{background:#fff;border:1px solid var(--line);border-top:4px solid var(--t2);border-radius:14px;padding:16px 18px 15px;}
.res.hero{border-top-color:var(--terra);}
.res-n{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--teal);}
.res-l{font-size:13px;font-weight:700;color:var(--ink);margin-top:8px;line-height:1.35;}
.res-s{font-size:11.5px;color:var(--muted);margin-top:6px;line-height:1.45;}
.prov{font-size:11.5px;color:var(--muted);line-height:1.55;margin-top:12px;max-width:820px;}
.spec-grid{display:grid;grid-template-columns:5fr 7fr;gap:16px;margin-top:22px;align-items:start;}
.sp-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--t2);border-radius:14px;padding:20px 22px 18px;}
.sp-card.run{border-top-color:var(--terra);}
.sp-card h3{font-size:14px;font-weight:800;letter-spacing:-.01em;color:var(--teal);}
.run ol{list-style:none;counter-reset:step;margin-top:14px;display:flex;flex-direction:column;}
.run li{counter-increment:step;display:flex;gap:14px;padding:11px 0;border-top:1px solid #eef0ec;font-size:13.5px;line-height:1.5;color:var(--ink);}
.run li:first-child{border-top:0;}
.run li::before{content:counter(step);flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--sand);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:var(--t2);}
.run li b{display:block;font-weight:800;color:var(--teal);margin-bottom:1px;}
.def dl{margin-top:14px;display:grid;grid-template-columns:150px 1fr;column-gap:16px;}
.def dt{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--t2);padding:11px 0;border-top:1px solid #eef0ec;line-height:1.45;}
.def dd{font-size:13.5px;line-height:1.55;color:var(--ink);padding:11px 0;border-top:1px solid #eef0ec;}
.def dt:first-of-type,.def dd:first-of-type{border-top:0;}
@media (max-width:860px){
  .results{grid-template-columns:1fr;} .spec-grid{grid-template-columns:1fr;}
  .def dl{grid-template-columns:1fr;} .def dt{padding-bottom:2px;} .def dd{padding-top:0;border-top:0;}
}

/* ---------- all three at a glance ---------- */
.glance{max-width:1060px;margin:40px auto 0;padding:0 26px;}
.glance h2{font-size:clamp(20px,2.4vw,26px);font-weight:800;letter-spacing:-.015em;}
.glance p{font-size:13.5px;color:var(--muted);margin-top:8px;max-width:680px;line-height:1.55;}
.tablewrap{overflow-x:auto;margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff;}
table{width:100%;border-collapse:collapse;min-width:860px;table-layout:fixed;}
col.c1{width:21%;}col.c2{width:14%;}col.c3{width:18%;}col.c4{width:22%;}col.c5{width:13%;}col.c6{width:12%;}
th{text-align:left;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--t2);padding:13px 16px;background:#f7f8f5;border-bottom:1px solid var(--line);}
td{font-size:13px;line-height:1.5;color:var(--ink);padding:14px 16px;border-bottom:1px solid #eef0ec;vertical-align:top;}
tr:last-child td{border-bottom:0;}
td.sol{font-weight:800;color:var(--teal);}
td.sol small{display:block;font-weight:800;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#a8b2ac;margin-top:3px;}
td.num{font-weight:800;color:var(--terra);}
.foot{gap:16px;flex-wrap:wrap;}

/* =========================================================
   v3  ·  Nia: a fictitious travel brand with its own marks and palette
   (Namakina appears only in the page chrome and the vendor spec)
   ========================================================= */
:host{--nmk-ink:#1b2432;--nmk-cream:#f6f2ea;--nmk-paper:#fffdf8;--nmk-accent:#2a74a8;--nmk-line:#e3dccf;}
.nia-wm{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;color:var(--nmk-ink);font-size:24px;line-height:1;letter-spacing:-.01em;display:inline-flex;align-items:baseline;}
.nia-wm i{display:inline-block;width:.26em;height:.26em;border-radius:50%;background:var(--nmk-accent);margin-left:.1em;}
.nia-wm.light{color:#fff;}
.nia-mono{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;color:#fff;font-size:15px;line-height:1;}
.ig-av.nia-av{background:linear-gradient(135deg,var(--nmk-ink),var(--nmk-accent));}
.ig-ad-av{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--nmk-ink),var(--nmk-accent));border:0;}
.ig-ad-av .nia-mono{font-size:12px;}
.fm-brandmark .nia-wm{font-size:26px;}
.email-brand .nia-wm{font-size:28px;}
.rp-logo .nia-wm{font-size:24px;}
.lk-band .nia-wm{font-size:20px;}
.fm-opt.sel,.fm-imgopt.sel{box-shadow:0 12px 24px -12px rgba(42,116,168,.6);}
.rp-chip.sel{box-shadow:0 12px 24px -12px rgba(42,116,168,.6);}
.em-head{color:var(--nmk-accent);}
.em-inc-ic{background:var(--nmk-ink);}
.em-inspo-tag{background:var(--nmk-ink);}
.em-ex-amt{color:var(--nmk-accent);}
.em-plan.rec,.em-plan.chosen{border-color:var(--nmk-accent);box-shadow:0 18px 40px -26px rgba(42,116,168,.55);}
.em-plan.chosen{background:#f1f6fb;}
.em-plan.rec .em-plan-badge,.em-plan.chosen .em-plan-badge{background:var(--nmk-accent);}
.em-plan-feats li::before{border-color:var(--nmk-accent);}
.dm-fold.on{background:var(--nmk-ink);}
.dm-row.on{background:#f1f6fb;box-shadow:inset 3px 0 0 var(--nmk-accent);}
.dm-rav{background:var(--nmk-ink);} .dm-rav.alt{background:var(--nmk-accent);} .dm-rav.alt2{background:#b8893a;}
.ml-av{background:var(--nmk-ink);}


/* Simplified version: one choice, one demonstration, optional supporting details. */
[hidden]{display:none!important;}
.bar{max-width:1180px;margin:auto;background:transparent;border-bottom:1px solid var(--line);padding:20px 28px;box-shadow:none;}
.bar .xtag{color:var(--muted);font-size:11px;letter-spacing:.04em;}
.head{max-width:870px;margin:38px auto 0;}
.head h1{font-size:clamp(29px,3.8vw,43px);line-height:1.15;}
.head p{font-size:15px;max-width:630px;line-height:1.6;margin-top:13px;}
.choose-label{max-width:1124px;margin:30px auto 11px;padding:0 26px;font-size:12px;font-weight:700;color:var(--muted);}
.doors{max-width:1124px;gap:12px;margin:0 auto;padding:0 26px;}
.doors::before{display:none;}
.door{display:flex;border:1px solid var(--line);border-radius:12px;padding:16px 18px;gap:5px;background:rgba(255,255,255,.55);}
.door.on{border:1.5px solid var(--t2);background:white;box-shadow:none;}
.door-name{min-height:0;font-size:16px;color:var(--ink);}
.door-sub{font-size:12px;line-height:1.45;color:var(--muted);}
.door-pos{display:none;}
.demo-shell{max-width:1072px;margin:22px auto 0;display:grid;grid-template-columns:290px minmax(0,1fr);border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;}
.demo-explain{padding:32px 26px;background:#f2f5f0;border-right:1px solid var(--line);}
.demo-eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--t2);}
.demo-explain h2{font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:14px 0 12px;color:var(--teal);}
.demo-explain>p{font-size:14px;color:var(--muted);line-height:1.6;}
.stage-note{margin-top:28px;padding-top:22px;border-top:1px solid #dce3da;}
.stage-note>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--t2);}
.stage-note h3{font-size:17px;line-height:1.3;margin:10px 0 8px;}
.stage-note p,.outcome-note p{font-size:13px;line-height:1.6;color:var(--muted);}
.outcome-note{margin-top:26px;}
.outcome-note>span{display:block;font-size:11px;font-weight:800;margin-bottom:7px;color:var(--teal);}
.demo-explain .demo-disclosure{margin-top:26px;font-size:11px;line-height:1.6;color:#79847b;}
.demo-main{min-width:0;padding:22px 18px 20px;}
.demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 5px;}
.demo-toolbar-label{font-size:12px;font-weight:700;color:var(--muted);}
#demoControls .bar-ctrls{display:flex;align-items:center;gap:7px;}
.bctrl{color:var(--t2);border-color:var(--line);background:#fff;}
.bctrl:hover{background:#edf4ee;color:var(--t2);border-color:var(--t2);}
.bctrl.bplay{min-width:85px;background:var(--t2);border-color:var(--t2);color:#fff;text-transform:none;letter-spacing:0;}
.cbtn{color:var(--muted);background:transparent;border-color:var(--line);font-size:10px;padding:8px 10px;}
.cbtn:hover{color:var(--teal);}
.bar-sep{display:none;}
.rail{margin-top:19px;max-width:630px;padding:0 8px;}
.rail-lab{font-size:9px;letter-spacing:.015em;text-transform:none;}
.rail-ic{width:30px;height:30px;}
.rail-line{top:20px;}
.rail-item{gap:7px;}
.advtrack{max-width:630px;margin-top:10px;padding:0 12px;}
.devicewrap{margin-top:18px;padding:0 2px;}
.screen{height:min(570px,70vh);}
.device.dev-desktopBrowser,.device.dev-desktopEmail{width:100%;max-width:100%;}
.dev-desktopBrowser .screen,.dev-desktopEmail .screen{width:100%;height:570px;}
.rp-cards{grid-template-columns:1fr;}
.rp-top{padding:12px 17px;gap:10px;flex-wrap:wrap;}
.rp-status{font-size:8px;letter-spacing:.025em;}
.rp-scroll{padding:20px 18px 12px;}
.rp-body,.rp-q{font-size:14px;}
.rp-card-h{min-height:0;}
.dm-sidebar{display:none;}
.ctrl-hint{max-width:650px;margin-top:13px;font-size:11px;line-height:1.5;min-height:1.5em;}
.spec{max-width:1124px;margin-top:24px;}
.simple-summary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px 26px;}
.simple-summary h2{font-size:18px;margin-bottom:16px;}
.simple-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;list-style:none;counter-reset:how;}
.simple-steps li{counter-increment:how;font-size:13px;line-height:1.55;color:var(--muted);}
.simple-steps li b{display:block;font-size:14px;color:var(--teal);margin-bottom:5px;}
.simple-steps li b::before{content:counter(how)". ";color:var(--t2);}
.more-details{border-top:1px solid var(--line);margin-top:22px;padding-top:16px;}
.more-details summary{font-size:12px;font-weight:700;color:var(--t2);cursor:pointer;}
.more-details .results{margin-top:18px;}
.more-details .res-n{font-size:23px;}
.more-details .spec-grid{grid-template-columns:1fr;}
.more-details .sp-card{border-top:1px solid var(--line);}
.finale{max-width:1072px;margin:26px auto 0;padding:0;background:transparent;color:var(--ink);}
.finale .inner{padding:26px 0;border-top:1px solid var(--line);gap:20px;}
.finale h2{font-size:22px;}
.finale p{font-size:13px;color:var(--muted);max-width:600px;}
.fincontact{display:none;}
.foot{max-width:1124px;margin:24px auto;padding:0 26px 24px;font-size:9px;color:var(--muted);}
@media(max-width:900px){.demo-shell{margin:22px 26px 0;grid-template-columns:240px minmax(0,1fr);}.demo-explain{padding:26px 20px;}.demo-toolbar-label{display:none;}.demo-toolbar{justify-content:center;}.simple-steps{gap:16px;}.finale{margin-left:26px;margin-right:26px;}}
@media(max-width:680px){.bar{padding:17px 20px;}.head{margin-top:26px;padding:0 20px;}.head p{font-size:14px;}.choose-label{padding:0 20px;margin-top:24px;}.doors{padding:0 20px;grid-template-columns:1fr;gap:7px;}.door{padding:12px 15px;}.door-name{font-size:14px;}.door-sub{font-size:11px;}.demo-shell{margin:18px 20px 0;grid-template-columns:1fr;}.demo-explain{padding:22px;border-right:0;border-bottom:1px solid var(--line);}.demo-explain h2{font-size:23px;margin:9px 0;}.stage-note{margin-top:18px;padding-top:15px;}.outcome-note{margin-top:15px;}.demo-explain .demo-disclosure{margin-top:15px;}.demo-main{padding:18px 10px;}.simple-steps{grid-template-columns:1fr;gap:17px;}.spec{padding:0 20px;}.simple-summary{padding:22px;}.finale{margin-left:20px;margin-right:20px;}.finale .inner{display:flex;flex-direction:column;align-items:flex-start;}.dm-inbox{display:none;}.screen{width:min(338px,76vw);}.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:520px;}.em-photos,.em-plans{grid-template-columns:1fr;}}


/* Formatting refinement: solid sticky header and tighter content rhythm. */
:host{scroll-padding-top:72px;}
.bar{max-width:none;width:100%;margin:0;padding:16px max(24px,calc((100vw - 1072px)/2));background:var(--deep);color:#fff;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 3px 14px rgba(14,42,47,.12);position:sticky;top:0;z-index:100;isolation:isolate;}
.bar .xtag{color:#c8d9d3;letter-spacing:.035em;}
.wm-img{height:23px;max-height:23px;}
.head{margin-top:28px;max-width:860px;}
.head h1{font-size:clamp(28px,3.4vw,39px);line-height:1.16;}
.head p{margin-top:10px;font-size:14px;line-height:1.55;max-width:610px;}
.choose-label{margin-top:22px;margin-bottom:9px;}
.doors{gap:10px;}
.door{padding:13px 16px;gap:4px;min-height:74px;justify-content:center;}
.door-name{font-size:15px;line-height:1.3;}
.door-sub{font-size:12px;line-height:1.4;}
.demo-shell{margin-top:18px;grid-template-columns:280px minmax(0,1fr);}
.demo-explain{padding:26px 24px;}
.demo-explain h2{font-size:23px;line-height:1.2;margin:11px 0 10px;}
.demo-explain>p{font-size:13px;line-height:1.55;}
.stage-note{margin-top:22px;padding-top:18px;}
.stage-note h3{font-size:16px;margin:8px 0 6px;}
.stage-note p,.outcome-note p{font-size:12.5px;line-height:1.55;}
.outcome-note{margin-top:20px;}
.demo-explain .demo-disclosure{margin-top:20px;font-size:10.5px;line-height:1.5;}
.demo-main{padding:18px 20px 15px;}
.demo-toolbar{padding:0;min-height:34px;}
.rail{margin-top:14px;padding:0;}
.rail-item{padding:5px 2px;gap:5px;}
.rail-lab{font-size:9px;line-height:1.25;}
.advtrack{padding:0 5px;margin-top:8px;}
.devicewrap{margin-top:14px;}
.device{box-shadow:0 17px 38px -17px rgba(14,42,47,.4),0 3px 10px rgba(14,42,47,.12);}
.screen{height:min(544px,70vh);}
.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:544px;}
.device.dev-desktopBrowser,.device.dev-desktopEmail{box-shadow:0 15px 35px -20px rgba(14,42,47,.4),0 2px 8px rgba(14,42,47,.1);}
/* A full email needs the reading pane, not three cramped inbox columns. */
.dev-desktopEmail .dm-rail,.dev-desktopEmail .dm-list{display:none;}
.dev-desktopEmail .dm-read{width:100%;}
.dev-desktopEmail .ml-subject{font-size:20px;line-height:1.25;padding:20px 22px 0;}
.dev-desktopEmail .ml-sender{margin:12px 22px;padding-bottom:12px;}
.dev-desktopEmail .ml-content{padding:0 22px 24px;}
.dev-desktopEmail .mail-rev{font-size:13px;line-height:1.55;margin-bottom:12px;}
.dev-desktopEmail .dm-read-tools{padding:8px 16px;gap:6px;}
.em-photos{gap:10px;}
.em-photos.cols-3 .em-photo img{height:130px;}
.em-photo img{height:150px;}
.rp-intro{font-size:20px;line-height:1.3;}
.rp-body,.rp-q{font-size:14px;line-height:1.5;}
.rp-body{margin-top:10px;}
.rp-q{margin-top:16px;}
.rp-chips{gap:7px;margin-top:9px;}
.rp-chip{font-size:12.5px;padding:8px 12px;}
.rp-cards{gap:10px;margin-top:16px;}
.rp-card{padding:14px 15px 0;}
.rp-card-h{font-size:15px;margin-top:6px;}
.rp-card-p{font-size:12px;padding-bottom:12px;margin-top:6px;}
.rp-card-cta{margin:0 -15px;padding:11px 15px;font-size:12px;}
.dev-desktopBrowser .fm-body{padding:18px 20px;}
.dev-desktopBrowser .fm-compose,.dev-desktopBrowser .fm-live{padding-left:20px;padding-right:20px;}
.fm-qtext{font-size:15px;line-height:1.35;}
.ctrl-hint{margin-top:10px;}
.spec{margin-top:18px;}
.simple-summary{padding:21px 24px;}
.simple-summary h2{font-size:17px;margin-bottom:13px;}
.simple-steps{gap:22px;}
.simple-steps li{font-size:12.5px;line-height:1.55;}
.simple-steps li b{font-size:13px;line-height:1.35;}
.more-details{margin-top:18px;padding-top:14px;}
.finale{margin-top:20px;}
.finale .inner{padding:22px 0;}
.finale h2{font-size:21px;line-height:1.3;}
.finale p{line-height:1.55;margin-top:7px;}
.foot{margin-top:16px;padding-bottom:20px;line-height:1.5;}
@media(max-width:900px){.demo-shell{grid-template-columns:235px minmax(0,1fr);}.demo-explain{padding:23px 20px;}.demo-main{padding:17px 14px 14px;}.demo-explain h2{font-size:21px;}.em-photos.cols-3{grid-template-columns:1fr;}.em-photos.cols-3 .em-photo img{height:170px;}}
@media(max-width:680px){.bar{padding:15px 20px;}.head{margin-top:23px;}.head h1{font-size:29px;}.choose-label{margin-top:20px;}.door{min-height:0;padding:11px 14px;}.door-name{font-size:14px;}.door-sub{font-size:11px;}.demo-shell{grid-template-columns:1fr;margin-top:15px;}.demo-explain{padding:21px;}.demo-explain h2{font-size:22px;}.stage-note{margin-top:16px;padding-top:14px;}.outcome-note{margin-top:15px;}.demo-explain .demo-disclosure{margin-top:15px;}.demo-main{padding:16px 12px 13px;}.screen{height:520px;}.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:520px;}.simple-summary{padding:20px;}.simple-steps{gap:15px;}.dev-desktopEmail .ml-subject{font-size:18px;padding:17px 16px 0;}.dev-desktopEmail .ml-sender{margin:11px 16px;}.dev-desktopEmail .ml-content{padding:0 16px 22px;}.em-photos{grid-template-columns:1fr;}.finale .inner{padding:20px 0;}.bar .xtag{display:none;}}


/* Email offer summaries: readable prices, reasons and clear purchase actions. */
.em-plans{grid-template-columns:1fr;gap:12px;}
.em-plan{padding:16px 18px;}
.em-plan-name{font-size:17px;line-height:1.3;}
.em-plan-price{font-size:24px;}
.em-offer-cta{display:inline-flex;align-items:center;margin-top:12px;padding:9px 13px;border-radius:8px;background:var(--nmk-ink);color:#fff;font-size:12px;font-weight:800;line-height:1.3;}
.em-plan.chosen .em-offer-cta{background:var(--nmk-accent);}


/* Compact desktop stage; plain SMS and the shared punctuation-mark brand system. */
:host{--brand-blue:#2878e5;}
.nia-wm i{width:.38em;height:.38em;background:var(--brand-blue);margin-left:.1em;}
.brand-dot{display:inline-block;width:16px;height:16px;flex:0 0 16px;border-radius:50%;background:var(--brand-blue);}
.ig-av.nia-av,.sms-av,.ml-av{background:#f4f7fc;color:var(--brand-blue);}
.ig-ad-av::after{display:none;}
.ig-ad-av{display:flex;align-items:center;justify-content:center;}
.ig-ad-av .brand-dot{width:12px;height:12px;flex-basis:12px;}
.sms-nav{align-items:center;padding:5px 14px 10px;}
.sms-channel{font-size:10px;letter-spacing:.08em;color:#888;font-weight:700;}
.sms-peer{gap:4px;}
.sms-name{font-size:11px;}
[data-surface="sms"] .msg.out{background:#d8ecd9;color:#18231b;}
[data-surface="sms"] .msg{font-size:13px;line-height:1.38;}
.sms-text-link{color:inherit;text-decoration:underline;overflow-wrap:anywhere;}
.sms-input{padding:9px 12px 15px;}
.rp-status{font-size:9px;font-weight:600;letter-spacing:0;text-transform:none;}
.head{margin:17px auto 0;max-width:1072px;padding:0 20px;}
.head h1{font-size:clamp(25px,2.7vw,33px);line-height:1.15;}
.head p{margin-top:6px;font-size:13px;line-height:1.35;max-width:none;}
.doors{margin-top:15px;gap:9px;}
.door{padding:10px 14px;min-height:65px;}
.door-name{font-size:13px;line-height:1.25;}
.door-sub{font-size:11px;line-height:1.3;}
.demo-shell{margin-top:13px;}
.demo-explain{padding:22px;}
.demo-explain h2{font-size:23px;margin-top:10px;}
.demo-explain>p{font-size:12.5px;}
.stage-note{margin-top:17px;padding-top:15px;}
.stage-note p,.outcome-note p{font-size:12px;}
.outcome-note{margin-top:18px;}
.demo-explain .demo-disclosure{margin-top:18px;font-size:10px;}
.demo-main{padding:13px 18px 10px;}
.rail{margin-top:10px;}
.rail-ic{width:27px;height:27px;}
.rail-line{top:18px;}
.rail-item{gap:4px;}
.devicewrap{margin-top:10px;}
.advtrack{margin-top:6px;}
.screen{height:clamp(340px,calc(100dvh - 350px),480px);}
.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:clamp(340px,calc(100dvh - 350px),480px);}
.ctrl-hint{margin-top:8px;font-size:10px;}
.dev-desktopEmail .ml-subject{font-size:18px;padding:15px 20px 0;}
.dev-desktopEmail .ml-sender{margin:9px 20px;padding-bottom:10px;}
.dev-desktopEmail .ml-content{padding:0 20px 20px;}
.email-brand{margin-bottom:11px;}
.em-photos{grid-template-columns:1fr;}
.em-photo img{height:160px;width:100%;object-fit:cover;}
.em-plan-sub{line-height:1.45;}
.em-inc{gap:8px;}
.rp-spon{display:none;}
.rp-replybar{margin-left:18px;margin-right:18px;}
@media(min-width:681px) and (max-height:760px){.bar{padding-top:12px;padding-bottom:12px;}.head{margin-top:12px;}.head h1{font-size:28px;}.doors{margin-top:11px;}.door{min-height:59px;}.demo-explain{padding:18px 21px;}.demo-explain h2{font-size:21px;}.screen,.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:calc(100dvh - 320px);min-height:300px;}.demo-disclosure{display:none;}}
@media(max-width:680px){.head{margin-top:17px;}.head h1{font-size:27px;}.doors{gap:6px;margin-top:12px;}.door{min-height:0;padding:10px 13px;}.demo-explain{padding:18px 20px;}.demo-explain h2{font-size:21px;}.demo-main{padding:13px 10px 10px;}.screen,.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:450px;}.em-photo img{height:150px;}}


/* Keep the complete demo frame inside a typical laptop viewport. */
@media(min-width:681px){.screen,.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:clamp(300px,calc(100dvh - 430px),460px);}.demo-explain h2{font-size:22px;}.demo-explain .demo-disclosure{margin-top:12px;}.stage-note{margin-top:15px;}.outcome-note{margin-top:15px;}}
@media(min-width:681px) and (max-height:760px){.screen,.dev-desktopBrowser .screen,.dev-desktopEmail .screen{height:clamp(280px,calc(100dvh - 410px),350px);}.demo-explain{padding-top:17px;padding-bottom:17px;}.demo-explain h2{font-size:20px;}.demo-explain>p,.stage-note p,.outcome-note p{font-size:11.5px;}}

/* Compact native ad keeps both answers visible inside the demo frame. */
.sleep-ad{background:#f8f5ef;padding:9px 13px 10px;color:#242c28;font-family:Arial,Helvetica,sans-serif;}
.sleep-ad-name{display:flex;align-items:baseline;font-size:10px;font-weight:700;line-height:1.2;}
.sleep-ad-dot{width:5px;height:5px;border-radius:50%;background:var(--brand-blue);margin-left:1px;}
.sleep-ad-question{font-size:12px;font-weight:700;margin:6px 0 7px;line-height:1.25;}
.sleep-ad-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.sleep-ad-choices figure{margin:0;min-width:0;}
.sleep-ad-choices img{width:100%;height:88px;object-fit:cover;display:block;}
.sleep-ad-choices figure:first-child img{object-position:70% center;}
.sleep-ad-choices figcaption{font-size:10px;font-weight:700;line-height:1.3;padding:5px 0 0;text-align:center;}
.ig-post-actions{padding:7px 12px;}
.ig-comment-feed .ig-post-hd{padding:9px 12px;}


/* Let the visual recap lead, with less inbox chrome consuming the frame. */
.dev-desktopEmail .dm-read-tools{display:none;}
.dev-desktopEmail .ml-subject{font-size:16px;padding:12px 20px 0;}
.dev-desktopEmail .ml-sender{margin:8px 20px;padding-bottom:8px;}
.dev-desktopEmail .ml-av{width:30px;height:30px;}
.dev-desktopEmail .email-brand .nia-wm{font-size:23px;}
.dev-desktopEmail .email-brand{margin-bottom:8px;}
.dev-desktopEmail .em-photo img{height:115px;}

/* Restore readable device proportions instead of shrinking with viewport height. */
.head,.doors,.spec{max-width:1252px;}
.demo-shell,.finale{max-width:1200px;}
.demo-shell{grid-template-columns:260px minmax(0,1fr);}
.demo-main{padding:18px 24px 16px;}
.demo-explain{padding:25px 23px;}
.demo-explain h2{font-size:23px;}
.demo-explain>p,.stage-note p,.outcome-note p{font-size:13px;line-height:1.55;}
.rail,.advtrack{max-width:700px;}
.devicewrap{margin-top:16px;padding:0;}
.screen{width:338px;height:620px;min-height:620px;max-height:none;}
.device.dev-desktopBrowser,.device.dev-desktopEmail{width:100%;max-width:100%;}
.dev-desktopBrowser .screen,.dev-desktopEmail .screen{width:100%;height:620px;min-height:620px;max-height:none;}
.rp-scroll{padding:24px 25px 18px;}
.rp-intro{font-size:23px;}
.rp-body,.rp-q{font-size:16px;line-height:1.5;}
.rp-chip{font-size:14px;padding:10px 15px;}
.rp-top{padding:14px 24px;}
.dev-desktopBrowser .fm-body{padding:22px 25px;}
.fm-qtext{font-size:17px;}
.fm-imgopts{gap:12px;}
.dev-desktopEmail .ml-subject{font-size:21px;line-height:1.3;padding:20px 25px 0;}
.dev-desktopEmail .ml-sender{margin:12px 25px;padding-bottom:12px;}
.dev-desktopEmail .ml-av{width:38px;height:38px;}
.dev-desktopEmail .ml-content{padding:0 25px 28px;}
.dev-desktopEmail .email-brand .nia-wm{font-size:27px;}
.dev-desktopEmail .email-brand{margin-bottom:13px;}
.dev-desktopEmail .mail-rev{font-size:14px;line-height:1.6;}
.dev-desktopEmail .em-photo img{height:185px;}
.sleep-ad-choices img{height:150px;}
.sleep-ad-question{font-size:14px;margin-top:9px;margin-bottom:10px;}
.sleep-ad-name{font-size:12px;}
.sleep-ad-choices figcaption{font-size:11px;padding-top:7px;}
.sleep-ad{padding:13px 14px 15px;}
[data-surface="sms"] .msg{font-size:14px;line-height:1.4;}
.ctrl-hint{font-size:11px;margin-top:12px;}
@media(max-width:900px){.demo-shell{grid-template-columns:225px minmax(0,1fr);}.demo-main{padding:17px 16px 15px;}.demo-explain{padding:23px 19px;}.demo-explain h2{font-size:21px;}.rp-scroll{padding:22px 20px;}.rp-top{padding:13px 20px;}}
@media(max-width:680px){.demo-shell{grid-template-columns:1fr;}.demo-main{padding:17px 12px 14px;}.demo-explain{padding:20px;}.screen{width:min(338px,calc(100vw - 90px));height:580px;min-height:580px;max-height:none;}.dev-desktopBrowser .screen,.dev-desktopEmail .screen{width:100%;height:580px;min-height:580px;max-height:none;}.dev-desktopEmail .ml-subject{font-size:18px;padding:18px 17px 0;}.dev-desktopEmail .ml-sender{margin:11px 17px;}.dev-desktopEmail .ml-content{padding:0 17px 24px;}.dev-desktopEmail .em-photo img{height:160px;}.rp-body,.rp-q{font-size:15px;}.rp-scroll{padding:20px 17px;}.fm-qtext{font-size:16px;}.dev-desktopBrowser .fm-body{padding:20px 17px;}}


/* Footer CTA: reserve a padded copy column and an independent button column. */
.finale .inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:28px 32px;border-top:0;}
.finale .inner>div{min-width:0;}
.finale h2{margin:0;line-height:1.3;overflow-wrap:break-word;}
.finale p{margin:9px 0 0;max-width:650px;line-height:1.6;color:#d4e4df;overflow-wrap:break-word;}
.finale a.cta{justify-self:end;max-width:100%;margin:0;}
@media(max-width:680px){.finale .inner{grid-template-columns:minmax(0,1fr);padding:24px;gap:20px;}.finale a.cta{justify-self:start;white-space:normal;text-align:center;}.finale h2{font-size:21px;}}


/* =========================================================
   v2 · ENGINE VIEW  ·  the system side of the same journey, beside the device
   ========================================================= */
.demo-shell{grid-template-columns:minmax(0,1fr) 392px;grid-template-areas:"head head" "main brain";align-items:stretch;overflow:visible;}
.demo-head{border-radius:17px 17px 0 0;}
.brain{border-radius:0 0 17px 0;}
.demo-head{grid-area:head;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:end;padding:20px 24px 17px;background:#f2f5f0;border-bottom:1px solid var(--line);}
.demo-head h2{font-size:22px;line-height:1.2;letter-spacing:-.02em;color:var(--teal);margin:8px 0 5px;}
.demo-head p{font-size:13px;line-height:1.5;color:var(--muted);max-width:640px;}
.demo-head-out{border-left:1px solid #dce3da;padding-left:20px;}
.demo-head-out>span{display:block;font-size:11px;font-weight:800;color:var(--teal);margin-bottom:4px;}
.demo-head-out p{font-size:12.5px;line-height:1.5;color:var(--muted);}
.demo-main{grid-area:main;padding:16px 24px 16px;}
.brain{grid-area:brain;background:#f2f5f0;border-left:1px solid var(--line);padding:16px 16px 14px;min-width:0;}
.br-sticky{position:sticky;top:82px;}
.br-eyebrow{font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--t2);}
.br-title{font-size:17px;font-weight:800;letter-spacing:-.015em;color:var(--teal);margin-top:6px;line-height:1.25;}
.br-now{margin-top:12px;padding:11px 13px 12px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--terra);border-radius:10px;}
.br-now>span{font-size:9.5px;font-weight:800;letter-spacing:.08em;color:var(--t2);}
.br-now h3{font-size:14px;line-height:1.3;color:var(--ink);margin:4px 0 3px;}
.br-now p{font-size:12px;line-height:1.5;color:var(--muted);}
.br-panel{margin-top:12px;background:var(--deep);border-radius:14px;color:#dfe9e6;padding:16px 16px 15px;position:relative;overflow:hidden;box-shadow:0 16px 36px -20px rgba(14,42,47,.55);}
.br-flag{position:absolute;left:0;right:0;top:0;background:var(--terra);color:#fff;text-align:center;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;padding:8px;transform:translateY(-110%);transition:transform .45s cubic-bezier(.2,.9,.3,1.2);z-index:3;}
.br-flag.show{transform:none;}
.br-moves{display:flex;gap:5px;}
.br-st{flex:1;text-align:center;font-size:9.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:7px 3px;border-radius:7px;background:rgba(255,255,255,.05);color:#6f8783;border:1px solid rgba(255,255,255,.07);transition:all .35s;}
.br-st.on{background:var(--t2);color:#fff;border-color:var(--t4);}
.br-st.was{background:rgba(90,185,173,.14);color:var(--t4);border-color:rgba(90,185,173,.3);}
.br-st.pivot.on{background:var(--terra);border-color:#e8a87e;}
.br-legend{font-size:9.5px;line-height:1.45;color:#6f8783;margin:8px 2px 0;}
.br-card{margin-top:12px;background:rgba(255,255,255,.045);border:1px solid rgba(127,220,207,.16);border-radius:11px;padding:11px 12px 12px;}
.br-lab{font-size:8.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#8fb5ae;}
.br-scorerow{display:flex;align-items:center;gap:12px;margin-top:6px;}
.br-score{font-size:40px;font-weight:800;color:#fff;line-height:1;min-width:58px;font-variant-numeric:tabular-nums;transition:color .3s;}
.br-score.down{color:#e8a87e;}
.br-note{font-size:10.5px;color:#8fb5ae;line-height:1.3;flex:1;min-width:0;}
.br-spark{width:100%;height:58px;display:block;margin-top:7px;}
.br-spark .br-axis{stroke:rgba(255,255,255,.12);stroke-width:1;}
.br-spark .br-ln{fill:none;stroke:var(--t4);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.br-spark .br-dot{fill:#fff;stroke:var(--t4);stroke-width:2;}
.br-spark .br-dot.drop{fill:var(--terra);stroke:#e8a87e;}
.br-spark text{font-family:'Manrope',sans-serif;font-size:7.5px;fill:#7d9b95;}
.br-row{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:6px 0;border-bottom:1px dashed rgba(255,255,255,.09);}
.br-row:last-child{border-bottom:none;padding-bottom:0;}
.br-k{color:#8fb5ae;flex:0 0 auto;padding-top:1px;}
.br-v{color:#3f5a55;font-weight:600;text-align:right;line-height:1.35;transition:color .3s;}
.br-v.set{color:#fff;animation:brflash .9s ease;}
@keyframes brflash{0%{color:var(--mint);}100%{color:#fff;}}
.br-logfeed{margin-top:7px;max-height:176px;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding-right:2px;scroll-behavior:smooth;}
.br-lg{display:flex;gap:8px;align-items:flex-start;font-size:10.5px;line-height:1.4;animation:pop .3s ease;}
.br-lg.still{animation:none;}
.br-t{flex:0 0 36px;color:#5f7d77;font-size:8.5px;letter-spacing:.08em;padding-top:2px;font-weight:800;}
.br-m{color:#c6d6d2;min-width:0;}
.br-lg.decide .br-m{color:var(--mint);font-weight:700;}
.br-lg.warn .br-m{color:#e8a87e;font-weight:700;}
.br-lg.order .br-m{color:#fff;font-weight:800;}
.br-footnote{font-size:10px;line-height:1.5;color:#79847b;margin:10px 2px 0;}
/* compact readiness strip, phones only */
.br-mini{display:none;}
.br-mini-lab{font-size:8.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--mint);flex:0 0 auto;}
.br-mini-n{font-size:22px;font-weight:800;line-height:1;min-width:30px;text-align:right;flex:0 0 auto;font-variant-numeric:tabular-nums;transition:color .3s;}
.br-mini-n.down{color:#e8a87e;}
.br-mini-spark{width:72px;height:22px;flex:0 0 auto;}
.br-mini-spark .br-mln{fill:none;stroke:var(--t4);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.br-mini-spark .br-mdot{fill:#fff;stroke:var(--t4);stroke-width:1.6;}
.br-mini-spark .br-mdot.drop{fill:var(--terra);stroke:#e8a87e;}
.br-mini-move{font-size:8.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:4px 7px;border-radius:6px;background:rgba(255,255,255,.08);color:#8fb5ae;flex:0 0 auto;min-width:0;}
.br-mini-move.on{background:var(--t2);color:#fff;}
.br-mini-move.on.pivot{background:var(--terra);}
.br-mini-t{font-size:10px;color:#8fb5ae;line-height:1.3;flex:1 1 100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:1px;}
@media(max-height:860px){.br-sticky{position:static;}}
@media(max-width:1180px){.demo-shell{grid-template-columns:minmax(0,1fr) 360px;}.demo-head{grid-template-columns:minmax(0,1fr) 240px;}}
@media(max-width:900px){
  .demo-shell{grid-template-columns:1fr;grid-template-areas:"head" "main" "brain";}
  .demo-head{grid-template-columns:1fr;gap:12px;padding:18px 20px 16px;}
  .demo-head-out{border-left:0;padding-left:0;border-top:1px solid #dce3da;padding-top:10px;}
  .demo-main{padding:16px 16px 14px;}
  .brain{border-left:0;border-top:1px solid var(--line);padding:16px;border-radius:0 0 17px 17px;}
  .br-sticky{position:static;}
  .br-mini{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;background:var(--deep);color:#fff;border-radius:12px;padding:9px 13px;margin:12px 0 0;position:sticky;top:calc(env(safe-area-inset-top,0px) + 62px);z-index:60;box-shadow:0 8px 22px rgba(14,42,47,.28);}
  .demo-toolbar-label{display:inline;}
}
@media(max-width:680px){
  .demo-head{padding:16px 18px 14px;}
  .demo-head h2{font-size:20px;}
  .demo-main{padding:14px 12px 12px;}
  .brain{padding:14px 14px 12px;}
  .br-panel{padding:14px 13px 13px;}
  .br-score{font-size:34px;}
  .br-mini{top:calc(env(safe-area-inset-top,0px) + 56px);}
}

/* v3 · step gating: each stage stops when it ends; auto-run is opt-in */
.cbtn.on{background:var(--t2);border-color:var(--t2);color:#fff;}
.cbtn .ar-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45;margin-right:6px;vertical-align:middle;}
.cbtn.on .ar-dot{opacity:1;background:var(--mint);}
.nextcta{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px auto 0;background:var(--t2);color:#fff;border:1px solid var(--t2);border-radius:999px;padding:11px 22px;font-size:13px;font-weight:800;box-shadow:0 10px 24px -14px rgba(31,107,95,.7);animation:pop .3s ease;transition:background .2s,transform .2s;}
.nextcta:hover{background:var(--teal);transform:translateY(-1px);}
.nextcta span{font-size:16px;line-height:1;}
.nextcta.alt{background:#fff;color:var(--t2);}
.nextcta.alt:hover{background:#edf4ee;}
.ctrl-hint{margin-top:12px;}

/* v4 · page ends at the demo */
.foot{margin-top:26px;padding-bottom:28px;}

/* v5 · no page headline; recommendations lead with visual cards */
.doors{margin-top:22px;}
.rp-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:14px;}
.rp-cards.one{grid-template-columns:minmax(0,380px);}
.rp-card{overflow:hidden;}
.rp-card-img{margin:-14px -15px 11px;height:116px;background:linear-gradient(135deg,#e6efe9,#dcefe9);overflow:hidden;}
.rp-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.rp-card-img.noimg img{display:none;}
.rp-card-img.ic{display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--nmk-ink),var(--nmk-accent));}
.rp-card-h{font-size:14.5px;}
.rp-cards.rp-update{margin-top:12px;}
.rp-cards.rp-update .rp-card.lead{box-shadow:0 0 0 3px rgba(42,116,168,.16),0 22px 44px -30px rgba(28,27,25,.45);}
.rp-tune{margin-top:22px;font-weight:700;color:var(--nmk-ink);}
@media(max-width:620px){.rp-cards,.rp-cards.one{grid-template-columns:1fr;}}

/* v6 · journey tabs in the band, no transport controls */
.demo-head{display:block;padding:14px 16px;}
.doors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:none;margin:0;padding:0;}
.door{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.65);padding:13px 14px;min-height:0;text-align:center;transition:background .2s,border-color .2s,box-shadow .2s;}
.door:hover{border-color:var(--t3);background:#fff;transform:none;}
.door-name{font-size:14px;font-weight:800;color:var(--teal);line-height:1.25;min-height:0;}
.door.on{background:var(--teal);border:1px solid var(--teal);box-shadow:0 10px 24px -16px rgba(22,70,60,.7);}
.door.on .door-name{color:#fff;}
.demo-toolbar{min-height:0;}
.demo-toolbar-label{font-size:13px;}
.ctrl-hint{min-height:0;}
@media(max-width:680px){.demo-head{padding:12px;}.doors{grid-template-columns:1fr;gap:6px;}.door{padding:11px 12px;}.door-name{font-size:13px;}}

/* v7 · the viewer plays the customer: reply picker and live chips */
.pick-panel{flex:0 0 auto;display:flex;flex-direction:column;gap:7px;padding:10px 12px 12px;background:#fff;border-top:1px solid var(--line);animation:pop .25s ease;position:relative;z-index:5;}
.pick-lab{font-size:8.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#a9571e;}
.pick-btn{text-align:left;background:#fdf8f3;border:1px solid #ecd9c8;border-radius:9px;padding:9px 12px;font-size:12.5px;color:#3d4a46;line-height:1.35;font-family:inherit;cursor:pointer;transition:border-color .12s,background .12s,transform .12s;}
.pick-btn:hover{border-color:var(--terra);background:#fbefe4;transform:translateX(2px);}
.rp-page .pick-panel{margin:0 clamp(20px,6%,72px) 12px;border:1.5px solid var(--nmk-line);border-radius:16px;padding:12px 14px;box-shadow:0 10px 30px -18px rgba(28,27,25,.35);}
.rp-page .pick-btn{font-size:13.5px;padding:10px 14px;}
.wb-page .pick-panel{border-top:1px solid var(--nmk-line);}
.chip,.rp-chip,.fm-opt,.fm-imgopt{cursor:pointer;}
.chips.live .chip:hover,.rp-chips.live .rp-chip:hover{border-color:var(--t3);background:#eef6f3;transform:translateY(-1px);}
.fm-q.live .fm-opt:hover{border-color:var(--nmk-accent);background:#fff;}
.fm-q.live .fm-imgopt:hover{transform:translateY(-2px);}
.ctrl-hint.turn{color:#a9571e;font-weight:800;}

/* v8 · matching column headers, no step block */
.col-head{font-family:'Manrope',sans-serif;font-size:17px;font-weight:800;letter-spacing:-.01em;line-height:1.2;color:var(--teal);text-align:center;padding:6px 0 14px;}
.br-panel{margin-top:0;}
.rail{margin-top:2px;}
@media(max-width:900px){.col-head{font-size:16px;padding:4px 0 12px;}}

/* v9 · start cue, auto-advance, fixed three-option text picker */
@keyframes startpulse{0%{box-shadow:0 0 0 0 rgba(192,98,47,.5);}100%{box-shadow:0 0 0 14px rgba(192,98,47,0);}}
.pick-panel.start{animation:startpulse 1.3s ease-out infinite;border-top-color:var(--terra);}
.pick-panel.start .pick-lab{color:var(--terra);}
.start-tag{display:inline-block;background:var(--terra);color:#fff;font-size:8.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:3px 8px;border-radius:999px;margin-right:8px;vertical-align:middle;animation:pop .3s ease;}
.start-badge{display:flex;align-items:center;gap:8px;margin:14px 0 8px;font-size:12px;font-weight:800;color:var(--terra);animation:pop .3s ease;}
.start-badge::after{content:"";flex:1;height:1px;background:rgba(192,98,47,.35);}
.ctrl-hint.start{color:var(--terra);font-weight:800;font-size:13px;}
.pick-panel .pick-btn{min-height:40px;}
[data-surface="sms"] .pick-panel{background:#fbfbfb;}

/* v10 · composed either/or ad, comment-only DM opener */
.sleep-ad{background:#f7f4ed;padding:11px 12px 12px;}
.sleep-ad-question{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;font-size:15.5px;letter-spacing:-.005em;text-align:center;margin:7px 0 9px;color:#162118;}
.sleep-ad-photos{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#f7f4ed;}
.sleep-ad-photos img{width:100%;height:150px;object-fit:cover;display:block;filter:sepia(.14) saturate(1.04) brightness(1.02);}
.sleep-ad-photos img:first-child{object-position:70% center;}
.sleep-ad-or{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid #111;color:#111;font-family:'Manrope',Arial,sans-serif;font-weight:800;font-size:12.5px;letter-spacing:.04em;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 12px rgba(0,0,0,.28);}
.sleep-ad-caps{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:10px 4px 2px;text-align:center;}
.sleep-ad-caps b{display:block;font-family:'Manrope',Arial,sans-serif;font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#162118;line-height:1.3;}
.sleep-ad-caps span{display:block;font-family:'Manrope',Arial,sans-serif;font-size:10.5px;color:#6e7872;margin-top:2px;}
.ig-ad-comment.solo{margin-top:14px;}
@media(max-width:680px){.sleep-ad-photos img{height:128px;}.sleep-ad-question{font-size:14.5px;}}

/* v11 · live text fields, right-pointing send, channel-switch card */
.free-in{border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:inherit;width:100%;min-width:0;padding:0;}
.free-in::placeholder{color:#8e8e93;}
.sms-pill{display:flex;align-items:center;color:#1c1c1e;}
.ig-field{display:flex;align-items:center;color:#262626;}
.ig-field .free-in::placeholder{color:#8e8e8e;}
.free-send{width:30px;height:30px;border-radius:50%;background:var(--brand-blue);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;cursor:pointer;transition:transform .12s,filter .12s;}
.free-send:hover{transform:translateX(1px);filter:brightness(1.05);}
.sms-send{background:#0a84ff;}
.ig-send{background:#0095f6;}
.fm-compose-field{padding:7px 14px;}
.fm-compose-field .free-in{color:var(--nmk-ink);font-weight:600;font-size:13px;}
.fm-compose-field .free-in::placeholder{color:#9a938a;font-weight:400;}
.fm-compose-send{width:32px;height:32px;background:var(--nmk-accent);}
.rp-field{flex:1;display:flex;align-items:center;min-width:0;}
.rp-field .free-in{font-size:14px;color:var(--nmk-ink);}
.rp-field .free-in::placeholder{color:#9a938a;}
.rp-send{width:38px;height:38px;background:var(--nmk-accent);}
.device{position:relative;}
.switch-veil{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.28);z-index:20;animation:swfade .22s ease;border-radius:inherit;}
@keyframes swfade{from{opacity:0;}to{opacity:1;}}
.switch-card{width:min(70%,240px);background:#fff;border-radius:14px;padding:14px 16px 13px;text-align:center;box-shadow:0 24px 60px -18px rgba(14,42,47,.55),0 0 0 1px rgba(14,42,47,.08);}
.switch-card .sw-eyebrow{font-size:9.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--t2);}
.switch-card.channel .sw-eyebrow{color:var(--terra);}
.switch-card .sw-title{font-size:19px;font-weight:800;letter-spacing:-.01em;color:var(--teal);margin:4px 0 0;line-height:1.2;}
.switch-card .sw-bar{height:4px;border-radius:999px;background:#e7ede9;margin-top:12px;overflow:hidden;}
.switch-card .sw-bar i{display:block;height:100%;width:0;background:var(--t2);}
.switch-card.channel .sw-bar i{background:var(--terra);}
.devicewrap.desktopBrowser .switch-card{width:min(40%,260px);}

/* v13 · email picks as photo cards; the email glides down on arrival */
.em-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.em-plan{padding:0;overflow:hidden;border-radius:16px;background:#fff;}
.em-plan-img{position:relative;height:122px;background:#eef2ee;}
.em-plan-img img{width:100%;height:100%;object-fit:cover;display:block;}
.em-plan-img .em-plan-badge{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.94);color:var(--nmk-ink);box-shadow:0 2px 8px rgba(0,0,0,.12);}
.em-plan.chosen .em-plan-img .em-plan-badge,.em-plan.rec .em-plan-img .em-plan-badge{background:var(--nmk-accent);color:#fff;}
.em-plan-body{padding:12px 13px 13px;display:flex;flex-direction:column;flex:1 1 auto;}
.em-plan-name{margin-top:0;font-size:14px;line-height:1.25;}
.em-plan-price{font-size:22px;margin-top:5px;}
.em-plan-sub{margin-top:5px;font-size:11.5px;line-height:1.4;font-weight:500;color:#5b665f;}
.em-plan-btn{margin-top:12px;display:block;text-align:center;border-radius:9px;padding:9px 10px;font-size:12px;font-weight:800;color:var(--nmk-accent);border:1.5px solid var(--nmk-accent);background:#fff;}
.em-plan.chosen .em-plan-btn{background:var(--nmk-accent);color:#fff;}
.em-plan.chosen{background:#fff;}
@media(max-width:680px){.em-plans{grid-template-columns:1fr;}.em-plan-img{height:140px;}}

/* v15 · plain band behind the journey tabs */
.demo-head{background:#fff;}
.door{background:#fff;}
.door:hover{background:#f7faf8;}

/* v16 · journey buttons float on the page above the demo */
.doors{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:1200px;margin:24px auto 0;padding:0 26px;}
.door{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;box-shadow:0 10px 26px -20px rgba(14,42,47,.45);}
.door:hover{background:#fff;border-color:var(--t3);box-shadow:0 14px 30px -18px rgba(14,42,47,.5);}
.door.on{background:var(--teal);border-color:var(--teal);box-shadow:0 14px 30px -16px rgba(22,70,60,.75);}
.demo-shell{grid-template-areas:"main brain";margin-top:14px;}
@media(max-width:900px){.demo-shell{grid-template-areas:"main" "brain";}}
@media(max-width:680px){.doors{grid-template-columns:1fr;gap:7px;padding:0 20px;margin-top:18px;}.demo-shell{margin-top:12px;}}

/* v16 · buttons and demo share one width, never flush to the edge */
.doors,.demo-shell{max-width:none;width:min(1200px,calc(100% - 52px));margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;}
@media(max-width:680px){.doors,.demo-shell{width:calc(100% - 40px);}}

/* v17 · bigger bar with centred tagline and one Replay; arrow callouts; quiz entry blocks */
.bar{padding:18px max(24px,calc((100vw - 1200px)/2));gap:16px;}
.bar .brand{flex:0 0 auto;}
.wm-img{height:32px;max-height:32px;max-width:240px;}
.bar-mid{flex:1 1 auto;display:flex;justify-content:center;align-items:center;min-width:0;}
.bar .xtag{text-transform:none;letter-spacing:0;font-size:13px;font-weight:500;color:#c8d9d3;text-align:center;line-height:1.3;}
.bar .xtag b{font-weight:800;color:#fff;}
.bar-replay{flex:0 0 auto;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:999px;padding:8px 15px;font-size:12.5px;font-weight:800;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:background .15s,border-color .15s;}
.bar-replay:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.4);}
.bar-replay span{font-size:15px;line-height:1;}
.callout{position:absolute;z-index:40;background:var(--terra);color:#fff;font-size:12.5px;font-weight:800;line-height:1.3;padding:9px 13px;border-radius:11px;box-shadow:0 12px 28px -10px rgba(192,98,47,.7);max-width:min(86%,300px);text-align:center;animation:calloutIn .4s cubic-bezier(.2,.9,.3,1.3);pointer-events:none;}
.callout::after{content:"";position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);border:8px solid transparent;border-bottom:0;border-top-color:var(--terra);}
.callout.up::after{bottom:auto;top:-8px;border-top:0;border-bottom:8px solid var(--terra);}
@keyframes calloutIn{0%{opacity:0;transform:translateY(8px);}100%{opacity:1;transform:none;}}
.callout.up{animation-name:calloutInUp;}
@keyframes calloutInUp{0%{opacity:0;transform:translateY(-8px);}100%{opacity:1;transform:none;}}
.fm-capture{margin:14px 0 6px;border-radius:14px;padding:14px 15px 15px;}
.fm-capture .cap-q{font-size:14px;}
@media(max-width:900px){.bar-replay{padding:7px 12px;font-size:12px;}}
@media(max-width:680px){.bar{padding:14px 18px;gap:10px;}.wm-img{height:26px;max-height:26px;}.bar-mid{display:none;}}

/* v18 · the brand's reply under the comment */
.posted-comment.reply{margin:12px 0 0 38px;padding-left:10px;border-left:2px solid #e7ede9;}
.comment-avatar.brand{background:#fff;border:1px solid #e3e3e3;}
.comment-avatar.brand .brand-dot{width:14px;height:14px;}
.posted-comment.reply b{color:#1b2a27;}
.verified-mini{display:inline-block;width:11px;height:11px;border-radius:50%;background:#0095f6;vertical-align:-1px;margin-left:2px;position:relative;}
.verified-mini::after{content:"";position:absolute;left:3.5px;top:1.5px;width:3px;height:5.5px;border:solid #fff;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);}

/* v18a · embed cut: no bar, no footer */
.br-sticky{top:14px;}
.doors{margin-top:18px;}
:host{padding-bottom:28px;}
@media(max-width:900px){.br-mini{top:calc(env(safe-area-inset-top,0px) + 8px);}}
@media(max-width:680px){.br-mini{top:calc(env(safe-area-inset-top,0px) + 8px);}.doors{margin-top:14px;}}

:host{display:block;width:100%;padding-top:0!important;padding-bottom:0!important;contain:layout style}
.arti{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:10px;background:var(--line);display:block}
.rdbody ul,.rdbody ol{margin:0 0 16px 22px;font-size:16px;line-height:1.7;color:var(--white)}
.rdbody li{margin-bottom:6px}
.rdbody figure{margin:22px 0}
.rdbody figure img{width:100%;height:auto;border-radius:12px;display:block}
.rdbody figcaption{font-family:"IBM Plex Mono",monospace;font-size:10.5px;color:var(--muted-2);margin-top:8px}
.rdbody blockquote{margin:18px 0;padding:14px 18px;border-left:4px solid var(--brand);background:var(--bg-2);border-radius:0 12px 12px 0;font-size:16px;line-height:1.65;color:var(--white)}
.rdbody blockquote cite{display:block;margin-top:8px;font-style:normal;font-family:"IBM Plex Mono",monospace;font-size:10.5px;color:var(--muted)}
.rdbody sup{font-size:10px;color:var(--brand)}
.rdbody .rdfoot{font-size:13px!important;color:var(--muted)!important;border-top:1px solid var(--line-2);padding-top:14px;margin-top:22px}