@font-face {
  font-family: "Chakra Petch";
  src: url("./assets/fonts/chakra-petch-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #030604;
  --surface: #07100c;
  --ink: #f3f7f3;
  --muted: rgba(225, 236, 227, 0.72);
  --acid: #dbff3d;
  --cyan: #38e8ff;
  --coral: #ff4a36;
  --display: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(56, 232, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 232, 255, 0.02) 1px, transparent 1px),
    var(--bg);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: 0;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.legal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 14px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(56, 232, 255, 0.32);
  background: rgba(3, 6, 4, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }
.back-link { color: var(--acid); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }

.legal-hero {
  min-height: 68svh;
  display: grid;
  align-content: end;
  padding: clamp(80px, 12vw, 170px) clamp(18px, 4vw, 64px) 44px;
  border-bottom: 1px solid var(--cyan);
  background:
    linear-gradient(110deg, rgba(3, 6, 4, 0.35), rgba(3, 6, 4, 0.94) 72%),
    url("./assets/snug-vinyl-rotate-studio-web.jpg") center 54% / cover;
}

.eyebrow,
.section-number,
aside > p {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1, h2 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 1000px; font-size: clamp(4.2rem, 13vw, 11rem); line-height: 0.74; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 0.92; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 15px;
  border-top: 1px solid rgba(243, 247, 243, 0.32);
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.legal-layout {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 850px);
  gap: clamp(42px, 8vw, 120px);
  padding: 74px clamp(18px, 4vw, 64px) 120px;
}

aside { position: sticky; top: 26px; align-self: start; padding-top: 10px; }
aside nav { display: grid; }
aside a { padding: 10px 0; border-bottom: 1px solid rgba(56, 232, 255, 0.2); color: var(--muted); font-size: 0.65rem; text-decoration: none; text-transform: uppercase; }

.legal-copy { min-width: 0; }
.legal-copy section { scroll-margin-top: 28px; padding: 60px 0; border-bottom: 1px solid rgba(56, 232, 255, 0.24); }
.legal-copy .intro { padding-top: 0; }
.legal-copy p,
.legal-copy li { color: var(--muted); font-size: clamp(0.78rem, 1.15vw, 0.94rem); line-height: 1.8; }
.legal-copy .intro p { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.26; }
.legal-copy a { color: var(--cyan); }
.legal-copy ul { margin: 0; padding-left: 22px; }
.legal-copy li + li { margin-top: 8px; }

.notice {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--acid);
  background: rgba(219, 255, 61, 0.07);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}
.notice strong { display: block; margin-bottom: 6px; color: var(--acid); text-transform: uppercase; }

.data-table { margin-top: 30px; border-top: 1px solid var(--cyan); }
.data-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr); }
.data-row span { padding: 18px; border-right: 1px solid rgba(56, 232, 255, 0.2); border-bottom: 1px solid rgba(56, 232, 255, 0.2); color: var(--muted); font-size: 0.68rem; line-height: 1.6; }
.data-row span:last-child { border-right: 0; }
.data-head span { color: var(--acid); font-weight: 700; text-transform: uppercase; }

.return-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 520px);
  margin-top: 56px;
  padding: 22px 24px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--bg) !important;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(56, 232, 255, 0.3);
  color: rgba(243, 247, 243, 0.58);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .legal-header { min-height: 70px; }
  .brand span { font-size: 0.8rem; }
  .back-link { font-size: 0.58rem; }
  .legal-hero { min-height: 56svh; padding-bottom: 26px; }
  h1 { font-size: clamp(3.6rem, 22vw, 6.4rem); }
  .hero-meta { display: grid; gap: 8px; }
  .legal-layout { display: block; padding-top: 42px; padding-bottom: 80px; }
  aside { position: static; margin-bottom: 38px; }
  aside nav { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .legal-copy section { padding: 42px 0; }
  .data-row { grid-template-columns: 1fr; }
  .data-row span { border-right: 0; }
  .data-row:not(.data-head) span:first-child { padding-bottom: 8px; border-bottom: 0; color: var(--ink); font-weight: 700; }
  .data-row:not(.data-head) span:last-child { padding-top: 8px; }
  .data-head { display: none; }
  footer { display: grid; }
}

@media (max-width: 440px) {
  .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  .legal-hero { min-height: 50svh; }
  aside nav { grid-template-columns: 1fr; }
}
