/* ============================================================================
   RADAR CARD PATTERN — how to add a new card (homepage teaser + /radar index).
   No photos: the data figure IS the visual (avoids copyright / hotlink risk).

   A new card = data figure + tag + date + headline + 1-line excerpt,
   all inside a SINGLE <a> (no nested links — accessibility).

   Homepage teaser (/ and /es/):
     <a class="radar-mini" href="/radar/your-slug/">
       <p class="radar-data">[ICON]YOUR FIGURE</p>
       <span class="radar-tag">TAG</span><span class="radar-date">DATE</span>
       <h3>Headline</h3><p>One-line excerpt.</p>
     </a>

   /radar index pages (radar/index.html, es/radar/index.html):
     <article class="radar-card">
       <a class="radar-card-link" href="your-slug/">
         <p class="radar-data">[ICON]YOUR FIGURE</p>
         <p class="radar-meta"><time datetime="YYYY-MM-DD">DATE</time><span class="radar-tag">TAG</span></p>
         <h2>Headline</h2><p class="radar-excerpt">One-line excerpt.</p>
       </a>
     </article>

   ICON SNIPPETS (inline SVG, decorative: keep aria-hidden + focusable="false",
   colored via .radar-data-icon -> brand teal):
   calendar: <svg class="radar-data-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>
   trend:    <svg class="radar-data-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M3 17l6-6 4 4 8-8"/><path d="M15 7h6v6"/></svg>
   document: <svg class="radar-data-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M6 3h8l4 4v14H6z"/><path d="M14 3v4h4"/><path d="M12 11v5"/><path d="M12 18.6v.4"/></svg>
   ============================================================================ */
/* AccessTune Radar — shared stylesheet for the radar section only.
   Mirrors the homepage brand tokens. Lightweight on purpose: no JS, no motion. */
:root{
  --navy-900:#0b1e31; --ink:#0a1b2b; --muted:#465b6d;
  --surface:#ffffff; --surface-soft:#edf2f5; --paper:#f7f8f8; --line:#cbd5dd;
  --teal:#18a6a6; --teal-dark:#087878; --teal-soft:#dff5f3;
  --focus:#1f78d1; --shadow:0 18px 48px rgba(7,21,34,.12);
  --serif:"Source Serif 4",Georgia,serif;
  --sans:"IBM Plex Sans","Helvetica Neue",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);line-height:1.65;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--serif);line-height:1.12;margin-top:0;letter-spacing:-.02em}
p{margin:0 0 1.1em}
a{color:var(--teal-dark)}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:2px}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;padding:10px 16px;background:#fff;color:var(--navy-900);font-weight:700;text-decoration:none;z-index:100;border-radius:6px}
.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.wrap.narrow{max-width:780px}

/* Topbar (sits on the navy page hero, same as homepage) */
.topbar{position:absolute;z-index:10;width:100%;color:#f4f7fa;border-bottom:1px solid rgba(255,255,255,.17)}
.topbar-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px;color:#f7f9fb;font-weight:700;text-decoration:none;line-height:1}
.brand-logo{display:block;width:96px;height:42px;object-fit:contain}
.brand-name{font-size:18px;letter-spacing:-.01em}
.topbar-actions{display:flex;align-items:center;gap:30px}
.topbar nav{display:flex;gap:28px;font-size:15px;font-weight:600}
.topbar nav a{color:#f4f7fa;text-decoration:none}
.topbar nav a:hover{text-decoration:underline;text-underline-offset:5px}
.topbar nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}
.lang-toggle{display:inline-flex;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:3px;gap:2px;font-size:.78rem;font-weight:700;letter-spacing:.04em}
.lang-toggle .lang-opt{display:inline-block;padding:.3rem .7rem;border-radius:999px;color:rgba(244,247,250,.62);text-decoration:none;line-height:1}
.lang-toggle a.lang-opt:hover{color:#fff}
.lang-toggle .lang-opt.is-active{background:#fff;color:#0b1e31}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 20px;border:2px solid transparent;border-radius:6px;background:var(--teal);color:#181006;font-weight:700;text-decoration:none;line-height:1.15;cursor:pointer}
.button:hover{background:#31bbb6}
.button-small{min-height:42px;padding:9px 15px;font-size:15px}

/* Page hero (navy band) */
.page-hero{background:var(--navy-900);color:#f7f9fb;padding:152px 0 64px}
.page-hero .eyebrow{margin:0 0 18px;color:#6edbd5;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.page-hero .eyebrow a{color:#6edbd5;text-decoration:none}
.page-hero .eyebrow a:hover{text-decoration:underline;text-underline-offset:4px}
.page-hero h1{font-size:clamp(40px,5.6vw,68px);letter-spacing:-.035em;max-width:920px;margin-bottom:18px}
.page-hero .lede{max-width:740px;margin:0;color:#d9e2e8;font-size:clamp(18px,2vw,22px)}
.article-meta{margin:24px 0 0;color:#b9c8d4;font-size:15px}

/* Card grid */
.radar-data{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-family:var(--sans);font-size:clamp(30px,3.4vw,40px);font-weight:800;letter-spacing:-.02em;line-height:1;color:var(--navy-900)}
.radar-data-icon{width:32px;height:32px;flex:none;color:var(--teal-dark)}

.radar-main{padding:60px 0 84px}
.radar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.radar-card{background:var(--surface);border:1px solid var(--line);border-radius:12px}
.radar-card-link{display:block;height:100%;padding:28px 26px;color:inherit;text-decoration:none;border:1px solid transparent;border-radius:12px}
.radar-card-link:hover{border-color:var(--teal);box-shadow:var(--shadow)}
.radar-card-link h2{font-size:25px;margin:0 0 10px}
.radar-card-link:hover h2{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--teal);text-decoration-thickness:2px}
.radar-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0 14px;color:var(--muted);font-size:14px}
.radar-tag{display:inline-block;padding:4px 10px;border:1px solid var(--teal-dark);color:var(--teal-dark);border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.page-hero .radar-tag{color:#6edbd5;border-color:#6edbd5}
.radar-excerpt{margin:0;color:var(--muted);font-size:16px}
.load-more-wrap{text-align:center;margin-top:38px}

/* Article */
.article-body{padding:54px 0 10px;font-size:18px}
.article-body p{color:#243441}
.means{margin:34px 0;padding:22px 24px;border-left:4px solid var(--teal);background:var(--teal-soft);border-radius:0 8px 8px 0}
.means strong{display:block;margin-bottom:6px;color:var(--navy-900)}
.means p{margin:0}
.sources{margin-top:42px}
.sources h2{font-size:24px;margin-bottom:12px}
.sources ul{margin:0;padding-left:20px;color:var(--muted);font-size:16px}
.sources li{margin-bottom:8px}
.sources a{overflow-wrap:anywhere;font-weight:700}
.back-link{display:inline-block;margin:36px 0 0;font-weight:700;text-underline-offset:4px}
.article-cta{margin:46px 0 84px;padding:42px 38px;background:var(--navy-900);color:#f7f9fb;border-radius:14px}
.article-cta h2{font-size:clamp(26px,3.4vw,36px);margin-bottom:10px}
.article-cta p{color:#c7d3dc;margin:0 0 24px;font-size:18px}

/* Footer */
footer{padding:26px 0 40px;border-top:1px solid rgba(255,255,255,.17);background:var(--navy-900);color:#c7d3dc;font-size:14px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.footer-brand{display:flex;align-items:center;gap:13px}
.footer-brand .brand-logo{width:100px;height:44px}
.footer-brand strong{display:block;color:#f7f9fb;font-size:16px}
.footer-brand span{display:block;margin-top:3px}
.footer-meta{text-align:right}
footer p{margin:0}
footer a{color:#f7f9fb;text-underline-offset:3px}

@media (max-width:900px){
  .topbar nav{display:none}
  .brand-name{display:none}
  .topbar-inner{gap:14px}
  .topbar-actions{gap:12px}
  .button-small{white-space:nowrap;padding:9px 14px;font-size:14px}
  .page-hero{padding:132px 0 52px}
  .radar-grid{grid-template-columns:1fr}
  .radar-thumb{aspect-ratio:2/1;padding:5%}
  .article-cta{padding:34px 26px}
  .footer-inner{align-items:flex-start;flex-direction:column;gap:18px}
  .footer-meta{text-align:left}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation:none!important}
}

/* Radar thumbnails — transparent 3D icons floating on a navy band (never cropped) */
.radar-thumb{width:100%;aspect-ratio:16/9;object-fit:contain;display:block;border-radius:10px;background:#0b1e31;padding:6%}
.article-hero{margin:0 0 28px}
.article-hero img{width:100%;height:auto;display:block;border-radius:12px}
.article-hero.article-hero-icon{background:#0b1e31;border-radius:12px;padding:8%;text-align:center;margin:36px 0 0}
.article-hero-icon + .article-body{padding-top:36px}
.article-hero.article-hero-icon img{width:min(280px,50%);margin-inline:auto;border-radius:0}
