/* ToneShield — refreshed static site styles (cosmetic-only positioning) */

:root{
  --brand:#5433BE;
  --brand-ink:#3d27a8;
  --ink:#1f2430;
  --muted:#5b6575;
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f7f7fb;
  --border:#e9e9ef;
  --radius:16px;
  --shadow:0 14px 34px rgba(31, 36, 48, .10);
  --shadow-soft:0 10px 24px rgba(31, 36, 48, .08);
  --max:1120px;
  --header-h:66px;
  --focus-ring:0 0 0 4px rgba(84, 51, 190, .22);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.6;
  color:var(--ink);
  background:var(--bg);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto}
a{color:var(--brand);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible{
  outline:none;
  box-shadow:var(--focus-ring);
  border-radius:12px;
}

.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

.skip-link{
  position:absolute;left:-999px;top:14px;
  background:var(--brand);color:#fff;
  padding:10px 14px;border-radius:14px;
  text-decoration:none;font-weight:800;
  z-index:9999;
}
.skip-link:focus{left:14px}

.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}

.nav{
  position:relative;
  display:flex;align-items:center;gap:14px;
  min-height:66px;
}

.brand{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;
  color:var(--ink);
}
.brand img{
  width:26px;height:30px;object-fit:contain;
}
.brand-name{
  font-family: "Montserrat", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  letter-spacing:.01em;
  font-weight:400;
}
.brand-tone{font-weight:900;}
.brand-shield{font-weight:400;}
.brand-tm{font-weight:400;}

/* Header brand coloring and sizing */
.brand .brand-name{
  color:var(--brand);
  font-size:1.05rem;
}

.nav-toggle{
  margin-left:auto;
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--ink);
  box-shadow:0 2px 10px rgba(31,36,48,.05);
}
.nav-toggle svg{width:20px;height:20px}

.nav-menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 0 auto;
  padding:0;
}
.nav-menu a{
  display:block;
  padding:8px 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--ink);
}
.nav-menu a:not(.button):hover{background:var(--surface-2)}
.nav-menu a[aria-current="page"]{
  background:var(--surface-2);
  font-weight:800;
}

/* Ensure header CTA button keeps accessible contrast */
.nav-menu a.button{color:#fff}
.nav-menu a.button.secondary{color:var(--brand)}
.nav-menu a.button.ghost{color:var(--ink)}

.nav-menu .nav-cta{
  margin-left:6px;
}

.nav-menu .nav-cta .button:focus-visible{
  /* Slightly higher-contrast focus ring on the solid brand CTA */
  box-shadow:0 0 0 3px rgba(255,255,255,.78), 0 0 0 6px rgba(84,51,190,.35);
  border-radius:14px;
}


.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--brand);
  background:var(--brand);
  color:#fff;
  font-weight:850;
  box-shadow:var(--shadow-soft);
  text-decoration:none;
  letter-spacing:.01em;
}
.button:hover{filter:brightness(.985)}
.button.secondary{
  background:transparent;
  color:var(--brand);
  border-color:rgba(84,51,190,.45);
  box-shadow:none;
}
.button.ghost{
  background:transparent;
  color:var(--ink);
  border-color:var(--border);
  box-shadow:none;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
}

.hero{
  background:
    radial-gradient(900px 420px at 14% 18%, rgba(84,51,190,.10), rgba(84,51,190,0) 70%),
    linear-gradient(135deg, #ffffff 0%, #f7f7fb 60%);
}
.hero-inner{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap:28px;
  align-items:center;
  padding:58px 0;
}
h1{
  font-size:clamp(2.05rem, 3.8vw, 3.1rem);
  line-height:1.05;
  margin:12px 0 10px;
  letter-spacing:-.02em;
}

/* Home hero typography refinements */
.hero .hero-title{
  white-space:nowrap;
  word-break: normal;
  max-width:100%;
  display:block;
  font-weight:400;
  /* Keep H1 comfortably large on mobile (≈32px min) */
  font-size: clamp(2rem, 5.4vw, 3.1rem);
}

.hero-title__brand{white-space:nowrap}
.hero-title__product{white-space:nowrap}

@media (max-width: 520px){
  /* Allow the descriptor to wrap under ToneShield™ on narrow phones before the hero can push wider than the viewport */
  .hero .hero-title{white-space:normal}
  .hero-title__product{display:block;margin-top:6px}
}

/* =========================================================
   Trust badge ("pill") system
   ========================================================= */

.trust-badges{margin:0;padding:0}
.trust-badges--row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:stretch;
}
.trust-badges--center{justify-content:center}

.trust-badges--stack{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}

.trust-badges--grid{
  --trust-cols:2;
  display:grid;
  grid-template-columns:repeat(var(--trust-cols), minmax(0, 1fr));
  gap:12px;
  align-items:stretch;
  justify-items:stretch;
}
.trust-badges--cols-3{--trust-cols:3}
.trust-badges--cols-4{--trust-cols:4}
.trust-badges--cols-1{--trust-cols:1}

.trust-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(31,36,48,.14);
  background:#fff;
  color:var(--ink);
  font-size:.95rem;
  line-height:1.18;
  text-align:center;
  max-width:100%;
  min-width:0;
}


.trust-badges--grid .trust-badge{
  width:100%;
  min-height:44px;
  max-width:100%;
  justify-self:stretch;
}

.trust-badges--stack .trust-badge{
  width:fit-content;
  max-width:100%;
}

.trust-badges--grid.trust-badges--center{
  justify-items:stretch;
}

.trust-badges--grid.trust-badges--center .trust-badge{
  justify-self:stretch;
}

/* Grid fill variant (use when longer badge copy needs consistent pill shape) */
.trust-badges--grid.trust-badges--fill{
  justify-items:stretch;
}
.trust-badges--grid.trust-badges--fill .trust-badge{
  width:100%;
  justify-self:stretch;
}

/* Hero: keep trio always intentional (3 across or stacked) */
.trust-badges--hero-trio{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

@media (min-width: 860px){
  .trust-badges--hero-trio{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:14px;
  }
}

.trust-badges--hero-trio .trust-badge{
  width:100%;
}

.trust-icon,
.trust-svg{
  flex:0 0 auto;
}

.trust-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--brand);
}

.trust-svg{
  width:20px;
  height:20px;
  color:inherit;
}

.trust-text{
  font-weight:650;
  color:var(--ink);
  text-wrap:balance;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  white-space:normal;
}

.trust-badge .trust-text{ text-wrap:normal; }


/* MD mini-badge (text-based) */
.trust-icon--md{
  min-width:28px;
  height:22px;
  padding:0 6px;
  border-radius:8px;
  border:1.5px solid #4A25AA;
  color:#4A25AA;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1;
}

/* Compact row variant for tight placements */
.trust-badges--compact .trust-badge{padding:8px 10px;font-size:.92rem}

/* Footer-adjacent pillar strip */
.pillar-strip{
  padding:28px 0;
  border-top:1px solid var(--border);
  background:#fff;
}

.trust-badges--pillars{
  --trust-cols:4;
  max-width:980px;
  margin:0 auto;
}

@media (max-width: 860px){
  .trust-badges--cols-3{--trust-cols:2}
}

@media (max-width: 720px){
  .trust-badges--pillars{--trust-cols:2}
}

@media (max-width: 420px){
  .trust-badges--cols-3{--trust-cols:1}
}

@media (max-width: 520px){
  .trust-badges--grid{--trust-cols:1}
  .trust-badges--row{
    flex-direction:column;
    align-items:flex-start;
  }

  /* Mobile stacked/full-width pills: lock the icon into a fixed lane so it cannot drift with label length. */
  .trust-badge{
    justify-content:flex-start;
  }

  .trust-icon{
    width:44px;
    flex:0 0 44px;
    justify-content:center;
  }

  .trust-text{
    flex:1 1 0;
    min-width:0;
    text-align:center;
  }

  /* Extra specificity for the homepage/stacked grid badges that Safari was still showing with stale cached CSS. */
  .trust-badges--hero-trio .trust-badge,
  .trust-badges--grid .trust-badge{
    justify-content:flex-start;
  }

  .trust-badges--hero-trio .trust-badge > .trust-icon,
  .trust-badges--grid .trust-badge > .trust-icon{
    width:44px;
    flex:0 0 44px;
    justify-content:center;
  }

  .trust-badges--hero-trio .trust-badge > .trust-text,
  .trust-badges--grid .trust-badge > .trust-text{
    flex:1 1 0;
    min-width:0;
    text-align:center;
  }
}

/* How to Use — keep steps readable, add experience stack on desktop */
.howto-layout{display:grid;gap:18px;align-items:start}
.howto-steps{display:grid;gap:18px}
@media (min-width: 940px){
  .howto-layout{grid-template-columns:1.65fr .9fr;gap:22px}
}

.hero-subhead{
  margin: 0 0 10px;
  max-width: 58ch;
  font-size: 1.06rem;
  font-weight: 900;
  color: var(--ink);
}

.hero-subhead strong{font-weight:900}
.lede{
  margin:0;
  color:var(--muted);
  font-size:1.08rem;
  max-width:58ch;
}
.disclaimer-inline{
  margin-top:14px;
  color:var(--muted);
  font-size:.92rem;
}

.trust-stack{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}
.pill{
  font-size:.88rem;
  border:1px solid var(--border);
  background:rgba(255,255,255,.78);
  padding:6px 10px;
  border-radius:999px;
  color:var(--ink);
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.hero-media{
  align-self:stretch;
  display:flex;
  justify-content:flex-end;
}
.hero-media img{
  width:100%;
  border-radius:22px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  background:#fff;
}

/* How it works — intro split with Triad graphic */
.intro-split{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap:28px;
  align-items:center;
}
.intro-split--no-media{
  grid-template-columns: 1fr;
}
.intro-media{
  margin:0;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.triad-graphic{
  width:320px;
  max-width:340px;
  height:auto;
  filter:drop-shadow(0 10px 24px rgba(31, 36, 48, .10));
}

.subhead{
  margin:-2px 0 14px;
  color:var(--muted);
  font-size:.95rem;
  font-weight:500;
}

.section{padding:64px 0}
.hero + .section{padding-top:52px}
section[id]{scroll-margin-top:calc(var(--header-h) + 18px);}
#waitlist{scroll-margin-top:calc(var(--header-h) + 18px);}
.section.alt{
  background:var(--surface-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.section h2{
  font-size:1.75rem;
  line-height:1.15;
  letter-spacing:-.02em;
  margin:0 0 10px;
}
.section p{margin:0 0 14px;color:var(--muted)}
.section p strong{color:var(--ink)}
.section .lead{font-size:1.06rem;max-width:70ch}

.grid{display:grid;gap:18px}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  height:100%;
}
.card h3{
  margin:0 0 8px;
  font-size:1.12rem;
  letter-spacing:-.01em;
}
.card h3.accent{color:var(--brand)}
.card p{margin:0;color:var(--muted)}
.card .eyebrow{
  margin:0 0 10px;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#f0efff;
  border:1px solid #e0defe;
  color:var(--brand);
  padding:5px 10px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:900;
}

.list{
  margin:0;
  padding-left:1.1rem;
  color:var(--muted);
}
.list li{margin:8px 0}

.card p.fine-print{
  margin-top:auto;
  padding-top:12px;
}

.notice{
  background:#fff7f3;
  border:1px solid #ffd9c7;
  color:#6b2b00;
  padding:14px 14px;
  border-radius:14px;
}

hr.sep{
  border:none;
  border-top:1px solid var(--border);
  margin:28px 0;
}

.form{
  max-width:620px;
}
.field{
  display:grid;
  gap:6px;
  margin:0 0 14px;
}

/* Hidden honeypot field (spam mitigation) */
.hp-field{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
label{font-weight:800}
input, textarea{
  font:inherit;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--ink);
}
input::placeholder, textarea::placeholder{color:#8a93a2}
.help{
  margin:6px 0 0;
  font-size:.92rem;
  color:var(--muted);
}

/* Form status messages (waitlist + contact): visible, readable, and announced */
.help[data-form-status],
.help[role="status"]{
  margin:12px 0 0;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface-2);
  color:var(--ink);
  font-weight:800;
}
.help[data-form-status]:empty,
.help[role="status"]:empty{
  display:none;
}
.help[data-state="success"]{background:#f0efff;border-color:#e0defe}
.help[data-state="error"]{background:#fff7f3;border-color:#ffd9c7;color:#6b2b00}
.help[data-state="loading"]{background:#fff;color:var(--muted)}
.help[data-state="info"]{background:var(--surface-2)}

.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}

details{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
details + details{margin-top:12px}
summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  font-weight:900;
  color:var(--ink);
}
summary::-webkit-details-marker{display:none}
details[open] summary{
  background:var(--surface-2);
  border-bottom:1px solid var(--border);
}
.details-body{
  padding:18px 20px;
  color:var(--muted);
}
.details-body p{margin:0 0 10px;color:var(--muted)}
.details-body p:last-child{margin-bottom:0}

.footer{
  padding:52px 0;
  border-top:1px solid var(--border);
  background:#fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:24px;
}
.footer h4{
  margin:0 0 10px;
  font-size:.95rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#3a4050;
}
.footer p{margin:0 0 10px;color:var(--muted)}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--brand)}
.fine-print{font-size:.92rem;color:var(--muted)}
.footer .legal-note{margin-top:14px}
.footer .legal-note p{margin:0 0 8px}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.is-hidden{display:none !important;}

/* Responsive */
@media (max-width: 940px){
  .hero-inner{grid-template-columns:1fr;padding:48px 0}
  .hero-media{justify-content:flex-start}

  .intro-split{grid-template-columns:1fr}
  .intro-media{justify-content:center;margin-top:18px}
  .triad-graphic{width:min(340px, 88vw);max-width:340px}

  .cols-3{grid-template-columns:1fr}
  .cols-2{grid-template-columns:1fr}
  .cols-4{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .nav-toggle{display:inline-flex}
  .nav-menu{
    display:none;
    position:absolute;
    top:var(--header-h);
    left:0;
    right:0;
    margin:0;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
  }
  .nav-menu.is-open{display:flex}
  .nav-menu a{padding:12px 12px}
  .nav-menu .nav-cta{margin:6px 0 0}
}

@media (max-width: 520px){
  /* Home hero: .hero-inner shares the same node as .wrap in index.html, so restore the horizontal gutter on phones. */
  .hero > .hero-inner.wrap{padding-left:20px;padding-right:20px}
  /* Let the hero text column shrink instead of inheriting min-width:auto from the grid item. */
  .hero > .hero-inner.wrap > *{min-width:0}
}

@media (max-width: 360px){
  .hero-subhead{font-size:1.0rem}
}

/* Utility classes (refactor-only helpers) */
.mt-10{margin-top:10px}
.mt-12{margin-top:12px}
.mt-14{margin-top:14px}
.mt-18{margin-top:18px}
.mt-22{margin-top:22px}
.mt-26{margin-top:26px}
.maxw-720{max-width:720px}
.fw-700{font-weight:700}
