/* Adaptive Home Workout — static site (system fonts only) */

:root {
  --bg: #0b0e14;
  --bg-card: #121820;
  --border: #2a3140;
  --text: #f5f5f0;
  --text-muted: #a8aea8;
  --accent: #ff8c00;
  --accent-soft: rgba(255, 140, 0, 0.14);
  --max-width: 720px;
  --radius: 12px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  padding: 1.25rem 1.25rem 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header a.logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-header a.logo-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo-wordmark {
  width: min(280px, 85vw);
  margin: 0 auto;
}

.logo-mark-sm {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a[aria-current='page'] {
  color: var(--accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  text-align: center;
  padding: 0.5rem 0 2rem;
}

.hero .logo-wordmark {
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

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

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 480px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0b0e14;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.coming-soon {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

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

/* Legal / doc pages */

.doc-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.doc-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.doc-meta p {
  margin: 0.25rem 0;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.doc-section {
  margin-bottom: 1.75rem;
}

.doc-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.doc-section p,
.doc-section li {
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.doc-section ul {
  margin: 0 0 0.65rem;
  padding-left: 1.25rem;
}

.doc-section li {
  margin-bottom: 0.35rem;
}

.doc-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bg-card);
  color: var(--text);
  font-weight: 700;
}

td {
  color: var(--text-muted);
}

td code {
  font-size: 0.85em;
  color: var(--accent);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer a {
  font-weight: 600;
}
