/* Snagmap brand palette */
:root {
  --navy: #0A1628;
  --surface: #1A2332;
  --surface-2: #243044;
  --amber: #FFB347;
  --amber-dim: #C6863A;
  --cream: #F5F1E8;
  --slate: #8B95A8;
  --sports: #4A90E2;
  --theatre: #C44569;
  --comedy: #F4D03F;
  --max-width: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}

a:hover, a:focus { border-bottom-color: var(--amber); }

h1, h2, h3, h4 {
  font-family: -apple-system-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--cream);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin-top: 0; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top nav */
.nav {
  padding: 28px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
  border: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--amber) 0%, var(--amber-dim) 55%, #6B4A1E 100%);
  box-shadow: 0 0 12px rgba(255, 179, 71, 0.35);
}
.nav-links a {
  color: var(--slate);
  margin-left: 22px;
  font-size: 0.95rem;
  border: none;
}
.nav-links a:hover { color: var(--cream); }

/* Hero */
.hero {
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero .pitch {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 36ch;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}
.app-store-badge:hover {
  transform: translateY(-1px);
  border-color: var(--amber);
}
.app-store-badge .small {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b9b9b9;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.app-store-badge .big {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}

.hero-meta {
  display: block;
  margin-top: 14px;
  color: var(--slate);
  font-size: 0.9rem;
}

/* Globe placeholder */
.globe-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.globe-art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
section {
  padding: 80px 0;
  border-top: 1px solid rgba(139, 149, 168, 0.12);
}
.eyebrow {
  font-family: -apple-system-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 12px;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.benefit {
  background: var(--surface);
  border: 1px solid rgba(139, 149, 168, 0.1);
  border-radius: 16px;
  padding: 28px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 179, 71, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit h3 { margin-bottom: 8px; }
.benefit p {
  color: var(--slate);
  margin: 0;
  font-size: 0.97rem;
}

/* Press / featured */
.press-strip {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(139, 149, 168, 0.1);
}
.press-strip .label {
  color: var(--slate);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.press-strip .placeholder-line {
  color: var(--slate);
  font-style: italic;
  margin: 0;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.plan {
  background: var(--surface);
  border: 1px solid rgba(139, 149, 168, 0.12);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.plan.pro {
  border-color: rgba(255, 179, 71, 0.4);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255, 179, 71, 0.06) 100%);
}
.plan h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.plan-price {
  font-family: -apple-system-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  margin: 12px 0 4px;
}
.plan-price .per {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--slate);
}
.plan-trial {
  font-size: 0.9rem;
  color: var(--amber);
  margin-bottom: 18px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.plan li {
  padding-left: 26px;
  position: relative;
  color: var(--cream);
  font-size: 0.97rem;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 179, 71, 0.18);
  border: 1.5px solid var(--amber);
}

/* Footer */
.footer {
  padding: 56px 0 48px;
  border-top: 1px solid rgba(139, 149, 168, 0.12);
  color: var(--slate);
  font-size: 0.92rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  color: var(--slate);
  margin-left: 18px;
  border: none;
}
.footer-links a:first-child { margin-left: 0; }
.footer-links a:hover { color: var(--cream); }

/* Long-form (privacy / terms / support) */
.longform {
  max-width: 720px;
  padding: 48px 24px 80px;
  margin: 0 auto;
}
.longform h1 { font-size: 2.4rem; margin-bottom: 8px; }
.longform .updated {
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 32px;
}
.longform h2 {
  margin-top: 44px;
  font-size: 1.5rem;
}
.longform h3 {
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--amber);
}
.longform p, .longform li {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.7;
}
.longform ul, .longform ol {
  padding-left: 22px;
}
.longform li { margin-bottom: 8px; }
.longform code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--amber);
}
.longform .callout {
  background: var(--surface);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
}

/* Support FAQ */
.faq {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.faq-item {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(139, 149, 168, 0.1);
}
.faq-item h3 {
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 1.05rem;
}
.faq-item p {
  margin: 0;
  color: var(--slate);
}

.contact-card {
  margin-top: 40px;
  background: var(--surface);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 179, 71, 0.25);
}
.contact-card h2 { margin-top: 0; }

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .globe-art { margin: 0 auto; max-width: 320px; }
  .benefits { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .nav-links a { margin-left: 14px; font-size: 0.9rem; }
  .footer .container { flex-direction: column; align-items: flex-start; }
  .footer-links a:first-child { margin-left: 0; }
  .footer-links a { margin-left: 0; margin-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
