/* ====================================================
   SONARCHY — shared styles for about/privacy/terms
   ==================================================== */
:root {
  --superblack: #070707;
  --black:      #101010;
  --white:      #EBEBEB;
  --yellow:     #EBEB10;
  --cyan:       #10EBEB;
  --magenta:    #EB10EB;
  --magenta-dim:#8F0A8F;
  --cyan-dim:   #0A8F8F;
  --gray-100:   #D8D8D8;
  --gray-300:   #303030;
  --gray-400:   #404040;
  --gray-500:   #202020;

  --font-display: "Modak", Impact, "Arial Black", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--superblack);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(16,235,235,0.4); text-underline-offset: 3px; transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--cyan); }
::selection { background: var(--magenta); color: var(--white); }

/* Film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.92  0 0 0 0 0.92  0 0 0 0 0.92  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* SMPTE bars — section dividers */
.smpte-bars { display: flex; height: 14px; width: 100%; }
.smpte-bars > div { flex: 1; }
.smpte-bars > :nth-child(1) { background: var(--white); }
.smpte-bars > :nth-child(2) { background: var(--yellow); }
.smpte-bars > :nth-child(3) { background: var(--cyan); }
.smpte-bars > :nth-child(4) { background: #10EB10; }
.smpte-bars > :nth-child(5) { background: var(--magenta); }
.smpte-bars > :nth-child(6) { background: #EB1010; }
.smpte-bars > :nth-child(7) { background: #1010EB; }
.smpte-bars > :nth-child(8) { background: var(--black); }
.smpte-divider {
  border-top: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
}

/* ====================================================
   PAGE TITLE BAR — SMPTE rails with centered uppercase label
   ==================================================== */
.page-title {
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  margin: clamp(20px, 4vw, 36px) 0 clamp(20px, 3vw, 28px);
  position: relative;
}
.page-title .rail {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: block;
  overflow: hidden;
}
.page-title .rail img,
.page-title .rail svg { width: 100%; height: 100%; display: block; object-fit: fill; }
.page-title .title-label {
  font-family: var(--font-body);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 24px;
  letter-spacing: 0.02em;
}
.page-title .title-label .bold { font-weight: 900; }
.page-title .title-label .normal { font-weight: 700; }
.page-title .back-link,
.back-link-standalone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, opacity 150ms ease;
}
.page-title .back-link { display: none; }   /* moved below the title bar */
.back-link-standalone {
  max-width: 760px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  height: auto;
}
.back-link-standalone .back-icon {
  width: 36px;
  height: 36px;
  display: block;
}
.back-link-standalone:hover .back-icon { transform: translateX(-3px); }
.back-link-standalone:active .back-icon { transform: translateX(-1px); opacity: 0.7; }

/* ====================================================
   CONTENT
   ==================================================== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
  position: relative;
  z-index: 1;
}

.eyebrow-meta {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 40px;
  display: block;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 44px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 56px 0 16px;
  color: var(--white);
}
h2:first-of-type { margin-top: 0; }

h3 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(16px, 2vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 28px 0 10px;
  color: var(--white);
}

p { font-size: 16px; line-height: 1.6; margin: 0 0 16px; color: var(--gray-100); }
p strong { color: var(--white); font-weight: 700; }
p em { color: var(--white); font-style: italic; }

ul { padding-left: 24px; margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: var(--gray-100); }
ul li { margin-bottom: 6px; }
ul li::marker { color: var(--cyan); }

/* "Last updated" footer line */
.page-footer-meta {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-400);
}

/* CTA back to home */
.home-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 42px;
  background: var(--magenta);
  color: var(--white);
  border: 3px solid var(--superblack);
  border-radius: 9999px;
  box-shadow: 6px 6px 0 0 var(--cyan);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--magenta-dim);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  user-select: none;
}
.btn-play:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 0 var(--cyan); text-decoration: none; }
.btn-play:active { transform: translate(6px, 6px); box-shadow: 0 0 0 0 var(--cyan); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
