/* ========================================================================== 
   Mobile + tablet responsive layer
   Desktop (>1024px) intentionally untouched.
   ========================================================================== */

@media (max-width:1024px){
  :root{--mobile-gutter:24px}
  html,body{max-width:100%;overflow-x:clip}
  .container{width:min(calc(100% - (var(--mobile-gutter) * 2)),960px)!important}

  /* Tablet navigation: switch before the desktop pill starts to squeeze. */
  .header-inner{grid-template-columns:auto auto 1fr!important;gap:14px!important}
  .nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;justify-self:start;min-width:46px;min-height:42px;padding:.55rem .78rem;border-radius:9px;background:#fff;color:#222;font-family:var(--font-ui)!important;font-size:.74rem;font-weight:700}
  .main-nav{
    display:flex!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
    position:absolute!important;left:10px!important;right:10px!important;top:calc(var(--nav-panel-h) - 2px)!important;
    width:auto!important;max-height:min(72vh,560px);overflow:auto;
    flex-direction:column!important;align-items:stretch!important;gap:2px!important;
    padding:10px!important;border:1px solid #deded9!important;border-radius:12px!important;
    background:rgba(255,255,255,.99)!important;box-shadow:0 18px 48px rgba(20,20,20,.13)!important;
    transform:translateY(-7px)!important;transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  }
  .main-nav.open{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
  .main-nav a{width:100%!important;min-height:46px!important;justify-content:flex-start!important;padding:.72rem .86rem!important;border-radius:8px!important;font-size:.85rem!important}
  .main-nav a::after{display:none!important}

  /* Global tablet rhythm. */
  .section{padding:4.7rem 0!important}
  .page-hero{padding:3.4rem 0 3.8rem!important}
  .editorial-head,.feature-heading,.section-label,.final-cta-inner{max-width:none!important}
  .editorial-head{grid-template-columns:1fr!important;gap:20px!important}
  .editorial-head>.eyebrow,.editorial-head>h2,.editorial-head>.editorial-copy{grid-column:1!important}
  .editorial-copy{max-width:68ch!important}
  .feature-heading{grid-template-columns:minmax(0,1fr) minmax(260px,.55fr)!important;gap:34px!important;align-items:end!important}
  .attio-steps{grid-template-columns:1fr!important}
  .attio-steps article+article{border-left:0!important;border-top:1px solid var(--rule)!important}
  .attio-steps article{min-height:0!important}
  .audience-grid{grid-template-columns:1fr 1fr!important}
  .about-grid{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr)!important;gap:38px!important}
  .beta-panel{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:36px!important}

  /* Home hero tablet: copy above the full illustration. */
  .reference-match-main{
    width:min(calc(100% - 48px),900px)!important;grid-template-columns:1fr!important;gap:26px!important;
    min-height:0!important;padding:34px 0 28px!important;
  }
  .reference-match-copy{max-width:680px!important}
  .reference-match-copy h1{max-width:11ch!important;font-size:clamp(3.15rem,7.2vw,4.6rem)!important}
  .reference-match-sub{max-width:62ch!important;font-size:.95rem!important;line-height:1.66!important}
  .reference-match-visual{width:100%!important;max-width:720px!important;min-height:500px!important;margin:0 auto!important;transform:none!important}
  .reference-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  /* Inner-page hero layouts stop squeezing copy beside illustrations. */
  #wic-page-hero,
  .page-how-it-works .how-hero>.how-hero-grid,
  .page-security .security-hero>.security-hero-grid{
    grid-template-columns:1fr!important;width:min(calc(100% - 48px),900px)!important;gap:30px!important;min-height:0!important;
  }
  #wic-page-hero .wicp-copy,.page-how-it-works .how-hero-copy,.page-security .security-hero-copy{max-width:700px!important}
  #wic-page-hero .wicp-visual,.page-how-it-works .how-hero-visual,.page-security .security-hero-visual{width:100%!important;margin:0 auto!important;transform:none!important}
  .page-how-it-works .how-hero .how-hero-copy,.page-security .security-hero-copy{display:block!important}
  .page-how-it-works .how-hero h1,.page-security .security-hero h1{max-width:none!important}
  .page-how-it-works .how-hero-lede,.page-security .security-hero-lede{margin-top:1.15rem!important;max-width:55ch!important}
  .page-security .security-vector-illustration{width:100%!important;max-width:820px!important;margin:0 auto!important}
}

@media (max-width:767px){
  :root{
    --mobile-gutter:16px;
    --nav-band-h:0px!important;
    --nav-gap:0px!important;
    --nav-panel-h:58px!important;
    --content-offset:76px!important;
  }
  body{padding-top:var(--content-offset)!important;font-size:15px;line-height:1.58;-webkit-text-size-adjust:100%}
  .announcement{display:none!important}
  .site-header{
    top:8px!important;width:calc(100% - 16px)!important;border-radius:12px!important;
    background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    box-shadow:0 8px 24px rgba(20,20,20,.09)!important;
  }
  .site-header::after{display:none!important}
  .site-header.scrolled{transform:translateX(-50%)!important}
  .header-inner{width:calc(100% - 22px)!important;height:58px!important;grid-template-columns:1fr auto!important;gap:10px!important}
  .brand{min-width:0!important}
  .brand-fallback{font-size:1.35rem!important}
  .nav-toggle{justify-self:end!important;min-width:64px!important;min-height:40px!important;border-radius:9px!important}
  .nav-cta{display:none!important}
  .mobile-only{display:flex!important}
  .main-nav{
    left:0!important;right:0!important;top:64px!important;padding:8px!important;border-radius:12px!important;
    max-height:calc(100vh - 92px)!important;overscroll-behavior:contain;
  }
  .main-nav a{min-height:48px!important;font-size:.9rem!important;padding:.78rem .9rem!important}
  .main-nav .mobile-only{margin-top:5px!important;background:#1d1d1f!important;color:#fff!important;border-color:#1d1d1f!important;justify-content:center!important;font-weight:700!important}

  /* Mobile type + spacing */
  .container{width:calc(100% - 32px)!important}
  .section{padding:3.6rem 0!important}
  .section.compact{padding:3rem 0!important}
  .page-hero{padding:2.7rem 0 3rem!important;text-align:left!important}
  .page-hero>.container{align-items:flex-start!important;text-align:left!important}
  h1{font-size:clamp(2.65rem,12vw,3.5rem)!important;line-height:.94!important}
  h2{font-size:clamp(2rem,9.2vw,2.7rem)!important;line-height:1!important}
  h3{font-size:1.28rem!important}
  .lede{font-size:.96rem!important;line-height:1.6!important;max-width:38ch!important}
  .eyebrow{font-size:.68rem!important}
  p{max-width:100%}
  .hero-actions{width:100%;align-items:stretch!important;gap:9px!important}
  .hero-actions .button{min-height:46px!important}

  .nav-cta:hover,.button:hover,.hero-pill:hover,.feature-card:hover,.audience-item:hover,.step:hover,.check-group:hover,.fact:hover,.context-visual:hover{transform:none!important}

  /* HOME — mobile-first composition */
  .reference-match-hero{padding:0!important;overflow:hidden!important}
  .reference-match-main{width:calc(100% - 32px)!important;padding:30px 0 20px!important;gap:26px!important}
  .reference-kicker{font-size:.64rem!important;line-height:1.4!important;flex-wrap:wrap!important;gap:7px!important;margin-bottom:18px!important}
  .reference-kicker b{width:100%;padding-left:33px}
  .reference-match-copy h1{font-size:clamp(2.7rem,12.4vw,3.7rem)!important;line-height:.94!important;max-width:none!important}
  .reference-match-copy h1 .hero-secondary-sentence{margin-top:.22em!important}
  .reference-match-sub{margin-top:20px!important;font-size:.94rem!important;line-height:1.58!important}
  .reference-match-actions{margin-top:22px!important;gap:12px!important;flex-direction:column!important;align-items:stretch!important}
  .reference-match-actions .button{width:100%!important;min-height:47px!important}
  .reference-match-link{min-height:40px!important;justify-content:center!important;font-size:.8rem!important}
  .reference-beta-note{font-size:.69rem!important;margin-top:14px!important}

  .reference-match-visual{
    position:relative!important;width:100%!important;max-width:none!important;min-height:420px!important;height:420px!important;
    margin:0!important;transform:none!important;perspective:none!important;overflow:visible!important;
  }
  .reference-grid{inset:0 -12px 0 -12px!important;transform:none!important;background-size:24px 24px!important;opacity:.42!important;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent)!important}
  .reference-path{display:none!important}
  .reference-match-visual::after{
    content:'';position:absolute;right:22px;top:46px;width:2px;height:252px;z-index:0;opacity:.72;
    background:repeating-linear-gradient(to bottom,#ff8a3d 0 9px,transparent 9px 17px);
    filter:drop-shadow(0 0 4px rgba(232,101,10,.42));animation:mobileFlowY 1.2s linear infinite;
  }
  .reference-card{
    left:auto!important;right:auto!important;width:calc(100% - 30px)!important;height:92px!important;
    padding:13px 14px!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:11px!important;
    transform:none!important;border-radius:12px!important;box-shadow:0 12px 28px rgba(20,20,20,.09)!important;
  }
  .reference-card-accounts{top:8px!important;left:0!important}
  .reference-card-source{top:114px!important;left:18px!important}
  .reference-card-reviewer{top:222px!important;left:0!important;height:98px!important}
  .reference-card:hover,.reference-card:focus-visible,.reference-card.is-active{transform:none!important}
  .layer-icon{width:36px!important;height:36px!important;opacity:.9!important;transform:none!important}
  .ai-icon{opacity:1!important;transform:none!important}
  .layer-copy strong{font-size:.86rem!important}.layer-copy small{font-size:.59rem!important;opacity:1!important;transform:none!important}
  .layer-tag{min-width:38px!important;font-size:.55rem!important;padding:4px 6px!important}
  .reference-search{top:176px!important;left:auto!important;right:8px!important;width:34px!important;height:34px!important;transform:none!important}
  .stack-insight{display:flex!important;left:12px!important;right:12px!important;bottom:6px!important;width:auto!important;min-height:72px!important;padding:12px 14px!important;transform:none!important}
  .stack-insight strong{font-size:.74rem!important}.stack-insight p{font-size:.61rem!important;line-height:1.45!important}
  .reference-benefits{grid-template-columns:1fr!important;width:calc(100% - 32px)!important;margin-top:4px!important}
  .reference-benefits>div{min-height:0!important;padding:16px 0!important}

  #wic-hero{width:calc(100% - 32px)!important;grid-template-columns:1fr!important;gap:22px!important;padding:0 0 28px!important}
  #wic-hero .wic-hero-heading{font-size:clamp(2.6rem,11.4vw,3.4rem)!important}
  #wic-hero .wic-hero-copytext{margin:0!important;font-size:.94rem!important;line-height:1.58!important}
  .feature-heading{grid-template-columns:1fr!important;gap:16px!important;margin-bottom:24px!important}
  .feature-heading>p{grid-column:1!important;padding-top:0!important;font-size:.9rem!important}
  .attio-steps article{padding:24px 20px!important}
  .step-num{margin-bottom:22px!important}
  .audience-grid{grid-template-columns:1fr!important}
  .audience-item+ .audience-item{border-left:0!important;border-top:1px solid var(--rule)!important}
  .audience-item{min-height:0!important;padding:24px 20px!important}
  .audience-item p{margin-top:20px!important}
  .final-cta-inner{grid-template-columns:1fr!important;gap:0!important}
  .final-cta .eyebrow,.final-cta h2,.final-cta p,.final-cta .hero-actions,.final-cta .hero-note{grid-column:1!important}

  /* WHAT IT CHECKS — reflow illustration rather than shrinking desktop canvas. */
  .page-what-it-checks .page-hero{padding:2.7rem 0 2.4rem!important}
  #wic-page-hero{width:calc(100% - 32px)!important;gap:24px!important}
  #wic-page-hero .eyebrow{margin-bottom:14px!important}
  #wic-page-hero h1{font-size:clamp(2.8rem,13vw,3.65rem)!important;max-width:none!important}
  #wic-page-hero .lede{margin-top:18px!important;font-size:.94rem!important;line-height:1.58!important}
  #wic-page-hero .wicp-visual{
    width:100%!important;height:438px!important;min-height:438px!important;max-width:none!important;margin:0!important;
    transform:none!important;perspective:none!important;overflow:visible!important;
  }
  #wic-page-hero .wicp-visual::before{inset:10px -10px 0!important;transform:none!important;opacity:.24!important}
  #wic-page-hero .wicp-paths{display:none!important}
  #wic-page-hero .wicp-paper-stack{left:8px!important;top:34px!important;width:calc(100% - 44px)!important;height:205px!important}
  #wic-page-hero .wicp-card{
    width:calc(100% - 48px)!important;height:98px!important;padding:15px 16px!important;grid-template-columns:42px minmax(0,1fr)!important;
    transform:none!important;border-radius:12px!important;
  }
  #wic-page-hero .wicp-exact{left:0!important;top:18px!important}
  #wic-page-hero .wicp-assisted{left:18px!important;top:132px!important}
  #wic-page-hero .wicp-card:hover,#wic-page-hero .wicp-card:focus-visible{transform:none!important}
  #wic-page-hero .wicp-ai{left:auto!important;right:4px!important;top:92px!important;width:58px!important;height:58px!important;transform:none!important;font-size:1.05rem!important}
  #wic-page-hero .wicp-result{left:14px!important;right:auto!important;top:266px!important;width:calc(100% - 28px)!important;min-height:142px!important;padding:18px!important}
  #wic-page-hero .wicp-result-icon{width:34px!important;height:34px!important;margin-bottom:12px!important}
  #wic-page-hero .wicp-result strong{max-width:28ch!important;font-size:.86rem!important;line-height:1.4!important}
  #wic-page-hero .wicp-ai::after{
    content:'';position:absolute;left:50%;top:58px;width:2px;height:112px;transform:translateX(-50%);
    background:repeating-linear-gradient(to bottom,#ff8a3d 0 8px,transparent 8px 15px);filter:drop-shadow(0 0 4px rgba(232,101,10,.4));
    animation:mobileFlowY 1.15s linear infinite;pointer-events:none;
  }
  .check-split{grid-template-columns:1fr!important}
  .check-group+.check-group{border-left:0!important;border-top:1px solid var(--rule)!important}
  .check-group{padding:1.5rem 1.25rem!important}
  .working{padding:1.35rem 1.25rem!important}
  .working ul{grid-template-columns:1fr!important}

  /* HOW IT WORKS — purpose-built mobile diagram. */
  .page-how-it-works .how-hero{padding:2.7rem 0 2.8rem!important;overflow:hidden!important}
  .page-how-it-works .how-hero>.how-hero-grid{width:calc(100% - 32px)!important;gap:24px!important}
  .page-how-it-works .how-hero h1{font-size:clamp(2.8rem,13vw,3.7rem)!important;max-width:none!important}
  .page-how-it-works .how-hero-lede{font-size:.94rem!important;line-height:1.58!important;max-width:40ch!important}
  .page-how-it-works .how-hero-visual{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;
    width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;transform:none!important;overflow:visible!important;
  }
  .page-how-it-works .how-grid-floor,.page-how-it-works .how-flow-lines{display:none!important}
  .page-how-it-works .how-input{
    position:relative!important;left:auto!important;top:auto!important;width:auto!important;min-width:0!important;height:102px!important;
    padding:14px 12px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important;transform:none!important;border-radius:11px!important;
  }
  .page-how-it-works .how-input-pdf{grid-column:1}.page-how-it-works .how-input-tb{grid-column:2}
  .page-how-it-works .how-input strong{font-size:.75rem!important}.page-how-it-works .how-input-copy small{font-size:.56rem!important}
  .page-how-it-works .how-doc-icon,.page-how-it-works .how-table-icon{width:31px!important;height:38px!important}
  .page-how-it-works .how-input em{right:8px!important;bottom:7px!important;min-width:28px!important;height:19px!important;font-size:.5rem!important}
  .page-how-it-works .how-input::after{
    content:'';position:absolute;top:100%;width:74px;height:2px;z-index:-1;
    background:repeating-linear-gradient(to right,#ff8a3d 0 8px,transparent 8px 14px);filter:drop-shadow(0 0 4px rgba(232,101,10,.42));
    animation:mobileFlowX 1.2s linear infinite;
  }
  .page-how-it-works .how-input-pdf::after{left:56%;transform:rotate(31deg);transform-origin:left center}
  .page-how-it-works .how-input-tb::after{right:56%;transform:rotate(149deg);transform-origin:right center}
  .page-how-it-works .how-review-wrap{
    grid-column:1/-1;position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:270px!important;margin-top:16px!important;
  }
  .page-how-it-works .how-review-card{top:45px!important;left:calc(50% - 87px)!important;width:174px!important;height:184px!important;transform:none!important}
  .page-how-it-works .orbit-a{width:190px!important;height:190px!important}.page-how-it-works .orbit-b{width:230px!important;height:230px!important}.page-how-it-works .orbit-c{width:264px!important;height:264px!important}
  .page-how-it-works .how-review-base.base-back{top:211px!important}.page-how-it-works .how-review-base.base-front{top:223px!important}
  .page-how-it-works .how-review-wrap::after{
    content:'';position:absolute;left:50%;bottom:-15px;width:2px;height:34px;z-index:8;
    background:repeating-linear-gradient(to bottom,#ff8a3d 0 8px,transparent 8px 14px);filter:drop-shadow(0 0 4px rgba(232,101,10,.42));animation:mobileFlowY 1.1s linear infinite;
  }
  .page-how-it-works .how-findings{
    grid-column:1/-1;position:relative!important;left:auto!important;top:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
    padding:17px 16px 12px!important;border-radius:11px!important;transform:none!important;
  }
  .page-how-it-works .how-findings>div{min-height:43px!important}.page-how-it-works .how-findings-head small{font-size:.52rem!important}
  .page-how-it-works .how-findings::after{
    content:'';position:absolute;left:50%;top:100%;width:2px;height:30px;
    background:repeating-linear-gradient(to bottom,#ff8a3d 0 8px,transparent 8px 14px);filter:drop-shadow(0 0 4px rgba(232,101,10,.42));animation:mobileFlowY 1.1s linear infinite;
  }
  .page-how-it-works .how-insight{
    grid-column:1/-1;position:relative!important;right:auto!important;top:auto!important;width:100%!important;min-width:0!important;min-height:154px!important;
    margin-top:18px!important;padding:20px 18px 20px 27px!important;transform:none!important;
  }
  .page-how-it-works .how-insight p{font-size:.72rem!important}.page-how-it-works .how-insight-copy strong{font-size:.94rem!important}
  .page-how-it-works .how-input:hover,.page-how-it-works .how-findings:hover,.page-how-it-works .how-insight:hover{transform:none!important}
  .steps .step{grid-template-columns:42px minmax(0,1fr)!important;gap:12px!important;padding:1.35rem 1.1rem!important}
  .step h2,.step h3{font-size:1.18rem!important}.step p{font-size:.9rem!important;line-height:1.6!important}
  .section-label{grid-template-columns:1fr!important;gap:14px!important}

  /* SECURITY — SVG stays vector, readable copy leads. */
  .page-security .security-hero{padding:2.7rem 0 2.8rem!important;overflow:hidden!important}
  .page-security .security-hero>.security-hero-grid{width:calc(100% - 32px)!important;gap:22px!important}
  .page-security .security-hero h1{font-size:clamp(3rem,14vw,3.9rem)!important}
  .page-security .security-hero-lede{font-size:.94rem!important;line-height:1.58!important;max-width:38ch!important}
  .page-security .security-quick-read{display:grid!important;grid-template-columns:1fr!important;width:100%!important;margin-top:20px!important}
  .page-security .security-hero-visual{width:100%!important;margin:0!important;justify-content:center!important;overflow:visible!important}
  .page-security .security-vector-illustration{width:112%!important;max-width:none!important;margin:0 -6%!important;transform:none!important}
  .security-facts{grid-template-columns:1fr!important}.fact+.fact{border-left:0!important;border-top:1px solid var(--rule)!important}

  /* Generic inner pages */
  .about-grid{grid-template-columns:1fr!important;gap:28px!important}.founder-photo{max-width:100%!important;aspect-ratio:4/3!important}
  .beta-panel{grid-template-columns:1fr!important;gap:28px!important}.beta-panel h2{max-width:none!important}
  .faq-question{min-height:60px!important;padding:1.15rem 0!important;font-size:1.22rem!important}.faq-answer-inner{padding-right:0!important}
  .legal-shell{max-width:100%!important}.legal-shell h2{font-size:1.35rem!important;margin-top:2rem!important}
  .booking-shell{min-height:0!important}.booking-placeholder{min-height:260px!important;padding:1.4rem!important}
  .footer-rule{grid-template-columns:1fr!important;gap:18px!important}.footer-links{display:grid!important;grid-template-columns:repeat(3,auto)!important;justify-content:start!important;gap:16px!important}
}

@media (max-width:420px){
  :root{--mobile-gutter:14px}
  .container{width:calc(100% - 28px)!important}
  .reference-match-main,#wic-page-hero,.page-how-it-works .how-hero>.how-hero-grid,.page-security .security-hero>.security-hero-grid,#wic-hero,.reference-benefits{width:calc(100% - 28px)!important}
  .reference-match-copy h1{font-size:clamp(2.55rem,12.8vw,3.25rem)!important}
  .reference-card{width:calc(100% - 20px)!important}.reference-card-source{left:10px!important}
  .stack-insight{left:6px!important;right:6px!important}
  .page-how-it-works .how-input{height:108px!important;padding:12px 10px!important;grid-template-columns:30px minmax(0,1fr)!important}
  .page-how-it-works .how-input strong{font-size:.7rem!important}.page-how-it-works .how-input-copy small{font-size:.52rem!important}
  .page-security .security-vector-illustration{width:120%!important;margin-left:-10%!important;margin-right:-10%!important}
}

@keyframes mobileFlowY{to{background-position:0 17px}}
@keyframes mobileFlowX{to{background-position:14px 0}}

@media (max-width:767px) and (prefers-reduced-motion:reduce){
  .reference-match-visual::after,#wic-page-hero .wicp-ai::after,.page-how-it-works .how-input::after,.page-how-it-works .how-review-wrap::after,.page-how-it-works .how-findings::after{animation:none!important}
}
@media(max-width:767px){body.mobile-nav-open{overflow:hidden!important;touch-action:none}}
@media(max-width:767px){
  body.mobile-nav-open{overflow:hidden!important;touch-action:auto!important}
  .reference-benefits>div{border-right:0!important;border-bottom:1px solid #eeeeea!important;padding:15px 18px 15px 20px!important}
  .reference-benefits>div:last-child{border-bottom:0!important}
  .reference-benefits i{top:22px!important}

  .page-security .security-quick-read{border-top:1px solid #deded9!important;padding-top:8px!important}
  .page-security .security-quick-heading{padding:.35rem 0 .55rem!important;color:#7b7d7d!important;font-family:var(--font-ui)!important;font-size:.6rem!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important}
  .page-security .security-quick-item{display:grid!important;grid-template-columns:28px 78px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-height:40px!important;border-top:1px solid #eeeeea!important;font-family:var(--font-ui)!important}
  .page-security .security-quick-item>span{color:#e56b19!important;font-size:.58rem!important;font-weight:750!important}
  .page-security .security-quick-item>b{color:#2d3031!important;font-size:.69rem!important;font-weight:700!important}
  .page-security .security-quick-item>em{color:#747879!important;font-size:.64rem!important;font-style:normal!important;white-space:normal!important;line-height:1.35!important}
}

/* ========================================================================== 
   Mobile v2 hardening — phone only.
   This layer intentionally overrides the later high-specificity desktop/v14
   layout rules without changing desktop/tablet behaviour.
   ========================================================================== */
@media (max-width:767px){
  :root{
    --mobile-header-top:6px;
    --mobile-header-height:118px;
    --mobile-page-offset:138px;
  }

  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{padding-top:var(--mobile-page-offset)!important}
  main,main>*{max-width:100%!important}
  *,*::before,*::after{box-sizing:border-box}
  .container,
  body:not(.page-home) .container,
  .page-home .container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .container>*{min-width:0!important}

  /* -----------------------------------------------------------------------
     Permanent mobile navigation. All desktop sections stay visible.
     ----------------------------------------------------------------------- */
  .site-header,
  .site-header.scrolled{
    position:fixed!important;
    top:var(--mobile-header-top)!important;
    left:8px!important;
    right:8px!important;
    width:auto!important;
    height:var(--mobile-header-height)!important;
    margin:0!important;
    transform:none!important;
    border:1px solid #d8d8d4!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(20,20,20,.10)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:hidden!important;
    z-index:1000!important;
  }
  .site-header::after{display:none!important}
  .header-inner{
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:8px 10px 9px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:43px 54px!important;
    gap:4px 8px!important;
    align-items:center!important;
  }
  .brand{grid-column:1!important;grid-row:1!important;align-self:center!important;min-width:0!important}
  .brand-fallback{font-size:1.26rem!important;padding:0 0 .36rem!important}
  .brand-fallback::after{display:block!important;width:74px!important;right:auto!important}
  .nav-toggle{display:none!important}
  .nav-cta{
    display:inline-flex!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    min-height:32px!important;
    padding:.48rem .66rem!important;
    border-radius:7px!important;
    font-size:.62rem!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  .main-nav,
  .main-nav.open{
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    inset:auto!important;
    width:100%!important;
    height:54px!important;
    max-height:none!important;
    margin:0!important;
    padding:3px!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,24px)!important;
    gap:2px!important;
    align-items:stretch!important;
    justify-self:stretch!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    overflow:visible!important;
    transform:none!important;
    border:1px solid #e6e6e2!important;
    border-radius:8px!important;
    background:#f7f7f5!important;
    box-shadow:none!important;
  }
  .main-nav a,
  .main-nav.open a,
  .main-nav a[aria-current="page"],
  .main-nav.open a[aria-current="page"]{
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    min-height:24px!important;
    height:24px!important;
    margin:0!important;
    padding:0 4px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid transparent!important;
    border-radius:5px!important;
    background:transparent!important;
    color:#56565a!important;
    box-shadow:none!important;
    font-size:.55rem!important;
    line-height:1!important;
    font-weight:650!important;
    text-align:center!important;
    white-space:nowrap!important;
    transform:none!important;
  }
  .main-nav a[aria-current="page"],
  .main-nav.open a[aria-current="page"]{
    color:#1c1c1e!important;
    background:#fff!important;
    border-color:#d8d8d4!important;
    font-weight:750!important;
  }
  .main-nav a[aria-current="page"]::before{display:none!important}
  .main-nav .mobile-only{display:none!important}
  body.mobile-nav-open{overflow-x:hidden!important;overflow-y:auto!important;touch-action:auto!important}

  /* -----------------------------------------------------------------------
     Mobile typography + universal single-column content rules.
     ----------------------------------------------------------------------- */
  .section,
  body:not(.page-home) main>.section,
  .page-home main>.section{padding:2.65rem 0!important}
  .section.alt{background:#fbfbfa!important}
  .page-hero,
  body:not(.page-home) .page-hero{padding:1.65rem 0 2.15rem!important}
  h1,.page-hero h1{font-size:clamp(2.45rem,11.2vw,3.2rem)!important;line-height:.96!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
  h2{font-size:clamp(1.9rem,8.3vw,2.45rem)!important;line-height:1.02!important;max-width:100%!important}
  h3{font-size:1.12rem!important;line-height:1.2!important}
  p,li{overflow-wrap:break-word!important;word-break:normal!important}
  .lede{font-size:.93rem!important;line-height:1.62!important;max-width:none!important}
  .eyebrow,.side-label{font-size:.64rem!important}
  .measure,.editorial-copy,.founder-copy,.beta-copy,.legal-shell,.faq-answer-inner{width:100%!important;max-width:none!important;min-width:0!important}

  body:not(.page-home) .section-label,
  .page-home .section-label,
  body:not(.page-home) .content-flow-split,
  body:not(.page-home) .content-flow-title,
  body:not(.page-home) .content-flow-inputs,
  body:not(.page-home) .about-grid,
  body:not(.page-home) .beta-panel,
  body:not(.page-home) .faq-item.enhanced,
  body:not(.page-home) .steps,
  body:not(.page-home) .check-split,
  body:not(.page-home) .security-facts,
  .page-home .editorial-head,
  .page-home .editorial-head.has-context-visual,
  .page-home .feature-heading,
  .page-home .feature-heading.has-context-visual,
  .page-home .final-cta-inner,
  .page-home .final-cta-inner.has-context-visual{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:18px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  body:not(.page-home) .section-label>* ,
  body:not(.page-home) .content-flow-split>* ,
  body:not(.page-home) .content-flow-title>* ,
  body:not(.page-home) .content-flow-inputs>* ,
  .page-home .editorial-head.has-context-visual>* ,
  .page-home .feature-heading.has-context-visual>* ,
  .page-home .final-cta-inner.has-context-visual>*{
    grid-column:1!important;
    grid-row:auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body:not(.page-home) .section-label>.side-label{position:static!important;top:auto!important;padding-top:0!important}
  body:not(.page-home) .section-label>.measure{grid-column:1!important;width:100%!important;max-width:none!important}
  body:not(.page-home) .section-label>.measure>h2{max-width:none!important;margin-bottom:1rem!important}
  body:not(.page-home) .content-flow-split>p+ p,
  body:not(.page-home) .content-flow-title>p,
  body:not(.page-home) .content-flow-inputs>p,
  body:not(.page-home) .content-flow-inputs>ul{
    grid-column:1!important;grid-row:auto!important;border-left:0!important;padding-left:0!important;margin:0!important
  }

  /* Supporting-page cards become simple full-width rows instead of desktop spreads. */
  body:not(.page-home) .steps{
    border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;gap:12px!important
  }
  body:not(.page-home) .steps .step{
    display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px 12px!important;
    width:100%!important;padding:18px!important;border:1px solid #deded9!important;border-radius:9px!important;background:#fff!important
  }
  body:not(.page-home) .steps .step+.step{border-left:1px solid #deded9!important}
  body:not(.page-home) .steps .step-number{grid-column:1!important;margin:2px 0 0!important;font-size:.64rem!important}
  body:not(.page-home) .steps .step>div:last-child{grid-column:2!important;min-width:0!important}
  body:not(.page-home) .steps .step h2,body:not(.page-home) .steps .step h3{max-width:none!important;font-size:1.08rem!important}
  body:not(.page-home) .steps .step p{margin:10px 0 0!important;padding:0!important;border:0!important;background:transparent!important;font-size:.86rem!important;line-height:1.58!important}

  body:not(.page-home) .check-split{border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important;gap:14px!important}
  body:not(.page-home) .check-group{width:100%!important;padding:18px!important;border:1px solid #deded9!important;border-radius:9px!important;background:#fff!important}
  body:not(.page-home) .check-group+.check-group{border-left:1px solid #deded9!important;border-top:1px solid #deded9!important}
  body:not(.page-home) .check-group h2{font-size:1.35rem!important}
  body:not(.page-home) .check-group .group-note{margin-top:10px!important;padding:12px!important;border-left:2px solid #8e8e88!important;border-radius:0 6px 6px 0!important;font-size:.82rem!important}
  body:not(.page-home) .check-group+.check-group .group-note{border-left-color:#b45309!important}
  body:not(.page-home) .check-list{padding-left:1.05rem!important}
  body:not(.page-home) .check-list li{font-size:.84rem!important;line-height:1.55!important}
  body:not(.page-home) .working{margin-top:14px!important;padding:18px!important;border-radius:9px!important}
  body:not(.page-home) .working ul{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding-left:1rem!important}
  body:not(.page-home) .closing-line{font-size:1.12rem!important;line-height:1.45!important;padding:16px 0!important}

  body:not(.page-home) .security-facts{border:0!important;border-radius:0!important;overflow:visible!important;gap:12px!important}
  body:not(.page-home) .security-facts .fact{padding:18px!important;border:1px solid #deded9!important;border-radius:9px!important;background:#fff!important}
  body:not(.page-home) .security-facts .fact+.fact{border-left:1px solid #deded9!important;border-top:1px solid #deded9!important}

  body:not(.page-home) .faq-item.enhanced{display:block!important;padding:0!important;border-bottom:1px solid #deded9!important;background:transparent!important}
  body:not(.page-home) .faq-item.enhanced>h2,body:not(.page-home) .faq-item.enhanced>.faq-answer{grid-column:1!important;width:100%!important}
  body:not(.page-home) .faq-question{width:100%!important;min-height:58px!important;padding:1rem 0!important;font-size:1.06rem!important}
  body:not(.page-home) .faq-item.is-open .faq-answer-inner{margin:0 0 12px!important;padding:14px!important;border-radius:7px!important}

  body:not(.page-home) .about-grid{gap:22px!important}
  body:not(.page-home) .founder-photo{width:100%!important;max-width:360px!important;aspect-ratio:4/3!important;margin:0!important}
  body:not(.page-home) .founder-copy>p{max-width:none!important;font-size:.9rem!important;line-height:1.62!important}
  .editorial-placeholder{width:100%!important;max-width:none!important;padding:16px!important;font-size:.83rem!important;line-height:1.55!important}

  body:not(.page-home) .beta-panel{gap:20px!important}
  body:not(.page-home) .beta-copy{display:block!important;width:100%!important}
  body:not(.page-home) .beta-copy>p{margin:0 0 14px!important}
  body:not(.page-home) .beta-copy>.button{width:100%!important;margin-top:6px!important}
  body:not(.page-home) .booking-shell{width:100%!important;max-width:none!important}

  /* Home supporting content: simple editorial stack, no narrow card columns. */
  .page-home .editorial-head.has-context-visual{gap:16px!important}
  .page-home .editorial-head.has-context-visual>.context-visual,
  .page-home .feature-heading.has-context-visual>.context-visual,
  .page-home .final-cta-inner.has-context-visual>.context-visual{
    width:100%!important;max-width:100%!important;margin:0!important;transform:none!important
  }
  .page-home .editorial-head.has-context-visual>.editorial-copy{display:block!important;width:100%!important;padding:0!important}
  .page-home .editorial-copy p{
    width:100%!important;max-width:none!important;margin:0 0 16px!important;padding:0 0 0 17px!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:.91rem!important;line-height:1.62!important
  }
  .page-home .editorial-copy p::before{left:0!important;top:.67em!important}
  .page-home .editorial-copy .pitch{padding:15px 16px 15px 19px!important;border:1px solid #e2d7cd!important;border-left:3px solid #b45309!important;border-radius:7px!important;background:#fffaf5!important}
  .page-home .editorial-copy .pitch::before{display:none!important}
  .page-home .attio-steps{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:0!important}
  .page-home .attio-steps article{min-height:0!important;padding:18px!important;border:1px solid #deded9!important;border-radius:9px!important;background:#fff!important}
  .page-home .attio-steps article+article{border-left:1px solid #deded9!important;border-top:1px solid #deded9!important}
  .page-home .audience-grid{grid-template-columns:1fr!important;gap:10px!important;border:0!important}
  .page-home .audience-item{padding:18px!important;border:1px solid #deded9!important;border-radius:9px!important}
  .page-home .audience-item+.audience-item{border-left:1px solid #deded9!important;border-top:1px solid #deded9!important}

  /* -----------------------------------------------------------------------
     HOME illustration — compact, centred vertical flow.
     ----------------------------------------------------------------------- */
  .page-home .reference-match-main{width:calc(100% - 32px)!important;padding:20px 0 16px!important;gap:20px!important}
  .page-home .reference-match-visual{
    width:100%!important;height:360px!important;min-height:360px!important;max-width:none!important;margin:0!important;
    overflow:hidden!important;transform:none!important;perspective:none!important
  }
  .page-home .reference-grid,.page-home .reference-path,.page-home .reference-search{display:none!important}
  .page-home .reference-match-visual::after{
    left:50%!important;right:auto!important;top:58px!important;width:2px!important;height:205px!important;transform:translateX(-50%)!important;opacity:.7!important
  }
  .page-home .reference-card{
    left:0!important;right:0!important;width:100%!important;height:80px!important;margin:0!important;padding:11px 13px!important;
    grid-template-columns:36px minmax(0,1fr) auto!important;gap:10px!important;border-radius:10px!important;transform:none!important
  }
  .page-home .reference-card-accounts{top:0!important}
  .page-home .reference-card-source{top:92px!important}
  .page-home .reference-card-reviewer{top:184px!important;height:84px!important}
  .page-home .layer-icon{width:33px!important;height:33px!important}
  .page-home .layer-copy strong{font-size:.78rem!important}.page-home .layer-copy small{font-size:.54rem!important}
  .page-home .layer-tag{min-width:34px!important;font-size:.49rem!important;padding:4px 5px!important}
  .page-home .stack-insight{
    display:grid!important;grid-template-columns:3px minmax(0,1fr)!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;min-height:70px!important;padding:11px 13px!important;border-radius:9px!important;transform:none!important
  }
  .page-home .stack-insight strong{font-size:.68rem!important}.page-home .stack-insight p{font-size:.57rem!important;line-height:1.42!important}
  .page-home .reference-benefits{width:calc(100% - 32px)!important;grid-template-columns:1fr!important;margin-top:0!important}

  /* -----------------------------------------------------------------------
     WHAT IT CHECKS illustration — three clean rows, no oversized desktop canvas.
     ----------------------------------------------------------------------- */
  .page-what-it-checks .page-hero{overflow:hidden!important}
  .page-what-it-checks #wic-page-hero{width:calc(100% - 32px)!important;grid-template-columns:1fr!important;gap:18px!important}
  .page-what-it-checks #wic-page-hero .wicp-visual{
    width:100%!important;height:318px!important;min-height:318px!important;max-width:none!important;margin:0!important;overflow:hidden!important;transform:none!important;perspective:none!important
  }
  .page-what-it-checks #wic-page-hero .wicp-visual::before,
  .page-what-it-checks #wic-page-hero .wicp-paths,
  .page-what-it-checks #wic-page-hero .wicp-paper-stack{display:none!important}
  .page-what-it-checks #wic-page-hero .wicp-card{
    left:0!important;right:0!important;width:100%!important;height:78px!important;padding:12px 14px!important;
    grid-template-columns:36px minmax(0,1fr)!important;gap:11px!important;border-radius:10px!important;transform:none!important
  }
  .page-what-it-checks #wic-page-hero .wicp-exact{top:0!important}
  .page-what-it-checks #wic-page-hero .wicp-assisted{top:90px!important}
  .page-what-it-checks #wic-page-hero .wicp-icon{width:32px!important;height:32px!important;font-size:.9rem!important}
  .page-what-it-checks #wic-page-hero .wicp-card strong{font-size:.82rem!important;margin-bottom:3px!important}
  .page-what-it-checks #wic-page-hero .wicp-card small{font-size:.56rem!important}
  .page-what-it-checks #wic-page-hero .wicp-ai{
    left:auto!important;right:10px!important;top:108px!important;width:38px!important;height:38px!important;border-radius:7px!important;font-size:.82rem!important;transform:none!important;z-index:8!important
  }
  .page-what-it-checks #wic-page-hero .wicp-ai::after{display:none!important}
  .page-what-it-checks #wic-page-hero .wicp-result{
    left:0!important;right:0!important;top:180px!important;width:100%!important;min-height:116px!important;padding:15px!important;border-radius:10px!important
  }
  .page-what-it-checks #wic-page-hero .wicp-result-icon{width:30px!important;height:30px!important;margin:0 0 9px!important}
  .page-what-it-checks #wic-page-hero .wicp-result strong{max-width:none!important;font-size:.78rem!important;line-height:1.4!important}

  /* Keep the How-it-works illustration's successful mobile composition. */
  .page-how-it-works .how-hero-visual{max-width:100%!important}

  /* -----------------------------------------------------------------------
     SECURITY illustration — mobile shows the central security system clearly.
     The text-heavy control cards are already represented in the quick-read list.
     ----------------------------------------------------------------------- */
  .page-security .security-hero-visual{
    position:relative!important;width:100%!important;height:330px!important;min-height:330px!important;margin:0!important;overflow:hidden!important;display:block!important
  }
  .page-security .security-vector-illustration{
    position:absolute!important;left:0!important;top:-92px!important;width:320%!important;max-width:none!important;height:auto!important;margin:0!important;
    transform:translateX(-49%)!important;transform-origin:center!important
  }
  .page-security .security-v-card,
  .page-security .security-v-note,
  .page-security .security-controls-line,
  .page-security .security-note-line,
  .page-security .security-orbit-line{display:none!important}
  .page-security .security-quick-read{margin-top:14px!important}
  .page-security .security-quick-item{grid-template-columns:24px 74px minmax(0,1fr)!important;gap:6px!important;min-width:0!important}

  /* Footer also stays one readable row/stack. */
  .footer-rule{grid-template-columns:1fr!important;gap:14px!important}
  .footer-links{display:flex!important;flex-wrap:wrap!important;gap:10px 16px!important}
}

@media (max-width:390px){
  .container,body:not(.page-home) .container,.page-home .container{width:calc(100% - 28px)!important}
  .page-home .reference-match-main,
  .page-home .reference-benefits,
  .page-what-it-checks #wic-page-hero,
  .page-how-it-works .how-hero>.how-hero-grid,
  .page-security .security-hero>.security-hero-grid{width:calc(100% - 28px)!important}
  .main-nav a,.main-nav.open a,.main-nav a[aria-current="page"]{font-size:.52rem!important;padding:0 2px!important}
  .nav-cta{font-size:.57rem!important;padding:.44rem .55rem!important}
  h1,.page-hero h1{font-size:clamp(2.35rem,11.5vw,2.95rem)!important}
}

@media (max-width:767px){
  .main-nav,.main-nav.open{grid-template-rows:repeat(2,22px)!important;padding:3px!important}
  .main-nav a,.main-nav.open a,.main-nav a[aria-current="page"],.main-nav.open a[aria-current="page"]{min-height:22px!important;height:22px!important;font-size:.58rem!important}
  .page-security .security-vector-illustration{left:-157%!important;transform:none!important}
  .page-what-it-checks #wic-page-hero h1{font-size:clamp(2.45rem,11.2vw,3.1rem)!important;line-height:.96!important}
  .page-how-it-works .how-hero h1{font-size:clamp(2.5rem,11.5vw,3.2rem)!important;line-height:.96!important}
  .page-security .security-hero h1{font-size:clamp(2.5rem,11.5vw,3.2rem)!important;line-height:.96!important}
}

/* ========================================================================== 
   Mobile v3 — deliberately simple phone layout.
   Desktop/tablet rules remain untouched. This final phone-only layer removes
   decorative illustration canvases and prioritises readable content density.
   ========================================================================== */
@media (max-width:767px){
  :root{
    --mobile-header-height:88px;
    --mobile-page-offset:98px;
    --mobile-gutter:16px;
  }

  html{scroll-padding-top:104px!important}
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{
    padding-top:var(--mobile-page-offset)!important;
    font-size:16px!important;
    line-height:1.58!important;
    background:#fff!important;
  }
  main{width:100%!important;max-width:100%!important;overflow:visible!important}
  .container,
  body:not(.page-home) .container,
  .page-home .container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* Compact permanent header: one utility row + one all-visible nav row. */
  .site-header,
  .site-header.scrolled{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:var(--mobile-header-height)!important;
    margin:0!important;
    transform:none!important;
    border:0!important;
    border-bottom:1px solid #ddddda!important;
    border-radius:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 5px 18px rgba(20,20,20,.07)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:hidden!important;
    z-index:1000!important;
  }
  .header-inner{
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:6px 12px 7px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:38px 34px!important;
    gap:3px 8px!important;
    align-items:center!important;
  }
  .brand{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .brand-fallback{font-size:1.18rem!important;line-height:1!important;padding:0 0 5px!important}
  .brand-fallback::after{width:58px!important;border-bottom-width:1.5px!important}
  .nav-toggle{display:none!important}
  .nav-cta{
    display:inline-flex!important;
    grid-column:2!important;
    grid-row:1!important;
    min-height:34px!important;
    height:34px!important;
    padding:0 11px!important;
    border-radius:7px!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:.7rem!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:none!important;
  }
  .main-nav,
  .main-nav.open{
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    inset:auto!important;
    display:grid!important;
    grid-template-columns:.66fr 1.42fr 1.36fr .88fr .55fr .7fr!important;
    grid-template-rows:34px!important;
    width:100%!important;
    height:34px!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    gap:2px!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:none!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .main-nav a,
  .main-nav.open a,
  .main-nav a[aria-current="page"],
  .main-nav.open a[aria-current="page"]{
    width:100%!important;
    min-width:0!important;
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0 2px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:6px!important;
    background:transparent!important;
    color:#55585b!important;
    font-family:var(--font-ui)!important;
    font-size:clamp(.69rem,3vw,.76rem)!important;
    line-height:1!important;
    font-weight:650!important;
    letter-spacing:-.01em!important;
    text-align:center!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .main-nav a[aria-current="page"],
  .main-nav.open a[aria-current="page"]{
    background:#f1f1ef!important;
    color:#171719!important;
    font-weight:760!important;
  }
  .main-nav a::before,.main-nav a::after{display:none!important}
  .main-nav .mobile-only{display:none!important}
  body.mobile-nav-open{overflow-y:auto!important;touch-action:auto!important}

  /* Remove every large decorative/interactive illustration on phones. */
  .page-home .reference-match-visual,
  .page-what-it-checks .wicp-visual,
  .page-how-it-works .how-hero-visual,
  .page-security .security-hero-visual,
  .page-security .security-vector-illustration,
  .premium-scroll-illustration,
  .context-visual{
    display:none!important;
  }

  /* Global phone typography and rhythm. */
  .section,
  body:not(.page-home) main>.section,
  .page-home main>.section{padding:2.15rem 0!important}
  .section.compact{padding:1.8rem 0!important}
  .section.alt{background:#fbfbfa!important}
  .page-hero,
  body:not(.page-home) .page-hero{padding:1.45rem 0 1.8rem!important}
  h1,.page-hero h1{
    font-size:clamp(2.35rem,10.8vw,2.85rem)!important;
    line-height:.96!important;
    letter-spacing:-.045em!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  h2{
    font-size:clamp(1.75rem,8vw,2.1rem)!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
    max-width:100%!important;
  }
  h3{font-size:1.08rem!important;line-height:1.24!important}
  .eyebrow,.side-label{font-size:.7rem!important;letter-spacing:.08em!important}
  .lede,
  .how-hero-lede,
  .security-hero-lede{
    font-size:.98rem!important;
    line-height:1.58!important;
    max-width:none!important;
    margin-top:14px!important;
  }
  p,li{font-size:1rem!important;line-height:1.6!important;max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important}
  .token{overflow-wrap:anywhere!important;word-break:break-word!important}
  .measure,.editorial-copy,.founder-copy,.beta-copy,.legal-shell,.faq-answer-inner{width:100%!important;max-width:none!important;min-width:0!important}

  /* Flatten desktop editorial grids into a natural reading flow. */
  .editorial-head,
  .feature-heading,
  .section-label,
  .about-grid,
  .beta-panel,
  .final-cta-inner,
  .check-split,
  .security-facts,
  .attio-steps,
  .audience-grid,
  .steps{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    grid-template-columns:none!important;
    gap:0!important;
    border-left:0!important;
    border-right:0!important;
    box-shadow:none!important;
  }
  .section-label .side-label{position:static!important;margin:0 0 12px!important}
  .editorial-head>.eyebrow,.editorial-head>h2,.editorial-head>.editorial-copy,
  .final-cta .eyebrow,.final-cta h2,.final-cta p,.final-cta .hero-actions,.final-cta .hero-note{
    grid-column:auto!important;grid-row:auto!important;
  }

  /* HOME: copy first, key principles, then simple editorial sections. */
  .page-home .reference-match-hero{padding:0!important;overflow:visible!important}
  .page-home .reference-match-main{
    display:block!important;
    width:calc(100% - 32px)!important;
    min-height:0!important;
    padding:1.55rem 0 1.25rem!important;
  }
  .page-home .reference-match-copy{width:100%!important;max-width:none!important}
  .page-home .reference-kicker{margin-bottom:14px!important;font-size:.69rem!important;line-height:1.35!important}
  .page-home .reference-kicker b{width:auto!important;padding-left:0!important}
  .page-home .reference-match-copy h1{
    font-size:clamp(2.42rem,10.9vw,2.9rem)!important;
    line-height:.96!important;
    max-width:100%!important;
  }
  .page-home .reference-match-sub{margin-top:16px!important;font-size:.98rem!important;line-height:1.58!important}
  .page-home .reference-match-actions{
    margin-top:18px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .page-home .reference-match-actions .button{width:100%!important;min-height:43px!important}
  .page-home .reference-match-link{min-height:38px!important;justify-content:flex-start!important;font-size:.83rem!important}
  .page-home .reference-beta-note{margin-top:12px!important;font-size:.78rem!important;line-height:1.45!important}
  .page-home .reference-benefits{
    display:block!important;
    width:calc(100% - 32px)!important;
    margin:0 auto!important;
    border-top:1px solid #dfdfdc!important;
    border-bottom:1px solid #dfdfdc!important;
  }
  .page-home .reference-benefits>div{
    min-height:0!important;
    padding:12px 0 12px 17px!important;
    border:0!important;
    border-bottom:1px solid #ecece9!important;
    background:transparent!important;
  }
  .page-home .reference-benefits>div:last-child{border-bottom:0!important}
  .page-home .reference-benefits i{left:0!important;top:18px!important;width:5px!important;height:5px!important}
  .page-home .reference-benefits strong{font-size:.9rem!important;margin:0 0 2px!important}
  .page-home .reference-benefits span{font-size:.83rem!important;line-height:1.45!important}

  .page-home .editorial-head{padding:0!important;border:0!important}
  .page-home .editorial-head h2{margin:8px 0 18px!important;font-size:2rem!important;max-width:none!important}
  .page-home .editorial-copy{padding:0!important}
  .page-home .editorial-copy p{
    margin:0 0 15px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#55585b!important;
    font-size:.98rem!important;
    line-height:1.62!important;
  }
  .page-home .editorial-copy p::before{display:none!important}
  .page-home .editorial-copy .pitch{
    margin-top:18px!important;
    padding:13px 14px!important;
    border:0!important;
    border-left:3px solid var(--accent)!important;
    border-radius:0!important;
    background:#fff9f4!important;
    color:#242424!important;
    font-weight:650!important;
  }
  .page-home #wic-hero{
    display:block!important;
    width:calc(100% - 32px)!important;
    padding:0!important;
  }
  .page-home #wic-hero .wic-hero-heading{font-size:2rem!important;line-height:1!important;max-width:none!important}
  .page-home #wic-hero .wic-hero-copytext{margin-top:14px!important;font-size:.98rem!important;line-height:1.62!important}
  .page-home .section-link{margin-top:18px!important}

  .page-home .feature-heading{margin-bottom:16px!important}
  .page-home .feature-heading h2{margin:8px 0 0!important;font-size:2rem!important;max-width:none!important}
  .page-home .feature-heading>p{margin:14px 0 0!important;padding:0!important;font-size:.95rem!important;line-height:1.58!important}
  .page-home .attio-steps{border-top:1px solid #d8d8d4!important}
  .page-home .attio-steps article{
    position:relative!important;
    min-height:0!important;
    padding:17px 0 18px 42px!important;
    border:0!important;
    border-bottom:1px solid #e2e2df!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .page-home .attio-steps article+article{border-left:0!important;border-top:0!important}
  .page-home .attio-steps article::after{display:none!important}
  .page-home .step-num{
    position:absolute!important;left:0!important;top:18px!important;margin:0!important;
    color:var(--accent)!important;font-size:.74rem!important;font-weight:700!important;
  }
  .page-home .attio-steps h3{margin:0 0 7px!important;font-size:1.12rem!important;max-width:none!important}
  .page-home .attio-steps p{margin:0!important;font-size:.92rem!important;line-height:1.57!important}
  .page-home .quiet-block{
    margin-top:18px!important;padding:13px 14px!important;border:0!important;border-left:3px solid #222!important;border-radius:0!important;background:#f8f8f6!important;
  }
  .page-home .quiet-block p{font-size:.92rem!important;line-height:1.56!important}
  .page-home .audience-grid{border-top:1px solid #d8d8d4!important}
  .page-home .audience-item{
    min-height:0!important;padding:16px 0!important;border:0!important;border-bottom:1px solid #e2e2df!important;border-radius:0!important;background:transparent!important;
  }
  .page-home .audience-item+.audience-item{border-left:0!important;border-top:0!important}
  .page-home .audience-item p{margin:8px 0 0!important;font-size:.94rem!important;line-height:1.58!important}
  .page-home .audience-item strong{font-size:1.1rem!important;margin-bottom:4px!important}
  .page-home .final-cta{padding:2.5rem 0!important}
  .page-home .final-cta-inner{text-align:left!important;align-items:stretch!important}
  .page-home .final-cta h2{margin:8px 0 14px!important;font-size:2rem!important}
  .page-home .final-cta p{margin:0 0 12px!important;font-size:.96rem!important;line-height:1.58!important}
  .page-home .final-cta .hero-actions{width:100%!important;max-width:none!important;margin-top:8px!important}
  .page-home .final-cta .button{width:100%!important}

  /* WHAT IT CHECKS: no illustration, two clean content sections. */
  .page-what-it-checks #wic-page-hero{
    display:block!important;width:calc(100% - 32px)!important;min-height:0!important;padding:0!important;
  }
  .page-what-it-checks #wic-page-hero h1{font-size:2.6rem!important;line-height:.96!important}
  .page-what-it-checks #wic-page-hero .lede{margin-top:15px!important}
  .page-what-it-checks .check-split{border:0!important;background:transparent!important}
  .page-what-it-checks .check-group{
    padding:18px 0 0!important;margin:0 0 26px!important;border:0!important;border-top:2px solid #222!important;background:transparent!important;
  }
  .page-what-it-checks .check-group+.check-group{border-left:0!important;border-top:2px solid var(--accent)!important}
  .page-what-it-checks .check-group::before{display:none!important}
  .page-what-it-checks .check-group h2{font-size:1.55rem!important;margin:0 0 5px!important}
  .page-what-it-checks .group-note{margin:0 0 13px!important;font-size:.88rem!important;line-height:1.5!important}
  .page-what-it-checks .check-list li{padding:13px 0!important;font-size:.94rem!important;line-height:1.6!important}
  .page-what-it-checks .working{margin-top:14px!important;padding:14px!important;border-radius:0!important}
  .page-what-it-checks .working li{font-size:.92rem!important}
  .page-what-it-checks .closing-line{font-size:1.35rem!important;line-height:1.3!important;margin-top:24px!important}
  .page-what-it-checks .quiet-block{margin-top:0!important;padding:14px!important}

  /* HOW IT WORKS: illustration removed; the three steps become the visual direction. */
  .page-how-it-works .how-hero>.how-hero-grid{
    display:block!important;width:calc(100% - 32px)!important;min-height:0!important;padding:0!important;
  }
  .page-how-it-works .how-hero h1{font-size:2.6rem!important;line-height:.96!important}
  .page-how-it-works .steps{border-top:1px solid #d8d8d4!important;border-bottom:0!important}
  .page-how-it-works .step{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
    padding:17px 0 18px!important;
    border:0!important;
    border-bottom:1px solid #e2e2df!important;
    background:transparent!important;
  }
  .page-how-it-works .step-number{padding-top:2px!important;color:var(--accent)!important;font-size:.76rem!important;font-weight:700!important}
  .page-how-it-works .step h2{font-size:1.15rem!important;line-height:1.22!important;margin:0 0 7px!important}
  .page-how-it-works .step p{font-size:.94rem!important;line-height:1.58!important}
  .page-how-it-works .section-label{display:block!important}
  .page-how-it-works .section-label h2{font-size:1.75rem!important;margin:0 0 12px!important}
  .page-how-it-works .section-label p,.page-how-it-works .section-label li{font-size:.96rem!important;line-height:1.62!important}
  .page-how-it-works .section-label ul{padding-left:22px!important;margin:12px 0 18px!important}
  .page-how-it-works .quiet-block{margin:0!important;padding:14px!important;border-radius:0!important}

  /* SECURITY: illustration removed; concise posture summary carries the direction. */
  .page-security .security-hero>.security-hero-grid{
    display:block!important;width:calc(100% - 32px)!important;min-height:0!important;padding:0!important;
  }
  .page-security .security-hero h1{font-size:2.6rem!important;line-height:.96!important}
  .page-security .security-quick-read{margin-top:20px!important;padding:0!important;border-top:1px solid #d8d8d4!important}
  .page-security .security-quick-heading{padding:10px 0 7px!important;font-size:.68rem!important}
  .page-security .security-quick-item{
    display:grid!important;grid-template-columns:28px 90px minmax(0,1fr)!important;gap:7px!important;align-items:center!important;
    min-height:44px!important;border-top:1px solid #ecece9!important;
  }
  .page-security .security-quick-item>span{font-size:.7rem!important}.page-security .security-quick-item>b{font-size:.8rem!important}.page-security .security-quick-item>em{font-size:.78rem!important;line-height:1.35!important}
  .page-security .section-label{display:block!important}
  .page-security .section-label h2{font-size:1.9rem!important;margin:0 0 12px!important}
  .page-security .section-label p{font-size:.97rem!important;line-height:1.62!important}
  .page-security .security-facts{border-top:1px solid #d8d8d4!important;border-bottom:1px solid #d8d8d4!important;background:transparent!important}
  .page-security .fact{padding:15px 0!important;border:0!important;border-bottom:1px solid #ecece9!important;background:transparent!important}
  .page-security .fact:last-child{border-bottom:0!important}
  .page-security .fact+.fact{border-left:0!important;border-top:0!important}
  .page-security .fact h3{font-size:1rem!important;margin:0 0 5px!important}
  .page-security .fact p{font-size:.92rem!important;line-height:1.58!important}

  /* FAQ: tighter accordion, larger tap titles, less card chrome. */
  .page-faq .faq-list{width:100%!important;max-width:none!important;border-top:1px solid #222!important}
  .page-faq .faq-item,.page-faq .faq-item.enhanced{padding:0!important;border-bottom:1px solid #deded9!important;background:transparent!important}
  .page-faq .faq-question{
    min-height:58px!important;padding:15px 0!important;grid-template-columns:minmax(0,1fr) 28px!important;gap:12px!important;
    font-size:1.12rem!important;line-height:1.2!important;
  }
  .page-faq .faq-plus{width:28px!important;height:28px!important}
  .page-faq .faq-plus::before,.page-faq .faq-plus::after{left:7px!important;right:7px!important;top:13px!important}
  .page-faq .faq-answer-inner{padding-right:0!important}
  .page-faq .faq-item.is-open .faq-answer-inner{padding:0 0 18px!important}
  .page-faq .faq-answer-inner p,.page-faq .faq-answer-inner li{font-size:.94rem!important;line-height:1.62!important}

  /* ABOUT: compact founder treatment rather than a huge empty photo block. */
  .page-about .about-grid{display:block!important}
  .page-about .founder-photo{
    width:150px!important;max-width:150px!important;aspect-ratio:1/1!important;margin:0 0 22px!important;padding:10px!important;
    font-size:.67rem!important;line-height:1.35!important;
  }
  .page-about .founder-copy h2{font-size:2rem!important;line-height:1.02!important;margin:8px 0 16px!important}
  .page-about .founder-copy p{font-size:.97rem!important;line-height:1.62!important}
  .page-about .editorial-placeholder{margin:20px 0!important;padding:14px!important;font-size:.88rem!important;line-height:1.55!important}

  /* BETA / legal pages: compact and full-width. */
  .page-beta .beta-panel{display:block!important;border-top:1px solid #222!important;padding-top:16px!important}
  .page-beta .beta-panel h2{max-width:none!important;font-size:1.75rem!important;margin:0 0 16px!important}
  .page-beta .beta-copy{border:0!important;padding:0!important}
  .page-beta .beta-copy p{font-size:.96rem!important;line-height:1.6!important;margin:0 0 12px!important}
  .page-beta .beta-copy>.button{width:100%!important;margin-top:6px!important}
  .page-beta .booking-shell{padding-top:14px!important;min-height:0!important}
  .page-beta .booking-placeholder{min-height:220px!important;padding:16px!important}
  .page-privacy .legal-shell,.page-terms .legal-shell{width:100%!important;max-width:none!important}

  /* Footer: compact, no oversized terminal space. */
  .site-footer{padding:1.7rem 0 2rem!important}
  .footer-rule{display:block!important;padding-top:14px!important}
  .footer-brand{font-size:.82rem!important;margin-bottom:12px!important}
  .footer-company{margin:0 0 14px!important;font-size:.7rem!important;line-height:1.5!important}
  .footer-links{display:flex!important;gap:16px!important;font-size:.78rem!important}
}

@media (max-width:390px){
  .main-nav a,.main-nav.open a,.main-nav a[aria-current="page"]{font-size:.68rem!important}
  .nav-cta{font-size:.66rem!important;padding:0 9px!important}
  h1,.page-hero h1{font-size:2.3rem!important}
  .page-home .reference-match-copy h1{font-size:2.36rem!important}
}

/* Final mobile nav tap-size refinement. */
@media (max-width:767px){
  :root{--mobile-header-height:92px;--mobile-page-offset:102px}
  .header-inner{grid-template-rows:39px 38px!important;padding:6px 12px!important}
  .main-nav,.main-nav.open{grid-template-rows:38px!important;height:38px!important}
  .main-nav a,.main-nav.open a,.main-nav a[aria-current="page"],.main-nav.open a[aria-current="page"]{
    height:38px!important;min-height:38px!important;font-size:clamp(.72rem,3.05vw,.78rem)!important
  }
}
@media (max-width:390px){
  .main-nav a,.main-nav.open a,.main-nav a[aria-current="page"]{font-size:.7rem!important}
}

/* ========================================================================== 
   Mobile v4 — consistent content frame / breathing room.
   Phone-only. Desktop and tablet remain unchanged.
   ========================================================================== */
@media (max-width:767px){
  :root{
    --phone-side:clamp(18px,5.2vw,22px);
  }

  /* One clean outer frame everywhere; no nested double-shrinking. */
  .container,
  body:not(.page-home) .container,
  .page-home .container{
    width:auto!important;
    max-width:none!important;
    margin-left:var(--phone-side)!important;
    margin-right:var(--phone-side)!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .page-home .reference-match-main,
  .page-home .reference-benefits,
  .page-home #wic-hero,
  .page-what-it-checks #wic-page-hero,
  .page-how-it-works .how-hero>.how-hero-grid,
  .page-security .security-hero>.security-hero-grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Keep all content-bearing blocks inside the frame. */
  .editorial-head,.editorial-copy,.feature-heading,.attio-steps,.audience-grid,
  .final-cta-inner,.check-split,.check-group,.working,.steps,.step,.section-label,
  .security-quick-read,.security-facts,.fact,.faq-list,.faq-item,.about-grid,
  .founder-copy,.editorial-placeholder,.beta-panel,.beta-copy,.booking-shell,
  .booking-placeholder,.legal-shell,.quiet-block,.footer-rule{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Slightly calmer type scale so copy sits comfortably within the phone frame. */
  body{font-size:15.5px!important;line-height:1.56!important}
  h1,.page-hero h1{
    font-size:clamp(2.15rem,9.7vw,2.6rem)!important;
    line-height:.98!important;
    letter-spacing:-.04em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  h2{
    font-size:clamp(1.58rem,7.2vw,1.9rem)!important;
    line-height:1.08!important;
    letter-spacing:-.03em!important;
  }
  h3{font-size:1.02rem!important;line-height:1.28!important}
  p,li{
    font-size:.95rem!important;
    line-height:1.58!important;
    overflow-wrap:break-word!important;
  }
  .lede,.how-hero-lede,.security-hero-lede{
    font-size:.94rem!important;
    line-height:1.58!important;
  }

  /* Page-specific hero sizes should no longer overpower the usable width. */
  .page-home .reference-match-copy h1,
  .page-what-it-checks #wic-page-hero h1,
  .page-how-it-works .how-hero h1,
  .page-security .security-hero h1{
    font-size:clamp(2.18rem,9.8vw,2.62rem)!important;
    line-height:.98!important;
  }
  .page-home .editorial-head h2,
  .page-home #wic-hero .wic-hero-heading,
  .page-home .feature-heading h2,
  .page-home .final-cta h2,
  .page-about .founder-copy h2,
  .page-how-it-works .section-label h2,
  .page-security .section-label h2{
    font-size:clamp(1.55rem,7vw,1.85rem)!important;
    line-height:1.08!important;
  }

  /* Prevent padded notes/cards from visually touching the viewport. */
  .quiet-block,
  .page-home .editorial-copy .pitch,
  .page-what-it-checks .working,
  .page-what-it-checks .quiet-block,
  .page-how-it-works .quiet-block,
  .page-about .editorial-placeholder,
  .page-beta .booking-placeholder{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  /* Long placeholders/tokens stay readable without forcing the line wider. */
  .token{
    font-size:.9em!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  /* More polished vertical rhythm after narrowing the content frame. */
  .section,body:not(.page-home) main>.section,.page-home main>.section{padding:2rem 0!important}
  .page-hero,body:not(.page-home) .page-hero{padding:1.35rem 0 1.65rem!important}
  .page-home .reference-match-main{padding:1.4rem 0 1.15rem!important}
  .page-home .reference-benefits>div{padding-top:11px!important;padding-bottom:11px!important}
  .page-what-it-checks .check-group{margin-bottom:22px!important}
  .page-how-it-works .step{padding-top:15px!important;padding-bottom:16px!important}
  .page-security .fact{padding-top:14px!important;padding-bottom:14px!important}

  /* Footer follows exactly the same side frame as the page content. */
  .site-footer .container{margin-left:var(--phone-side)!important;margin-right:var(--phone-side)!important}
}

@media (max-width:390px){
  :root{--phone-side:18px}
  h1,.page-hero h1,
  .page-home .reference-match-copy h1,
  .page-what-it-checks #wic-page-hero h1,
  .page-how-it-works .how-hero h1,
  .page-security .security-hero h1{font-size:2.18rem!important}
}

/* ========================================================================== 
   Mobile v5 — true phone-safe content frame.
   Fixes composite .container width conflicts and gives copy more breathing room.
   Phone-only; desktop/tablet remain untouched.
   ========================================================================== */
@media (max-width:767px){
  :root{
    --phone-side:clamp(24px,6.2vw,28px);
  }

  /* Header keeps its own full-width internal grid; page content gets gutters. */
  .header-inner.container{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  /* Critical fix: many page layout elements are also .container elements. */
  .container:not(.header-inner){
    width:auto!important;
    max-width:none!important;
    margin-left:var(--phone-side)!important;
    margin-right:var(--phone-side)!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  /* Defeat earlier high-specificity hero/full-width rules. */
  .page-home .reference-match-main.container,
  .page-home .reference-benefits.container,
  .page-home .editorial-head.container,
  .page-home .feature-heading.container,
  .page-home .attio-steps.container,
  .page-home .audience-grid.container,
  .page-home .final-cta-inner.container,
  .page-what-it-checks #wic-page-hero.container,
  .page-how-it-works .how-hero>.how-hero-grid.container,
  .page-how-it-works .section-label.container,
  .page-security .security-hero>.security-hero-grid.container,
  .page-security .section-label.container,
  .page-about .about-grid.container,
  .page-beta .beta-panel.container,
  .page-privacy .legal-shell.container,
  .page-terms .legal-shell.container,
  .site-footer .footer-rule.container{
    width:auto!important;
    max-width:none!important;
    margin-left:var(--phone-side)!important;
    margin-right:var(--phone-side)!important;
  }

  /* Nothing content-bearing may add width on top of its container margins. */
  .container.editorial-head,
  .container.feature-heading,
  .container.attio-steps,
  .container.audience-grid,
  .container.final-cta-inner,
  .container.reference-benefits,
  .container.section-label,
  .container.about-grid,
  .container.beta-panel,
  .container.legal-shell,
  .container.footer-rule{
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* More phone-native type scale. */
  body{font-size:14.5px!important;line-height:1.55!important}
  h1,.page-hero h1,
  .page-home .reference-match-copy h1,
  .page-what-it-checks #wic-page-hero h1,
  .page-how-it-works .how-hero h1,
  .page-security .security-hero h1{
    font-size:clamp(1.92rem,8.7vw,2.22rem)!important;
    line-height:1.01!important;
    letter-spacing:-.035em!important;
  }
  h2,
  .page-home .editorial-head h2,
  .page-home #wic-hero .wic-hero-heading,
  .page-home .feature-heading h2,
  .page-home .final-cta h2,
  .page-about .founder-copy h2,
  .page-how-it-works .section-label h2,
  .page-security .section-label h2{
    font-size:clamp(1.38rem,6.3vw,1.62rem)!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
  }
  h3{font-size:.98rem!important;line-height:1.28!important}
  p,li,
  .lede,.how-hero-lede,.security-hero-lede,
  .page-home .editorial-copy p,
  .page-about .founder-copy>p,
  .page-beta .beta-copy p,
  .page-faq .faq-answer-inner p,
  .page-faq .faq-answer-inner li,
  .page-security .section-label p,
  .page-how-it-works .section-label p,
  .page-how-it-works .section-label li{
    font-size:.9rem!important;
    line-height:1.58!important;
  }

  /* Cleaner readable line length and no accidental edge contact. */
  .measure,.editorial-copy,.founder-copy,.beta-copy,.faq-answer-inner,
  .check-group,.working,.quiet-block,.fact,.booking-placeholder{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .quiet-block,
  .page-home .editorial-copy .pitch,
  .page-what-it-checks .working,
  .page-what-it-checks .quiet-block,
  .page-how-it-works .quiet-block,
  .page-about .editorial-placeholder,
  .page-beta .booking-placeholder{
    padding-left:13px!important;
    padding-right:13px!important;
  }

  /* HOW IT WORKS: use the full text width instead of sacrificing a side column. */
  .page-how-it-works .steps .step,
  body:not(.page-home) .steps .step{
    display:block!important;
    width:100%!important;
    padding:15px 0 17px!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .page-how-it-works .step-number,
  body:not(.page-home) .steps .step-number{
    display:block!important;
    width:auto!important;
    margin:0 0 7px!important;
    padding:0!important;
    font-size:.7rem!important;
    line-height:1!important;
  }
  .page-how-it-works .step>div:last-child,
  body:not(.page-home) .steps .step>div:last-child{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .page-how-it-works .step h2,
  body:not(.page-home) .steps .step h2,
  body:not(.page-home) .steps .step h3{
    margin:0 0 8px!important;
    font-size:1.08rem!important;
    line-height:1.25!important;
  }
  .page-how-it-works .step p,
  body:not(.page-home) .steps .step p{
    margin:0!important;
    padding:0!important;
    font-size:.9rem!important;
    line-height:1.58!important;
    background:transparent!important;
    border:0!important;
  }

  /* What it checks / security: keep information dense but not oversized. */
  .page-what-it-checks .check-group h2{font-size:1.3rem!important}
  .page-what-it-checks .check-list li{font-size:.9rem!important;line-height:1.56!important}
  .page-what-it-checks .closing-line{font-size:1.08rem!important;line-height:1.4!important}
  .page-what-it-checks .working li{font-size:.88rem!important}
  .page-security .fact p{font-size:.88rem!important;line-height:1.55!important}

  /* Beta CTA stays inside the same frame instead of feeling full-bleed. */
  .page-beta .beta-copy>.button{
    width:100%!important;
    max-width:100%!important;
    min-height:44px!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Slightly tighter vertical spacing so mobile pages feel composed, not enlarged desktop pages. */
  .section,body:not(.page-home) main>.section,.page-home main>.section{padding:1.75rem 0!important}
  .section.compact{padding:1.5rem 0!important}
  .page-hero,body:not(.page-home) .page-hero{padding:1.15rem 0 1.45rem!important}
  .page-home .reference-match-main{padding-top:1.15rem!important;padding-bottom:1rem!important}
}

@media (max-width:390px){
  :root{--phone-side:22px}
  h1,.page-hero h1,
  .page-home .reference-match-copy h1,
  .page-what-it-checks #wic-page-hero h1,
  .page-how-it-works .how-hero h1,
  .page-security .security-hero h1{font-size:1.92rem!important}
  p,li{font-size:.88rem!important}
}

/* ========================================================================== 
   Mobile v6 — single safe content frame.
   One outer gutter per section; no nested width subtraction or side columns.
   Phone-only. Desktop/tablet are intentionally untouched.
   ========================================================================== */
@media (max-width:767px){
  :root{--phone-content-gutter:20px}

  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  *,*::before,*::after{box-sizing:border-box}
  main{width:100%;max-width:100%;overflow:hidden}

  /* The SECTION owns the horizontal breathing room. */
  main>section{
    width:100%!important;
    max-width:100%!important;
    padding-left:var(--phone-content-gutter)!important;
    padding-right:var(--phone-content-gutter)!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Everything inside that section gets the entire safe width. */
  main>section>.container,
  main>section>.container:not(.header-inner),
  main>section .container{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* Explicitly beat older ID/high-specificity mobile width rules. */
  .page-home .reference-match-main.container,
  .page-home .reference-benefits.container,
  .page-home #wic-hero.container,
  .page-home .editorial-head.container,
  .page-home .feature-heading.container,
  .page-home .attio-steps.container,
  .page-home .audience-grid.container,
  .page-home .final-cta-inner.container,
  .page-what-it-checks #wic-page-hero.container,
  .page-how-it-works .how-hero>.how-hero-grid.container,
  .page-how-it-works .section-label.container,
  .page-security .security-hero>.security-hero-grid.container,
  .page-security .section-label.container,
  .page-about .about-grid.container,
  .page-beta .beta-panel.container,
  .page-faq .faq-list.container,
  .page-privacy .legal-shell.container,
  .page-terms .legal-shell.container{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Phone-sized typography: readable, but no desktop-scale wrapping. */
  body{font-size:14px!important;line-height:1.52!important}
  p,li,
  .lede,.how-hero-lede,.security-hero-lede,
  .page-home .editorial-copy p,
  .page-home #wic-hero .wic-hero-copytext,
  .page-home .attio-steps p,
  .page-home .audience-item p,
  .page-about .founder-copy>p,
  .page-beta .beta-copy p,
  .page-faq .faq-answer-inner p,
  .page-faq .faq-answer-inner li,
  .page-how-it-works .section-label p,
  .page-how-it-works .section-label li,
  .page-security .section-label p{
    font-size:.86rem!important;
    line-height:1.55!important;
  }

  h1,.page-hero h1,
  .page-home .reference-match-copy h1,
  .page-what-it-checks #wic-page-hero h1,
  .page-how-it-works .how-hero h1,
  .page-security .security-hero h1{
    font-size:clamp(1.82rem,8vw,2.12rem)!important;
    line-height:1.02!important;
    letter-spacing:-.032em!important;
    max-width:100%!important;
  }
  h2,
  .page-home .editorial-head h2,
  .page-home #wic-hero .wic-hero-heading,
  .page-home .feature-heading h2,
  .page-home .final-cta h2,
  .page-about .founder-copy h2,
  .page-how-it-works .section-label h2,
  .page-security .section-label h2{
    font-size:clamp(1.3rem,5.9vw,1.55rem)!important;
    line-height:1.12!important;
    max-width:100%!important;
  }

  /* HOME — What it checks should be a normal full-width reading block. */
  .page-home #wic-hero{
    display:block!important;
    padding:0 0 22px!important;
  }
  .page-home #wic-hero .reference-kicker{
    margin:0 0 12px!important;
    padding:0!important;
    gap:7px!important;
    font-size:.62rem!important;
    line-height:1.35!important;
  }
  .page-home #wic-hero .reference-kicker b{
    width:auto!important;
    padding-left:0!important;
    font-size:.62rem!important;
  }
  .page-home #wic-hero .wic-hero-heading{
    margin:0!important;
    font-size:1.68rem!important;
    line-height:1.04!important;
  }
  .page-home #wic-hero .wic-hero-copytext{
    width:100%!important;
    max-width:100%!important;
    margin:14px 0 0!important;
  }
  .page-home .feature-band .section-link{
    width:100%!important;
    margin:14px 0 0!important;
    padding-top:14px!important;
  }

  /* HOME — Three steps: no 42px left rail stealing text width. */
  .page-home .attio-steps{
    display:block!important;
    width:100%!important;
    border-top:1px solid #d8d8d4!important;
  }
  .page-home .attio-steps article{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:15px 0 17px!important;
    border:0!important;
    border-bottom:1px solid #e2e2df!important;
    background:transparent!important;
  }
  .page-home .step-num{
    position:static!important;
    display:block!important;
    width:auto!important;
    margin:0 0 7px!important;
    padding:0!important;
    font-size:.68rem!important;
    line-height:1!important;
  }
  .page-home .attio-steps h3{
    width:100%!important;
    margin:0 0 7px!important;
    font-size:1.04rem!important;
    line-height:1.25!important;
  }
  .page-home .attio-steps p{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
  }

  /* Standalone How it works uses the same full-width step logic. */
  .page-how-it-works .steps,
  .page-how-it-works .steps .step{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .page-how-it-works .steps .step{
    display:block!important;
    padding:15px 0 17px!important;
  }
  .page-how-it-works .step-number{
    position:static!important;
    display:block!important;
    margin:0 0 7px!important;
  }
  .page-how-it-works .step>div:last-child{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .page-how-it-works .step h2{
    width:100%!important;
    margin:0 0 7px!important;
    font-size:1.04rem!important;
    line-height:1.25!important;
  }
  .page-how-it-works .step p{width:100%!important;margin:0!important;padding:0!important}

  /* Remove nested card indentation where it offers no value on a phone. */
  .page-home .quiet-block,
  .page-home .editorial-copy .pitch,
  .page-what-it-checks .working,
  .page-what-it-checks .quiet-block,
  .page-how-it-works .quiet-block,
  .page-beta .booking-placeholder,
  .page-about .editorial-placeholder{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  /* Long labels/tokens can never force horizontal overflow. */
  .token,a,strong,em{max-width:100%}
  .token{overflow-wrap:anywhere!important;word-break:break-word!important}
  img,svg,video,canvas,iframe{max-width:100%}
}

@media (max-width:360px){
  :root{--phone-content-gutter:16px}
  body{font-size:13.5px!important}
  h1,.page-hero h1{font-size:1.78rem!important}
}

/* ========================================================================== 
   Mobile v7 — definitive safe-area fix.
   Desktop !important section shorthands had higher specificity and were
   zeroing the phone's horizontal padding. Phone-only override.
   ========================================================================== */
@media (max-width:767px){
  :root{--phone-safe-x:clamp(20px,5.5vw,24px)}

  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  main{width:100%;max-width:100%;overflow-x:hidden!important}

  /* Beat `.page-home main > .section { padding:... 0!important; }` exactly. */
  body.page-home main > section.section{
    padding-left:var(--phone-safe-x)!important;
    padding-right:var(--phone-safe-x)!important;
  }

  /* Beat `body:not(.page-home) main > .section` on inner pages. */
  body:not(.page-home) main > section.section,
  body:not(.page-home) main > section.page-hero{
    padding-left:var(--phone-safe-x)!important;
    padding-right:var(--phone-safe-x)!important;
  }

  /* Home hero is not `.section`, so frame it separately. */
  body.page-home main > section.reference-match-hero{
    padding-left:var(--phone-safe-x)!important;
    padding-right:var(--phone-safe-x)!important;
  }

  /* Section supplies the only gutter; direct content consumes safe width. */
  body.page-home main > section > .container,
  body:not(.page-home) main > section > .container,
  body:not(.page-home) main > section > div > .container{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  /* Explicit home blocks with older high-specificity width rules. */
  body.page-home .feature-band > #wic-hero,
  body.page-home .feature-band > .section-link,
  body.page-home .steps-section > .feature-heading,
  body.page-home .steps-section > .attio-steps,
  body.page-home .steps-section > .container,
  body.page-home .intro-section > .editorial-head,
  body.page-home .audience-section > .feature-heading,
  body.page-home .audience-section > .audience-grid,
  body.page-home .final-cta > .final-cta-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* No hidden desktop indentation inside the safe column. */
  body.page-home #wic-hero .wic-home-heading,
  body.page-home #wic-hero .wic-hero-copytext,
  body.page-home .feature-heading > div,
  body.page-home .feature-heading > p,
  body.page-home .editorial-copy,
  body.page-home .editorial-copy > p,
  body.page-home .attio-steps article,
  body.page-home .attio-steps article > h3,
  body.page-home .attio-steps article > p{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Home steps: stack number above title; text gets the entire width. */
  body.page-home .attio-steps article{
    display:block!important;
    padding:16px 0 18px!important;
  }
  body.page-home .step-num{
    position:static!important;
    display:block!important;
    width:auto!important;
    margin:0 0 8px!important;
    padding:0!important;
  }
  body.page-home .attio-steps h3{
    display:block!important;
    margin:0 0 8px!important;
    padding:0!important;
    font-size:1.02rem!important;
    line-height:1.28!important;
  }
  body.page-home .attio-steps p{
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:.86rem!important;
    line-height:1.56!important;
    border:0!important;
    background:transparent!important;
  }

  /* Supporting page steps use the same no-rail geometry. */
  body.page-how-it-works .steps .step{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:16px 0 18px!important;
  }
  body.page-how-it-works .steps .step-number{
    position:static!important;
    display:block!important;
    margin:0 0 8px!important;
  }
  body.page-how-it-works .steps .step > div:last-child,
  body.page-how-it-works .steps .step h2,
  body.page-how-it-works .steps .step p{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Callouts cannot become full-bleed through inherited desktop dimensions. */
  body.page-home .quiet-block,
  body.page-home .editorial-copy .pitch,
  body:not(.page-home) .quiet-block,
  body:not(.page-home) .working,
  body:not(.page-home) .editorial-placeholder,
  body:not(.page-home) .booking-placeholder{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
    box-sizing:border-box!important;
  }

  /* Last-resort width safety for content nodes, without shrinking type again. */
  main :where(h1,h2,h3,p,ul,ol,li,a,strong,em,span,div,article){
    min-width:0;
    max-inline-size:100%;
  }
  main :where(p,li){overflow-wrap:break-word!important}
  main .token{overflow-wrap:anywhere!important;word-break:break-word!important}
}

@media (max-width:390px){
  :root{--phone-safe-x:18px}
}




/* Mobile marker cleanup — source markers removed, keep text flush. */
@media (max-width:767px){
  .page-home .attio-steps p,
  .page-home .editorial-copy p,
  .page-home .check-list li,
  .page-what-it-checks .check-list li{padding-left:0!important;}
  .page-home .check-list,
  .page-what-it-checks .check-list{list-style:none!important;padding-left:0!important;}
  .page-what-it-checks .ai-label{gap:0!important;}
}

/* ========================================================================== 
   Mobile text-marker removal — definitive source cleanup.
   No decorative/native bullets may sit on top of reading copy on phones.
   ========================================================================== */
@media (max-width:767px){
  main p,
  main li,
  main strong{
    list-style:none!important;
  }
  main li{
    display:block!important;
    list-style-type:none!important;
    list-style-position:outside!important;
  }
  main li::marker{
    content:''!important;
    font-size:0!important;
    color:transparent!important;
  }
  main p::before,
  main p::after,
  main li::before,
  main li::after,
  main strong::before,
  main strong::after{
    content:none!important;
    display:none!important;
    width:0!important;
    height:0!important;
    border:0!important;
    box-shadow:none!important;
    background:none!important;
  }

  /* Lists in the checks/working copy are rendered as clean text rows. */
  .page-home .check-list,
  .page-home .home-working ul,
  .page-what-it-checks .check-list,
  .page-what-it-checks .working ul{
    list-style:none!important;
    padding-left:0!important;
    margin-left:0!important;
  }
  .page-home .check-list li,
  .page-home .home-working li,
  .page-what-it-checks .check-list li,
  .page-what-it-checks .working li{
    display:block!important;
    padding-left:0!important;
    margin-left:0!important;
    text-indent:0!important;
  }

  /* Step body copy must be plain paragraphs — never marker-bearing nodes. */
  .page-home .attio-steps p,
  .page-how-it-works .step p,
  .page-home .editorial-copy p{
    display:block!important;
    list-style:none!important;
    text-indent:0!important;
  }
}
