/* =====================================================================
   SafeToOpen SMS checker — logo palette v1 (Nov 2026), the same layer as safetoopen.com/assets/palette.v1.css
   Colour, corners and type only, on the page's own layout. Logo designer's colours:
     purple #5B4CD2 · deep slate #0F1827 · indigo navy #1C1C6C · logo blue #003EA4 · sky #529EED · mint #1FF7B3 · lavender #E3E6F1
   Verdict colours (safe green, warning amber, danger red) are meanings and stay as they are.
   ===================================================================== */
:root{
  --pl-purple:#5b4cd2; --pl-purple-deep:#4537b5; --pl-purple-light:#9b91f2; --pl-purple-tint:#efedfb;
  --pl-slate:#0f1827; --pl-indigo:#1c1c6c; --pl-blue:#003ea4; --pl-sky:#529eed; --pl-mint:#1ff7b3; --pl-lavender:#e3e6f1;
  --pl-tint-lav:#eef0f8; --pl-tint-sky:#e8f1fd; --pl-tint-pur:#eeecfb;
  --ink:#0f1827; --ink-2:#1c1c6c; --mut:#55607a;
  --line:#e3e6f1; --line-strong:#cfd3e4;
  --bg-alt:#f5f6fb; --bg-alt2:#e3e6f1;
  --cobalt:#003ea4; --cobalt-deep:#1c1c6c; --cobalt-mid:#2f5fc4; --cobalt-tint:#eef0fa;
  --teal:#5b4cd2; --teal-bright:#1ff7b3; --teal-deep:#4537b5; --teal-tint:#efedfb;
  --r-sm:8px; --r-md:8px; --r-lg:8px;
}
::selection{background:var(--pl-purple);color:#fff}

/* page body white, as on safetoopen.com and the scanner (hero, dark bands and footer keep their own backgrounds) */
html body .sec.alt{background:#fff!important}

/* hero heading accent: logo blue → purple */
html body .hero h1 .accent{background:linear-gradient(90deg,var(--pl-blue),var(--pl-purple));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--pl-purple)}

/* buttons: logo blue, purple on hover */
html body .btn-primary{background:var(--pl-blue)!important}
html body .btn-primary:hover{background:var(--pl-purple)!important}

/* cards with a background: flat palette tints in turn, no outline */
html body .guide-card,html body .promo-card,html body .flags{border-color:transparent!important;box-shadow:none!important}
html body .guide-grid>.guide-card:nth-child(3n+1),html body .promo-grid>.promo-card:nth-child(3n+1){background:var(--pl-tint-lav)!important}
html body .guide-grid>.guide-card:nth-child(3n+2),html body .promo-grid>.promo-card:nth-child(3n+2){background:var(--pl-tint-sky)!important}
html body .guide-grid>.guide-card:nth-child(3n+3),html body .promo-grid>.promo-card:nth-child(3n+3){background:var(--pl-tint-pur)!important}
html body .flags{background:var(--pl-tint-lav)!important}
html body .promo-card .pic{background:#fff!important}
html body .guide-card:hover,html body .promo-card:hover{box-shadow:0 22px 40px -26px rgba(28,28,108,.55)!important}
/* "On your phone" band: purple, as the site's final card */
html body .cta-band{background:var(--pl-purple)!important}
html body .cta-band .btn-primary{background:#fff!important;color:var(--pl-purple)!important}
html body .cta-band .btn-line{border-color:rgba(255,255,255,.55)!important;color:#fff!important}
html body .cta-eyebrow{color:#d9d4fb!important}
/* footer: deep slate */
html body .footer{background:var(--pl-slate)!important}
/* notes and tags in purple tints, not green (they're notes, not verdicts) */
html body .notsaved{background:var(--pl-tint-pur)!important;color:var(--pl-purple-deep)!important;border-color:rgba(91,76,210,.22)!important}

/* ===================================================================== corners: 8px (labels 6px). Circles and the chat bubbles keep their shape. */
html body .btn,html body .btn-primary,html body .btn-line,html body .btn-sm,html body .card,html body .guide-card,html body .promo-card,html body .flags,
html body .cta-band,html body .cta-band__art,html body .verdict,html body .verdict__ic,html body .alert,html body .composer,html body #send-button,
html body .fb-btn,html body .icon-btn,html body .toast,html body .promo-card .pic,html body .modal,html body .modal__box,html body .mega,html body .mega__item,
html body .mega__foot a,html body .has-mega>a,html body .nav__links a,html body .nav__burger,html body .footer__social a,html body .skip-link,
html body textarea,html body input[type="text"],html body input[type="email"],html body select,html body details,html body .seg,html body .seg label,
html body .verify-box,html body .reason-block,html body .actions-block,html body .link-share{border-radius:8px!important}
html body .notsaved,html body .pill,html body .tagb{border-radius:6px!important}

/* ===================================================================== type: Apple's and Microsoft's own fonts, set their way
   SF Pro on Apple devices, Segoe UI on Windows (the page's Archivo and JetBrains Mono step aside). */
html:root{
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI Variable Text","Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  --pl-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI Variable Display","Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:var(--sans);
  --pl-code:ui-monospace,"SF Mono","Cascadia Mono",Consolas,Menlo,monospace}
html body{font-family:var(--sans)}
html body :is(code,pre,kbd,samp){font-family:var(--pl-code)!important}
html body :not(:is(.wm,.brand,.brand *,code,pre,kbd,.bubble,.bubble *)){letter-spacing:normal!important;text-transform:none!important}
html body :is(h1,h2,h3,h4,h5,h6,b,strong,th,dt,.btn,.verdict__title,.verdict__label,.alert__t,.sec-title,.modal__title,
  .mega__item b,.mega__item strong):not(.wm){font-weight:600!important}
html body :is(h1,h2,.sec-title){font-family:var(--pl-display)!important}
html body h1{letter-spacing:-.015em!important}
html body :is(h2,.sec-title){letter-spacing:-.01em!important}
html body :is(.kicker,.cta-eyebrow,.verdict__label,.tagb,.pill,.or-div,.block-label,.footer__legal,.footer__legal span,.footer .links a){font-size:12px!important}
html body .footer__col h4{font-size:13px!important}

/* ===================================================================== cards placed by hand (palette.v1.js): tip cards and product cards */
@keyframes hcDrop{
  0%  {opacity:0;transform:translate3d(var(--hc-x,0px),44px,0) rotate(var(--hc-r,0deg)) scale(.965)}
  22% {opacity:1}
  55% {transform:translate3d(calc(var(--hc-x,0px) * .15),-4px,0) rotate(calc(var(--hc-r,0deg) * -.22)) scale(1.004)}
  78% {transform:translate3d(0,1px,0) rotate(calc(var(--hc-r,0deg) * .08))}
  100%{opacity:1;transform:none}}
html.hc-on .hc:not(.hc-done){opacity:0}
html.hc-on .hc.hc-in:not(.hc-done){animation:hcDrop 1.35s cubic-bezier(.3,.7,.35,1) var(--hc-d,0s) both}
html.hc-on .hc>*{opacity:0;transform:translateY(10px)}
html.hc-on .hc.hc-in>*{opacity:1;transform:none;transition:opacity .5s ease calc(var(--hc-d,0s) + .45s),transform .7s cubic-bezier(.2,.9,.3,1) calc(var(--hc-d,0s) + .45s)}
html.hc-on .hc.hc-in>*:nth-child(2){transition-delay:calc(var(--hc-d,0s) + .55s)}
html.hc-on .hc.hc-in>*:nth-child(n+3){transition-delay:calc(var(--hc-d,0s) + .65s)}
html.hc-on .hc.hc-done{opacity:1;animation:none;transition:transform .5s cubic-bezier(.2,1.3,.4,1),box-shadow .35s ease!important}
html.hc-on .hc.hc-done:hover{transform:translateY(-6px) rotate(var(--hc-h,0deg))!important}
html.hc-on .sec{overflow-x:clip}
@media (prefers-reduced-motion:reduce){html.hc-on .hc,html.hc-on .hc>*{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}}
@media print{html.hc-on .hc,html.hc-on .hc>*{opacity:1!important;transform:none!important;animation:none!important}}
