/* PitBuzz landing page
   Main editable stylesheet.
   Logo file: ../images/logo.png
*/

:root {
  --red: #ed1c24;
  --blue: #0878ff;
  --black: #07090c;
  --panel: #11151b;
  --panel-light: #171c24;
  --text: #ffffff;
  --muted: #b6c0cc;
  --line: #29313c;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

img { max-width: 100%; }

a { color: inherit; }

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  background: #090c10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand img {
  display: block;
  width: 260px;
  max-height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover { color: white; }

.hero {
  padding: 72px 0 78px;
  text-align: center;
  background:
    radial-gradient(circle at top, #172334 0, #0b1017 35%, #07090c 70%);
}

.hero-logo {
  width: min(820px, 100%);
  display: block;
  margin: 0 auto 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  font-size: clamp(36px, 5.5vw, 66px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary { background: var(--red); }

.button.secondary {
  background: #111923;
  border: 1px solid #33506f;
}

.section {
  padding: 72px 0;
  border-top: 1px solid #1d242d;
}

.section.alt { background: #0c1015; }

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
}

.card:nth-child(2n) { border-top-color: var(--red); }

.card h3 { margin-bottom: 10px; }

.card p,
.split p,
.beta-box > p:last-child,
.status-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 48px;
  align-items: center;
}

.status-card {
  display: flex;
  gap: 14px;
  padding: 24px;
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: #ffc400;
}

.status-card p { margin-bottom: 0; }

.beta-box {
  max-width: 850px;
  text-align: center;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #7f8996;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 850px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .brand img { width: 210px; }
  .site-nav { display: none; }
  .hero { padding-top: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
}
