/* Horse Collar — marketing + legal site
   Theme mirrors the app: felt-green table, maroon accents, cream text. */

:root {
  --felt-dark: #0c2c20;
  --felt: #143d2e;
  --felt-light: #1c5240;
  --maroon: #8c2626;
  --maroon-bright: #a83232;
  --cream: #f5f1e6;
  --gold: #e8c33b;
  --muted: rgba(245, 241, 230, 0.66);
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --maxw: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--felt-light), transparent 60%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt-dark) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header / nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: var(--maxw); margin: 0 auto;
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.5px; }
.nav .brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav .links a { color: var(--cream); margin-left: 22px; font-weight: 600; font-size: 0.95rem; }
.nav .links a:hover { color: var(--gold); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 56px 20px 36px; }
.hero img.logo { width: 132px; height: 132px; border-radius: 28px; box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 22px 0 6px; letter-spacing: 1px;
  font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero .tagline { color: var(--gold); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; }
.hero p.lead { color: var(--muted); max-width: 620px; margin: 18px auto 28px; font-size: 1.12rem; }

.btn {
  display: inline-block; background: var(--maroon); color: #fff; font-weight: 700;
  padding: 14px 26px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--maroon-bright); text-decoration: none; transform: translateY(-1px); }
.btn.secondary { background: transparent; border: 1.5px solid var(--border); }
.coming { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* Sections */
section { padding: 40px 0; }
section h2 { font-size: 1.7rem; text-align: center; margin-bottom: 28px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.feature .ic { font-size: 1.8rem; }
.feature h3 { margin: 10px 0 6px; font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Legal / support content pages */
.doc { padding: 36px 0 60px; }
.doc .card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 30px;
}
.doc h1 { font-size: 2rem; margin: 8px 0 4px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.doc h2 { font-size: 1.25rem; margin: 26px 0 8px; text-align: left; }
.doc p, .doc li { color: rgba(245,241,230,0.86); }
.doc ul { padding-left: 22px; }
.doc .back { display: inline-block; margin-bottom: 8px; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 28px 20px; text-align: center; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--cream); margin: 0 10px; }
footer .legal { margin-top: 8px; font-size: 0.82rem; }
