/* ottob.it — one stylesheet for every page.
   Synthwave on near-black, like the old Elementor site: pink #f12184 from its Ko-fi button,
   pixel font for titles and labels only (it is hard to read in running text). */

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/press-start-2p.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;
}

:root {
  --bg: #0d0b14;
  --surface: #17131f;
  --surface-2: #211b2c;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e9e6f0;
  --muted: #a7a2b5;
  --pink: #f12184;
  --pink-hover: #ff4a9e;
  --cyan: #2de2e6;
  --yellow: #ffd319;
  --ok: #3ddc84;
  --error: #ff6b6b;

  --pixel: "Press Start 2P", ui-monospace, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --container: 1120px;
  --prose: 720px;
  --gutter: 20px;
  --header-h: 72px;
  --glow: 0 0 24px rgba(241, 33, 132, 0.45);
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

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

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
h1, h2, h3, h4 { margin: 0 0 0.75em; color: #fff; line-height: 1.3; }
strong { color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: 0.02em; }
.pixelated { image-rendering: pixelated; }

.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: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff; color: #000;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(13, 11, 20, 0.92);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 100%; }

.logo { display: block; flex: none; }
.logo img { width: 124px; height: 30px; image-rendering: pixelated; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { color: var(--pink); }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.nav-toggle .icon-close,
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(13, 11, 20, 0.97);
    box-shadow: 0 1px 0 var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.2s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 20px; align-self: flex-start; }
}

/* ---------- buttons, badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--pixel);
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-hover); color: #fff; box-shadow: var(--glow); }
.btn--ghost { border-color: var(--line); color: #fff; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--small { padding: 9px 14px; font-size: 10px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stores a { display: block; border-radius: 8px; transition: transform 0.2s; }
.stores a:hover { transform: translateY(-2px); }
.stores a.btn { display: inline-flex; }
.stores img { width: auto; height: 48px; }
/* the Google Play artwork has its own transparent margin */
.stores .badge-play { height: 70px; margin: -11px -10px; }

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

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* darkens the photo and fades it into the page */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 11, 20, 0.55) 0%, rgba(13, 11, 20, var(--hero-shade, 0.35)) 60%, var(--bg) 100%);
}
.hero h1 { font-family: var(--pixel); font-size: clamp(22px, 4vw, 40px); text-shadow: 0 0 18px rgba(241, 33, 132, 0.7); }
.hero__sub { max-width: 560px; margin: 0 auto; color: var(--text); font-size: 18px; }

/* CRT lines over a hero */
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/scanline.png);
  opacity: 0.18;
}

/* home: the whole first screen is an arcade monitor in attract mode, all CSS (no image).
   Layers inside .crt__screen: text (blink with phosphor afterglow > glow + flicker, red/cyan
   copies for the RGB drift), credit line, noise, rolling refresh bar, then ::before scanlines
   and ::after vignette (the tube's darker edges). */
.crt { position: relative; height: 100vh; height: 100svh; min-height: 420px; }
.crt__screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: radial-gradient(ellipse at 50% 50%, #0d1b1e 0%, #060c0e 55%, #020404 100%);
  color: #eaffff;
  text-decoration: none;
  cursor: pointer;
}
.crt__screen:focus-visible { outline-offset: -6px; }

/* scanlines */
.crt__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 3px);
}
/* edges of the tube: darker corners */
.crt__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
}

.crt__text {
  position: relative;
  z-index: 1;
  font-family: var(--pixel);
  font-size: clamp(18px, 7vw, 120px);
  font-size: min(4.6cqi, 9svh);
  line-height: 1;
  white-space: nowrap;
}
@media (max-aspect-ratio: 1 / 1) { .crt__text { font-size: 6cqi; } }
.crt__text > span {
  position: relative;
  display: block;
  text-shadow:
    0 0 0.04em #fff,
    0 0 0.15em rgba(160, 255, 255, 0.9),
    0 0 0.4em rgba(45, 226, 230, 0.7),
    0 0 0.9em rgba(45, 226, 230, 0.4);
}
/* RGB drift: a red and a cyan copy, slightly off, added on top */
.crt__text > span::before,
.crt__text > span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  text-shadow: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}
.crt__text > span::before { color: #ff2a4d; transform: translateX(-0.035em); }
.crt__text > span::after { color: #1ae0ff; transform: translateX(0.035em); }

.crt__credit {
  position: absolute;
  bottom: calc(14% + 40px);
  z-index: 1;
  font-family: var(--pixel);
  font-size: max(10px, min(1.2cqi, 2.4svh));
  color: #bff;
  text-shadow: 0 0 0.3em rgba(45, 226, 230, 0.8);
}

.crt__noise {
  position: absolute;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.crt__roll {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(160, 255, 255, 0.045) 50%, transparent);
  transform: translateY(-100%);
}

/* WebGL (assets/js/crt.js): the canvas draws everything, the CSS layers step aside */
.crt__gl { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.crt--gl .crt__text,
.crt--gl .crt__credit,
.crt--gl .crt__noise,
.crt--gl .crt__roll,
.crt--gl .crt__screen::before,
.crt--gl .crt__screen::after { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .crt__text { animation: coin-blink 3.2s infinite; }
  .crt__text > span { animation: glow 3.1s ease-in-out infinite, flicker 4.7s linear infinite; }
  .crt__text > span::before { animation: drift-red 5.3s steps(1) infinite; }
  .crt__text > span::after { animation: drift-cyan 5.3s steps(1) infinite; }
  .crt__noise { animation: noise 0.6s steps(4) infinite; }
  .crt__roll { animation: roll 7s linear infinite; }
}
/* arcade attract mode: the beam switches off in a few ms, then what is left on the phosphors
   fades slowly and spreads a little; switching on is instant. */
@keyframes coin-blink {
  0%, 64% { opacity: 1; filter: none; animation-timing-function: linear; }
  65% { opacity: 0.32; filter: blur(0.015em); animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1); }
  99.4% { opacity: 0.06; filter: blur(0.04em); animation-timing-function: steps(1, end); }
  100% { opacity: 1; filter: none; }
}
@keyframes glow {
  50% {
    text-shadow:
      0 0 0.05em #fff,
      0 0 0.2em rgba(160, 255, 255, 1),
      0 0 0.55em rgba(45, 226, 230, 0.85),
      0 0 1.2em rgba(45, 226, 230, 0.55);
  }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  8% { opacity: 0.93; }
  9% { opacity: 1; }
  31% { opacity: 0.96; }
  32% { opacity: 0.8; }
  33% { opacity: 1; }
  58% { opacity: 0.94; }
  77% { opacity: 1; }
  78% { opacity: 0.86; }
  80% { opacity: 1; }
}
/* mostly a steady fringe, now and then a short glitch */
@keyframes drift-red {
  0% { transform: translateX(-0.035em); }
  41% { transform: translate(-0.09em, 0.02em); }
  43% { transform: translateX(-0.035em); }
  86% { transform: translate(-0.06em, -0.015em); }
  87% { transform: translateX(-0.035em); }
}
@keyframes drift-cyan {
  0% { transform: translateX(0.035em); }
  41% { transform: translate(0.08em, -0.02em); }
  43% { transform: translateX(0.035em); }
  86% { transform: translate(0.05em, 0.015em); }
  87% { transform: translateX(0.035em); }
}
@keyframes noise {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-7%, 4%); }
  50% { transform: translate(5%, -6%); }
  75% { transform: translate(-3%, -8%); }
}
@keyframes roll {
  to { transform: translateY(560%); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-hint svg { width: 14px; height: 14px; margin: 10px auto 0; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint svg { animation: bob 1.6s ease-in-out infinite; }
}
@keyframes bob { 50% { transform: translateY(5px); } }

/* game page: animated title over the synthwave sun */
.hero--game { min-height: 82vh; --hero-shade: 0.15; }
.game-title { position: relative; width: min(480px, 86vw); margin: 0 auto 36px; aspect-ratio: 2 / 1; }
.game-title img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.game-title .shadow { opacity: 0.85; }
.hero--game .stores { justify-content: center; }

/* ---------- sections ---------- */

.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); }
.section-title {
  margin-bottom: 36px;
  font-family: var(--pixel);
  font-size: clamp(16px, 2.4vw, 22px);
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--pink);
  box-shadow: var(--glow);
}
.lead { max-width: 640px; margin: 0 auto 2em; color: var(--muted); text-align: center; }

/* game card (home and /games/) */
.game-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 32px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.game-card + .game-card { margin-top: 32px; }
/* --icon-glow: set per card to match the icon's border */
.game-card__icon img { width: 180px; border-radius: 22%; box-shadow: 0 0 40px var(--icon-glow, rgba(45, 226, 230, 0.25)); }
.game-card h2,
.game-card h3 { margin-bottom: 0.6em; font-family: var(--pixel); font-size: 17px; line-height: 1.5; }
.game-card h2 a,
.game-card h3 a { color: #fff; text-decoration: none; }
.game-card h2 a:hover,
.game-card h3 a:hover { color: var(--pink); }
.game-card p { color: var(--muted); }
.game-card .actions { margin-top: 20px; }
@media (max-width: 767px) {
  .game-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; text-align: center; }
  .game-card__icon img { width: 128px; margin: 0 auto; }
  .game-card .actions,
  .game-card .stores { justify-content: center; }
}

/* about OTTOBIT (home) */
.about { max-width: 720px; margin: 0 auto; text-align: center; font-size: 19px; }
.about em { color: var(--yellow); font-style: normal; }
.about .actions { justify-content: center; margin-top: 28px; }

/* split: media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--icon { grid-template-columns: 220px 1fr; max-width: 880px; margin: 0 auto; }
.split--icon img { width: 220px; border-radius: 22%; box-shadow: 0 0 40px rgba(45, 226, 230, 0.25); }
@media (max-width: 767px) {
  .split,
  .split--icon { grid-template-columns: 1fr; gap: 32px; }
  .split--icon img { width: 140px; margin: 0 auto; }
}

.features { margin: 0; padding: 0; list-style: none; }
.features li { padding-left: 1.6em; text-indent: -1.6em; }
.features li::before { content: "★"; display: inline-block; width: 1.6em; text-indent: 0; color: var(--yellow); }

/* screenshots: a row of phones, scrolls sideways on small screens */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.shots li { scroll-snap-align: start; }
.shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.shots a:hover { transform: translateY(-3px); box-shadow: var(--glow); }
@media (max-width: 767px) {
  .shots { grid-auto-columns: 62%; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
}

/* the photo has its own grey backdrop: fade its edges into the page */
.phone-band { overflow: hidden; }
.phone-band img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
}

/* ---------- press kit ---------- */

.presskit { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
@media (max-width: 1024px) { .presskit { grid-template-columns: 1fr; gap: 40px; } }

.factsheet {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 1024px) { .factsheet { position: static; } }
.factsheet dl { margin: 0; }
.factsheet dt { margin-top: 18px; color: var(--muted); font-family: var(--pixel); font-size: 9px; text-transform: uppercase; }
.factsheet dt:first-child { margin-top: 0; }
.factsheet dd { margin: 6px 0 0; }

.presskit h2 { margin-top: 2.2em; font-family: var(--pixel); font-size: 15px; }
.presskit h2:first-child { margin-top: 0; }
.presskit h3 { margin-top: 1.6em; font-size: 18px; }

.stack { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.stack a { display: block; padding: 12px; background: #fff; border-radius: var(--radius); }
.stack img { width: 64px; height: 64px; object-fit: contain; }

.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.downloads--shots { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 767px) { .downloads, .downloads--shots { grid-template-columns: repeat(2, 1fr); } }
.downloads li { display: flex; flex-direction: column; gap: 10px; }
.downloads .thumb { display: grid; place-items: center; aspect-ratio: 1; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.downloads .thumb img { max-height: 100%; width: auto; }
.downloads--shots .thumb { aspect-ratio: auto; padding: 0; overflow: hidden; }
.downloads--shots .thumb img { width: 100%; }
.downloads a.file { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.downloads a.file svg { width: 14px; height: 14px; fill: currentColor; }

.credits { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.credits dt { color: var(--muted); }
.credits dd { margin: 0; }

/* ---------- contact ---------- */

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; max-width: 960px; margin: 0 auto; }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; gap: 32px; } }

.form-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 767px) { .form-card { padding: 24px 20px; } }
.form { display: grid; gap: 18px; }
.form label { display: block; margin-bottom: 6px; color: var(--muted); font-family: var(--pixel); font-size: 9px; text-transform: uppercase; }
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* below 16px iOS zooms the page on focus */
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.2); }
.form textarea { resize: vertical; min-height: 150px; }
.form .hp { position: absolute; left: -9999px; }
.form .note { margin: 0; color: var(--muted); font-size: 14px; }
.form .actions { justify-content: space-between; }
.form-status { min-height: 1.6em; margin: 0; font-size: 15px; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }

.contact-aside h2 { font-family: var(--pixel); font-size: 13px; }
.contact-aside p { color: var(--muted); }
.contact-aside .mail { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.contact-aside .mail svg { width: 18px; height: 18px; fill: currentColor; }
.contact-aside .socials { margin-top: 24px; }

/* ---------- legal pages ---------- */

.page-head { padding: calc(var(--header-h) + 56px) 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-family: var(--pixel); font-size: clamp(18px, 3vw, 28px); line-height: 1.5; }
.page-head p { margin: 16px 0 0; color: var(--muted); }

.prose { max-width: var(--prose); margin: 0 auto; }
.prose h2 { margin-top: 2em; font-size: 22px; }
.prose h3 { margin-top: 1.6em; font-size: 18px; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose .caps { font-size: 15px; }

/* ---------- 404 ---------- */

.hero--over h1 { color: var(--pink); font-size: clamp(28px, 6vw, 56px); }
.hero--over .actions { justify-content: center; margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .blink { animation: blink 1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

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

.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }
.legal { margin: 0; }
.socials { display: flex; align-items: center; gap: 18px; }
.socials a { color: var(--text); }
.socials a:hover { color: var(--pink); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer .socials { grid-row: span 2; justify-self: end; }
@media (max-width: 767px) {
  .site-footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer-links,
  .site-footer .socials { justify-content: center; justify-self: center; }
  .site-footer .socials { grid-row: auto; }
}
