/* Parkie website — same palette as the apps (Theme.swift / Theme.kt) */
:root {
  --bg: #090514;
  --bg-2: #0f0b26;
  --card: #16122b;
  --card-2: #1f1a3a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f3ff;
  --muted: #a5a3c2;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --cyan: #06b6d4;
  --orange: #f97316;
  --green: #10b981;
  --pink: #f472b6;
  --grad: linear-gradient(135deg, #6366f1, #8b5cf6);
  --radius: 18px;
  --max: 1080px;
  --prose: 760px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(1200px 600px at 70% -10%, rgba(99, 102, 241, 0.25), transparent 60%) no-repeat;
  color: var(--text);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #a5b4fc; text-underline-offset: 3px; }
a:hover { color: #c7d2fe; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; border-radius: 6px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(9, 5, 20, 0.72); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-weight: 700;
  text-decoration: none; color: #fff; background: var(--grad); border: 0; font-size: 16px; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: 0.8; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 20px 60px rgba(99, 102, 241, 0.45); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 800; }
.grad-text { background: linear-gradient(90deg, #a5b4fc, #c4b5fd 45%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 620px; margin: 0 auto 30px; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Screenshot rail */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 20px 36px;
  margin: 0 auto; max-width: 1400px; scrollbar-width: thin; }
.shots img { width: 250px; height: auto; flex: none; border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }

/* Features */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 10px; text-align: center; }
.section .sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; }

.parks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.parks span { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }

/* Legal / prose pages */
.page { padding: 48px 0 72px; }
.prose { max-width: var(--prose); margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.prose .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.prose h2 { font-size: 23px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: #dcdaf0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 8px; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); background: var(--card); }
td { color: #dcdaf0; }
.table-wrap { overflow-x: auto; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p, details ul, details ol { margin: 10px 0 2px; }

/* Link-open fallback (profile / meetup links) */
.center-card { max-width: 460px; margin: 72px auto; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 36px 26px; }
.center-card img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 16px; }
.center-card h1 { font-size: 26px; margin: 0 0 8px; }
.center-card p { color: var(--muted); margin: 0 0 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--text); }
.disclaimer { font-size: 13px; line-height: 1.55; max-width: 860px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
  .hero { padding-top: 48px; }
  .shots img { width: 210px; }
  .toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
