/* Backcourt Co. brand layer — classic court heritage, premium and energetic.
   Palette: court green (heritage, trust) · chalk off-white (clean, premium) · optic yellow (the ball, small highlights) · clay orange (high-contrast buy button). */
:root {
  --brand: #1f4d3a;
  --brand-dark: #12321f;
  --accent: #d7e84b;
  --cta: #c8552b;
  --cta-hover: #a8441f;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #15201a;
  --muted: #5c665f;
  --line: #e4e0d4;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(18, 50, 31, 0.12);
}
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, .logo, .price, .pc-price, .p-title { font-family: "Archivo", "Inter", system-ui, sans-serif; }
h1 { font-weight: 900; letter-spacing: -0.025em; color: var(--brand-dark); text-transform: none; }
h2 { font-weight: 800; letter-spacing: -0.02em; color: var(--brand-dark); }
.eyebrow { color: var(--brand); letter-spacing: .16em; font-weight: 700; }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 2px var(--brand); }
.announce { background: var(--brand-dark); }
.logo { font-weight: 900; letter-spacing: -0.02em; color: var(--brand-dark); text-transform: uppercase; font-size: 1.15rem; }
.logo-mark { background: var(--brand); border-radius: 9px; color: var(--accent); }
.logo-mark svg { width: 20px; height: 20px; }

.btn, .btn.cta { background: var(--cta); border-radius: 10px; letter-spacing: .01em; }
.btn:hover { background: var(--cta-hover); }
.btn.ghost { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand-dark); }
.btn.ghost:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }

/* Hero: court lines motif */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), color-mix(in srgb, var(--brand) 14%, transparent) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}
.hero .media { border-radius: 20px; box-shadow: var(--shadow); background: #fff; }
.hero .price-line .price { color: var(--brand-dark); }
.trust-row svg { color: var(--brand); }

.band { background: var(--brand-dark); color: #eef2ec; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { box-shadow: none; }
.band .card { background: color-mix(in srgb, #fff 6%, var(--brand-dark)); border-color: color-mix(in srgb, #fff 12%, transparent); }
.band .card p { color: #c9d4cc; }
.band .card .icon { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.band .faq details { background: color-mix(in srgb, #fff 6%, var(--brand-dark)); border-color: color-mix(in srgb, #fff 12%, transparent); }
.band .faq details p { color: #c9d4cc; }
.band .faq summary { color: #fff; }
.band .faq summary::after { color: var(--accent); }
.band .lead { color: #c9d4cc; }
.steps .card::before { background: var(--accent); color: var(--brand-dark); }

.home-vids { margin-top: 28px; }
.home-vids .vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.home-vids .vid { margin: 0; }
.home-vids iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; box-shadow: var(--shadow); }
.home-vids .vid.tall iframe { aspect-ratio: 9 / 16; }
.home-vids figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.product-card .art { background: #fff; }
.pc-price { color: var(--brand-dark); }
.assure { list-style: none; padding: 14px 16px; margin: 14px 0 0; display: grid; gap: 8px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; }
.assure li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.assure svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.guarantee { background: var(--brand); border-radius: 24px; position: relative; overflow: hidden; }
.guarantee::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--accent); opacity: .9; }
.guarantee h2 { color: #fff; position: relative; z-index: 1; }
.guarantee p, .guarantee .btn { position: relative; z-index: 1; }
.guarantee .btn { background: var(--accent); color: var(--brand-dark); }
.guarantee .btn:hover { background: #e4f26a; }

/* Price row spacing on product pages */
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

/* Self-hosted product video */
.hero .media video, .hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-vids video, .p-videos video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: #000; display: block; }

@media (max-width: 860px) { .hero::before { display: none; } }
