/* Legendary Phoenix — static site stylesheet */

/* ---------- Fonts (Red Hat Display, variable 300–900, self-hosted) ---------- */
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/redhatdisplay-5b6ac0ec.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/redhatdisplay-58cf70ed.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/redhatdisplay-93444957.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/redhatdisplay-e1f5a9ee.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #1B1B1B;
  --gray: #5B656F;
  --gray-light: #BDBDBD;
  --white: #FFFFFF;
  --heading: "Red Hat Display", sans-serif;
  --body: Helvetica, Arial, sans-serif;
  --max: 1140px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--heading); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; }
h1 strong { font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 500; color: var(--gray); }
p { margin: 0 0 1.2em; }
strong { color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (terms page) ---------- */
.header { padding: 26px 0 0; }
.header img { width: 170px; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 30px; text-align: center; }
.hero h1 { margin-bottom: .9em; }
.hero__tag { font-size: 1.05rem; color: var(--ink); margin: 0; }
.hero__tag strong { font-weight: 700; }

/* ---------- Article ---------- */
.article { padding: 96px 0; }
.article .container { max-width: 1200px; }
.article h1 { margin-bottom: 1.6em; }
.article h2 { margin-top: 2em; }
.article h3 { margin-top: 1.8em; }
.article ul { padding-left: 1.4em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }

/* ---------- Page hero (terms) ---------- */
.page-hero { padding: 110px 0 40px; text-align: center; }
.page-hero p { max-width: 560px; margin: 0 auto; }

/* Two-column disclaimer block, as on the live terms page */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; margin: 72px 0 0; }
@media (max-width: 800px) { .cols-2 { grid-template-columns: 1fr; } }

.legal { padding: 40px 0 96px; }
.legal .container { max-width: 1200px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-top: 1.8em; }
.legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 72px; margin-top: 40px; }
.footer__logo { width: 250px; margin-bottom: 40px; }
.footer hr { border: 0; border-top: 2px solid var(--white); margin: 0 0 28px; }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-family: var(--heading); font-weight: 700; font-size: .8rem; letter-spacing: .08em;
}
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--gray-light); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
