/* ==========================================================================
   Game Verse - "dark cosmic arcade"
   Deep-space off-black, one amber accent taken from the real GameVerse
   wordmark, orbit and starfield motifs. Games are worlds you travel to.

   Locked systems (never forked per section):
     THEME   dark only, page-wide. No section inverts.
     ACCENT  --accent (#f4aa1c) is the ONLY accent on the site.
     RADIUS  buttons = pill (--r-pill), cards/surfaces = --r-card, inputs = --r-input
   ========================================================================== */

:root {
  /* palette - off-black, never #000 */
  --bg: #07070c;
  --bg-deep: #05050a;
  --surface: #0f0f18;
  --surface-2: #16161f;
  --accent: #f4aa1c;
  --accent-soft: #ffc857;
  --accent-dim: rgba(244, 170, 28, 0.14);
  --text: #f3f1ea;
  --muted: #9c9cb0;
  --border: #23232f;
  --border-soft: #1a1a25;

  /* one radius system */
  --r-pill: 999px;
  --r-card: 14px;
  --r-input: 10px;

  --header-h: 72px;
  --font-display: 'Space Grotesk', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Manrope', 'Avenir Next', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* starfield: fixed and pointer-events-none, never on a scrolling container */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 12%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 62%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 32% 78%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 46%, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(900px 600px at 78% -10%, rgba(244, 170, 28, 0.07), transparent 70%);
}

main, footer, .site-header, .site-nav { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.8rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.35rem); }

p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }
img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.container { width: min(1240px, 92vw); margin-inline: auto; }
.container-narrow { width: min(760px, 92vw); margin-inline: auto; }

.section { padding: clamp(3.8rem, 8vw, 7rem) 0; }
.section-head { margin-bottom: 2.8rem; max-width: 62ch; }
.section-head p { font-size: 1.04rem; }

.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(1.8rem, 3.5vw, 2.8rem);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero p { font-size: 1.05rem; }

/* ---------- buttons (pill, single accent) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-primary { background: var(--accent); color: #07070c; }
.btn-primary:hover { background: var(--accent-soft); color: #07070c; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn:active { transform: translateY(1px); }

/* ---------- header + nav (single line at desktop, 72px tall) ---------- */

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  direction: ltr;
  z-index: 900;
  display: flex;
  align-items: center;
  background: rgba(7, 7, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 28px; width: auto; display: block; }

.site-nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.site-nav-desktop a:not(.btn),
.site-nav a:not(.btn) {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.82;
  transition: opacity 0.18s var(--ease), color 0.18s var(--ease);
}
.site-nav-desktop a:not(.btn):hover,
.site-nav a:not(.btn):hover { opacity: 1; color: var(--accent); }
.site-nav-desktop a.is-active,
.site-nav a.is-active { color: var(--accent); opacity: 1; }

.burger { display: none; cursor: pointer; padding: 0.4rem; }
.burger span {
  display: block;
  width: 22px; height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-nav { display: none; }

.lang-switcher { display: inline-flex; gap: 0.5rem; align-items: center; }
.lang-switcher a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lang-switcher a.is-active { color: var(--accent); }

@media (max-width: 980px) {
  .burger { display: block; }
  .site-nav-desktop { display: none; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.2rem 4vw 1.6rem;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.25s var(--ease), visibility 0.25s var(--ease);
  }
  .site-nav a:not(.btn), .site-nav .lang-switcher { padding: 0.6rem 0; }
  .site-nav .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- home hero: asymmetric split ---------- */

/* 88dvh rather than a full viewport: the hero still owns the fold, but the next
   section peeks above it instead of leaving dead space under the CTA. */
.hero {
  min-height: min(88dvh, 780px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
/* Hero headline is capped at 2 lines on desktop, so it runs a step smaller
   than the section h2 scale. Both locales were measured at this size. */
.hero h1 { margin-bottom: 1.1rem; font-size: clamp(2.05rem, 3.3vw, 2.85rem); }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.01rem, 1.35vw, 1.13rem); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }

.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  /* The portal sits in the middle of a wide 1000x440 source, so crop to a
     squarer box and cover: that fills the column with the portal itself
     instead of the empty space around it. */
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transform: scale(1.06);
  /* the art is a portal on black, so blend its edges into the page */
  -webkit-mask-image: radial-gradient(68% 68% at 50% 50%, #000 56%, transparent 100%);
  mask-image: radial-gradient(68% 68% at 50% 50%, #000 56%, transparent 100%);
}
/* An ellipse ring over the portal. Rotating it reads as an orbit, and keeping
   it inset-based means it tracks the image box at every viewport width. */
.hero-art::after {
  content: '';
  position: absolute;
  inset: 16% 12%;
  border-radius: 50%;
  border: 1px solid rgba(244, 170, 28, 0.22);
  animation: orbit 26s linear infinite;
  pointer-events: none;
}
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- showcase: scroll-snap world rail ---------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 30%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }
.world {
  scroll-snap-align: start;
  position: relative;
  min-height: 225px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(244, 170, 28, 0.12), transparent 62%),
    var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.world:hover { border-color: rgba(244, 170, 28, 0.5); transform: translateY(-3px); }
.world h3 { margin-bottom: 0.3rem; }
.world p { margin: 0; font-size: 0.92rem; }
.world-art {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--r-card) - 6px);
  display: block;
  margin-bottom: 0.9rem;
}

.access { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.4rem; }
.access-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.access-card img { width: 32px; height: 32px; flex: none; }
.access-card h3 { margin-bottom: 0.25rem; }
.access-card p { margin: 0; font-size: 0.93rem; }
@media (max-width: 720px) { .access { grid-template-columns: 1fr; } }

/* ---------- why-us: hairline grid, no card boxes ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-soft);
}
.reason { padding: 2rem 1.8rem 2rem 0; border-bottom: 1px solid var(--border-soft); }
.reason:not(:nth-child(3n)) { border-right: 1px solid var(--border-soft); }
.reason:not(:nth-child(3n + 1)) { padding-left: 1.8rem; }
.reason h3 { font-size: 1.06rem; margin-bottom: 0.4rem; }
.reason p { margin: 0; font-size: 0.94rem; }
.reason-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
@media (max-width: 900px) {
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason:not(:nth-child(3n)) { border-right: 0; padding: 1.6rem 0; }
  .reason:not(:nth-child(3n + 1)) { padding-left: 0; }
}

/* ---------- features: bento, mixed cell sizes, 6 items = 6 cells ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile {
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tile:hover { border-color: rgba(244, 170, 28, 0.42); transform: translateY(-3px); }
.tile h3 { margin-bottom: 0.4rem; }
.tile p { margin: 0; font-size: 0.94rem; }
.tile-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 1rem; display: block; }

.tile:nth-child(1) { grid-column: span 3; }
.tile:nth-child(2) { grid-column: span 3; }
.tile:nth-child(3) { grid-column: span 2; }
.tile:nth-child(4) { grid-column: span 2; }
.tile:nth-child(5) { grid-column: span 2; }
.tile:nth-child(6) { grid-column: span 6; }

/* visual variation so the grid is not six flat text cards */
.tile:nth-child(1) {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(244, 170, 28, 0.16), transparent 60%),
    var(--surface);
}
.tile:nth-child(6) {
  background:
    radial-gradient(70% 220% at 12% 50%, rgba(244, 170, 28, 0.13), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: span 1; }
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.6rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 0 1.4rem;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: rgba(244, 170, 28, 0.42); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.2rem; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { padding: 0 0 1.3rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- pricing ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.step-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.04rem; }
.step p { margin: 0; font-size: 0.93rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1.2rem; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(244, 170, 28, 0.1), transparent 62%),
    var(--surface);
}
.price-op { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--text); margin-bottom: 1.1rem; }
.price-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.price-freq { margin: 0.35rem 0 1.1rem; font-size: 0.94rem; }
.price-meta { margin: 0 0 1.3rem; font-size: 0.89rem; }
.price-card .btn { margin-top: auto; }

.optout-box { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); padding: 1.8rem; }
.optout-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.optout-line:last-child { border-bottom: 0; }
.optout-op { font-family: var(--font-display); font-weight: 700; min-width: 88px; }
.optout-kw {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(244, 170, 28, 0.3);
  border-radius: var(--r-input);
  padding: 0.35rem 0.7rem;
}
.optout-dest { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.optout-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.optout-notes p { margin: 0; font-size: 0.9rem; }
@media (max-width: 760px) { .optout-notes { grid-template-columns: 1fr; } }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.bullets li { position: relative; padding-left: 1.6rem; color: var(--muted); line-height: 1.7; }
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- about ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value { padding: 1.8rem; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.value-icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 1rem; display: block; }
.value h3 { font-size: 1.06rem; }
.value p { margin: 0; font-size: 0.94rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

.vision {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(244, 170, 28, 0.12), transparent 62%),
    var(--surface);
}
.vision p:last-child { margin-bottom: 0; }

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

.care-block {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 1.8rem;
  margin-bottom: 1.4rem;
}
.care-block h2 { font-size: 1.38rem; }
.care-block p:last-child { margin-bottom: 0; }

.contact-form,
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.form-card.narrow { width: min(560px, 100%); margin-inline: auto; }

/* ---------- form CSS (shared by contact + signin) ---------- */

.form-group { margin-bottom: 1.1rem; }
.contact-form h3,
.form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.signin-card button,
.form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.error-msg { display: none; color: #ff6a5c; font-size: 0.82rem; margin-top: 0.3rem; }
.form-success { display: none; color: var(--accent); font-weight: 600; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }
.errorMsg { display: none; color: #ff6a5c; font-size: 0.82rem; margin-top: 0.3rem; }
.successMsg { display: none; color: var(--accent); font-weight: 600; margin-top: 1rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-input);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.18s var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8a8a9e; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; }

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

.not-found {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}
.big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: clamp(3rem, 6vw, 4.2rem) 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.93rem; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 1rem;
  font-family: var(--font-display);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-entity { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border-soft); }
.footer-entity p { font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-version { font-size: 0.72rem; opacity: 0.45; margin: 1.2rem 0 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

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

.legals-wrap { padding: 3.5rem 0; }
.legals { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; }
.legals h6 {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 2rem 0 0.5rem;
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; }
.legals ul { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; }

/* the partial already sits below this page's own hero, so drop its header offset */
.legals-wrap .legals { padding-top: 0; padding-bottom: 0; }

/* ---------- scroll reveals (gated on html.js, content never hidden without JS) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
