/* Family Scam Watch - calm, large-type, high-contrast. No external fonts or requests. */
:root{
  --bg:#fbf9f4; --card:#ffffff; --ink:#1c2733; --muted:#46525e;
  --navy:#17324d; --teal:#0f5f6e; --teal-dark:#0a4651; --teal-soft:#e4f1f2;
  --line:#d8d2c4; --warn-bg:#fff3dc; --warn-ink:#5f3500; --warn-line:#e0b66a;
  --danger-bg:#fbe9e7; --danger-ink:#7a1a14; --ok-bg:#e8f3ea; --ok-ink:#1d4d2b;
  --radius:12px; --wide:72rem; --text:46rem;
}
*{box-sizing:border-box}
html{font-size:100%;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:1.25rem;line-height:1.65}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.25;margin:0 0 .6em}
h1{font-size:2.3rem}
h2{font-size:1.85rem;margin-top:1.6em}
h3{font-size:1.4rem}
p,ul,ol{margin:0 0 1em}
li{margin-bottom:.45em}
a{color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px}
a:hover{color:var(--navy)}
:focus-visible{outline:4px solid #f2a900;outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.8rem 1rem;z-index:100}
.skip:focus{left:0}
.wrap{max-width:var(--wide);margin:0 auto;padding:0 1.25rem}
.narrow{max-width:var(--text)}
main{padding:1.5rem 0 3rem}

/* top safety strip */
.strip{background:var(--navy);color:#fff;font-size:1rem;padding:.5rem 0;text-align:center}
.strip a{color:#fff}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;flex-wrap:wrap}
.brand{font-family:Georgia,serif;font-size:1.7rem;font-weight:bold;color:var(--navy);text-decoration:none;display:flex;align-items:center;gap:.5rem}
.brand svg{width:34px;height:34px;flex:none}
.nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:.25rem .4rem;margin:0;padding:0}
.nav li{margin:0}
.nav a{display:block;padding:.6rem .8rem;border-radius:8px;text-decoration:none;color:var(--ink);font-size:1.05rem;min-height:44px}
.nav a:hover{background:var(--teal-soft)}
.nav a[aria-current="page"]{background:var(--teal-soft);color:var(--teal-dark);font-weight:bold}
.nav a.cta{background:var(--teal);color:#fff;font-weight:bold}
.nav a.cta:hover{background:var(--teal-dark)}
.menu-btn{display:none;font:inherit;font-size:1.05rem;padding:.6rem 1rem;min-height:48px;border:2px solid var(--navy);background:#fff;color:var(--navy);border-radius:8px;cursor:pointer}
@media (max-width:860px){
  .js .menu-btn{display:inline-block}
  .js .nav{display:none;width:100%}
  .js .nav.open{display:block}
  .nav ul{flex-direction:column}
  .nav a{font-size:1.2rem;padding:.8rem 1rem}
}

/* hero */
.hero{background:linear-gradient(180deg,var(--teal-soft),var(--bg));padding:2.5rem 0 1.5rem}
.hero h1{font-size:2.6rem;max-width:20ch}
.hero .lead{font-size:1.4rem;max-width:36em;color:var(--muted)}
@media (max-width:600px){.hero h1{font-size:2.05rem}h1{font-size:1.95rem}h2{font-size:1.6rem}}

/* buttons */
.btn{display:inline-block;font:inherit;font-size:1.2rem;font-weight:bold;text-decoration:none;
  background:var(--teal);color:#fff;border:2px solid var(--teal);border-radius:10px;padding:.8rem 1.3rem;min-height:52px;cursor:pointer;line-height:1.3}
.btn:hover{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}
.btn.secondary{background:#fff;color:var(--teal-dark)}
.btn.secondary:hover{background:var(--teal-soft);color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin:1rem 0}

/* cards & callouts */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.4rem}
.grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr))}
.callout{border-left:8px solid var(--teal);background:var(--teal-soft);padding:1rem 1.3rem;border-radius:0 var(--radius) var(--radius) 0;margin:1.4rem 0}
.callout.warn{border-color:var(--warn-line);background:var(--warn-bg);color:var(--warn-ink)}
.callout.danger{border-color:#c0392b;background:var(--danger-bg);color:var(--danger-ink)}
.callout h2,.callout h3{margin-top:0}
.callout p:last-child,.callout ul:last-child{margin-bottom:0}
.stat{font-family:Georgia,serif;font-size:3rem;color:var(--navy);line-height:1;margin:0}
.small{font-size:1rem;color:var(--muted)}
.chip{display:inline-block;font-size:.95rem;border-radius:999px;padding:.1rem .7rem;background:#eef0f3;color:var(--navy);border:1px solid #c9ced6;margin-right:.4rem}
.chip.ai{background:#e9e4f7;border-color:#b9aee0;color:#3b2a78}
.scam-card h3{margin-bottom:.4rem}
.scam-card p{margin-bottom:.6rem}
.scam-card a.more{font-weight:bold}

/* forms */
label{font-weight:bold;display:block;margin-bottom:.3rem}
input[type=text],input[type=email],input[type=search],select{font:inherit;font-size:1.2rem;width:100%;padding:.75rem .9rem;min-height:52px;border:2px solid #6b7683;border-radius:8px;background:#fff;color:var(--ink)}
.field{margin-bottom:1rem}
.newsletter{display:grid;gap:.8rem;max-width:34rem}
.status{margin-top:.8rem;font-weight:bold}

/* database */
.filters{display:grid;gap:1rem;grid-template-columns:2fr 1.2fr;align-items:end;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem;margin-bottom:1rem}
.filters .check{grid-column:1/-1;display:flex;gap:.7rem;align-items:center}
.filters .check input{width:28px;height:28px;flex:none}
.filters .check label{margin:0;font-weight:normal}
@media (max-width:700px){.filters{grid-template-columns:1fr}}
.entries details{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:.9rem}
.entries summary{cursor:pointer;padding:1rem 1.2rem;list-style:none}
.entries summary::-webkit-details-marker{display:none}
.entries summary h3{display:inline;margin:0}
.entries summary::before{content:"+";display:inline-block;width:1.6rem;font-weight:bold;color:var(--teal);font-size:1.5rem}
.entries details[open] summary::before{content:"\2212"}
.entries .summary-text{display:block;margin:.35rem 0 0 1.6rem;color:var(--muted)}
.entries .body{padding:0 1.4rem 1.2rem 1.4rem;border-top:1px solid var(--line)}
.entries .body h4{font-size:1.15rem;margin:1.1rem 0 .3rem;color:var(--teal-dark);text-transform:uppercase;letter-spacing:.04em}
.entries .meta{font-size:1rem;color:var(--muted)}
.count{font-weight:bold;margin:.5rem 0 1rem}

/* checker */
fieldset{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:1rem 1.3rem;margin:0 0 1.2rem}
legend{font-family:Georgia,serif;font-size:1.35rem;color:var(--navy);padding:0 .5rem;font-weight:bold}
.check-item{display:flex;gap:.9rem;align-items:flex-start;padding:.65rem 0;border-bottom:1px solid #eee}
.check-item:last-child{border-bottom:0}
.check-item input{width:30px;height:30px;flex:none;margin-top:.15rem;accent-color:var(--teal)}
.check-item label{font-weight:normal;margin:0;cursor:pointer}
.verdict{border-radius:var(--radius);padding:1.2rem 1.4rem;margin-top:1.2rem;border:3px solid var(--line);background:#fff}
.verdict h2{margin-top:0}
.verdict.v-high{background:var(--danger-bg);border-color:#c0392b;color:var(--danger-ink)}
.verdict.v-high h2{color:var(--danger-ink)}
.verdict.v-mid{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-ink)}
.verdict.v-mid h2{color:var(--warn-ink)}
.verdict.v-low{background:var(--ok-bg);border-color:#78a883;color:var(--ok-ink)}
.verdict.v-low h2{color:var(--ok-ink)}
.hidden{display:none}

/* steps */
.steps{counter-reset:s;list-style:none;padding:0}
.steps>li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.2rem 1rem 4.2rem;margin-bottom:1rem;position:relative}
.steps>li::before{content:counter(s);position:absolute;left:1rem;top:.9rem;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--teal);color:#fff;font-weight:bold;text-align:center;line-height:2.4rem;font-family:Georgia,serif}
.steps h3{margin:0 0 .4rem;font-size:1.3rem}
table{border-collapse:collapse;width:100%;background:#fff;font-size:1.1rem}
th,td{border:1px solid var(--line);padding:.6rem .8rem;text-align:left;vertical-align:top}
th{background:var(--teal-soft)}
.placeholder{border:2px dashed #8a95a1;background:#f4f2ec;border-radius:var(--radius);padding:1rem 1.2rem}
.placeholder h3{margin-bottom:.3rem}
.todo{background:#fff3a8;color:#4a3b00;padding:0 .35rem;border-radius:4px;font-weight:bold;font-size:.9em}

/* footer */
.site-footer{background:var(--navy);color:#e6edf3;padding:2rem 0;font-size:1.05rem}
.site-footer a{color:#fff}
.site-footer ul{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem 1.4rem;padding:0;margin:0 0 1rem}
.site-footer p{margin-bottom:.7rem;max-width:56rem}
@media print{.site-header,.site-footer,.strip,.btn-row{display:none}}

/* news page + homepage ticker */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.news-meta{font-size:1rem;color:var(--muted);margin-bottom:.5rem}
.news-card h3{font-size:1.3rem}
.news-card[hidden]{display:none}
.news-filter{grid-template-columns:1.2fr 1fr}
.hero:has(.ticker){padding-top:0}
.ticker{background:var(--navy);color:#fff;margin-bottom:2rem;overflow:hidden}
.ticker-row{display:flex;align-items:stretch;gap:0;padding-left:0;padding-right:0}
.tk-label{flex:none;display:flex;align-items:center;background:var(--teal);color:#fff;font-weight:bold;text-transform:uppercase;letter-spacing:.04em;font-size:1rem;padding:.65rem 1rem;text-decoration:none;white-space:nowrap}
.tk-label:hover{background:var(--teal-dark);color:#fff}
.tk-viewport{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center}
.tk-track{display:flex;width:max-content;animation:tk-scroll 120s linear infinite}
.ticker:hover .tk-track,.ticker:focus-within .tk-track{animation-play-state:paused}
.tk-list{display:flex;list-style:none;margin:0;padding:0;flex:none}
.tk-list li{white-space:nowrap;padding:.65rem 1.5rem;font-size:1.1rem;border-right:1px solid rgba(255,255,255,.25)}
.tk-list a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.tk-list a:hover{color:#ffe7a3}
.tk-src{color:#c9d6e2;font-size:.95rem;margin-left:.4rem}
@keyframes tk-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .tk-track{animation:none}
  .tk-viewport{overflow-x:auto}
  .tk-list[aria-hidden="true"]{display:none}
}
@media (max-width:600px){.tk-label{font-size:.9rem;padding:.6rem .7rem}.tk-list li{font-size:1.05rem}}

/* Real example box */
.real-example { border-left: 4px solid #0f8b8d; background: #eef7f7; padding: .75rem 1rem; margin: 1rem 0; border-radius: 6px; }
.real-example h4 { margin-top: 0; }
.home-example { border-left: 4px solid #0f8b8d; background: #eef7f7; padding: 1rem 1.25rem; border-radius: 8px; }

/* Signup: slim top bar + bottom box */
.signup-bar{background:var(--teal-soft);border-bottom:1px solid #c9e2e5}
.signup-bar-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding-top:.5rem;padding-bottom:.5rem}
.signup-bar p{margin:0;color:var(--navy)}
.signup-bar .sb-btn{font-size:1rem;padding:.45rem 1rem;min-height:44px;white-space:nowrap}
.signup-box{background:#fff;border:2px solid var(--teal);border-radius:12px;padding:1.5rem;margin:2.5rem 0 1.5rem;scroll-margin-top:1rem}
@media (max-width:600px){.signup-bar .sb-extra{display:none}.signup-bar p{font-size:1rem}.signup-box{padding:1.1rem}}
.hero > .signup-bar{margin-top:-2rem;margin-bottom:2rem}
@media (max-width:600px){.signup-bar-row{gap:.5rem}.signup-bar .sb-btn{padding:.4rem .8rem}}
