/* ============================
   PITCHEROO DESIGN SYSTEM v1
   Shared tokens + base styles
   ============================ */

/* --- TOKENS --- */
:root {
  /* Brand */
  --color-accent: #fbce3e;
  --color-accent-dark: #f5b700;

  /* Neutrals */
  --color-bg: #000000;
  --color-bg-alt: #111014;
  --color-surface: #000000;
  --color-surface-soft: #202029;
  --color-border-subtle: #3a3a3f;
  --color-border-strong: #ffffff;

  /* Text */
  --color-ink: #ffffff;
  --color-muted: #d3d3d6;

  /* Shadows / effects */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.6);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Spacing scale (multiples of 4) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;

  /* Typography */
  --font-sans: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
}

/* --- GLOBAL BASE --- */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Shared layout wrapper for both landing + app */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TYPOGRAPHY HELPERS --- */

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 0 0 var(--space-1);
}

.heading-lg {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0 0 var(--space-2);
}

.heading-md {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

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

/* --- BUTTON SYSTEM --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.12s ease-out,
    color 0.12s ease-out;
}

/* Primary brand button (yellow) */
.btn-primary {
  background: var(--color-accent);
  color: #111;
  box-shadow: 0 5px 0 #b68f06, 0 0 16px rgba(251, 206, 62, 0.65);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #b68f06, 0 0 20px rgba(251, 206, 62, 0.85);
}

/* Ghost / secondary button */
.btn-ghost {
  background: #222228;
  color: var(--color-ink);
  border: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #2d2d35;
}

/* Small pill chip-style labels */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--text-xs);
  color: var(--color-muted);
  background: #000;
}

/* Card container (works for app + landing) */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

/* Section base */
.section {
  padding: 40px 0;
  background: var(--color-bg);
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Section headings */
.section-title {
  text-align: center;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4);
}