/* What Is A Cryptocurrency? public stylesheet: the design layer (STEP 2, 2026-11-24).
   Same family as bitcoinlifestyles.club (near-black navy, thin-bordered panels, mono labels, glow on accents only), with this site's own identity:
   Litecoin silver-blue and cyan lead, Bitcoin orange is a small accent, and the wordmark's "?_" cursor. Readability beats the style: body text 18 px,
   line height 1.7, a measure under 75 characters, no glow and no mono on paragraphs; every text color meets 4.5:1 or better (body text 7:1 and up) in
   both modes. The first mode comes from Settings > Default reading mode (dark by default, light, or the visitor's device setting), written into
   the <html> tag so nothing flashes; the visitor's own toggle choice wins (kept in their browser only, no cookie).
   Fonts are self-hosted: Space Grotesk (headings, the wordmark) and Inter (text); labels use the system's monospace font (no extra download). */

@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url('fonts/space-grotesk-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url('fonts/inter-latin-var.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:swap;src:url('fonts/inter-latin-ext-var.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* size-matched fallbacks, so the text does not jump when the fonts arrive (CLS 0) */
@font-face{font-family:'Inter Fallback';src:local('Arial');size-adjust:107%;ascent-override:90%;descent-override:22.4%;line-gap-override:0%}
@font-face{font-family:'Space Grotesk Fallback';src:local('Arial');size-adjust:101%;ascent-override:97.4%;descent-override:28.9%;line-gap-override:0%}

:root{
  --bg:#0a0e14; --surface:#0f1520; --surface-2:#131b29; --border:#1e2a3d; --border-strong:#2c3d57;
  --text:#e8eef7; --muted:#a9b8cc; --faint:#8395ad;
  --link:#5fd9ec; --link-hover:#a8eef7;
  --cyan:#00e5ff; --ltc:#345d9d; --ltc-light:#8fb3e8; --silver:#bfbbbb; --orange:#f7931a; --green:#2bff88;
  --btn-text:#06131a;
  --notice-bg:#17140c; --notice-border:#5b4a1d; --notice-label:#f5b85a;
  --glow:0 0 0 1px rgba(0,229,255,.25),0 0 24px rgba(0,229,255,.12);
  --grid-line:rgba(143,179,232,.07);
  --sans:'Inter','Inter Fallback',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --display:'Space Grotesk','Space Grotesk Fallback','Inter',system-ui,sans-serif;
  --mono:ui-monospace,'Cascadia Mono','SFMono-Regular',Menlo,Consolas,'Liberation Mono',monospace;
  --radius:10px;
  color-scheme:dark;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --bg:#f6f8fb; --surface:#ffffff; --surface-2:#eef2f7; --border:#d3dbe6; --border-strong:#b6c3d4;
    --text:#111a27; --muted:#46566b; --faint:#5b6b80;
    --link:#1d4f91; --link-hover:#0f3366;
    --cyan:#086b79; --ltc:#345d9d; --ltc-light:#345d9d; --silver:#6b6b6b; --orange:#b45309; --green:#0f7a3d;
    --btn-text:#ffffff;
    --notice-bg:#fff7e6; --notice-border:#e3c27a; --notice-label:#8a4b06;
    --glow:0 0 0 1px rgba(52,93,157,.18),0 6px 20px rgba(17,26,39,.06);
    --grid-line:rgba(52,93,157,.07);
    color-scheme:light;
  }
}
:root[data-theme="light"]{
  --bg:#f6f8fb; --surface:#ffffff; --surface-2:#eef2f7; --border:#d3dbe6; --border-strong:#b6c3d4;
  --text:#111a27; --muted:#46566b; --faint:#5b6b80;
  --link:#1d4f91; --link-hover:#0f3366;
  --cyan:#086b79; --ltc:#345d9d; --ltc-light:#345d9d; --silver:#6b6b6b; --orange:#b45309; --green:#0f7a3d;
  --btn-text:#ffffff;
  --notice-bg:#fff7e6; --notice-border:#e3c27a; --notice-label:#8a4b06;
  --glow:0 0 0 1px rgba(52,93,157,.18),0 6px 20px rgba(17,26,39,.06);
  --grid-line:rgba(52,93,157,.07);
  color-scheme:light;
}

/* base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.125rem/1.7 var(--sans);text-rendering:optimizeLegibility}
img{max-width:100%;height:auto}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--link-hover)}
:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:3px}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.2;letter-spacing:-.01em;margin:1.8em 0 .55em;color:var(--text)}
h1{font-size:clamp(1.6rem,1rem + 3.4vw,2.9rem);margin-top:.3em}   /* a little smaller on narrow screens, so most titles fit without breaking (2026-11-27) */
/* long titles, words and addresses wrap instead of pushing the page sideways on phones (Caleb, 2026-11-27: "About WhatIsACryptocurrency.com") */
h1,h2,h3,h4,.blog-card-title,.search-results h2{overflow-wrap:break-word}   /* a word breaks mid-word only as a last resort; no automatic hyphens */
p,li,td,th,dd,figcaption,blockquote,.post-body,.post-meta,.author-box,.promo,.footer-notice{overflow-wrap:break-word}
a,code{overflow-wrap:anywhere}
pre{overflow-x:auto;max-width:100%}
img,video,iframe,table{max-width:100%}
h2{font-size:clamp(1.45rem,3.4vw,1.8rem)}
h3{font-size:1.25rem}
p,ul,ol{margin:0 0 1.1em}
li{margin:.3em 0}
strong{font-weight:650}
code,kbd,pre{font-family:var(--mono);font-size:.9em}
code{background:var(--surface-2);border:1px solid var(--border);border-radius:5px;padding:.05em .35em}
hr{border:0;border-top:1px solid var(--border);margin:2.5rem 0}
.container{max-width:72rem;margin:0 auto;padding:0 16px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--surface);color:var(--text);padding:.5rem 1rem;z-index:10}
.skip-link:focus{left:8px;top:8px}
.mono-label{font-family:var(--mono);font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ltc-light)}

/* header and the wordmark */
.site-header{background:var(--surface);border-bottom:1px solid var(--border);position:relative}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--ltc) 25%,var(--cyan) 60%,var(--green) 85%,transparent);opacity:.8}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px;flex-wrap:nowrap;padding-block:.75rem}
.logo-link{display:inline-flex;align-items:baseline;text-decoration:none;color:var(--text);font-family:var(--display);font-size:1.28rem;line-height:1;white-space:nowrap}
.wm-lead{font-weight:500;color:var(--muted)}
.wm-main{font-weight:700;color:var(--text)}
.wm-cursor{font-family:var(--mono);font-weight:700;color:var(--green);margin-left:.1em}
.wm-cursor span{animation:wm-blink 1.1s steps(1) infinite}
@keyframes wm-blink{50%{opacity:0}}
.logo-link:hover .wm-main{color:var(--link-hover)}
.main-nav{display:flex;align-items:center;gap:1.4rem}
.nav-link{color:var(--text);text-decoration:none;font-weight:500;font-size:1rem;padding:.4rem 0;border-bottom:2px solid transparent}
.nav-link:hover{color:var(--link)}
.nav-link.active{color:var(--link);border-bottom-color:var(--cyan)}
.theme-toggle{font:500 .82rem var(--mono);color:var(--text);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:999px;padding:.4rem .85rem;cursor:pointer;min-height:36px}
.theme-toggle:hover{border-color:var(--cyan)}
.theme-toggle-light{display:none}
:root[data-theme="light"] .theme-toggle-dark{display:none}
:root[data-theme="light"] .theme-toggle-light{display:inline}
@media (prefers-color-scheme: light){
  :root:not([data-theme]) .theme-toggle-dark{display:none}
  :root:not([data-theme]) .theme-toggle-light{display:inline}
}
.nav-toggle{display:none;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:8px;padding:9px 10px;cursor:pointer;min-width:44px;min-height:44px}
.nav-toggle .bar{display:block;width:22px;height:2px;background:var(--text);margin:4px 0;border-radius:2px}
/* the phone menu takes over wherever the full header can't stay on one line (it needs about 990 px; Caleb, 2026-11-27: the tablet widths wrapped) */
@media (max-width: 1060px){
  .header-row{flex-wrap:wrap}
  .nav-toggle{display:block}
  .main-nav{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.25rem 0 1rem}
  .main-nav.open{display:flex}
  .nav-link{font-size:1.05rem;padding:.6rem 0;width:100%}
  .theme-toggle{margin-top:.5rem}
}
@media (max-width: 760px){
  .logo-link{font-size:1.1rem}
}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:.6rem 1.15rem;border-radius:8px;font:600 1rem var(--sans);text-decoration:none;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--cyan);color:var(--btn-text)}
.btn-primary:hover{color:var(--btn-text);box-shadow:var(--glow)}
:root[data-theme="light"] .btn-primary{background:var(--ltc)}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) .btn-primary{background:var(--ltc)}}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border-strong)}
.btn-ghost:hover{color:var(--text);border-color:var(--cyan)}

/* home page */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--border);
  background:
    radial-gradient(60rem 26rem at 85% -10%,rgba(52,93,157,.28),transparent 60%),
    radial-gradient(40rem 20rem at 10% 110%,rgba(0,229,255,.08),transparent 60%),
    linear-gradient(var(--grid-line) 1px,transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px) 0 0/32px 32px,
    var(--bg)}
.hero::before{content:"";position:absolute;inset:0 0 0 45%;background:url('img/code-rain.svg') 0 0/240px 240px repeat;opacity:.11;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 35%);mask-image:linear-gradient(90deg,transparent,#000 35%);pointer-events:none}
.hero::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(43,255,136,.03) 0 1px,transparent 1px 4px);pointer-events:none}
.hero-inner{position:relative;z-index:1;max-width:72rem;margin:0 auto;padding:4.5rem 16px 4rem;display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;align-items:center}
.hero .mono-label{color:var(--green)}
.hero-art{display:none}
@media (min-width: 960px){
  .hero-inner{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
  /* the picture loads on computers only (a CSS background, so phones never download it); "contain": the whole picture always shows, never cropped */
  .hero-art{display:block;position:relative;aspect-ratio:1200/630;border-radius:var(--radius);background:var(--hero-art,none) center/contain no-repeat,#05080d;
    border:1px solid var(--border-strong);box-shadow:0 0 0 1px rgba(43,255,136,.08),0 20px 60px rgba(0,0,0,.35)}
  .hero-art::before,.hero-art::after{content:"";position:absolute;width:18px;height:18px;border:2px solid var(--green);opacity:.8}
  .hero-art::before{top:-7px;left:-7px;border-right:0;border-bottom:0}
  .hero-art::after{bottom:-7px;right:-7px;border-left:0;border-top:0}
}
.hero h1{max-width:20ch;margin:.5rem 0 1rem;font-size:clamp(2.2rem,6vw,3.6rem)}
.hero h1 .accent{color:var(--ltc-light)}
.hero-lead{max-width:36rem;font-size:1.2rem;color:var(--muted);margin-bottom:1.75rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.section{max-width:72rem;margin:0 auto;padding:3.5rem 16px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.section-head h2{margin:0}
.path{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;counter-reset:step}
.path li{margin:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.25rem 1.35rem;counter-increment:step;position:relative}
.path li::before{content:"0" counter(step);font:700 .85rem var(--mono);color:var(--cyan);display:block;margin-bottom:.6rem}
.path li:hover{border-color:var(--border-strong);box-shadow:var(--glow)}
.path h3{margin:0 0 .35rem;font-size:1.15rem}
.path h3 a{color:var(--text);text-decoration:none}
.path h3 a::after{content:"";position:absolute;inset:0}
.path p{margin:0;color:var(--muted);font-size:1rem}
.trust-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem}
.trust-strip div{border-left:2px solid var(--ltc);padding:.2rem 0 .2rem 1rem}
.trust-strip strong{display:block;font-family:var(--display)}
.trust-strip p{margin:.2rem 0 0;color:var(--muted);font-size:1rem}

/* posts and pages */
.post-layout{max-width:47rem;margin:0 auto;padding:2rem 16px 3.5rem}
/* computers: the article on the left at its reading width, one sidebar on the RIGHT (never a left sidebar); together they fill the header's width */
.page-with-sidebar{max-width:72rem;margin:0 auto}
.sidebar{display:none}
@media (min-width: 1080px){
  .page-with-sidebar{display:grid;grid-template-columns:minmax(0,47rem) 18.5rem;justify-content:space-between;column-gap:2.5rem;padding:0 16px}
  .page-with-sidebar .post-layout{margin:0;padding-left:0;padding-right:0}
  .page-with-sidebar .blog-grid{padding-left:0;padding-right:0}
  .page-with-sidebar .page-head{padding-left:0;padding-right:0}
  .sidebar{display:block;padding:2rem 0 3.5rem}
  /* sticky inside its own column only: it scrolls with the page and never covers the article */
  .sidebar-sticky{position:sticky;top:1.5rem}
}
.sidebar-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.2rem}
.sidebar-box p{margin:.35rem 0;font-size:.98rem}
.sidebar-box-title{font-family:var(--display);font-weight:700;font-size:1.1rem!important;color:var(--text)}
.sidebar-box .mono-label{color:var(--green)}

/* the promo slots: always with their label next to the link; boxes are drawn on the server, so their space is there from the first paint */
.promo{background:var(--surface);border:1px solid var(--border-strong);border-left:3px solid var(--ltc);border-radius:var(--radius);padding:1.1rem 1.2rem;margin:2rem 0}
.sidebar .promo{margin:0}
.promo p{margin:.35rem 0;font-size:.98rem}
.promo-label{display:flex;flex-wrap:wrap;gap:.35rem .6rem;align-items:baseline;margin-top:0!important}
.promo-name{font-family:var(--display);font-weight:700;font-size:1.05rem;color:var(--text)}
.promo-tag{font:600 .74rem var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ltc-light);border:1px solid var(--border-strong);border-radius:999px;padding:.12rem .5rem}
.promo-headline{font-weight:600;color:var(--text)}
.promo-body{color:var(--muted)}
.promo-action{margin-top:.8rem!important}
.promo .btn{min-height:40px;padding:.5rem 1rem;font-size:.95rem}
.promo-disclosure{font-size:.85rem!important}
.promo-disclosure a{color:var(--muted)}
.promo-mention{font-size:1rem;color:var(--muted);border-left:2px solid var(--border-strong);padding:.1rem 0 .1rem .9rem;margin:1.5rem 0}
.post-kicker{margin:0 0 .25rem}
.post-kicker a{color:var(--ltc-light);text-decoration:none}
.post-kicker a:hover{color:var(--link)}
.post-meta{color:var(--muted);font-size:.95rem;margin:0 0 1.5rem}
.post-meta a{color:var(--muted)}
.post-featured-image{margin:0 0 1.75rem;position:relative}
.post-featured-image::before,.post-featured-image::after{content:"";position:absolute;width:16px;height:16px;border:2px solid var(--green);opacity:.75;pointer-events:none}
.post-featured-image::before{top:-6px;left:-6px;border-right:0;border-bottom:0}
.post-featured-image::after{bottom:-6px;right:-6px;border-left:0;border-top:0}
.post-featured-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2)}
.nfa-notice{background:var(--notice-bg);border:1px solid var(--notice-border);border-radius:var(--radius);padding:.9rem 1.1rem;font-size:.98rem;margin:0 0 2rem;line-height:1.6}
.nfa-notice strong{display:block;font:700 .78rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--notice-label);margin-bottom:.2rem}
.post-body{max-width:68ch}
.post-body > :first-child{margin-top:0}
.post-body h2{padding-top:.25rem;border-top:1px solid var(--border);padding-top:1.4rem}
.post-body h2::before{content:"#";font-family:var(--mono);color:var(--cyan);margin-right:.45rem;font-weight:400}
.post-body ul li::marker{color:var(--cyan)}
.post-body ol li::marker{color:var(--ltc-light);font-family:var(--mono);font-weight:700}
.post-body table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;font-size:1rem;margin:1.5rem 0}
/* a glossary in a guide (Caleb, 2026-11-27): each term a small card, the term in the heading font and an accent color, the meaning under it with no
   deep indent; two columns from 760 px, one on phones; dark and light through the site's own colors */
.glossary{display:grid;grid-template-columns:1fr;gap:.75rem;margin:1.25rem 0 1.75rem;padding:0}
@media (min-width: 760px){.glossary{grid-template-columns:1fr 1fr}}
.glossary > div{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--cyan);border-radius:10px;padding:.75rem 1rem}
.glossary dt{font-family:var(--display);font-weight:700;font-size:1.05rem;color:var(--link);margin:0}
.glossary dd{margin:.3rem 0 0;font-size:1rem;line-height:1.55;color:var(--text)}
:root[data-theme="light"] .glossary > div{border-left-color:var(--ltc)}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]) .glossary > div{border-left-color:var(--ltc)}}
.post-body th,.post-body td{border:1px solid var(--border);padding:.55rem .8rem;text-align:left;vertical-align:top}
.post-body th{background:var(--surface-2);font-family:var(--display)}
.post-body blockquote{margin:1.75rem 0;padding:.4rem 1.2rem;border-left:3px solid var(--ltc);background:var(--surface);color:var(--text);border-radius:0 var(--radius) var(--radius) 0}
.post-body pre{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;overflow-x:auto}
.post-body pre code{border:0;background:none;padding:0}
.callout{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--cyan);border-radius:var(--radius);padding:1rem 1.2rem;margin:1.75rem 0}
.callout > :last-child{margin-bottom:0}
.callout .mono-label{display:block;margin-bottom:.35rem;color:var(--cyan)}
.callout-safety{border-left-color:var(--orange)}
.callout-safety .mono-label{color:var(--notice-label)}
.key-takeaways{background:var(--surface-2);border:1px solid var(--border-strong);border-radius:var(--radius);padding:1.1rem 1.3rem;margin:0 0 2rem}
.key-takeaways h2{border:0;padding:0;margin:0 0 .5rem;font-size:1.15rem}
.key-takeaways h2::before{content:none}
.key-takeaways ul{margin:0}
.disclosure{font-size:.92rem;color:var(--muted)}
#faq h2{margin-bottom:1rem}
.product-highlight-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.2rem;margin:.75rem 0}
.product-highlight-box h3{margin:0 0 .4rem;font-size:1.08rem}
.product-highlight-box p{margin:0}
.author-box{display:flex;gap:1rem;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem 1.3rem;margin:3rem 0 1.5rem}
.author-avatar{flex:0 0 3rem;height:3rem;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border-strong);font:700 1rem var(--mono);color:var(--cyan)}
.author-box p{margin:.3rem 0;font-size:1rem}
.author-box-name{font-family:var(--display);font-weight:700;font-size:1.05rem!important}
.author-box-name a{color:var(--text);text-decoration:none}
.author-handle{font-family:var(--mono);font-size:.88rem}
.post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.post-navigation a,.nav-teaser-box{display:block;height:100%;padding:.9rem 1.1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:var(--text)}
.post-navigation a:hover{border-color:var(--border-strong);box-shadow:var(--glow)}
.post-navigation span{display:block;font:600 .75rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.25rem}
.post-navigation strong{font-family:var(--display);font-size:1.02rem;line-height:1.35}
.nav-next{grid-column:2;text-align:right}
@media (max-width: 560px){.post-navigation{grid-template-columns:1fr}.nav-next{grid-column:1;text-align:left}}
.related-posts{margin:2.5rem 0 0}
.related-posts h2{font-size:1.3rem;margin:0 0 .75rem}
.related-list{list-style:none;padding:0;margin:0}
.related-list li{padding:.85rem 0;border-top:1px solid var(--border);margin:0}
.related-list a{font-family:var(--display);font-weight:600;text-decoration:none}
.related-list span{display:block;color:var(--muted);font-size:.98rem}

/* blog index and cards */
.page-head{max-width:72rem;margin:0 auto;padding:3rem 16px 1rem}
.page-head h1{margin:.4rem 0 .6rem}
.page-head p{color:var(--muted);max-width:40rem;margin:0}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));gap:1.25rem;max-width:72rem;margin:0 auto;padding:1.5rem 16px 3.5rem}
.blog-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;position:relative}
.blog-card:hover{border-color:var(--border-strong);box-shadow:var(--glow)}
.blog-card-image-link img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--surface-2)}
/* a post without a featured picture yet: a quiet patterned panel with its category, the same 16:9 space (no layout shift when a picture comes) */
.card-art{display:flex;align-items:flex-end;aspect-ratio:16/9;padding:1rem;text-decoration:none;position:relative;
  background:
    radial-gradient(18rem 10rem at 80% 20%,rgba(0,229,255,.16),transparent 65%),
    radial-gradient(16rem 10rem at 10% 90%,rgba(52,93,157,.35),transparent 70%),
    linear-gradient(var(--grid-line) 1px,transparent 1px) 0 0/22px 22px,
    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px) 0 0/22px 22px,
    var(--surface-2)}
.card-art::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(43,255,136,.03) 0 1px,transparent 1px 4px)}
.card-art span{font:700 .78rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}
.blog-card-content{padding:1.05rem 1.15rem 1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.blog-card-date{font:500 .78rem var(--mono);letter-spacing:.04em;color:var(--muted);text-transform:uppercase}
.blog-card-title{margin:0;font-size:1.22rem}
.blog-card-title a{color:var(--text);text-decoration:none}
.blog-card-title a::after{content:"";position:absolute;inset:0}
.blog-card-excerpt{margin:0;color:var(--muted);font-size:1rem;line-height:1.6}
.blog-card .btn{margin-top:auto;align-self:flex-start;min-height:0;padding:0;background:none;color:var(--link);font-size:.95rem}
.blog-card .btn::after{content:" \2192"}

/* footer */
.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:2.25rem 0 2rem;font-size:.98rem;margin-top:2rem}
.footer-notice{margin:0 0 1.1rem;color:var(--text)}
.footer-nav{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin:0 0 1.1rem}
.footer-nav a{color:var(--link);text-decoration:none;padding:.35rem 0}
.footer-nav a:hover{text-decoration:underline}
.footer-bottom{color:var(--muted);margin:0;font-size:.92rem}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* site search: the box in the header (computers) and in the phone menu, and the /search/ page (works without JavaScript) */
.site-search{display:flex;align-items:center;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:999px;padding:0 .25rem 0 .8rem;min-height:38px}
.site-search:focus-within{border-color:var(--cyan)}
.site-search input{background:none;border:0;color:var(--text);font:400 16px var(--sans);width:9.5rem;padding:.35rem 0;outline:none}
.site-search input::placeholder{color:var(--faint);opacity:1}
.site-search button{display:grid;place-items:center;background:none;border:0;color:var(--muted);cursor:pointer;width:36px;height:36px;border-radius:50%}
.site-search button:hover{color:var(--cyan)}
@media (max-width: 1060px){
  .site-search{width:100%;margin:.5rem 0 .25rem;min-height:46px}
  .site-search input{width:100%;flex:1}
}
.search-form{display:flex;gap:.6rem;flex-wrap:wrap;margin:0 0 1.5rem}
.search-form input{flex:1 1 14rem;min-height:48px;padding:.6rem .9rem;font:400 1.05rem var(--sans);color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px}
.search-form input:focus{outline:3px solid var(--cyan);outline-offset:1px}
.search-count{color:var(--muted);margin:0 0 1.25rem}
.search-results{list-style:none;padding:0;margin:0}
.search-results li{padding:1.1rem 0;border-top:1px solid var(--border);margin:0}
.search-results h2{font-size:1.25rem;margin:.15rem 0 .35rem;padding:0;border:0}
.search-results h2::before{content:none}
.search-results h2 a{color:var(--text);text-decoration:none}
.search-results h2 a:hover{color:var(--link)}
.search-results p{margin:0;font-size:1rem;color:var(--muted)}
.search-results .search-meta{margin:0;color:var(--ltc-light)}
.search-results mark{background:rgba(0,229,255,.18);color:var(--text);border-radius:3px;padding:0 .1em}
/* tap-to-load videos: our own thumbnail with a play mark; the player replaces it on tap, at the same 16:9 size (no layout shift) */
.yt-video{margin:1.6rem 0}
.yt-video a[data-yt-id],.yt-frame{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#05080d;border:1px solid var(--border)}
.yt-video a[data-yt-id] img{display:block;width:100%;height:100%;object-fit:cover}
.yt-video .yt-icon{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;border-radius:12px;background:rgba(5,8,13,.82);border:1px solid rgba(255,255,255,.35)}
.yt-video .yt-icon::after{content:"";position:absolute;left:27px;top:14px;border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff}
.yt-video a[data-yt-id]:hover .yt-icon,.yt-video a[data-yt-id]:focus-visible .yt-icon{background:#c41e1e}
.yt-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-video figcaption{font-size:.95rem;margin-top:.5rem;color:var(--muted)}

