@font-face { font-family: Vazirmatn; src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("/fonts/Vazirmatn-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b1114;
  --bg-2: #121a1e;
  --ink: #d4e0dc;
  --muted: #8aa39c;
  --faint: #5c736d;
  --line: rgba(180, 240, 220, 0.12);
  --accent: #3ee0c2;
  --accent-2: #8affdf;
  --up: #3ee0a0;
  --down: #ff7a8a;
  --card: rgba(14, 24, 28, 0.72);
  --radius: 12px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --sans: Vazirmatn, Tahoma, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.void { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.grid-floor {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%);
  opacity: 0.35;
}
.orb { position: absolute; border-radius: 999px; filter: blur(72px); opacity: 0.28; animation: drift 18s var(--ease) infinite alternate; }
.orb-a { width: 460px; height: 460px; top: -140px; right: 6%; background: var(--accent); }
.orb-b { width: 300px; height: 300px; top: 55%; left: 4%; background: #6aa8ff; animation-delay: -7s; }
@keyframes drift { to { transform: translate(-40px, 32px) scale(1.08); } }

.skip { position: absolute; z-index: 30; inset-inline-start: 12px; top: -5rem; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 700; pointer-events: none; }
.skip:focus { top: 12px; pointer-events: auto; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.site-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, #0b1114 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1120px, calc(100% - 48px)); min-height: 72px; }
.is-mag .void { display: none; }
.is-mag .site-top { padding: 16px 0 12px; background: #0b1114; border: 0; backdrop-filter: none; }
.is-mag .wrap,
.is-mag .article-col,
.is-mag .preview-bar { width: min(920px, calc(100% - 48px)); }
.is-mag .site-top .wrap { min-height: 56px; padding: 6px 8px 6px 16px; border: 1px solid var(--line); border-radius: 14px; background: #121a1e; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand strong { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: #f4faf8; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.3; }
.pulse-dot { width: 12px; height: 12px; border-radius: 99px; background: var(--accent); animation: beat 1.6s var(--ease) infinite; }
@keyframes beat {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 14px transparent; }
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; text-decoration: none; }
.site-nav a:not(.btn):hover { color: #f4faf8; background: color-mix(in srgb, #f4faf8 8%, transparent); }
.site-nav a[aria-current="page"] { color: #f4faf8; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.site-nav .btn { margin-inline-start: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), filter 200ms var(--ease), background 200ms var(--ease);
}
.btn-primary { background: var(--accent); color: #062019; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary:active { transform: none; filter: brightness(0.96); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.btn-sm { min-height: 44px; padding: 8px 16px; }
.btn:disabled { opacity: 0.65; cursor: progress; transform: none; }

.hero { padding: 72px 0 40px; }
.kicker { color: var(--accent); font-size: 14px; font-weight: 700; }
.hero h1 { max-width: 16ch; margin-top: 8px; font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; line-height: 1.35; color: #f1f7f5; }
.hero .lead { max-width: 60ch; margin-top: 16px; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li::before { content: "●"; margin-inline-end: 8px; color: var(--accent); font-size: 10px; vertical-align: middle; }

.board { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); backdrop-filter: blur(16px); }
.board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.board-head h2 { font-size: 20px; }
.board-head time { color: var(--muted); font-size: 14px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tile { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 50%, transparent); }
.tile h3 { color: var(--muted); font-size: 14px; font-weight: 600; }
.tile-num { margin-top: 4px; font-size: 26px; font-weight: 700; color: #f1f7f5; font-variant-numeric: tabular-nums; }
.tile-unit { color: var(--faint); font-size: 13px; font-weight: 600; }
.chg { display: inline-block; margin-inline-start: 6px; font-weight: 700; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.board-foot { margin-top: 16px; color: var(--muted); font-size: 14px; }

.section { padding: 72px 0 0; }
.sec-head { max-width: 62ch; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; line-height: 1.45; color: #f1f7f5; }
.sec-head p { margin-top: 8px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feature b { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-size: 14px; }
.feature h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 16px 64px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); counter-increment: step; }
.steps li::before { content: counter(step, persian); position: absolute; inset-inline-start: 16px; top: 16px; width: 32px; height: 32px; border-radius: 99px; background: var(--accent); color: #062019; font-weight: 700; text-align: center; line-height: 32px; }
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

.sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sources li { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sources strong { display: block; font-size: 17px; }
.sources span { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

.cta-band { margin-top: 72px; padding: 40px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg-2)), var(--bg-2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); color: #f1f7f5; }
.cta-band p { margin-top: 4px; color: var(--muted); }

.site-foot { margin-top: 72px; padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot p { max-width: 70ch; }

/* blog */
.crumbs { padding-top: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.crumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: 8px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-hero { padding: 28px 0 8px; }
.blog-hero h1 { margin-top: 8px; font-size: clamp(32px, 5vw, 52px); line-height: 1.25; font-weight: 700; color: #f4faf8; letter-spacing: -0.02em; }
.blog-hero .lead { max-width: 42ch; margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font-weight: 600; text-decoration: none; }
.chip:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #062019; }
.magazine { padding: 20px 0 8px; }
.cards-home { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 16px; align-items: stretch; }
.cards-home:not(:has(.card-stack)) { grid-template-columns: 1fr; }
.card-stack { display: grid; gap: 16px; }
.card-stack .card-link { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.card-stack .card img { height: 100%; object-fit: cover; }
.cat-index { padding: 36px 0 56px; }
.cat-index h2 { margin-bottom: 14px; font-size: 22px; color: #f4faf8; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: grid; gap: 8px; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: inherit; text-decoration: none; }
.cat-tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.cat-tile-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cat-tile b { color: #f4faf8; font-size: 16px; }
.cat-tile em { color: var(--accent); font-style: normal; font-weight: 700; }
.cat-tile small { color: var(--muted); font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty-panel { margin: 8px 0 24px; padding: 28px 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.cards > .empty-panel { grid-column: 1 / -1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-feature .card-link { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--bg-2); }
.card-body { padding: 16px 20px 20px; }
.card-cat { color: var(--accent); font-size: 13px; font-weight: 700; }
.card h3 { margin-top: 6px; font-size: 18px; line-height: 1.6; color: #f1f7f5; }
.card-body > p:not(.card-cat):not(.card-meta) { margin-top: 8px; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 12px; color: var(--faint); font-size: 13px; }
.empty { color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--muted); }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }

.article-col { width: min(66ch, calc(100% - 48px)); }
.is-mag .post { padding-top: 20px; }
.is-mag .post-head { padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-head { max-width: none; }
.post-head .kicker a { text-decoration: none; }
.post-head h1 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.5; font-weight: 700; color: #f4faf8; text-wrap: balance; }
.post-head .lead { margin-top: 12px; max-width: none; color: var(--muted); font-size: 17px; line-height: 1.85; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; color: var(--faint); font-size: 14px; }
.post-meta span + span::before { content: "·"; margin-inline-end: 16px; }
.post > .post-fig { margin: 32px 0 0; }
.post-fig { margin: 32px 0; }
.post-fig img { display: block; width: min(100%, 480px); max-height: 270px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; margin-inline: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.prose svg, .post svg { direction: ltr; max-width: 520px; height: auto; display: block; margin-inline: auto; }
.post-fig figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.post-layout { display: block; margin-top: 8px; }
.toc { position: static; margin: 0 0 28px; padding: 2px 16px; border: 0; border-inline-start: 2px solid var(--accent); border-radius: 0; background: transparent; }
.toc-title { font-weight: 700; color: #f1f7f5; }
.toc ol { margin: 12px 0 0; padding-inline-start: 20px; display: grid; gap: 8px; font-size: 14px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { max-width: none; color: #d7e6e1; font-size: 18px; line-height: 2; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.6em 0 0.75em; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: #f4faf8; font-size: 22px; line-height: 1.5; scroll-margin-top: 88px; }
.prose h3 { margin: 1.8em 0 0.5em; color: #f4faf8; font-size: 18px; }
.prose p { margin: 0 0 1.35em; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 24px; }
.prose li { margin-bottom: 8px; }
.prose ol, .toc ol { list-style: persian; }
.prose li::marker { color: var(--accent); }
.prose strong { color: #f1f7f5; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-2); font-size: 0.9em; direction: ltr; unicode-bidi: isolate; }
.prose a { text-underline-offset: 4px; }
.callout { margin: 24px 0; padding: 16px 20px; border-inline-start: 4px solid var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, var(--bg-2)); }
.callout p { margin: 0; }
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--bg-2); color: #f1f7f5; }
.prose tr:last-child td { border-bottom: 0; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0; padding: 20px 24px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-2)); }
.post-cta p { margin: 0; max-width: 46ch; }
.post-faq { margin-top: 48px; }
.post-faq .faq { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 12px; border-radius: 99px; background: var(--bg-2); color: var(--muted); font-size: 13px; }
.disclaimer { margin-top: 32px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--faint); font-size: 14px; line-height: 1.9; }
.related { margin-top: 72px; }
.related h2 { margin-bottom: 24px; font-size: 26px; color: #f1f7f5; }
.related .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preview-bar { position: static; margin: 16px auto 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, #e8c36a 14%, #121a1e); color: #e8c36a; font-size: 14px; font-weight: 600; text-align: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.latest { margin-top: 8px; }

/* auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px; border-inline-end: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg) 60%); }
.auth-aside h2 { max-width: 18ch; font-size: clamp(26px, 3vw, 38px); line-height: 1.45; color: #f1f7f5; }
.auth-points { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); }
.auth-points li::before { content: "✓"; margin-inline-end: 10px; color: var(--accent); font-weight: 700; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 28px; font-weight: 700; color: #f1f7f5; }
.auth-card .sub { margin-top: 8px; color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 32px; }
.field { display: grid; gap: 8px; }
.field > span { color: var(--ink); font-size: 14px; font-weight: 600; }
.input-row { position: relative; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  color: #f1f7f5;
  font: inherit;
  font-size: 17px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.input::placeholder { color: var(--faint); }
.input:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input[aria-invalid="true"] { border-color: var(--down); }
.input-ltr { direction: ltr; text-align: left; letter-spacing: 0.04em; }
.input-row .input { padding-left: 88px; }
.peek { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 4px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.peek:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.hint { min-height: 1.5em; color: var(--muted); font-size: 13px; }
.hint:empty { display: none; }
.err { min-height: 1.6em; color: var(--down); font-size: 14px; font-weight: 600; }
.form .btn { width: 100%; min-height: 52px; font-size: 17px; }
.auth-note { margin-top: 24px; padding: 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: none; }

@media (max-width: 1100px) {
  .related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
}
@media (max-width: 980px) {
  .features, .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-home { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-nav a:not(.btn) { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-num { font-size: 20px; }
  .features, .sources, .cards, .related .cards, .cat-grid, .card-stack .card-link { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 22px; }
  .board, .cta-band { padding: 20px; }
  .brand small { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
