/* Online Game Hoard — site styles (premium dark theme) */
:root {
  --bg: #07060f;
  --bg-2: #0c0a1a;
  --surface: rgb(255 255 255 / 4%);
  --surface-2: rgb(255 255 255 / 7%);
  --surface-solid: #12101f;
  --border: rgb(255 255 255 / 9%);
  --border-strong: rgb(255 255 255 / 16%);
  --text: #f5f3ff;
  --muted: #a6a3c2;
  --faint: #7d7a9b;
  --brand: #8b6cff;
  --brand-2: #ff5fcf;
  --accent: #ffb547;
  --gradient: linear-gradient(120deg, #8b6cff 0%, #ff5fcf 55%, #ffb547 100%);
  --brand-ink: #ffffff;
  --header-bg: rgb(7 6 15 / 72%);
  --header-text: #f5f3ff;
  --focus: #ffb547;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 20px 40px -24px rgb(0 0 0 / 80%);
  --glow: 0 10px 40px -10px rgb(139 108 255 / 55%);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  font: 400 1rem/1.7 var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 520px at 12% -8%, rgb(139 108 255 / 22%), transparent 65%),
    radial-gradient(760px 480px at 92% 2%, rgb(255 95 207 / 14%), transparent 65%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

img, svg, canvas { max-width: 100%; }
img { height: auto; display: block; }

a { color: #b9a8ff; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw + 0.4rem, 4rem); margin: 0 0 0.45em; }
h2 { font-size: clamp(1.45rem, 2vw + 0.7rem, 2.1rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.12rem; margin: 1.3em 0 0.4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

::selection { background: rgb(139 108 255 / 45%); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 28px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--focus); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gradient);
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 700; line-height: 1; letter-spacing: -0.005em;
  padding: 0.95em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gradient); background-size: 140% 100%; background-position: 0 0;
  color: var(--brand-ink); text-decoration: none; box-shadow: var(--glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.4s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 14px 44px -10px rgb(255 95 207 / 55%); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%); }
.btn-small { padding: 0.6em 1.05em; font-size: 0.9rem; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); color: var(--header-text);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.logo:hover { color: inherit; }
.logo img { border-radius: 10px; box-shadow: 0 6px 20px -6px rgb(139 108 255 / 70%); }
.logo b { font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.site-nav a {
  display: block; padding: 8px 16px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.94rem;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: inherit; cursor: pointer; padding: 13px 11px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle .bar { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 719px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0; background: rgb(10 9 22 / 96%);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    padding: 10px 16px 18px; display: none; box-shadow: 0 24px 40px rgb(0 0 0 / 50%);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; border: 0; background: none; padding: 0; }
  .site-nav a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
}

/* Hero */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { max-width: 14ch; margin-top: 18px; }
.hero .lead { font-size: clamp(1.05rem, 1vw + 0.8rem, 1.22rem); max-width: 50ch; color: var(--muted); margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.86rem; font-weight: 600; color: var(--muted);
}
.badge .dot { padding: 3px 10px; border-radius: 999px; background: var(--gradient); color: #fff; font-size: 0.75rem; font-weight: 800; }
.stats { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 5vw, 40px); list-style: none; padding: 0; margin: 40px 0 0; }
.stats li { display: grid; }
.stats b { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.stats span { color: var(--faint); font-size: 0.86rem; font-weight: 600; }

.showcase { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transform: rotate(-4deg); }
.showcase::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; filter: blur(60px); opacity: 0.55;
  background: var(--gradient); border-radius: 50%;
}
.showcase a {
  display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 85%); transition: transform 0.3s ease;
}
.showcase a:nth-child(2n) { transform: translateY(28px); }
.showcase a:hover { transform: translateY(-6px) scale(1.02); }
.showcase a:nth-child(2n):hover { transform: translateY(22px) scale(1.02); }
.showcase img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 959px) { .showcase { max-width: 560px; margin: 8px auto 24px; transform: rotate(-3deg); } }

.page-head { padding: 36px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4vw + 0.4rem, 3.2rem); margin-top: 12px; }
.page-head p.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin: 0; }

.section { padding: 40px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-title h2 { margin: 6px 0 0; }
.section-title > a { font-weight: 700; text-decoration: none; color: var(--muted); }
.section-title > a:hover { color: var(--text); }

/* Game grid */
.game-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.game-card[hidden] { display: none; }
.game-card-link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 10px;
  color: inherit; text-decoration: none; box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.game-card-link:hover { color: inherit; transform: translateY(-4px); border-color: rgb(139 108 255 / 55%); box-shadow: 0 24px 50px -20px rgb(139 108 255 / 45%); }
.game-card .thumb { position: relative; border-radius: 14px; overflow: hidden; }
.game-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s ease; }
.game-card-link:hover img { transform: scale(1.05); }
.game-card .play {
  position: absolute; right: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px;
  background: rgb(7 6 15 / 70%); backdrop-filter: blur(8px); border: 1px solid var(--border-strong);
  font-size: 0.82rem; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s;
}
.game-card-link:hover .play, .game-card-link:focus-visible .play { opacity: 1; transform: none; }
.game-card .meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 8px 4px; }
.game-card h2, .game-card h3 { margin: 0; font-size: 1.12rem; }
.game-card p { margin: 6px 8px 10px; color: var(--muted); font-size: 0.93rem; line-height: 1.6; flex: 1; }
.tag {
  flex: 0 0 auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filters[hidden] { display: none; }
.filters button {
  font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.filters button:hover { color: var(--text); border-color: var(--border-strong); }
.filters button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Feature list */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features li {
  position: relative; background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1.5%));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; overflow: hidden;
}
.features li::after {
  content: ""; position: absolute; inset: -1px -1px auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 25%), transparent);
}
.features h3 { margin: 18px 0 6px; }
.features p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.features .icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.35rem;
  background: rgb(139 108 255 / 14%); border: 1px solid rgb(139 108 255 / 30%);
}

/* Long-form content */
.prose { max-width: 76ch; }
.prose p, .prose li { color: #d8d5ee; }
.prose h2 { color: var(--text); }
.prose > h2:first-child, .prose .updated + h2 { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose .updated { display: inline-block; color: var(--muted); font-size: 0.88rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); }
.card {
  background: linear-gradient(180deg, rgb(255 255 255 / 4.5%), rgb(255 255 255 / 2%));
  border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; } }

.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(600px 300px at 100% 0%, rgb(255 95 207 / 30%), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgb(139 108 255 / 35%), transparent 60%), var(--surface-solid);
  border: 1px solid var(--border-strong);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); max-width: 52ch; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; font-size: 0.86rem; font-weight: 600; color: var(--faint); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

/* Game page */
.game-layout { display: grid; gap: 28px; padding: 18px 0 40px; }
@media (min-width: 1000px) { .game-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.game-head { margin-bottom: 18px; }
.game-head h1 { margin: 10px 0 4px; font-size: clamp(1.9rem, 3vw + 0.6rem, 2.8rem); }
.game-head p { margin: 0; color: var(--muted); max-width: 60ch; }

.game-shell {
  position: relative; isolation: isolate; border-radius: 24px; padding: 14px;
  background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 90%), 0 0 0 1px rgb(0 0 0 / 40%);
}
.game-shell::before {
  content: ""; position: absolute; inset: -40px 10% auto; height: 200px; z-index: -1;
  background: var(--gradient); filter: blur(80px); opacity: 0.18; border-radius: 50%; pointer-events: none;
}
.game-shell:fullscreen { background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 16px; border-radius: 0; }
.game-hud { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.game-hud .stat {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: rgb(0 0 0 / 30%); border: 1px solid var(--border); border-radius: 12px; padding: 6px 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
}
.game-hud .stat b { color: var(--text); font-size: 1.1rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.game-hud .spacer { flex: 1; }
.game-hud button {
  font: inherit; font-size: 0.86rem; font-weight: 700; cursor: pointer; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 7px 14px; min-height: 38px;
  transition: background 0.15s, border-color 0.15s;
}
.game-hud button:hover { background: rgb(255 255 255 / 12%); border-color: var(--border-strong); }
.game-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.game-canvas {
  display: block; margin-inline: auto; border-radius: 14px; touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; background: #000;
}
.game-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgb(30 22 70 / 78%), rgb(7 6 15 / 88%));
  color: #fff; border-radius: 14px; padding: 24px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: overlay-in 0.25s ease;
}
@keyframes overlay-in { from { opacity: 0; } }
.game-overlay[hidden] { display: none; }
.game-overlay h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.game-overlay p { margin: 0 0 22px; max-width: 34ch; color: #d4d0f2; }
.noscript-note { padding: 24px; text-align: center; }

.game-info { display: grid; gap: 16px; }
@media (min-width: 1000px) { .game-info { position: sticky; top: 94px; } }
.game-info .card { padding: 22px; }
.game-info h2 { margin: 0 0 14px; font-size: 1.05rem; letter-spacing: -0.01em; }
.controls-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.controls-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 0.93rem; color: #d8d5ee; }
.controls-list .keys {
  flex: 0 0 auto; font-weight: 700; font-size: 0.8rem; color: var(--text);
  background: rgb(0 0 0 / 35%); border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 8px; padding: 2px 9px;
}
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-list a {
  display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.95rem;
  padding: 6px; margin: -6px; border-radius: 12px; transition: background 0.15s;
}
.side-list a:hover { background: var(--surface-2); }
.side-list img { width: 76px; border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--border); }
.faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; }

/* D-pad for touch play */
.dpad { display: grid; grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(2, 54px); gap: 8px; justify-content: center; }
.dpad button {
  border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface-2); color: var(--text);
  font-size: 1.2rem; cursor: pointer; touch-action: manipulation; user-select: none;
}
.dpad button:active { background: var(--brand); border-color: var(--brand); }
.dpad [data-dir="up"] { grid-column: 2; grid-row: 1; }
.dpad [data-dir="left"] { grid-column: 1; grid-row: 2; }
.dpad [data-dir="down"] { grid-column: 2; grid-row: 2; }
.dpad [data-dir="right"] { grid-column: 3; grid-row: 2; }
@media (hover: hover) and (pointer: fine) { .dpad { display: none; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: 0.9rem; color: #d8d5ee; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 500; color: var(--text); background: rgb(0 0 0 / 30%);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(139 108 255 / 22%); }
.form select option { background: var(--surface-solid); }
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .note { margin: 0; color: var(--faint); font-size: 0.88rem; }
.form-status { padding: 13px 16px; border-radius: 12px; font-weight: 700; margin: 0; }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgb(34 197 94 / 14%); color: #86efac; border: 1px solid rgb(34 197 94 / 35%); }
.form-status.err { background: rgb(239 68 68 / 14%); color: #fca5a5; border: 1px solid rgb(239 68 68 / 35%); }

.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; }
.contact-points .icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(139 108 255 / 14%); border: 1px solid rgb(139 108 255 / 30%); }
.contact-points h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-points p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Footer */
.site-footer { position: relative; margin-top: 72px; padding-bottom: env(safe-area-inset-bottom); background: rgb(0 0 0 / 35%); border-top: 1px solid var(--border); color: var(--muted); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgb(139 108 255 / 70%), rgb(255 95 207 / 70%), transparent); }
.footer-inner { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer .logo { color: var(--text); }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--text); }
.footer-brand p { margin: 14px 0 0; max-width: 36ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 20px; padding-bottom: 28px; font-size: 0.86rem; color: var(--faint); }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
