
/* =========================================================
   SC — Security with Clarity
   Dedicated phone resource
   Loads only on screens up to 760px.
   ========================================================= */

:root{
  --mobile-edge:16px;
}

html,body{
  overflow-x:hidden!important;
  -webkit-text-size-adjust:100%;
}

.section,
.hero,
.site-header,
.license-ribbon,
.trust-ribbon,
.proof-bar,
.snapshot-section,
.about-section,
.clarity-panel,
.connect-card,
.site-footer{
  width:calc(100vw - 32px)!important;
  max-width:calc(100vw - 32px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Trust ribbon */
.trust-ribbon{
  border-radius:22px!important;
  padding:10px 11px!important;
  gap:8px!important;
}
.trust-ribbon p{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  text-align:center!important;
  gap:5px!important;
  font-size:11.5px!important;
  line-height:1.22!important;
}
.trust-ribbon p span::before{
  display:none!important;
}
.verify-link{
  width:100%!important;
  min-height:38px!important;
  padding:9px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
}

/* App-like header */
.site-header{
  top:8px!important;
  border-radius:24px!important;
  padding:8px!important;
  gap:8px!important;
}
.brand{
  min-width:0!important;
  flex:1 1 auto!important;
}
.brand-mark{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
  flex:0 0 38px!important;
}
.brand-copy{
  min-width:0!important;
}
.brand-copy strong{
  max-width:150px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
}
.brand-copy small{
  font-size:11px!important;
}
.nav-cta{
  display:none!important;
}
.menu-toggle{
  display:grid!important;
  flex:0 0 42px!important;
}

/* Hero */
.hero-text-only{
  min-height:auto!important;
  margin-top:24px!important;
  margin-bottom:22px!important;
}
.hero-text-only .hero-copy{
  padding:34px 18px!important;
  border-radius:30px!important;
}
.hero-text-only h1{
  font-size:clamp(42px,11vw,58px)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}
.hero-subtitle{
  font-size:21px!important;
  line-height:1.12!important;
}
.hero-lead{
  font-size:16px!important;
  line-height:1.5!important;
}
.hero-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
.hero-actions .btn{
  width:100%!important;
  min-height:54px!important;
}

/* Proof bar */
.proof-bar{
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
.proof-bar article{
  padding:16px 10px!important;
  border-radius:22px!important;
  text-align:center!important;
}
.proof-bar strong{
  font-size:24px!important;
}
.proof-bar span{
  font-size:11.5px!important;
}

/* Sample section */
.snapshot-section{
  grid-template-columns:1fr!important;
  gap:22px!important;
}
.snapshot-copy{
  text-align:center!important;
}
.snapshot-copy .eyebrow{
  justify-content:center!important;
}
.snapshot-copy h2{
  font-size:34px!important;
  line-height:1.04!important;
}
.snapshot-copy p{
  font-size:15.5px!important;
}
.score-remark{
  text-align:left!important;
  font-size:13px!important;
}

.device-card{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:14px!important;
  border-radius:30px!important;
  box-shadow:0 18px 50px rgba(17,17,19,.08)!important;
  overflow:hidden!important;
}
.device-top{
  padding-bottom:12px!important;
}
.device-top span{
  display:none!important;
}
.snapshot-title{
  padding:18px 2px 14px!important;
  text-align:left!important;
}
.snapshot-title small{
  font-size:12px!important;
  letter-spacing:.12em!important;
}
.snapshot-title strong{
  display:block!important;
  font-size:clamp(25px,7vw,31px)!important;
  line-height:1.06!important;
  letter-spacing:-.05em!important;
}

/* Phone-specific Sample Only boxes:
   left text, right score — avoids persistent mobile vertical misalignment. */
.sample-category-list,
.sample-category-centered{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin:10px 0 12px!important;
}
.sample-category-list div,
.sample-category-centered div{
  width:100%!important;
  max-width:100%!important;
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  grid-template-rows:auto auto!important;
  column-gap:12px!important;
  row-gap:3px!important;
  align-items:center!important;
  align-content:center!important;
  justify-items:start!important;
  text-align:left!important;
  padding:16px!important;
  border-radius:22px!important;
}
.sample-category-list span,
.sample-category-centered span{
  grid-column:1!important;
  grid-row:1!important;
  width:auto!important;
  justify-self:start!important;
  align-self:end!important;
  text-align:left!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1.1!important;
}
.sample-category-list small,
.sample-category-centered small{
  grid-column:1!important;
  grid-row:2!important;
  width:auto!important;
  max-width:210px!important;
  justify-self:start!important;
  align-self:start!important;
  text-align:left!important;
  margin:2px 0 0!important;
  font-size:12px!important;
  line-height:1.28!important;
}
.sample-category-list strong,
.sample-category-centered strong{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  justify-self:end!important;
  align-self:center!important;
  width:auto!important;
  text-align:right!important;
  margin:0!important;
  font-size:34px!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
}

/* Total sample score */
.sample-score-block{
  min-height:178px!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  align-content:stretch!important;
  padding:18px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.sample-score-block > span{
  display:block!important;
  max-width:100%!important;
  font-size:13px!important;
  line-height:1.28!important;
  color:rgba(255,255,255,.78)!important;
}
.sample-score-block strong{
  align-self:end!important;
  display:grid!important;
  gap:2px!important;
}
.sample-score-block strong b{
  font-size:60px!important;
  line-height:.88!important;
}
.sample-score-block strong em{
  font-size:17px!important;
  line-height:1.1!important;
}
.device-card .microcopy{
  font-size:11px!important;
  text-align:left!important;
  margin:12px 2px 0!important;
}

/* Grids */
.problem-grid,
.two-step-grid,
.benefits-grid,
.audience-restored-grid,
.result-layout,
.field-grid{
  grid-template-columns:1fr!important;
}
.problem-card,
.step-card,
.benefit-card,
.audience-restored-card{
  border-radius:26px!important;
}
.step-card,
.benefit-card,
.audience-restored-card{
  padding:22px!important;
}

/* About */
.about-section{
  grid-template-columns:1fr!important;
  gap:22px!important;
}
.about-photo img{
  border-radius:30px!important;
}
.about-photo-badge{
  left:14px!important;
  right:14px!important;
  bottom:14px!important;
  border-radius:22px!important;
}
.about-photo-badge strong{
  font-size:18px!important;
}
.about-photo-badge span{
  font-size:12px!important;
}
.about-premium-card{
  padding:22px 18px!important;
  border-radius:30px!important;
}
.premium-credential-row,
.refined-credential-row{
  grid-template-columns:1fr!important;
}
.refined-credential-row article{
  min-height:auto!important;
}

/* Assessment result */
.quiz-shell,
.result-card{
  padding:18px!important;
  border-radius:28px!important;
}
.quiz-top{
  grid-template-columns:1fr!important;
  gap:12px!important;
}
.question h3{
  font-size:24px!important;
}
.option,
.risk-option{
  padding:14px!important;
}
.result-metrics{
  grid-template-columns:1fr!important;
}
.live-score-total strong b{
  font-size:64px!important;
}
.result-actions{
  grid-template-columns:1fr!important;
}

/* Contact and footer */
.connect-card{
  padding:24px 18px!important;
  border-radius:30px!important;
}
.connect-grid{
  grid-template-columns:1fr 1fr!important;
}
.site-footer{
  grid-template-columns:1fr!important;
  gap:22px!important;
  padding:24px 0!important;
}

/* Final CTA and legal */
.final-cta{
  padding:42px 18px!important;
  border-radius:30px!important;
}
.final-cta h2{
  font-size:34px!important;
}
.legal-page{
  width:calc(100vw - 32px)!important;
  max-width:calc(100vw - 32px)!important;
  padding-top:32px!important;
}
.legal-page h1{
  font-size:42px!important;
}

@supports (padding: max(0px)){
  body{
    padding-left:max(0px, env(safe-area-inset-left))!important;
    padding-right:max(0px, env(safe-area-inset-right))!important;
  }
}


/* --- Mobile score-first contact form --- */
.score-first-contact-note{
  padding:14px!important;
  border-radius:20px!important;
}
.review-request-form{
  padding:16px!important;
  border-radius:24px!important;
}
.review-field-grid{
  grid-template-columns:1fr!important;
}
.review-form-title{
  text-align:center!important;
}
.consent{
  font-size:12px!important;
}


/* --- Mobile integrated review improvements --- */
.verify-wrap{
  width:100%!important;
  display:grid!important;
  gap:6px!important;
  justify-items:center!important;
}
.verify-wrap span{
  font-size:11.5px!important;
  color:#6e6e73!important;
}
.scoring-method-grid{
  grid-template-columns:1fr!important;
  gap:12px!important;
}
.scoring-card{
  padding:20px!important;
  border-radius:24px!important;
}
.scoring-weight-list{
  display:grid!important;
  grid-template-columns:1fr!important;
}
.score-first-contact-note{
  padding:14px!important;
  border-radius:20px!important;
}
.review-request-form{
  padding:16px!important;
  border-radius:24px!important;
}
.review-field-grid{
  grid-template-columns:1fr!important;
}
.review-form-title{
  text-align:center!important;
}
.consent{
  font-size:12px!important;
}


/* --- Mobile final requested edits --- */
.advisor-opportunity-field{
  padding:12px!important;
  border-radius:18px!important;
}


/* --- Premium mobile arrangement for post-score review form --- */
.premium-score-note{
  padding:18px!important;
  border-radius:26px!important;
  text-align:left!important;
}
.premium-score-note strong{
  font-size:25px!important;
}
.premium-review-form{
  padding:16px!important;
  border-radius:28px!important;
  gap:16px!important;
}
.review-form-header{
  display:grid!important;
  gap:6px!important;
  text-align:left!important;
}
.review-form-header span{
  text-align:left!important;
}
.contact-detail-grid,
.planning-context-grid,
.review-field-grid{
  grid-template-columns:1fr!important;
  gap:11px!important;
}
.review-section-label{
  font-size:11.5px!important;
}
.premium-review-form input,
.premium-review-form select,
.premium-review-form textarea{
  min-height:50px!important;
  font-size:16px!important;
}
.review-consent-box{
  padding:12px!important;
  border-radius:22px!important;
}


/* --- Checkbox safety for mobile post-score form --- */
.review-consent-box .consent{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
}
.review-consent-box .consent input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  margin:2px 0 0 0!important;
  padding:0!important;
  -webkit-appearance:checkbox!important;
  appearance:auto!important;
}
.review-consent-box .consent span{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}


/* --- Mobile bonus highlight + send status --- */
.submit-lead-status{
  font-size:12.5px!important;
  text-align:center!important;
}
.bonus-risk-highlight{
  border:1px solid rgba(211,26,75,.22)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,244,248,.88))!important;
  box-shadow:0 22px 60px rgba(211,26,75,.12)!important;
}
.bonus-risk-highlight::before{
  position:static!important;
  display:inline-flex!important;
  margin-bottom:14px!important;
}
.bonus-risk-highlight h3{
  font-size:34px!important;
}
.bonus-nudge{
  display:flex!important;
  border-radius:18px!important;
  line-height:1.3!important;
}


/* --- Bonus section layout safety --- */
.bonus-risk-card,
.bonus-risk-highlight{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
}
.risk-quiz-mount,
.bonus-risk-questions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
}
.risk-quiz-mount[hidden],
.bonus-risk-questions[hidden],
.bonus-calculate-btn[hidden]{
  display:none!important;
}
.risk-question{
  padding:16px!important;
  border-radius:22px!important;
}
.bonus-calculate-btn{
  width:100%!important;
}


/* --- Bonus risk tool wrapper final stacking override --- */
.bonus-risk-tool,
.bonus-risk-tool-stacked,
.risk-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  width:100%!important;
}
.risk-actions .btn{
  width:100%!important;
}
.bonus-risk-tool .risk-quiz-mount:empty{
  display:none!important;
}


/* --- Bonus appears only after main readiness questionnaire is completed --- */
.bonus-risk-card[hidden],
.bonus-risk-highlight[hidden],
#bonusRiskCard[hidden]{
  display:none!important;
}
.bonus-risk-card:not([hidden]){
  margin-top:22px!important;
}


/* --- Mobile header brand text fix --- */
.site-header{
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
}
.site-header .brand{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  overflow:visible!important;
}
.site-header .brand-copy{
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}
.site-header .brand-copy strong{
  max-width:none!important;
  width:auto!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:block!important;
  font-size:12.5px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}
.site-header .brand-copy small{
  display:block!important;
  font-size:10.5px!important;
  line-height:1.1!important;
}
.site-header .brand-mark{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
}
.site-header .menu-toggle{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}

@media (max-width:380px){
  .site-header{
    padding:7px!important;
    gap:6px!important;
  }
  .site-header .brand{
    gap:7px!important;
  }
  .site-header .brand-mark{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
    font-size:13px!important;
  }
  .site-header .brand-copy strong{
    font-size:11.5px!important;
    line-height:1.05!important;
  }
  .site-header .brand-copy small{
    font-size:10px!important;
  }
  .site-header .menu-toggle{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
}


/* --- Mobile menu button right-end alignment fix --- */
.site-header{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:center!important;
  column-gap:10px!important;
}

.site-header .brand{
  grid-column:1!important;
  justify-self:start!important;
  width:100%!important;
  min-width:0!important;
}

.site-header .menu-toggle{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  margin-left:auto!important;
  margin-right:0!important;
  position:relative!important;
  right:auto!important;
  top:auto!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  z-index:30!important;
}

.site-header .primary-nav{
  grid-column:1 / -1!important;
}

@media (max-width:380px){
  .site-header .menu-toggle{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
}


/* --- Uniform premium mobile menu icon --- */
.uniform-menu-toggle{
  border-radius:15px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(245,245,247,.88))!important;
  border:1px solid rgba(17,17,19,.09)!important;
  box-shadow:0 10px 24px rgba(17,17,19,.08), inset 0 1px 0 rgba(255,255,255,.9)!important;
  display:grid!important;
  place-items:center!important;
}
.uniform-menu-toggle > span:not(.menu-icon-grid){
  display:none!important;
}
.menu-icon-grid{
  width:18px!important;
  height:18px!important;
  display:grid!important;
  grid-template-columns:repeat(2,1fr)!important;
  grid-template-rows:repeat(2,1fr)!important;
  gap:4px!important;
  transform:rotate(45deg);
}
.menu-icon-grid i{
  display:block!important;
  width:7px!important;
  height:7px!important;
  border-radius:3px!important;
  background:linear-gradient(135deg,#111113,#d31a4b)!important;
  box-shadow:0 2px 5px rgba(17,17,19,.14)!important;
}
.uniform-menu-toggle[aria-expanded="true"]{
  background:linear-gradient(180deg,rgba(211,26,75,.10),rgba(255,255,255,.92))!important;
  border-color:rgba(211,26,75,.22)!important;
}
.uniform-menu-toggle[aria-expanded="true"] .menu-icon-grid{
  transform:rotate(0deg) scale(.96);
}
.uniform-menu-toggle,
.menu-icon-grid{
  transition:transform .18s ease, background .18s ease, border-color .18s ease!important;
}

@media (max-width:380px){
  .menu-icon-grid{
    width:17px!important;
    height:17px!important;
    gap:3.5px!important;
  }
  .menu-icon-grid i{
    width:6.5px!important;
    height:6.5px!important;
  }
}


/* --- Mobile compact menu visibility safeguard --- */
.site-header .menu-toggle,
.site-header .uniform-menu-toggle{
  display:grid!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
