/* Spot List – Brand Site */

:root {
  --bg: #0c0c0c;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --border: #2a2a2a;
  --text: #f2f2f2;
  --text-muted: #8a8a8a;
  --accent: #e85d04;       /* the orange */
  --cyan: #00e5ff;         /* from the logo */
  --radius: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  max-width: 38rem;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

/* Layout */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.15rem;
  margin: 0 auto 36px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #d45303;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
}

/* Sections */
section {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 12px;
}

.section-lead {
  margin-bottom: 40px;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* Download section */
.download {
  background: var(--surface);
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid var(--border);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 700px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.platform {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
}

.platform h3 {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.platform li {
  margin-bottom: 8px;
}

.platform li strong {
  color: var(--text);
}

.install-btn-wrap {
  margin-top: 20px;
}

#install-btn {
  display: none; /* shown only when beforeinstallprompt fires */
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-image {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 6px;
}

.product-info .price {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

/* Subtle barrier accent */
.barrier-accent {
  width: 48px;
  height: 18px;
  background: var(--accent);
  border-radius: 3px 3px 2px 2px;
  position: relative;
  opacity: 0.85;
  display: inline-block;
}

.barrier-accent::before,
.barrier-accent::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 10px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.barrier-accent::before { left: 4px; }
.barrier-accent::after { right: 4px; }

/* Footer */
.site-footer {
  .site-footer p { max-width: none; margin-left: auto; margin-right: auto; }
  border-top: 1px solid var(--border);
  padding: 40px 0 calc(40px + var(--safe-bottom));
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .logo {
  .site-footer p { max-width: none; margin-left: auto; margin-right: auto; }
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1rem;
}

/* Utility */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }

/* Mobile nav */
@media (max-width: 600px) {
  .nav {
    gap: 16px;
    font-size: 0.85rem;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .download {
    padding: 32px 20px;
  }
}
