/* Vela Athletics website - shared styles (extracted from index.html for the
   F4 legal pages so every page carries the same design tokens as the app). */
:root {
  --bg: #17140F;
  --surface: #120F0C;
  --border: #3d3530;
  --accent: #C95D11;
  --text: #FFFFFF;
  --text-secondary: #8a7a72;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero (home page) */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 48px;
}
.hero img {
  width: 220px;
  max-width: 60vw;
  height: auto;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.flame {
  background: linear-gradient(90deg, #C95D11, #D1731E, #F4AE3E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.tagline {
  margin-top: 16px;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 480px;
}
.badge {
  margin-top: 28px;
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Compact page header (sub-pages) */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.page-header a.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.page-header a.brand img { width: 36px; height: auto; }
.page-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 18px;
}
.page-header nav a:hover { color: var(--text); }
.page-title { padding: 48px 0 8px; }
.page-title h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.page-title p.lede { color: var(--text-secondary); margin-top: 10px; font-size: 1.05rem; }

/* Sections */
section { padding: 56px 0; }
.page section { padding: 36px 0; }
section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #C95D11, #F4AE3E);
}
section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
section p strong { color: var(--text); font-weight: 600; }
section a { color: #F4AE3E; }

.features {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.features li span.title {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.features li span.desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Numbered steps (the feature-card treatment with a step counter) */
.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 18px 64px;
  position: relative;
  color: var(--text-secondary);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C95D11, #D1731E, #F4AE3E);
  color: #000000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--text); font-weight: 600; }

/* Contact / callout cards */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.contact-card a.email {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C95D11, #D1731E, #F4AE3E);
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-card a.email:hover { opacity: 0.9; }
.note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Placeholders for counsel's language - visibly unfinished on purpose.
   Remove the .placeholder class (and this rule) once the text is final. */
.placeholder {
  display: block;
  border: 1px dashed #F4AE3E;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0 14px;
  color: #F4AE3E;
  background: rgba(244, 174, 62, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}
.placeholder::before { content: "PLACEHOLDER - "; font-weight: 700; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 28px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
footer nav { margin-bottom: 10px; }
footer nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 10px;
}
footer nav a:hover { color: var(--text); }
