/* ========================================
   RND Horizon LLC - Sub-pages, Lost Angles & legal pages
   Loaded after style.css on every page
   ======================================== */

/* ---- Footer: extra "Games & Legal" column ---- */
@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Generic sub-page hero ---- */
.page-hero {
  position: relative;
  padding: clamp(8rem, 14vw, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(0, 212, 255, 0.10), transparent 70%),
    radial-gradient(50% 70% at 90% 10%, rgba(124, 58, 237, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: var(--fs-section-title);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-hero p { color: var(--color-text-muted); max-width: 680px; }
.page-meta { font-size: var(--fs-small); color: var(--color-text-dim); margin-top: 0.75rem; }

/* ---- Long-form text (privacy, terms, support) ---- */
.prose-wrap { padding: 0 0 var(--section-padding); }
.prose {
  max-width: 780px;
  color: var(--color-text-muted);
}
.prose h2 {
  color: var(--color-text);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  margin: 2.75rem 0 0.85rem;
  scroll-margin-top: 90px;
}
.prose h3 {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  margin: 1.75rem 0 0.5rem;
}
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--color-text); font-weight: var(--fw-semibold); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--color-border); }
.prose th { color: var(--color-text); font-weight: var(--fw-semibold); background: rgba(255, 255, 255, 0.02); }
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.table-scroll table { min-width: 560px; margin-bottom: 0; }

.toc {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.toc p { color: var(--color-text); font-weight: var(--fw-semibold); margin-bottom: 0.5rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; font-size: var(--fs-small); }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.note-box {
  border: 1px solid var(--color-border-hover);
  background: rgba(0, 212, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.note-box p:last-child { margin-bottom: 0; }

.lang-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ---- Support page ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
  max-width: 980px;
}
.support-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.support-card h2 { font-size: 1.05rem; color: var(--color-text); margin-bottom: 0.4rem; }
.support-card p { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: 0.75rem; }
.support-card a { font-weight: var(--fw-semibold); font-size: var(--fs-small); }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

.faq { max-width: 780px; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-glass);
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  color: var(--color-text);
  font-weight: var(--fw-semibold);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent-cyan);
  font-size: 1.3rem;
  font-weight: var(--fw-normal);
}
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--color-text-muted); }
.faq details > div p { margin-bottom: 0.6rem; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq h2 { color: var(--color-text); font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.5rem 0 1rem; }

/* ========================================
   LOST ANGLES product page
   ======================================== */
.la {
  --la-sun: #ffc35a;
  --la-peach: #ffb08a;
  --la-rose: #f28aa6;
  --la-lilac: #b9a2ff;
  --la-ink: #2b1d14;
  --la-gradient: linear-gradient(120deg, #ffc35a 0%, #ff9f7a 45%, #c79bff 100%);
}
.la-text-gradient {
  background: var(--la-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.la-hero {
  position: relative;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.la-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 80% 35%, rgba(255, 159, 122, 0.22), transparent 70%),
    radial-gradient(45% 55% at 10% 10%, rgba(199, 155, 255, 0.16), transparent 70%),
    radial-gradient(40% 40% at 60% 100%, rgba(255, 195, 90, 0.10), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
  pointer-events: none;
}
.la-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.la-eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--la-sun);
  margin-bottom: 1.25rem;
}
.la-logo { width: min(520px, 100%); margin: 0 0 1.25rem -6px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35)); }
.la-tagline {
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: 1rem;
  max-width: 560px;
}
.la-lead { color: var(--color-text-muted); max-width: 560px; margin-bottom: 1.75rem; }
.store-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  line-height: 1.2;
}
.store-pill svg { flex: none; }
.store-pill small { display: block; font-size: 0.7rem; color: var(--color-text-dim); letter-spacing: 0.04em; text-transform: uppercase; }
.store-pill b { font-weight: var(--fw-semibold); font-size: 0.98rem; }
.la-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.la-facts span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.la-hero-art { position: relative; justify-self: center; width: min(400px, 100%); }
.la-hero-art img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.la-hero-art::after {
  content: '';
  position: absolute;
  inset: 12% -10% -6% -10%;
  background: radial-gradient(closest-side, rgba(255, 159, 122, 0.35), transparent);
  filter: blur(30px);
  z-index: -1;
}

.la-section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.la-section--alt { background: linear-gradient(180deg, rgba(17, 24, 39, 0.0), rgba(17, 24, 39, 0.65) 18%, rgba(17, 24, 39, 0.65) 82%, rgba(17, 24, 39, 0)); }
.la-section .section-eyebrow { color: var(--la-sun); }

.la-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.la-step {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.la-step .num {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 195, 90, 0.12);
  color: var(--la-sun);
  font-weight: var(--fw-extrabold);
  margin-bottom: 1rem;
}
.la-step h3 { color: var(--color-text); font-size: 1.15rem; margin-bottom: 0.4rem; }
.la-step p { color: var(--color-text-muted); font-size: var(--fs-small); }

.la-chapters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.la-chapter {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.la-chapter img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.la-chapter div { padding: 1rem 1.05rem 1.2rem; }
.la-chapter .age { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--la-sun); }
.la-chapter h3 { color: var(--color-text); font-size: 1.05rem; margin: 0.2rem 0 0.35rem; }
.la-chapter p { color: var(--color-text-muted); font-size: 0.86rem; line-height: 1.55; }
.la-subhead { color: var(--color-text); font-size: 1.25rem; font-weight: var(--fw-bold); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.la-subhead img { width: 44px; height: 44px; border-radius: 50%; }
.la-chapters + .la-subhead { margin-top: 3rem; }
.la-nora { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.la-nora .la-soon { grid-column: span 2; align-self: center; }
.la-soon {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--color-text-muted);
}
.la-soon img { width: 72px; height: 72px; border-radius: 50%; filter: grayscale(0.4); opacity: 0.85; }
.la-soon b { color: var(--color-text); display: block; margin-bottom: 0.2rem; }

.la-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.la-feature {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
}
.la-feature svg { color: var(--la-sun); margin-bottom: 0.9rem; }
.la-feature h3 { color: var(--color-text); font-size: 1.08rem; margin-bottom: 0.35rem; }
.la-feature p { color: var(--color-text-muted); font-size: var(--fs-small); }

.la-memory { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.la-memory-art { justify-self: center; width: min(340px, 100%); }
.la-memory-art img { width: 100%; border-radius: 18px; transform: rotate(-3deg); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); }
.la-memory p { color: var(--color-text-muted); margin-bottom: 1rem; max-width: 560px; }

.la-cta {
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.5rem;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255, 159, 122, 0.12), transparent 70%),
    var(--color-bg-glass);
}
.la-cta h2 { color: var(--color-text); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6rem; }
.la-cta p { color: var(--color-text-muted); margin: 0 auto 1.5rem; max-width: 560px; }
.la-cta .links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

@media (max-width: 1024px) {
  .la-chapters, .la-nora { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .la-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .la-hero-grid, .la-memory { grid-template-columns: 1fr; }
  .la-hero-art { order: -1; width: min(300px, 80%); }
  .la-steps, .la-features { grid-template-columns: 1fr; }
  .la-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-nora { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-nora .la-soon { grid-column: 1 / -1; }
}

/* ---- Home page: Lost Angles featured band ---- */
.la-band { padding: clamp(4rem, 8vw, 6rem) 0; }
.la-band-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(70% 90% at 100% 50%, rgba(255, 159, 122, 0.14), transparent 70%),
    radial-gradient(50% 70% at 0% 0%, rgba(199, 155, 255, 0.10), transparent 70%),
    var(--color-bg-glass);
}
.la-band-card .section-eyebrow { color: #ffc35a; }
.la-band-card .la-logo { width: min(380px, 100%); margin-bottom: 1rem; }
.la-band-card p { color: var(--color-text-muted); max-width: 520px; margin-bottom: 1.5rem; }
.la-band-card .la-band-art img { width: min(260px, 100%); margin: 0 auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.la-band-card .btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 768px) {
  .la-band-card { grid-template-columns: 1fr; }
  .la-band-card .la-band-art { order: -1; }
  .la-band-card .la-band-art img { width: min(190px, 55%); }
}

/* ---- 404 ---- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 8rem 0 4rem; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: var(--fw-extrabold); line-height: 1; margin-bottom: 0.5rem; }
.notfound p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
