/* =========================================================================
   pvsnews — AI & cybersecurity, every three hours.

   Dark first. Depth comes from layered translucency, gradient hairlines and
   topic-tinted ambient light rather than heavy borders or drop shadows.
   Colour is assigned by subject: ice blue for AI, coral for security.
   ========================================================================= */

:root {
  color-scheme: dark;

  --bg:        #0a0e16;
  --bg-2:      #0d1320;
  --surface:   rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --solid:     #131a2a;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .17);

  --text:   #e8ecf4;
  --text-2: #a8b2c4;
  --text-3: #808b9e;

  --ai:      #52d1ff;
  --ai-2:    #7c6bff;
  --ai-glow: rgba(82, 209, 255, .16);
  --sec:      #ff8360;
  --sec-2:    #ffc46b;
  --sec-glow: rgba(255, 131, 96, .16);

  --topic:   var(--ai);
  --topic-2: var(--ai-2);
  --glow:    var(--ai-glow);

  --display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --edge: 1.15rem;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg:        #f4f7fb;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #ffffff;
  --solid:     #ffffff;
  --line:      rgba(12, 22, 42, .10);
  --line-2:    rgba(12, 22, 42, .18);
  --text:   #0d1424;
  --text-2: #47506a;
  --text-3: #656f82;
  --ai:      #0a6fb4;
  --ai-2:    #5b46e0;
  --ai-glow: rgba(10, 111, 180, .10);
  --sec:      #c4441f;
  --sec-2:    #d98324;
  --sec-glow: rgba(196, 68, 31, .09);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ambient field: two slow topic-coloured washes behind everything */
body::before {
  content: '';
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70vh;
  background:
    radial-gradient(50% 55% at 22% 8%,  var(--ai-glow) 0%, transparent 70%),
    radial-gradient(45% 50% at 82% 0%, var(--sec-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* fine grain keeps large dark areas from banding */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .035;
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] body::after { opacity: .02; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(100% - (var(--edge) * 2), 1180px); margin-inline: auto; position: relative; z-index: 1; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: .75rem; top: .75rem; z-index: 60;
  background: var(--text); color: var(--bg);
  padding: .6rem 1rem; border-radius: var(--r-sm);
}
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; border-radius: 4px; }

.mono {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ------------------------------------------------------------------ header */

.head {
  position: sticky; top: 0; z-index: 30;
  --head-line: 1;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.head::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ai) 28%, var(--ai-2) 50%, var(--sec) 72%, transparent 100%);
  opacity: .55; pointer-events: none;
}
.head__row {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; margin-right: auto;
}
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: block;
  box-shadow: 0 6px 18px -8px var(--ai);
}
.brand__name {
  font-family: var(--display); font-weight: 700;
  font-size: 1.12rem; letter-spacing: -.02em; color: var(--text);
}
.brand__name i { font-style: normal; color: var(--text-3); font-weight: 600; }

.nav { display: flex; gap: .25rem; }
.nav a {
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; color: var(--text-2);
  padding: .42rem .7rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] {
  color: var(--text); background: var(--surface-2); border-color: var(--line-2);
}

.iconbtn {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px; cursor: pointer;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.iconbtn:hover { color: var(--text); border-color: var(--line-2); }
.iconbtn svg { width: 15px; height: 15px; }
.iconbtn .sun { display: none; }
[data-theme="light"] .iconbtn .sun { display: block; }
[data-theme="light"] .iconbtn .moon { display: none; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 2.2rem 0 1.5rem; position: relative; }
.hero::before {
  content: '';
  position: absolute; inset: -1.5rem 0 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 70% at 25% 25%, #000 0%, transparent 78%);
          mask-image: radial-gradient(60% 70% at 25% 25%, #000 0%, transparent 78%);
  opacity: .6; pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* section marker: a gradient tick, then a mono label */
.seclabel {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3);
  margin: 0 0 .9rem;
}
.seclabel::before {
  content: ''; width: 20px; height: 2px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, var(--ai), var(--sec));
}
.seclabel::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.pulse {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: .34rem .7rem .34rem .55rem; border-radius: 999px;
}
.pulse__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; flex: none;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, .55);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(61,220,151,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(61,220,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 8.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 1rem 0 .7rem;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ai) 0%, var(--ai-2) 45%, var(--sec) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub { color: var(--text-2); margin: 0 0 1.3rem; max-width: 52ch; font-size: 1rem; }

.stats { display: flex; gap: .5rem; flex-wrap: wrap; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .55rem .8rem;
  min-width: 0;
}
.stat b {
  display: block; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  font-weight: 500; margin-bottom: .15rem;
}
.stat span { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--text); }

/* ----------------------------------------------------------------- stories */

.edition { display: grid; gap: 1.1rem; padding: 1.4rem 0 2.4rem; }

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  isolation: isolate;
  transition: transform .35s var(--ease);
  animation: rise .55s var(--ease) both;
}
.card--sec { --topic: var(--sec); --topic-2: var(--sec-2); --glow: var(--sec-glow); }
.card:nth-child(2) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* gradient hairline, drawn as a masked ring so it stays crisp on any surface */
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, var(--topic) 0%, var(--line) 38%, var(--line) 70%, var(--topic-2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 2;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-3px); }

/* topic light spilling from the top edge */
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 220px;
  background: radial-gradient(60% 100% at 50% 0%, var(--glow) 0%, transparent 75%);
  pointer-events: none; z-index: 0;
}

.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 2%, transparent 55%);
  opacity: .92;
}
[data-theme="light"] .card__media::after {
  background: linear-gradient(to top, rgba(255,255,255,.96) 2%, transparent 55%);
}

.badge {
  position: absolute; left: .85rem; top: .85rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--topic);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--topic) 40%, transparent);
  padding: .32rem .6rem; border-radius: 999px;
}
.badge svg { width: 11px; height: 11px; }

.card__body { padding: 0 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; margin-top: -1.6rem; }

.card__meta {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: .6rem;
}
.card__meta .outlet { color: var(--text-2); font-weight: 500; }
.card__meta .sep { opacity: .4; }

.card__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.35rem, 5.2vw, 1.7rem);
  line-height: 1.16; letter-spacing: -.028em;
  margin: 0 0 .7rem;
}
.card__title a { text-decoration: none; }
.card__title a:hover {
  background: linear-gradient(90deg, var(--topic), var(--topic-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card__brief { color: var(--text-2); font-size: .96rem; line-height: 1.68; margin: 0 0 1rem; }

.matters {
  position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--topic) 9%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--topic) 22%, transparent);
  border-radius: var(--r-md);
  padding: .7rem .85rem;
  margin: 0 0 1.15rem;
}
.matters b {
  display: block; font-family: var(--mono); font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--topic);
  margin-bottom: .25rem; font-weight: 500;
}
.matters span { font-size: .92rem; color: var(--text-2); }

.card__foot {
  margin-top: auto; padding-top: .9rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.cta {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display); font-size: .8rem; font-weight: 600;
  text-decoration: none; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-2);
  padding: .55rem .9rem; border-radius: 999px;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.cta:hover { color: var(--topic); border-color: color-mix(in srgb, var(--topic) 55%, transparent); }
.cta svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.cta:hover svg { transform: translateX(3px); }
.card__words { margin-left: auto; }
.iconlink {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: var(--surface-2); color: var(--text-3);
  border: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.iconlink:hover { color: var(--topic); border-color: color-mix(in srgb, var(--topic) 55%, transparent); }
.iconlink svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------- notice */

.notice {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem 1.3rem;
}
.notice h2 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 .5rem; letter-spacing: -.02em; }
.notice p { color: var(--text-2); margin: 0 0 .7rem; font-size: .94rem; }
.notice p:last-child { margin-bottom: 0; }
.notice code {
  font-family: var(--mono); font-size: .8rem; color: var(--ai);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: .12rem .4rem; border-radius: 5px;
}

/* --------------------------------------------------------------- archive */

.pagehead { padding: 2rem 0 1rem; }
.pagehead h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 7.5vw, 2.6rem); letter-spacing: -.035em; margin: .7rem 0 .4rem;
}
.pagehead p { color: var(--text-2); margin: 0; max-width: 56ch; font-size: .96rem; }

.toolbar {
  position: sticky; top: 51px; z-index: 20;
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  padding: .75rem 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.segmented {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.seg {
  font-family: var(--body); font-size: .74rem; font-weight: 600;
  color: var(--text-3); background: none; border: 0; cursor: pointer;
  padding: .4rem .8rem; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.seg:hover { color: var(--text); }
.seg[aria-pressed="true"] { color: var(--text); background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.seg[data-channel="ai"][aria-pressed="true"]  { color: var(--ai); }
.seg[data-channel="sec"][aria-pressed="true"] { color: var(--sec); }

.searchwrap { position: relative; flex: 1 1 170px; min-width: 0; }
.searchwrap svg {
  position: absolute; left: .7rem; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--text-3); pointer-events: none;
}
.search {
  width: 100%; font-family: var(--body); font-size: .85rem;
  padding: .55rem .8rem .55rem 2.05rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
}
.search::placeholder { color: var(--text-3); }
.search:focus { border-color: var(--line-2); outline: none; }
.kbd {
  position: absolute; right: .45rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: .6rem; color: var(--text-3);
  border: 1px solid var(--line); border-radius: 5px; padding: .08rem .34rem;
  pointer-events: none;
}
.search:focus ~ .kbd { opacity: 0; }

.loglist { list-style: none; margin: 0; padding: 0; }
.daygroup { padding-top: 1.6rem; }
.daygroup > .mono { display: flex; align-items: center; gap: .7rem; margin: 0 0 .8rem; }
.daygroup > .mono::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.entries { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }

.entry {
  position: relative;
  display: grid; grid-template-columns: 82px 1fr; gap: .9rem;
  padding: .75rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.entry:hover { border-color: var(--line-2); transform: translateY(-2px); }
.entry--sec { --topic: var(--sec); --topic-2: var(--sec-2); }
.entry.is-target { border-color: var(--topic); box-shadow: 0 0 0 3px color-mix(in srgb, var(--topic) 18%, transparent); }
.entry__media { aspect-ratio: 1 / 1; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-2); }
.entry__media img { width: 100%; height: 100%; object-fit: cover; }
.entry__body { min-width: 0; }
.entry__kicker {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--topic); margin: 0 0 .25rem;
}
.entry h3 {
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .3rem;
}
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { color: var(--topic); }
.entry__meta { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 .4rem; }
.entry__brief { color: var(--text-2); font-size: .87rem; margin: 0 0 .5rem; line-height: 1.6; }
.entry__brief.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry__actions { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; }
.plainlink {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--body); font-size: .72rem; font-weight: 600; color: var(--text-3);
}
.plainlink:hover { color: var(--text); }
.plainlink--go { color: var(--topic); text-decoration: none; }

.more {
  display: block; margin: 1.8rem auto 0;
  font-family: var(--display); font-size: .78rem; font-weight: 600;
  color: var(--text); background: var(--surface); cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: .7rem 1.6rem;
  transition: border-color .25s var(--ease);
}
.more:hover { border-color: var(--ai); color: var(--ai); }

/* ---------------------------------------------------------------- footer */

.footer {
  position: relative;
  margin-top: 2.5rem; padding: 0 0 2.4rem;
  background: linear-gradient(180deg, transparent, var(--bg-2) 45%);
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}

.footer__top {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0 1.3rem;
}
.footer__status {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 0; margin-left: auto;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
}
.footer__status .pulse__dot { width: 5px; height: 5px; }

.footer__grid {
  display: grid; gap: 1.7rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.footer h2 {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3);
  margin: 0 0 .85rem; font-weight: 500;
}
.footer h2::before {
  content: ''; width: 14px; height: 2px; border-radius: 2px; flex: none;
  background: var(--text-3);
}
.footer__ai h2::before  { background: var(--ai); }
.footer__sec h2::before { background: var(--sec); }

.footer ul { list-style: none; margin: 0; padding: 0; }
.sourcelist li { border-bottom: 1px solid var(--line); }
.sourcelist li:first-child { border-top: 1px solid var(--line); }
.sourcelist a {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .5rem 0; text-decoration: none; color: var(--text-2);
  font-size: .86rem; font-weight: 500;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.sourcelist a:hover { padding-left: .3rem; }
.sourcelist a i {
  font-style: normal; margin-left: auto;
  font-family: var(--mono); font-size: .6rem; color: var(--text-3);
  letter-spacing: .04em;
}
.footer__ai .sourcelist a:hover  { color: var(--ai); }
.footer__sec .sourcelist a:hover { color: var(--sec); }

/* the last few update times, read from the archive */
.ticks li {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .68rem; color: var(--text-2);
  padding: .38rem 0;
}
.ticks li::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px; flex: none;
  background: linear-gradient(180deg, var(--ai), var(--sec));
  opacity: .8;
}
.ticks li span { color: var(--text-3); margin-left: auto; letter-spacing: .06em; }

.footer__fine {
  margin-top: 1.9rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--text-3);
  display: flex; gap: .9rem 1.6rem; justify-content: space-between; flex-wrap: wrap;
  align-items: baseline;
}
.footer__fine p { margin: 0; max-width: 62ch; }
.footer__fine .mono { font-size: .62rem; }
.footer__fine a { color: var(--text-2); }

/* ------------------------------------------------------------ wide screens */

/* very narrow phones: tighten the header so nothing spills off the edge */
@media (max-width: 374px) {
  :root { --edge: .9rem; }
  .head__row { gap: .45rem; }
  .brand { gap: .4rem; }
  .brand__mark { width: 26px; height: 26px; border-radius: 8px; }
  .brand__name { font-size: 1rem; }
  .nav { gap: .1rem; }
  .nav a { padding: .38rem .5rem; font-size: .72rem; }
  .iconbtn { width: 30px; height: 30px; border-radius: 9px; }
  .stat { padding: .5rem .65rem; }
}

@media (min-width: 720px) {
  :root { --edge: 1.8rem; }
  body { font-size: 17px; }
  .edition { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .card__body { padding: 0 1.4rem 1.5rem; }
  .entry { grid-template-columns: 108px 1fr; gap: 1.1rem; padding: .9rem; }
  .entry h3 { font-size: 1.08rem; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.4rem; }
  .hero { padding: 3rem 0 1.8rem; }
}

@media (min-width: 1040px) {
  .hero h1 { font-size: 3.6rem; }
  .card__title { font-size: 1.85rem; }
  .entries { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .card { opacity: 1; transform: none; }
}
