/* build 20261126a */
/*
  Shared styles for /articles/*.html pages.
  Matches the dark palette of upload/index.html (#0f172a / #38bdf8 / #f8fafc).
  Load once per article via:  <link rel="stylesheet" href="article-base.css?v=20261126a">

  Pulls in the shared hamburger-menu styles so every article gets the
  same site-wide nav (single source of truth at /site-menu.css + .js).
*/
@import url("/site-menu.css?v=20261126a");

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',Roboto,sans-serif;
  background:#0f172a;color:#e2e8f0;
  line-height:1.65;
}

/* The top bar (.site-header) is styled in /site-menu.css, imported above, so
   every page - articles and tool pages alike - draws the same bar (2026-11-23). */

/* Article shell */
.article{max-width:760px;margin:0 auto;padding:40px 24px 80px}
.breadcrumb{font-size:13px;color:#64748b;margin-bottom:24px}
.breadcrumb a{color:#94a3b8;text-decoration:none}
.breadcrumb a:hover{color:#38bdf8}

.tier-tags{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.tier-tag{
  display:inline-block;padding:4px 12px;border-radius:12px;
  font-size:12px;font-weight:600;letter-spacing:.5px;
}
.tier-surfer{background:rgba(74,222,128,.15);color:#4ade80}
.tier-technical{background:rgba(56,189,248,.15);color:#38bdf8}
.tier-research{background:rgba(168,85,247,.15);color:#c084fc}

.article h1{
  font-size:clamp(28px,4vw,40px);line-height:1.2;font-weight:900;
  color:#f8fafc;letter-spacing:-0.5px;margin-bottom:12px;
}
.article .subtitle{color:#94a3b8;font-size:18px;margin-bottom:8px;font-style:italic}
.article .byline{color:#64748b;font-size:13px;margin-bottom:32px}
.article .byline a{color:#94a3b8;text-decoration:none}

.tldr{
  background:linear-gradient(145deg,#1a2538,#0f172a);
  border:1px solid #334155;border-left:3px solid #38bdf8;
  padding:20px 24px;border-radius:10px;margin:0 0 36px;
  font-size:16px;color:#e2e8f0;
}
.tldr strong{color:#38bdf8;display:block;margin-bottom:6px;letter-spacing:.5px;font-size:13px}

.article h2{
  font-size:26px;color:#f8fafc;margin:40px 0 14px;
  padding-bottom:8px;border-bottom:1px solid #1e293b;
}
.article h3{font-size:20px;color:#e2e8f0;margin:28px 0 10px}
.article h4{font-size:16px;color:#cbd5e1;margin:20px 0 6px;text-transform:uppercase;letter-spacing:.5px}
.article p{margin:0 0 16px;color:#cbd5e1}
.article p strong{color:#f8fafc}
.article a{color:#38bdf8;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.article a:hover{color:#7dd3fc}
.article ul,.article ol{margin:0 0 16px 24px;color:#cbd5e1}
.article li{margin-bottom:6px}
.article li strong{color:#f8fafc}

.article table{
  width:100%;border-collapse:collapse;margin:20px 0;
  background:#1e293b;border:1px solid #334155;border-radius:8px;overflow:hidden;
  font-size:14px;
}
.article th{
  background:#0f172a;color:#38bdf8;text-align:left;padding:10px 14px;
  font-weight:600;font-size:13px;letter-spacing:.5px;text-transform:uppercase;
  border-bottom:1px solid #334155;
}
.article td{padding:10px 14px;color:#e2e8f0;border-bottom:1px solid #1e293b}
.article tr:last-child td{border-bottom:none}

.article blockquote{
  border-left:3px solid #38bdf8;margin:20px 0;padding:4px 20px;
  color:#94a3b8;font-style:italic;
}

.article code{
  background:#1e293b;color:#fbbf24;padding:2px 6px;border-radius:4px;
  font-family:'SF Mono',Menlo,Consolas,monospace;font-size:14px;
}
.article pre{
  background:#0c1322;border:1px solid #1e293b;border-radius:8px;
  padding:16px;margin:20px 0;overflow-x:auto;
}
.article pre code{background:none;padding:0;color:#e2e8f0}

.article figure{margin:24px 0}
.article figure img{width:100%;border-radius:8px;border:1px solid #334155}
.article figcaption{font-size:13px;color:#94a3b8;margin-top:8px;text-align:center;font-style:italic}

.callout{
  background:rgba(56,189,248,.05);border:1px solid rgba(56,189,248,.25);
  border-radius:8px;padding:16px 20px;margin:20px 0;
}
.callout-title{color:#38bdf8;font-weight:700;margin-bottom:6px;font-size:14px;letter-spacing:.5px;text-transform:uppercase}
.callout p:last-child{margin-bottom:0}

.faq{margin-top:40px}
.faq h2{color:#f8fafc}
.faq details{
  background:#1e293b;border:1px solid #334155;border-radius:8px;
  padding:14px 18px;margin-bottom:10px;
}
.faq summary{
  cursor:pointer;color:#f8fafc;font-weight:700;font-size:16px;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:#38bdf8;font-size:20px;transition:transform .2s}
.faq details[open] summary::after{content:"−"}
.faq details p{margin-top:12px;margin-bottom:0;color:#cbd5e1}

.cta-box{
  background:linear-gradient(145deg,#1a2538,#0f172a);
  border:1px solid #334155;border-radius:12px;
  padding:24px;margin:40px 0;text-align:center;
}
.cta-box h3{color:#38bdf8;margin-bottom:10px}
.cta-box a{
  display:inline-block;background:#38bdf8;color:#0f172a;
  padding:10px 20px;border-radius:8px;text-decoration:none;
  font-weight:700;margin-top:10px;
}

.related{margin-top:48px;padding-top:32px;border-top:1px solid #1e293b}
.related h2{border:none;padding:0;margin-bottom:16px}
.related ul{list-style:none;margin:0}
.related li{margin-bottom:12px}
.related li a{
  display:block;padding:12px 16px;background:#1e293b;border:1px solid #334155;
  border-radius:8px;text-decoration:none;color:#e2e8f0;
}
.related li a:hover{border-color:#38bdf8}
.related li small{color:#64748b;display:block;margin-top:4px}

footer{border-top:1px solid #1e293b;padding:24px;text-align:center;color:#64748b;font-size:13px}
footer a{color:#94a3b8;text-decoration:none}

/* Shared site footer (2026-11-22): one row of links on every surfer page. */
.site-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-bottom:10px}
.site-footer-links a{color:#94a3b8;text-decoration:none;font-size:14px}
.site-footer-links a:hover{color:#38bdf8}

/* Wide tables scroll sideways on phones instead of clipping (2026-11-22).
   display:block lets the table itself scroll; the rows keep table layout. */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:20px 0}
.table-scroll table{margin:0}

@media (max-width:600px){
  .article table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .article th,.article td{padding:8px 10px}
  .article{padding:24px 16px 60px}
  .article h1{font-size:28px}
  .article h2{font-size:22px}
}
