/* Hire to Care website. Brand (her pick 11-22, the Caring Companions family): navy #0D365F headings, turquoise #1F7A8C links and accents, honey #F0A63A buttons and checks with navy text, cream #FAF9F6. Token names kept from the first palette: --forest = navy, --green = turquoise, --clay = turquoise text accent. */
:root{
  --forest:#0D365F; --green:#1F7A8C; --green-pale:#EAF4F6; --mint:#8FD1C7;
  --clay:#1F7A8C; --clay-hover:#155A68; --clay-soft:#F0A63A; --clay-pale:#FDF3E2;
  --cream:#FAF9F6; --sand:#F2F0E9; --ink:#16283A; --muted:#55677A; --line:#E4E1D8; --white:#fff;
  --radius:16px; --wrap:1160px;
  --head:"Plus Jakarta Sans", system-ui, sans-serif; --body:Inter, system-ui, sans-serif;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--white); color:var(--ink); font:400 17px/1.65 var(--body); -webkit-font-smoothing:antialiased; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--clay); text-underline-offset:3px; }
a:hover{ color:var(--clay-hover); }
h1,h2,h3,h4{ font-family:var(--head); color:var(--forest); letter-spacing:-.02em; margin:0 0 .5em; line-height:1.15; }
h1{ font-size:clamp(36px, 5.2vw, 60px); font-weight:800; }
h2{ font-size:clamp(28px, 3.6vw, 42px); font-weight:800; }
h3{ font-size:21px; font-weight:700; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.narrow{ max-width:760px; }
.kicker{ display:inline-block; font:700 13px/1 var(--head); letter-spacing:.08em; text-transform:uppercase; color:var(--clay); margin-bottom:14px; }
.lead{ font-size:clamp(18px, 1.6vw, 21px); color:var(--muted); max-width:680px; }
.muted{ color:var(--muted); }
section{ padding:88px 0; }
.band-cream{ background:var(--cream); } .band-sand{ background:var(--sand); }
.band-forest{ background:var(--forest); color:#EAF4F6; } .band-forest h2, .band-forest h3{ color:#fff; } .band-forest .lead, .band-forest .muted{ color:#CFE3E8; }
.skip{ position:absolute; left:-999px; } .skip:focus{ left:12px; top:12px; background:#fff; padding:8px 12px; z-index:99; }

/* header */
.site-head{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.96); backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line); }
.site-head .wrap{ display:flex; align-items:center; gap:28px; height:72px; }
.brand img{ height:30px; width:auto; }
.nav{ display:flex; gap:26px; margin-left:auto; align-items:center; }
.nav a{ color:var(--ink); text-decoration:none; font:600 15px var(--body); }
.nav a:hover, .nav a[aria-current=page]{ color:var(--clay); }
.menu-btn{ display:none; margin-left:auto; background:none; border:1px solid var(--line); border-radius:10px; padding:8px 12px; font:600 15px var(--body); color:var(--forest); }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font:700 16px var(--body); padding:14px 22px; border-radius:12px; text-decoration:none; border:2px solid transparent; cursor:pointer; transition:background .15s, color .15s, border-color .15s; }
.btn-clay{ background:var(--clay); color:#fff; } .btn-clay:hover{ background:var(--clay-hover); color:#fff; }
.btn-ghost{ background:#fff; color:var(--forest); border-color:var(--green); } .btn-ghost:hover{ background:var(--green-pale); color:var(--forest); }
.btn-light{ background:#fff; color:var(--forest); } .btn-light:hover{ background:var(--cream); color:var(--forest); }
.btn-sm{ padding:10px 16px; font-size:15px; }
.btns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }

/* hero */
.hero{ padding:72px 0 64px; background:var(--cream); overflow:hidden; }
.hero .wrap{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1 em{ font-style:normal; color:var(--clay); }
.hero-photo{ border-radius:24px; overflow:hidden; box-shadow:0 24px 60px rgba(31,77,65,.18); aspect-ratio:4/3; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; }
.trust{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:28px; font-size:15px; color:var(--muted); }
.trust span::before{ content:""; display:inline-block; width:14px; height:9px; border-left:3px solid var(--clay); border-bottom:3px solid var(--clay); transform:rotate(-45deg) translate(1px,-3px); margin-right:9px; }

/* pains */
.three{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.card .num{ font:800 15px var(--head); color:var(--clay); margin-bottom:10px; display:block; }
.card p:last-child{ margin-bottom:0; }

/* path */
.path{ display:grid; grid-template-columns:repeat(8,1fr); gap:0; margin-top:40px; position:relative; }
.path::before{ content:""; position:absolute; left:6%; right:6%; top:23px; height:3px; background:linear-gradient(90deg, var(--mint), var(--green)); }
.step{ text-align:center; position:relative; padding:0 6px; }
.step .dot{ width:48px; height:48px; border-radius:50%; margin:0 auto 12px; background:#fff; border:3px solid var(--green); display:flex; align-items:center; justify-content:center; font:800 16px var(--head); color:var(--forest); position:relative; }
.step:last-child .dot{ background:var(--clay); border-color:var(--clay); color:#fff; }
.step b{ display:block; font:700 15px var(--head); color:var(--forest); line-height:1.25; }
.step small{ display:block; color:var(--muted); font-size:13.5px; line-height:1.4; margin-top:4px; }

/* split feature rows */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split + .split{ margin-top:96px; }
.split.flip .split-media{ order:-1; }
.shot{ border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow:0 20px 50px rgba(31,77,65,.14); background:#fff; }
.shot .bar{ height:30px; background:var(--sand); display:flex; align-items:center; gap:6px; padding:0 12px; border-bottom:1px solid var(--line); }
.shot .bar i{ width:10px; height:10px; border-radius:50%; background:#DAD6CB; }
.phone{ width:290px; margin:0 auto; border-radius:38px; padding:12px; background:#16283A; box-shadow:0 24px 60px rgba(31,77,65,.25); }
.phone img{ border-radius:28px; }
.phones{ display:flex; gap:24px; justify-content:center; }
.phones .phone{ width:230px; }
.checks{ list-style:none; padding:0; margin:18px 0 0; }
.checks li{ position:relative; padding-left:32px; margin:0 0 12px; }
.checks li::before{ content:""; position:absolute; left:2px; top:7px; width:14px; height:8px; border-left:3px solid var(--clay); border-bottom:3px solid var(--clay); transform:rotate(-45deg); }

/* quote / story */
.story{ display:grid; grid-template-columns:.8fr 1.2fr; gap:56px; align-items:center; }
.portrait{ border-radius:20px; aspect-ratio:4/5; background:var(--sand); border:2px dashed var(--clay-soft); display:flex; align-items:center; justify-content:center; text-align:center; color:var(--muted); font-size:15px; padding:24px; }
blockquote{ margin:0; font:600 clamp(22px, 2.4vw, 30px)/1.35 var(--head); color:var(--forest); letter-spacing:-.01em; }
blockquote footer{ font:500 16px var(--body); color:var(--muted); margin-top:18px; letter-spacing:0; }

/* pricing */
.plans{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.plan{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:32px; display:flex; flex-direction:column; }
.plan.featured{ border:2px solid var(--clay); box-shadow:0 20px 50px rgba(240,166,58,.14); position:relative; }
.plan .tag{ position:absolute; top:-14px; left:32px; background:var(--clay); color:#fff; font:700 12.5px var(--head); letter-spacing:.06em; text-transform:uppercase; padding:6px 12px; border-radius:99px; }
.price{ font:800 46px/1 var(--head); color:var(--forest); letter-spacing:-.03em; margin:14px 0 4px; }
.price small{ font:500 16px var(--body); color:var(--muted); letter-spacing:0; }
.plan ul{ flex:1; }
.plan .btn{ width:100%; margin-top:20px; }

/* faq */
details{ border-bottom:1px solid var(--line); padding:18px 0; }
details summary{ cursor:pointer; font:700 18px var(--head); color:var(--forest); list-style:none; display:flex; justify-content:space-between; gap:16px; }
details summary::after{ content:"+"; color:var(--clay); font-size:24px; line-height:1; }
details[open] summary::after{ content:"\2212"; }
details p{ margin:12px 0 0; color:var(--muted); }

/* forms */
.form{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:32px; }
.form label{ display:block; font:600 15px var(--body); margin:0 0 16px; color:var(--ink); }
.form input, .form select, .form textarea{ display:block; width:100%; margin-top:6px; font:400 16px var(--body); padding:12px 14px; border:1.5px solid #DAD6CB; border-radius:10px; background:#fff; color:var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus{ outline:3px solid var(--mint); border-color:var(--green); }
.form .two{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.form .fine{ font-size:13.5px; color:var(--muted); }
.form-msg{ margin-top:14px; padding:12px 14px; border-radius:10px; font-size:15px; }
.form-msg.ok{ background:var(--green-pale); color:var(--forest); } .form-msg.err{ background:var(--clay-pale); color:#8A5A0E; }
.hp{ position:absolute; left:-9999px; }

/* cta band */
.cta-band{ background:var(--forest); color:#fff; border-radius:28px; padding:56px; display:grid; grid-template-columns:1.3fr .7fr; gap:32px; align-items:center; }
.cta-band h2{ color:#fff; margin:0 0 10px; } .cta-band p{ color:#CFE3E8; margin:0; }
.cta-band .btns{ margin:0; justify-content:flex-end; }

/* article */
.article{ max-width:720px; margin:0 auto; }
.article h2{ font-size:28px; margin-top:1.6em; }
.article .meta{ color:var(--muted); font-size:15px; margin-bottom:28px; }
.post-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.post-list a{ text-decoration:none; color:inherit; } .post-list .card:hover{ border-color:var(--clay-soft); }

/* legal */
.draft-note{ background:var(--clay-pale); border:1px solid var(--clay-soft); color:#8A5A0E; padding:12px 16px; border-radius:10px; font-size:15px; margin-bottom:24px; }
.legal h2{ font-size:24px; margin-top:1.4em; }

/* footer */
.site-foot{ background:var(--ink); color:#CFDAE3; padding:56px 0 36px; font-size:15px; }
.site-foot .cols{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.site-foot img{ height:28px; width:auto; margin-bottom:14px; }
.site-foot h4{ color:#fff; font-size:14px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:12px; }
.site-foot a{ color:#CFDAE3; text-decoration:none; display:block; margin-bottom:8px; } .site-foot a:hover{ color:#fff; }
.site-foot .base{ border-top:1px solid #33413C; margin-top:36px; padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:#8A978F; font-size:13.5px; }

/* page head (inner pages) */
.page-head{ background:var(--cream); padding:72px 0 56px; }
.page-head h1{ font-size:clamp(34px, 4.6vw, 52px); max-width:860px; }

@media (max-width:960px){
  .hero .wrap, .split, .story, .cta-band{ grid-template-columns:1fr; }
  .split.flip .split-media{ order:0; }
  .three, .plans, .post-list{ grid-template-columns:1fr; }
  .path{ grid-template-columns:repeat(4,1fr); row-gap:28px; } .path::before{ display:none; }
  .site-foot .cols{ grid-template-columns:1fr 1fr; }
  .cta-band{ padding:36px 28px; } .cta-band .btns{ justify-content:flex-start; }
  .nav{ display:none; position:absolute; top:72px; left:0; right:0; flex-direction:column; align-items:flex-start; gap:0; background:#fff; border-bottom:1px solid var(--line); padding:8px 24px 20px; }
  .nav.open{ display:flex; } .nav a{ padding:12px 0; width:100%; } .nav .btn{ margin-top:8px; }
  .menu-btn{ display:block; }
  section{ padding:64px 0; }
}
@media (max-width:560px){
  .path{ grid-template-columns:repeat(2,1fr); }
  .form .two{ grid-template-columns:1fr; }
  .phones .phone{ width:46%; padding:7px; border-radius:24px; } .phones .phone img{ border-radius:18px; }
  .site-foot .cols{ grid-template-columns:1fr; }
}

/* proof strip, comparison, path cards */
.proof{ background:#fff; border-bottom:1px solid var(--line); padding:20px 0; }
.proof .wrap{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; }
.proof-label{ font:700 13px var(--head); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-right:8px; }
.chip{ font:600 14.5px var(--body); color:var(--forest); background:var(--green-pale); border-radius:99px; padding:7px 14px; }
.compare-wrap{ overflow-x:auto; margin-top:28px; border-radius:var(--radius); border:1px solid var(--line); background:#fff; }
.compare{ width:100%; border-collapse:collapse; min-width:620px; font-size:16px; }
.compare th, .compare td{ text-align:left; padding:16px 20px; border-bottom:1px solid var(--line); vertical-align:top; }
.compare thead th{ font:700 15px var(--head); color:var(--muted); background:var(--sand); }
.compare tbody td:first-child{ font-weight:600; color:var(--forest); }
.compare td:nth-child(2){ color:var(--muted); }
.compare .us{ background:var(--green-pale); color:var(--forest); font-weight:600; }
.compare thead .us{ background:var(--forest); color:#fff; }
.compare tr:last-child td{ border-bottom:0; }
.link-card{ text-decoration:none; color:inherit; transition:border-color .15s, transform .15s; }
.link-card:hover{ border-color:var(--clay-soft); transform:translateY(-2px); color:inherit; }
.link-card .more{ font:700 15px var(--body); color:var(--clay); }
.link-card .more::after{ content:" \2192"; }
.head-photo{ border-radius:22px; overflow:hidden; aspect-ratio:16/9; margin-top:32px; box-shadow:0 20px 50px rgba(31,77,65,.14); }
.head-photo img{ width:100%; height:100%; object-fit:cover; }
.nav a.btn-clay, .nav a.btn-clay:hover{ color:#fff; }

/* why it works */
.method{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.m-col{ border:1px solid var(--line); border-radius:20px; padding:28px 28px 20px; background:#fff; }
.m-head{ font-size:20px; margin-bottom:16px; } .m-old{ color:var(--muted); } .m-new{ color:var(--clay); }
.m-list{ margin:0; padding-left:22px; } .m-list li{ margin:0 0 12px; padding-left:4px; }
.m-col:first-child .m-list li:nth-last-child(-n+2){ color:#8A5A0E; font-weight:600; }
.m-col:last-child{ border:2px solid var(--green); background:var(--green-pale); } .m-col:last-child .m-list li:last-child{ font-weight:700; color:var(--forest); }
.why-step{ display:grid; grid-template-columns:56px 1fr; gap:20px; padding:28px 0; border-bottom:1px solid var(--line); }
.why-step:last-child{ border-bottom:0; }
.why-step .num{ width:48px; height:48px; border-radius:50%; background:var(--forest); color:#fff; display:flex; align-items:center; justify-content:center; font:800 20px var(--head); }
.why-step:last-child .num{ background:var(--clay); }
.why-step h2{ font-size:clamp(24px, 2.6vw, 30px); margin-bottom:10px; } .why-step p{ color:var(--ink); }
@media (max-width:760px){ .method{ grid-template-columns:1fr; } .why-step{ grid-template-columns:1fr; gap:10px; } }

/* mo-care.com colors (checked across all 43 pages, 11-22): navy headings, turquoise buttons with white text, deep teal dark sections,
   yellow #F5D061 on dark and soft yellow #FFC671 for pills, light blues #EAF4F6 / #CFE3F5, body text #2C3D4D */
:root{ --ink:#2C3D4D; --teal-deep:#14606F; --gold:#F5D061; --gold-mark:#F0B429; --butter:#FFC671; --butter-pale:#FBF6EC; --sky:#EAF4F6; --sky-2:#CFE3F5; }
.btn-clay, .nav a.btn-clay{ background:var(--green); color:#fff; } .btn-clay:hover, .nav a.btn-clay:hover{ background:#155A68; color:#fff; }
.plan.featured{ border-color:var(--green); box-shadow:0 20px 50px rgba(31,122,140,.16); } .plan .tag{ background:var(--butter); color:var(--forest); }
.step:last-child .dot{ background:var(--butter); border-color:var(--butter); color:var(--forest); }
.why-step:last-child .num{ background:var(--butter); color:var(--forest); }
.trust span::before, .checks li::before{ border-color:var(--gold-mark); }
.hero h1 em{ color:var(--green); }
.band-forest, .cta-band{ background:var(--teal-deep); }
.band-forest .kicker, .cta-band .kicker{ color:var(--gold); }
.hero, .page-head{ background:linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%); }
.band-cream{ background:var(--sky); } .band-sand{ background:var(--butter-pale); }
.shot .bar, .compare thead th, .chip{ background:#DBE7EC; }
.kicker{ color:var(--green); }
.compare thead .us{ background:var(--forest); }

/* ── interactive: closer look on every photo and screen (assets/interactive.js) ── */
html.no-scroll, html.no-scroll body{ overflow:hidden; }
.zoomable{ position:relative; cursor:zoom-in; transition:transform .25s ease, box-shadow .25s ease; outline-offset:4px; }
.zoomable img{ transition:transform .5s ease; }
.zoomable:hover{ transform:translateY(-4px); box-shadow:0 30px 70px rgba(13,54,95,.22); }
.hero-photo.zoomable:hover img, .head-photo.zoomable:hover img{ transform:scale(1.035); }
.zoomable:focus-visible{ outline:3px solid var(--gold-mark); }
.zoom-tag{ position:absolute; right:12px; bottom:12px; z-index:3; display:inline-flex; align-items:center; gap:6px; background:rgba(13,54,95,.88); color:#fff; font:600 13px/1 var(--body); padding:8px 11px; border-radius:99px; box-shadow:0 6px 18px rgba(0,0,0,.18); transition:background .2s, transform .2s; pointer-events:none; }
.zoomable:hover .zoom-tag{ background:var(--green); transform:translateY(-2px); }
.phone .zoom-tag{ right:50%; transform:translateX(50%); bottom:20px; font-size:12px; padding:7px 10px; white-space:nowrap; }
.phone.zoomable:hover .zoom-tag{ transform:translateX(50%) translateY(-2px); }
.mini-spots{ position:absolute; pointer-events:none; z-index:2; }
.mini-spots i{ position:absolute; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:50%; background:var(--gold-mark); border:2px solid #fff; box-shadow:0 0 0 0 rgba(240,180,41,.6); animation:spot-pulse 2.2s infinite; }
.mini-spots i:nth-child(2){ animation-delay:.4s } .mini-spots i:nth-child(3){ animation-delay:.8s } .mini-spots i:nth-child(4){ animation-delay:1.2s } .mini-spots i:nth-child(5){ animation-delay:1.6s }
.phone .mini-spots i{ width:11px; height:11px; margin:-5.5px 0 0 -5.5px; }
@keyframes spot-pulse{ 0%{ box-shadow:0 0 0 0 rgba(240,180,41,.65); } 70%{ box-shadow:0 0 0 12px rgba(240,180,41,0); } 100%{ box-shadow:0 0 0 0 rgba(240,180,41,0); } }

.lb{ position:fixed; inset:0; z-index:200; display:none; }
.lb.on{ display:block; }
.lb-shade{ position:absolute; inset:0; background:rgba(9,30,52,.82); backdrop-filter:blur(4px); animation:fade-in .2s ease; }
.lb-win{ position:absolute; inset:24px; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.lb-win > *{ pointer-events:auto; }
.lb-fig{ margin:0; display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:0; max-width:1240px; width:100%; max-height:100%; background:#fff; border-radius:22px; overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.4); animation:pop-in .25s ease; }
.lb-media{ background:var(--sky); display:flex; align-items:center; justify-content:center; padding:22px; min-height:0; max-height:calc(100vh - 48px); }
.lb-pic{ position:relative; max-width:100%; max-height:100%; }
.lb-pic img{ max-width:100%; max-height:calc(100vh - 92px); width:auto; border-radius:12px; box-shadow:0 10px 30px rgba(13,54,95,.18); }
.lb-media.is-phone .lb-pic img{ max-height:calc(100vh - 92px); border-radius:26px; border:8px solid #16283A; }
.lb-dot{ position:absolute; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; border:2px solid #fff; background:var(--forest); color:#fff; font:800 13px/1 var(--head); cursor:pointer; box-shadow:0 4px 14px rgba(0,0,0,.3); display:flex; align-items:center; justify-content:center; transition:transform .15s, background .15s; animation:spot-pulse 2.4s infinite; }
.lb-dot:hover, .lb-dot.on{ background:var(--gold-mark); color:var(--forest); transform:scale(1.18); }
.lb-cap{ padding:30px 28px 24px; overflow:auto; max-height:calc(100vh - 48px); display:flex; flex-direction:column; }
.lb-cap h3{ font-size:24px; } .lb-cap p{ color:var(--muted); font-size:16px; }
.lb-notes{ list-style:none; padding:0; margin:4px 0 8px; display:grid; gap:6px; }
.lb-notes button{ all:unset; box-sizing:border-box; width:100%; cursor:pointer; display:grid; grid-template-columns:26px 1fr; gap:10px; align-items:start; padding:9px 10px; border-radius:10px; font:400 15px/1.45 var(--body); color:var(--ink); border:1px solid transparent; }
.lb-notes button b{ width:24px; height:24px; border-radius:50%; background:var(--sky); color:var(--forest); display:flex; align-items:center; justify-content:center; font:800 12px var(--head); }
.lb-notes button:hover{ background:var(--cream); }
.lb-notes button.on{ background:var(--butter-pale); border-color:var(--butter); } .lb-notes button.on b{ background:var(--gold-mark); }
.lb-notes button:focus-visible{ outline:2px solid var(--green); }
.lb-cap .btns{ margin-top:auto; padding-top:16px; }
.lb-count{ display:block; margin-top:14px; font-size:13px; color:var(--muted); }
.lb-x{ position:absolute; top:-12px; right:-8px; z-index:3; width:44px; height:44px; border-radius:50%; border:0; background:#fff; color:var(--forest); font-size:28px; line-height:1; cursor:pointer; box-shadow:0 6px 20px rgba(0,0,0,.3); }
.lb-arrow{ position:absolute; top:50%; z-index:3; width:46px; height:46px; margin-top:-23px; border-radius:50%; border:0; background:rgba(255,255,255,.95); color:var(--forest); font-size:32px; line-height:1; cursor:pointer; box-shadow:0 6px 20px rgba(0,0,0,.25); }
.lb-prev{ left:-10px; } .lb-next{ right:-10px; }
.lb-x:hover, .lb-arrow:hover{ background:var(--butter); }
@keyframes fade-in{ from{ opacity:0 } to{ opacity:1 } }
@keyframes pop-in{ from{ opacity:0; transform:scale(.96) translateY(8px) } to{ opacity:1; transform:none } }
@media (max-width:860px){
  .lb-win{ inset:0; display:block; overflow:auto; }
  .lb-fig{ grid-template-columns:1fr; border-radius:0; min-height:100%; max-height:none; animation:none; }
  .lb-media{ padding:56px 12px 14px; max-height:none; }
  .lb-pic img, .lb-media.is-phone .lb-pic img{ max-height:62vh; }
  .lb-media.is-phone .lb-pic img{ border-width:6px; border-radius:22px; }
  .lb-dot{ width:26px; height:26px; margin:-13px 0 0 -13px; font-size:12px; }
  .lb-cap{ max-height:none; padding:20px 18px 28px; }
  .lb-x{ position:fixed; top:8px; right:8px; }
  .lb-arrow{ position:fixed; top:auto; bottom:14px; margin:0; width:40px; height:40px; font-size:28px; background:rgba(255,255,255,.92); } .lb-prev{ left:12px; } .lb-next{ right:12px; }
  .lb-count{ text-align:center; margin-bottom:40px; }
}

/* ── the Demo button in the header ── */
.demo-btn{ display:inline-flex; align-items:center; gap:7px; font:700 15px var(--body); color:var(--forest); background:var(--butter); border:0; border-radius:99px; padding:9px 16px 9px 10px; cursor:pointer; white-space:nowrap; box-shadow:0 4px 14px rgba(240,166,58,.35); transition:transform .15s, box-shadow .15s; }
.demo-btn:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(240,166,58,.45); }
.demo-btn .play{ width:24px; height:24px; border-radius:50%; background:var(--forest); color:#fff; display:flex; align-items:center; justify-content:center; }
.demo-btn .play svg{ margin-left:2px; }
.btn-demo{ background:var(--butter); color:var(--forest); } .btn-demo:hover{ background:#FFB648; color:var(--forest); }
@media (max-width:960px){ .demo-btn{ margin-left:auto; padding:8px 13px 8px 8px; font-size:14px; } .demo-btn + .menu-btn{ margin-left:10px; } }
@media (min-width:961px) and (max-width:1180px){ .nav{ gap:18px; } .nav a{ font-size:14px; } }

/* ── the guided demo ── */
.tour{ position:fixed; inset:0; z-index:300; background:#0B2A4A; color:#EAF4F6; display:none; flex-direction:column; }
.tour.on{ display:flex; animation:fade-in .25s ease; }
.tour-top{ display:flex; align-items:center; gap:14px; padding:12px 20px; border-bottom:1px solid rgba(255,255,255,.1); }
.tour-name b{ display:block; font:800 16px var(--head); color:#fff; } .tour-name small{ color:#A9C3D3; font-size:13px; }
.tour-tabs{ margin-left:auto; display:flex; background:rgba(255,255,255,.08); border-radius:99px; padding:4px; }
.tour-tabs button{ border:0; background:none; color:#CFE3E8; font:600 14px var(--body); padding:8px 16px; border-radius:99px; cursor:pointer; }
.tour-tabs button[aria-selected=true]{ background:#fff; color:var(--forest); }
.tour-x{ width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:none; color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.tour-x:hover{ background:rgba(255,255,255,.12); }
.tour-main{ flex:1; min-height:0; display:grid; grid-template-columns:230px minmax(0,1fr) 360px; }
.tour-main[hidden], .tour-video[hidden]{ display:none; }
.tour-ch{ list-style:none; margin:0; padding:22px 14px; border-right:1px solid rgba(255,255,255,.08); overflow:auto; }
.tour-ch li{ position:relative; }
.tour-ch li:not(:last-child)::after{ content:""; position:absolute; left:27px; top:46px; bottom:-6px; width:2px; background:rgba(255,255,255,.12); }
.tour-ch li.done:not(:last-child)::after{ background:var(--mint); }
.tour-ch button{ all:unset; box-sizing:border-box; width:100%; cursor:pointer; display:grid; grid-template-columns:30px 1fr; gap:12px; align-items:center; padding:10px 12px; border-radius:12px; margin-bottom:6px; }
.tour-ch button:hover{ background:rgba(255,255,255,.06); } .tour-ch button:focus-visible{ outline:2px solid var(--gold); }
.tc-n{ width:30px; height:30px; border-radius:50%; border:2px solid rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; font:800 13px var(--head); color:#CFE3E8; position:relative; z-index:1; background:#0B2A4A; }
.tc-t b{ display:block; font:700 14.5px/1.3 var(--head); color:#fff; } .tc-t small{ display:block; color:#8FB0C4; font-size:12.5px; line-height:1.35; margin-top:2px; }
.tour-ch li.done .tc-n{ background:var(--mint); border-color:var(--mint); color:transparent; }
.tour-ch li.done .tc-n::after{ content:""; position:absolute; width:11px; height:6px; border-left:2.5px solid var(--forest); border-bottom:2.5px solid var(--forest); transform:rotate(-45deg) translate(1px,-1px); }
.tour-ch li.now button{ background:rgba(255,255,255,.1); } .tour-ch li.now .tc-n{ background:var(--butter); border-color:var(--butter); color:var(--forest); }
.tour-stage{ position:relative; min-height:0; display:flex; align-items:center; justify-content:center; padding:8px; background:radial-gradient(ellipse at center, #15446F 0%, #0B2A4A 70%); overflow:hidden; }
.tour-device{ position:relative; transition:width .35s ease; }
.tour-device.is-desk{ border-radius:12px; background:#fff; padding-top:26px; box-shadow:0 30px 80px rgba(0,0,0,.45); }
.tour-device.is-desk::before{ content:""; position:absolute; left:12px; top:9px; width:9px; height:9px; border-radius:50%; background:#E2A6A0; box-shadow:15px 0 0 #E8CF8E, 30px 0 0 #A9D3B4; }
.tour-device.is-phone{ border-radius:40px; background:#16283A; padding:11px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.tour-screen{ position:relative; overflow:hidden; border-radius:0 0 12px 12px; }
.is-phone .tour-screen{ border-radius:30px; }
.tour-zoom{ position:relative; transition:transform .9s cubic-bezier(.3,.7,.2,1); }
.tour-zoom img{ display:block; width:100%; height:auto; }
.tour-spot{ position:absolute; border:0; padding:0; background:transparent; cursor:pointer; border-radius:10px; box-shadow:0 0 0 calc(3px / var(--z, 1)) var(--gold-mark), 0 0 0 9999px rgba(9,30,52,.42); animation:tour-ring 1.8s ease-in-out infinite; transition:left .4s, top .4s, width .4s, height .4s; }
.tour-spot::after{ content:""; position:absolute; right:-9px; top:-9px; width:18px; height:18px; border-radius:50%; background:var(--gold-mark); border:3px solid #fff; transform:scale(calc(1 / var(--z, 1))); }
.tour-spot:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
.tour-spot.nudge{ animation:tour-nudge .5s ease; }
@keyframes tour-ring{ 0%,100%{ filter:drop-shadow(0 0 0 rgba(240,180,41,0)); } 50%{ filter:drop-shadow(0 0 10px rgba(240,180,41,.9)); } }
@keyframes tour-nudge{ 0%,100%{ transform:none } 25%{ transform:scale(1.06) } 60%{ transform:scale(.98) } }
.tour-cursor{ position:absolute; left:0; top:0; width:26px; height:26px; margin:-4px 0 0 -6px; pointer-events:none; opacity:0; transition:transform .9s cubic-bezier(.45,.05,.25,1), opacity .3s; z-index:5;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9.5-6.5 1.3 3.8 7.2-2.8 1.5-3.8-7.3L4 19z' fill='%23fff' stroke='%230D365F' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; filter:drop-shadow(0 3px 5px rgba(0,0,0,.4)); }
.tour-cursor.on{ opacity:1; }
.tour-cursor.tap::before{ content:""; position:absolute; left:2px; top:0; width:12px; height:12px; margin:-6px; border-radius:50%; border:3px solid var(--gold-mark); animation:tap-ring .5s ease-out forwards; }
@keyframes tap-ring{ from{ transform:scale(.4); opacity:1 } to{ transform:scale(3.2); opacity:0 } }
.tour-end{ max-width:520px; text-align:center; padding:24px; animation:pop-in .35s ease; }
.tour-end h3{ color:#fff; font-size:clamp(24px,3vw,32px); }
.tour-end p{ color:#CFE3E8; }
.te-badge{ width:72px; height:72px; margin:0 auto 18px; border-radius:50%; background:var(--butter); color:var(--forest); display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 10px rgba(255,198,113,.18); }
.te-path{ list-style:none; padding:0; margin:18px 0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.te-path li{ background:rgba(143,209,199,.16); color:#DFF3EF; border:1px solid rgba(143,209,199,.4); padding:5px 11px; border-radius:99px; font:600 13px var(--body); }
.te-path li:last-child{ background:var(--butter); color:var(--forest); border-color:var(--butter); }
.tour-card{ background:#fff; color:var(--ink); padding:26px 24px 18px; overflow:auto; display:flex; flex-direction:column; }
.tour-kick{ font:700 12.5px var(--head); letter-spacing:.07em; text-transform:uppercase; color:var(--green); }
.tour-card h3{ font-size:24px; margin:8px 0 10px; }
.tour-say{ color:var(--ink); font-size:16.5px; }
.tour-hint{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; font:600 15px var(--body); color:var(--forest); background:var(--butter-pale); border:1px solid var(--butter); border-radius:12px; padding:10px 12px; }
.tour-hint .btn{ margin:0; }
.pulse-dot{ width:12px; height:12px; flex:none; border-radius:50%; background:var(--gold-mark); animation:spot-pulse 2s infinite; }
.tour-nav{ display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:12px; align-items:center; }
.tour-nav .btn:disabled{ opacity:.4; cursor:default; }
.tour-play{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; border:0; background:none; color:var(--green); font:700 14px var(--body); cursor:pointer; padding:8px 4px; }
.tour-play[aria-pressed=true]{ color:#8A5A0E; }
.tour-bar{ height:5px; border-radius:99px; background:var(--sky); margin-top:14px; overflow:hidden; } .tour-bar i{ display:block; height:100%; background:linear-gradient(90deg, var(--green), var(--mint)); border-radius:99px; transition:width .4s ease; }
.tour-fine{ font-size:12.5px; color:var(--muted); margin:10px 0 0; }
.tour-video{ flex:1; min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; gap:14px; }
.tv-frame{ width:min(100%, calc((100vh - 190px) * 16 / 9)); aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:#000; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.tv-frame video{ width:100%; height:100%; display:block; }
.tour-video p{ color:#CFE3E8; max-width:760px; text-align:center; margin:0; }
.linkish{ border:0; background:none; color:var(--gold); font:inherit; text-decoration:underline; cursor:pointer; padding:0; }
@media (max-width:1100px){ .tour-main{ grid-template-columns:76px minmax(0,1fr) 330px; } .tc-t{ display:none; } .tour-ch{ padding:16px 10px; } .tour-ch li:not(:last-child)::after{ left:24px; } .tour-ch button{ grid-template-columns:30px; padding:8px 10px; } }
@media (max-width:760px){
  .tour-top{ padding:10px 12px; gap:10px; flex-wrap:wrap; } .tour-name small{ display:none; } .tour-name b{ font-size:15px; }
  .tour-tabs{ order:3; width:100%; margin:0; } .tour-tabs button{ flex:1; padding:7px 8px; font-size:13.5px; }
  .tour-x{ margin-left:auto; }
  .tour-main{ grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr) auto; }
  .tour-ch{ display:flex; gap:6px; padding:8px 10px; overflow-x:auto; border-right:0; border-bottom:1px solid rgba(255,255,255,.08); scrollbar-width:none; }
  .tour-ch li::after{ display:none; } .tour-ch button{ grid-template-columns:24px auto; gap:7px; padding:6px 10px 6px 6px; margin:0; white-space:nowrap; } .tc-t{ display:block; } .tc-t small{ display:none; } .tc-t b{ font-size:13px; }
  .tc-n{ width:24px; height:24px; font-size:11px; }
  .tour-stage{ padding:10px 8px; }
  .tour-card{ padding:14px 16px 12px; max-height:44vh; border-radius:18px 18px 0 0; }
  .tour-card h3{ font-size:19px; margin:4px 0 6px; } .tour-say{ font-size:15px; margin-bottom:10px; } .tour-hint{ font-size:14px; padding:8px 10px; margin-bottom:6px; }
  .tour-fine{ display:none; } .tour-bar{ margin-top:10px; }
  .tour-video{ padding:12px; justify-content:flex-start; }
  .tour-end{ padding:6px 10px; } .te-badge{ width:46px; height:46px; margin-bottom:8px; box-shadow:0 0 0 6px rgba(255,198,113,.18); } .te-badge svg{ width:24px; height:24px; }
  .tour-end h3{ font-size:20px; margin-bottom:4px; } .te-path{ margin:8px 0; gap:5px; } .te-path li{ font-size:11.5px; padding:3px 8px; } .tour-end p{ font-size:14px; margin:0; }
}
@media (prefers-reduced-motion: reduce){ .mini-spots i, .lb-dot, .tour-spot, .pulse-dot{ animation:none; } .tour-zoom, .tour-cursor{ transition:none; } .zoomable:hover, .zoomable:hover img{ transform:none; } }

.step[data-tour]{ cursor:pointer; border-radius:14px; padding-top:4px; padding-bottom:8px; transition:background .2s, transform .2s; }
.step[data-tour]:hover{ background:rgba(255,255,255,.75); transform:translateY(-3px); }
.step[data-tour]:hover .dot{ background:var(--butter); border-color:var(--butter); }
.step[data-tour]:focus-visible{ outline:3px solid var(--gold-mark); }
.demo-chapters{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:28px; }
.demo-ch{ all:unset; box-sizing:border-box; cursor:pointer; display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.demo-ch img{ width:100%; height:190px; object-fit:cover; object-position:top center; background:var(--sky); border-bottom:1px solid var(--line); transition:transform .4s; }
.demo-ch span{ padding:16px 18px 18px; } .demo-ch b{ display:block; font:700 18px var(--head); color:var(--forest); } .demo-ch small{ color:var(--muted); font-size:15px; }
.demo-ch:hover{ transform:translateY(-4px); box-shadow:0 20px 44px rgba(13,54,95,.16); border-color:var(--green); } .demo-ch:hover img{ transform:scale(1.04); }
.demo-ch:focus-visible{ outline:3px solid var(--gold-mark); }
@media (max-width:860px){ .demo-chapters{ grid-template-columns:1fr 1fr; gap:14px; } .demo-ch img{ height:150px; } }
@media (max-width:480px){ .demo-chapters{ grid-template-columns:1fr; } }
.tour.rec .tour-tabs, .tour.rec .tour-x, .tour.rec .tour-nav, .tour.rec .tour-fine{ visibility:hidden; }
