/* ==========================================================================
   RangeHours — shared site styles
   Palette: Diligent Golfer (Deep Slate, Focus Yellow, Cloud White)
   ========================================================================== */

:root {
  --color-bg:          #1a1f2e;   /* Deep Slate */
  --color-surface:     #242938;
  --color-accent:      #f5c842;   /* Focus Yellow */
  --color-text:        #e8e8e8;   /* Cloud White */
  --color-text-muted:  #8a93a8;
  --color-border:      #353c52;
  --max-width:         720px;
  --font-sans:         'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  min-height: 100vh;
}

/* Layout */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header .logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 0.2rem;
  margin-bottom: 0.2rem;
}

.site-header .logo span { color: var(--color-text); font-weight: 400; }

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

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1rem; color: var(--color-text); }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li { margin-bottom: 0.4rem; }

a { color: var(--color-accent); }
a:hover { opacity: 0.8; }

/* Draft notice */
.draft-notice {
  background-color: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-left: 4px solid var(--color-accent);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.site-footer a { color: var(--color-text-muted); margin: 0 0.5rem; }
.site-footer a:hover { color: var(--color-accent); }

/* Hero (index only) */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero-logo {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  margin-bottom: 0.25rem;
}

.hero h1 { font-size: 3rem; }

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 1rem auto 2rem;
}

.badge {
  display: inline-block;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
}

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
}
