/* Brute Box site styles */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #FDF3E6;
  --surface: #FFFFFF;
  --surface-alt: #FBEBD4;
  --border: #F0D9BC;
  --text: #3A1E00;
  --text-body: #4A2C0C;
  --text-muted: #5C3A14;
  --text-soft: #6B4A24;
  --brand: #E0861A;
  --brand-mid: #B05C00;
  --brand-dark: #7A3E00;
  --brand-light: #F0A64A;
  --brand-pale: #F7DDB8;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); }
a:hover { color: var(--text); }

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

/* Header */

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo:hover { color: var(--text); }

.logo img {
  display: block;
  height: 36px;
  width: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.btn-outline {
  border: 1.5px solid var(--brand-dark);
  color: var(--brand-dark);
}
.btn-outline:hover {
  background: var(--brand-dark);
  color: var(--bg);
}

.btn-primary {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--brand-dark);
  color: var(--bg);
  font-size: 17px;
}
.btn-primary:hover {
  background: var(--text);
  color: var(--bg);
}

/* Background pattern */

.pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 760px;
  opacity: 0.5;
  pointer-events: none;
}

/* Hero */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.hero-text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eyebrow {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-note {
  font-size: 14px;
  color: var(--text-soft);
}

.hero-art {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-art svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Highlights */

.highlights {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 96px;
}

.card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--text); }

/* Legal pages */

.legal-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-intro .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.legal-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.legal-intro .lead { max-width: 44rem; font-size: 18px; }

.legal-intro .updated {
  font-size: 14px;
  color: var(--text-soft);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 96px;
}

.toc {
  flex: 1 1 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}

@media (min-width: 900px) {
  .toc {
    position: sticky;
    top: 24px;
  }
}

.toc-title {
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.toc a {
  padding: 8px 0;
  text-decoration: none;
}

.legal article {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 48px;
  color: var(--text-body);
  line-height: 1.7;
}

.legal section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 24px;
}

.legal h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}

.legal p { margin: 0; }

.legal ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal strong { color: var(--text); }

.legal .small {
  font-size: 14px;
  color: var(--text-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--text);
}

.table-wrap tr + tr td,
.table-wrap tbody tr td { border-top: 1px solid var(--border); }

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