/* In-site assessment (visibility-check.html) and free-step page (ai-setup-card.html), Nov 2026.
   Its own file so dbms.css and its cache tag stay unchanged. Uses the site's colors and fonts. */

:root{
  --is-low:#B3261E; --is-low-bg:#FBE9E7; --is-low-tx:#8C1D18;
  --is-med:#B26A00; --is-med-bg:#FFF1DC; --is-med-tx:#7A4A00;
  --is-high:#2E7D4F; --is-high-bg:#E3F3E8; --is-high-tx:#1E5B3A;
  --is-line:rgba(26,45,84,.16);
  --is-muted:#566579; --is-edge:rgba(26,45,84,.55);
}

/* ---------- Layout ---------- */
.is-hero .is-hero-actions{margin-top:30px}
.is-hero .btn{font-size:16px;padding:16px 30px}
.is-points{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;margin:26px auto 0;max-width:720px}
.is-points li{font-size:14px;color:var(--text-on-navy);display:flex;align-items:center;gap:9px}
.is-points li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);flex:0 0 7px}
.is-started .is-hero{padding:128px 0 44px}
.is-started .is-hero p,.is-started .is-hero .is-hero-actions,.is-started .is-hero .is-points{display:none}
.is-started .is-hero h1{font-size:clamp(24px,3vw,34px)}

.is-section{background:var(--ivory);padding:64px 0 100px}
.is-card{max-width:760px;margin:0 auto;background:var(--white);border-radius:18px;padding:44px 44px 40px;box-shadow:0 18px 50px rgba(18,36,64,.08)}
.is-card h2{font-size:clamp(24px,2.8vw,32px);line-height:1.2}
.is-card h2 em,.is-card h3 em{font-style:italic;color:#8E615A}
.is-card h2:focus,.is-card legend:focus{outline:none}
.is-lede{color:var(--is-muted);font-size:16px;line-height:1.6;margin-top:12px}
.is-center{text-align:center}
.is-hidden,[hidden]{display:none!important}
.is-sr{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}

.is-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:760px;margin:0 auto 32px}
.is-steps li{display:flex;align-items:center;gap:14px;background:var(--white);border-radius:12px;padding:16px 18px;font-size:15px;font-weight:500;color:var(--navy);line-height:1.35;box-shadow:0 1px 0 rgba(18,36,64,.06)}
.is-num{flex:0 0 34px;height:34px;border-radius:50%;background:var(--gold-grad);color:var(--navy-deep);font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center}

/* ---------- Progress ---------- */
.is-progress{margin-bottom:30px}
.is-progress-text{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--is-muted);margin-bottom:10px}
.is-progress-track{height:8px;border-radius:8px;background:rgba(26,45,84,.10);overflow:hidden}
.is-progress-bar{height:100%;border-radius:8px;background:linear-gradient(90deg,#D9A8A0,#B88D87);width:0;transition:width .35s ease}

/* ---------- Questions ---------- */
.is-q{border:0;padding:0;margin:0;min-width:0}
.is-q legend{font-family:var(--serif);font-weight:600;font-size:clamp(22px,2.6vw,28px);line-height:1.25;color:var(--navy);padding:0;margin-bottom:24px;width:100%}
.is-options{display:grid;gap:12px}
.is-opt{position:relative;display:block;cursor:pointer}
.is-opt input{position:absolute;opacity:0;width:1px;height:1px}
.is-opt span{display:flex;align-items:center;gap:14px;min-height:58px;padding:14px 18px;border:1.5px solid var(--is-edge);border-radius:12px;background:var(--white);font-size:16px;line-height:1.4;color:var(--text-body);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.is-opt span::before{content:"";flex:0 0 20px;width:20px;height:20px;border-radius:50%;border:2px solid rgba(26,45,84,.7);background:var(--white);transition:all .15s ease}
.is-opt:hover span{border-color:var(--navy);background:#FBFAF7}
.is-opt input:focus-visible + span{outline:3px solid rgba(217,168,160,.85);outline-offset:2px;border-color:var(--navy)}
.is-opt input:checked + span{border-color:var(--navy);background:#FBF1EE;box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy);font-weight:500}
.is-opt input:checked + span::before{border-color:var(--navy);background:radial-gradient(circle,var(--navy) 0 45%,var(--white) 50%)}
.is-ask{margin-top:18px}
.is-nav{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:30px}
.is-nav .btn{min-height:50px}
.is-back{min-height:44px;background:transparent;border:0;font-family:var(--sans);font-size:15px;font-weight:600;color:var(--navy);cursor:pointer;padding:12px 6px;text-decoration:underline;text-underline-offset:3px}
.is-back:hover{color:var(--gold-dk)}
.is-back:focus-visible,.is-card .btn:focus-visible,.is-modal-close:focus-visible,.is-copy-btn:focus-visible{outline:3px solid rgba(217,168,160,.9);outline-offset:2px}
.btn[disabled]{opacity:.55;cursor:not-allowed;transform:none!important}
.is-note{font-size:13px;color:var(--is-muted);margin-top:18px;line-height:1.55}
.is-note a{color:var(--navy);text-decoration:underline}

/* ---------- Form fields (gate, optional contact, free-step) ---------- */
.is-fields{display:grid;gap:18px;margin-top:24px}
.is-field label{display:block;font-size:14px;font-weight:600;color:var(--navy);margin-bottom:8px;line-height:1.3}
.is-field input[type=text],.is-field input[type=email]{display:block;width:100%;font-family:var(--sans);font-size:16px;color:var(--text-body);background:var(--ivory);border:1px solid var(--is-edge);border-radius:8px;padding:13px 14px;min-height:50px;line-height:1.4}
.is-field input:focus{outline:3px solid rgba(217,168,160,.7);outline-offset:1px;border-color:var(--navy);background:var(--white)}
.is-field input[aria-invalid=true]{border-color:var(--is-low)}
.is-error{display:block;font-size:14px;color:var(--is-low-tx);margin-top:8px;font-weight:500}
.is-check{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:var(--text-body);line-height:1.5}
.is-check input{width:20px;height:20px;margin-top:1px;flex:0 0 20px;accent-color:var(--navy)}
.is-actions{margin-top:26px}
.is-actions .btn{width:100%;font-size:16px;padding:16px 28px;min-height:54px}
.is-hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------- Result ---------- */
.is-result > * + *{margin-top:34px}
.is-result-head{text-align:center}
.is-result-head .eyebrow,.is-card .eyebrow,.fs-start-card .eyebrow{color:#8E615A!important}
.is-result-head h2{margin-top:10px}
.is-video{max-width:320px;margin-left:auto;margin-right:auto}
.is-video-frame{position:relative;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:var(--navy);box-shadow:0 18px 44px rgba(18,36,64,.18)}
.is-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.is-cta-top{text-align:center}
.is-cta-top .btn,.is-cta-bottom .btn{font-size:16px;padding:16px 30px;min-height:54px}
.is-result .is-cta-top{margin-top:22px}

.is-score{display:grid;grid-template-columns:150px 1fr;gap:28px;align-items:center;background:var(--ivory);border-radius:16px;padding:28px}
.is-ring{position:relative;width:150px;height:150px}
.is-ring svg{width:150px;height:150px;transform:rotate(-90deg)}
.is-ring circle{fill:none;stroke-width:12}
.is-ring .trk{stroke:rgba(26,45,84,.10)}
.is-ring .val{stroke-linecap:round;transition:stroke-dashoffset .9s ease}
.is-ring-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--serif);color:var(--navy);line-height:1}
.is-ring-num b{font-size:44px;font-weight:600}
.is-ring-num small{font-family:var(--sans);font-size:12px;color:var(--is-muted);margin-top:6px;letter-spacing:.04em}
.is-score p{font-size:16px;line-height:1.7;color:var(--text-body);margin-top:12px}
.is-chip{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:5px 12px;line-height:1.2}
.is-chip.low{background:var(--is-low-bg);color:var(--is-low-tx)}
.is-chip.medium{background:var(--is-med-bg);color:var(--is-med-tx)}
.is-chip.high{background:var(--is-high-bg);color:var(--is-high-tx)}
.low .val,.is-bar.low i{stroke:var(--is-low);background:var(--is-low)}
.medium .val,.is-bar.medium i{stroke:var(--is-med);background:var(--is-med)}
.high .val,.is-bar.high i{stroke:var(--is-high);background:var(--is-high)}

.is-pillars-h{font-size:22px;margin-bottom:-12px}
.is-pillars{list-style:none;display:grid;gap:16px}
.is-pillar{border:1px solid var(--is-line);border-radius:14px;padding:22px 24px}
.is-pillar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.is-pillar h4{font-size:20px}
.is-pillar-score{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;color:var(--navy)}
.is-bar{height:8px;border-radius:8px;background:rgba(26,45,84,.10);overflow:hidden;margin-top:14px}
.is-bar i{display:block;height:100%;border-radius:8px}
.is-pillar p{font-size:15.5px;line-height:1.7;color:var(--text-body);margin-top:14px}

.is-cta-bottom{background:radial-gradient(120% 120% at 50% -20%,#243a66 0%,rgba(36,58,102,0) 55%),var(--navy);border-radius:16px;padding:40px 36px;text-align:center}
.is-cta-bottom h3{color:var(--ivory);font-size:clamp(22px,2.6vw,28px)}
.is-cta-bottom h3 em{color:var(--soft-gold)}
.is-cta-bottom p{color:var(--text-on-navy);font-size:16px;line-height:1.7;max-width:560px;margin:14px auto 0}
.is-cta-bottom .btn{margin-top:24px}
.is-cta-bottom .eyebrow{margin-bottom:10px}
.is-cta-bottom small{display:block;color:var(--muted-on-navy);font-size:13px;margin-top:14px}
.is-box{border:1px solid var(--is-line);border-radius:14px;padding:26px 26px 28px}
.is-box h3{font-size:21px}
.is-box p{font-size:15.5px;line-height:1.65;color:var(--text-body);margin-top:8px}
.is-ok{background:var(--is-high-bg);color:var(--is-high-tx);border-radius:10px;padding:14px 16px;font-size:15px;font-weight:500}
.is-restart{text-align:center;margin-top:26px}

/* ---------- Booking popup (on-page) ---------- */
.is-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(11,24,48,.72)}
.is-modal-box{position:relative;width:min(760px,100%);height:min(820px,calc(100vh - 40px));background:var(--white);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.is-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 14px 22px;border-bottom:1px solid var(--is-line)}
.is-modal-head h2{font-size:19px}
.is-modal-close{width:44px;height:44px;border-radius:50%;border:1px solid var(--is-line);background:var(--white);font-size:22px;line-height:1;color:var(--navy);cursor:pointer}
.is-modal-close:hover{background:var(--ivory)}
.is-modal-box iframe{flex:1;width:100%;border:0}
.is-modal-foot{padding:10px 22px;font-size:13px;color:var(--is-muted);border-top:1px solid var(--is-line)}
.is-modal-foot a{color:var(--navy);text-decoration:underline}
body.is-modal-open{overflow:hidden}

/* ---------- Internal test ribbon, draft ribbon, event log ---------- */
.is-ribbon{position:fixed;left:12px;bottom:12px;z-index:150;background:#1E5B3A;color:#fff;font-size:12px;font-weight:600;letter-spacing:.06em;padding:8px 12px;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.is-draft{background:#FFF1DC;color:#7A4A00;font-size:13px;font-weight:600;text-align:center;padding:10px 16px;border-radius:10px;margin-bottom:26px}
.is-debug{position:fixed;right:12px;bottom:12px;z-index:150;width:min(360px,calc(100vw - 24px));max-height:46vh;overflow:auto;background:#0b1830;color:#E7ECF3;font:12px/1.5 ui-monospace,Consolas,monospace;border-radius:10px;padding:10px 12px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.is-debug b{color:#F7D6CF}
.is-debug div{border-top:1px solid rgba(231,236,243,.12);padding:4px 0;word-break:break-word}

/* ---------- Free-step page ---------- */
.fs-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:start;max-width:1040px;margin:0 auto}
.fs-what h2{font-size:clamp(24px,2.8vw,32px)}
.fs-bullets{list-style:none;display:grid;gap:16px;margin-top:26px}
.fs-bullets li{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;font-size:16px;line-height:1.6;color:var(--text-body)}
.fs-bullets strong{color:var(--navy)}
.fs-who{margin-top:26px;font-size:15px;font-weight:600;color:var(--navy)}
.fs-card{background:var(--white);border-radius:18px;padding:36px 34px 32px;box-shadow:0 18px 50px rgba(18,36,64,.08)}
.fs-card h2{font-size:24px;line-height:1.2}
.fs-card .is-fields{margin-top:20px}
.fs-thanks{max-width:760px;margin:0 auto}
.fs-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.fs-links .btn{min-height:52px;display:inline-flex;align-items:center}
.fs-qs{margin-top:38px;padding-top:34px;border-top:1px solid var(--is-line)}
.fs-qs .is-q{margin-top:30px}
.fs-qs .is-q legend{font-size:19px;margin-bottom:14px}
.fs-qs .is-opt span{min-height:50px;padding:11px 16px;font-size:15.5px}
.fs-next{margin-top:34px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.fs-next p{flex:1 1 100%;font-size:17px;color:var(--navy);font-weight:500}
.fs-start{background:var(--white);padding:56px 0 0}
.fs-start-card{max-width:900px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:var(--ivory);border:1px solid rgba(18,36,64,.10);border-radius:16px;padding:30px 34px}
.fs-start-card h2{font-size:24px;margin-top:6px}
.fs-start-card p{font-size:15px;color:var(--is-muted);margin-top:8px;max-width:520px;line-height:1.6}

/* ---------- Free pages (card and check): copy blocks and tables ---------- */
.is-copy{position:relative;margin:18px 0 26px}
.is-copy pre{white-space:pre-wrap;word-break:break-word;font:14.5px/1.65 ui-monospace,Consolas,"Courier New",monospace;color:var(--navy-deep);background:var(--ivory);border:1px solid var(--is-line);border-radius:12px;padding:20px 20px 22px;margin:0}
.is-copy-btn{display:inline-block;margin-top:10px;font-family:var(--sans);font-size:14px;font-weight:600;color:var(--navy);background:var(--white);border:1.5px solid var(--navy);border-radius:6px;padding:10px 16px;min-height:44px;cursor:pointer}
.is-copy-btn:hover{background:var(--navy);color:var(--ivory)}
.article .is-table{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:15.5px;line-height:1.6}
.article .is-table th,.article .is-table td{border:1px solid var(--is-line);padding:12px 14px;text-align:left;vertical-align:top}
.article .is-table th{background:var(--ivory);color:var(--navy);font-weight:600}
.article .is-rule{border:0;border-top:1px solid var(--is-line);margin:34px 0}
.article .is-small,.article .is-small li{font-size:14px;line-height:1.65;color:var(--is-muted)}
.article .is-small a{color:var(--navy);text-decoration:underline;word-break:break-word}
.article a.is-link{color:var(--navy);text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* ---------- Mobile ---------- */
@media(max-width:860px){
  .fs-grid{grid-template-columns:1fr;gap:34px;max-width:620px}
}
@media(max-width:760px){
  .is-steps{grid-template-columns:1fr;gap:10px;max-width:420px;margin-bottom:26px}
}
@media(max-width:600px){
  .is-section{padding:40px 0 72px}
  .is-started .is-hero{padding:104px 0 30px}
  .is-points{flex-direction:column;align-items:center;gap:10px}
  .is-card{padding:30px 20px 28px;border-radius:14px}
  .is-progress{margin-bottom:24px}
  .is-q legend{margin-bottom:20px}
  .is-opt span{padding:13px 14px;gap:12px;font-size:15.5px}
  .is-nav{margin-top:26px}
  .is-result > * + *{margin-top:30px}
  .is-score{grid-template-columns:1fr;justify-items:center;text-align:center;padding:26px 20px;gap:20px}
  .is-pillar{padding:20px 18px}
  .is-cta-bottom{padding:34px 22px}
  .is-cta-top .btn,.is-cta-bottom .btn{width:100%}
  .is-box{padding:22px 18px 24px}
  .fs-card{padding:28px 20px 26px;border-radius:14px}
  .fs-links .btn,.fs-next .btn{width:100%;justify-content:center;text-align:center}
  .fs-start{padding:40px 0 0}
  .fs-start-card{padding:24px 20px}
  .fs-start-card .btn{width:100%;text-align:center}
  .is-modal{padding:0}
  .is-modal-box{width:100%;height:100%;border-radius:0}
  .article .is-table,.article .is-table tbody,.article .is-table tr,.article .is-table td{display:block;width:100%}
  .article .is-table thead{display:none}
  .article .is-table tr{border:1px solid var(--is-line);border-radius:12px;margin-bottom:12px;overflow:hidden}
  .article .is-table td{border:0;padding:12px 14px}
  .article .is-table td:first-child{background:var(--ivory);font-weight:600;color:var(--navy)}
  .is-copy pre{font-size:13.5px;padding:16px 14px 18px}
}
@media(prefers-reduced-motion:reduce){
  .is-progress-bar,.is-ring .val,.is-opt span{transition:none}
}
