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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: #F4F4F6;
  color: #121C2D;
  font-family: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #EDEEF2;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

body {
  position: relative;
  overflow-x: hidden;
}

.glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(720px 560px at 90% 8%, rgba(0,109,250,0.26), transparent 60%),
    radial-gradient(560px 480px at 8% 36%, rgba(46,155,255,0.18), transparent 62%),
    radial-gradient(640px 520px at 94% 78%, rgba(0,109,250,0.14), transparent 60%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px 120px;
}

/* Always visible without JS / before reveal: crawlers and citation scrapers must see body text */
.reveal {
  opacity: 1;
  transform: none;
}
/* JS may enhance motion only; never leave content invisible if .is-in never fires */
html.js .reveal {
  transition:
    opacity .55s cubic-bezier(.22,.61,.36,1),
    transform .55s cubic-bezier(.22,.61,.36,1);
  opacity: 1;
  transform: none;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px;
  border-bottom: 1px solid #E1E3EA;
}

.nav__mark {
  height: 22px;
  width: auto;
  display: block;
}

.nav__meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006DFA;
}

.nav__back {
  font-size: 14px;
  font-weight: 600;
  color: #006DFA;
}
.nav__back:hover { color: #0050C8; }

.hero {
  padding: 52px 0 40px;
}

.hero__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #121C2D;
  max-width: 14ch;
}

.feed {
  display: flex;
  flex-direction: column;
}

.entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid #E1E3EA;
}

.entry:last-child {
  border-bottom: 1px solid #E1E3EA;
}

.meta {
  padding-top: 6px;
}

.meta time {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #8B93AA;
}

.version {
  display: inline-block;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0055CC;
  background: rgba(0,109,250,0.08);
  border: 1px solid rgba(0,109,250,0.22);
  border-radius: 6px;
  padding: 3px 8px;
  line-height: 1.3;
}

.body { min-width: 0; }

.headline {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.8vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #121C2D;
}

.headline a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size .25s ease, color .18s ease;
}

.headline a:hover {
  color: #006DFA;
  background-size: 100% 2px;
}

.kind {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #006DFA;
}

/* detail */
.detail-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid #E1E3EA;
}

.shot {
  margin: 28px 0 0;
  padding: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #E1E3EA;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 22, 33, 0.08);
}

.shot figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #8B93AA;
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}

.detail-hero__meta time {
  font-size: 14px;
  font-weight: 500;
  color: #8B93AA;
}

.detail-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #121C2D;
  max-width: 22ch;
}

/* Self-sufficient citeable lead: brand + what + for whom */
.lead {
  margin: 28px 0 0;
  max-width: 58ch;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #121C2D;
}

.docs {
  margin: 18px 0 0;
  max-width: 58ch;
}

.docs__label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8B93AA;
}

.docs a {
  color: #006DFA;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.docs a:hover { color: #0050C8; }

.docs__note {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #8B93AA;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 0 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006DFA;
}

.section p {
  margin: 0 0 10px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: #121C2D;
}

.section p:last-child { margin-bottom: 0; }

.section ul {
  margin: 0;
  padding: 0 0 0 1.15em;
  max-width: 58ch;
}

.section li {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  color: #121C2D;
}

.section li:last-child { margin-bottom: 0; }

.section a.inline,
.section li a {
  color: #006DFA;
  font-weight: 600;
}
.section a.inline:hover,
.section li a:hover { color: #0050C8; }

.footer {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8B93AA;
  font-size: 14px;
}

.footer a {
  color: #006DFA;
  font-weight: 600;
}

.footer a:hover { color: #0050C8; }

/* topics / tag cloud */
.topics {
  margin-top: 48px;
  padding: 18px 20px 20px;
  background: #EDEEF2;
  border: 1px solid #E1E3EA;
  border-radius: 12px;
}

.topics__label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8B93AA;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #8B93AA;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a.tag:hover {
  color: #006DFA;
  background: #fff;
  border-color: rgba(0, 109, 250, 0.22);
}

@media (max-width: 700px) {
  .page { padding: 0 20px 80px; }
  .hero { padding: 36px 0 28px; }
  .hero__title { max-width: none; }
  .entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .meta { padding-top: 0; display: flex; align-items: center; gap: 12px; }
  .meta time { display: inline; }
  .version { margin-top: 0; }
  .headline { font-size: 24px; }
  .detail-hero h1 { max-width: none; }
  .footer { flex-direction: column; align-items: flex-start; }
}
