/* BLAKCITY city landing — v2 ("clean" design, beacons.ai-inspired).
   Light, lots of whitespace, strong type hierarchy, one accent per city.
   Per-city identity comes from --accent / --accent2 set on <body>. */

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

:root {
  --accent: #00e8ff;
  --accent2: #c850a0;
  --ink: #0c0d12;
  --ink-soft: #3a414c;
  --muted: #6b7280;
  --line: #ececef;
  --panel: #f5f6f8;
  --bg: #ffffff;
  --radius: 16px;
  --radius-lg: 28px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--ink); }
img { max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.brand .mark { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 12px; padding: 12px 22px;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23262e; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #ccd0d6; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { max-width: 1000px; margin: 0 auto; padding: clamp(52px, 9vw, 116px) clamp(18px, 5vw, 48px) 8px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; font-size: 14px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin: 20px 0 0; font-weight: 800; letter-spacing: -0.045em; line-height: 0.92;
  font-size: clamp(52px, 12vw, 124px);
}
.hero h1 .accent { color: var(--accent); }
.lead { max-width: 600px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.55; }
.cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-preview-strip {
  max-width: 920px; margin: clamp(28px, 5vw, 46px) auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.hero-preview-strip figure {
  position: relative; margin: 0; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 14px 34px rgba(12, 13, 18, 0.11);
}
.hero-preview-strip img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-preview-strip figcaption {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,0.92);
  color: var(--ink); font-size: 12px; font-weight: 800;
}

/* Showcase panel (beacons-style rounded gray frame around the city shot) */
.showcase { max-width: 1120px; margin: clamp(40px, 6vw, 64px) auto 0; padding: clamp(16px, 3vw, 32px); padding-bottom: 0; }
.showcase-inner { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 30px); }
.showcase img { width: 100%; display: block; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(12, 13, 18, 0.16); }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { max-width: 1080px; margin: 0 auto; padding: clamp(56px, 10vw, 112px) clamp(18px, 5vw, 48px); }
.section h2 { text-align: center; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(30px, 5vw, 50px); line-height: 1.05; }
.section .sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 48px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: left; transition: box-shadow .18s ease, transform .18s ease; }
.feature:hover { box-shadow: 0 14px 40px rgba(12, 13, 18, 0.08); transform: translateY(-2px); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; margin-bottom: 16px; background: color-mix(in srgb, var(--accent) 16%, #fff); }
.feature h3 { margin: 0 0 7px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.feature.game-card { display: block; text-decoration: none; color: inherit; }

.proof-strip {
  max-width: 1080px; margin: 42px auto 0; padding: 0 clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.proof-item { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.proof-item b { display: block; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.proof-item span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.split {
  max-width: 1080px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split h2 { margin: 0; font-size: clamp(30px, 5vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.split .sub { color: var(--muted); font-size: 17px; margin: 16px 0 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink-soft); font-size: 16px;
}
.check-list b { color: var(--ink); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  counter-increment: step; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; background: #fff;
}
.step::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent); color: #07151b; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.offer-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.offer-table th, .offer-table td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.offer-table th { background: var(--panel); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.offer-table tr:last-child td { border-bottom: 0; }
.offer-table td { color: var(--ink-soft); }
.offer-table b { color: var(--ink); }

.note-panel {
  max-width: 1080px; margin: 0 auto clamp(42px, 7vw, 80px); padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel);
}
.note-panel h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.03em; }
.note-panel p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }

/* Inside collage (beacons circular-photo cluster) */
.collage { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 2vw, 22px); align-items: center; justify-items: center; background: var(--panel); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); }
.collage figure { margin: 0; text-align: center; }
.collage img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 26px rgba(12, 13, 18, 0.14); }
.collage figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.collage figure:nth-child(2), .collage figure:nth-child(4) { transform: translateY(clamp(-26px, -3vw, -14px)); }

/* CTA band */
.band { max-width: 1080px; margin: 0 auto clamp(48px, 8vw, 90px); padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); background: var(--ink); color: #fff; border-radius: var(--radius-lg); text-align: center; }
.band h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.band p { margin: 0 auto 24px; max-width: 480px; color: #c7ccd4; font-size: 17px; }
.band .btn-dark { background: var(--accent); color: #07151b; }
.band .btn-dark:hover { filter: brightness(1.06); background: var(--accent); }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 34px clamp(18px, 5vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); }

/* ── Cities hub (directory grid of real-city thumbnails) ─────────────── */
.city-grid { max-width: 1120px; margin: 0 auto; padding: clamp(8px, 3vw, 24px) clamp(18px, 5vw, 48px) clamp(56px, 9vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .18s ease, transform .18s ease; }
.city-card:hover { box-shadow: 0 18px 46px rgba(12, 13, 18, 0.12); transform: translateY(-3px); }
.city-card .shot { aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.city-card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city-card .meta { padding: 18px 20px 20px; }
.city-card .meta .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ca, var(--accent)); background: color-mix(in srgb, var(--ca, var(--accent)) 14%, #fff); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.city-card h3 { margin: 0 0 5px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.city-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ── Prose (about / legal / long-form copy) ──────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.03em; margin: 0 0 6px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.prose a { color: color-mix(in srgb, var(--accent) 70%, var(--ink)); font-weight: 600; }
.prose h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 4px; color: var(--ink); }
.prose ul { padding-left: 1.15em; }
.prose .muted { color: var(--muted); font-size: 14px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(3, 1fr); }
  .collage figure:nth-child(4), .collage figure:nth-child(5) { display: none; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(38px, 12vw, 48px); letter-spacing: -0.035em; }
  .lead { margin-top: 16px; font-size: 16px; }
  .cta { margin-top: 22px; }
  .hero-preview-strip { margin-top: 24px; }
  .hero-preview-strip { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .offer-table, .offer-table tbody, .offer-table tr, .offer-table th, .offer-table td { display: block; }
  .offer-table thead { display: none; }
  .offer-table td { border-bottom: 0; padding: 12px 16px; }
  .offer-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .offer-table tr:last-child { border-bottom: 0; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .collage figure:nth-child(3) { display: none; }
  .collage figure { transform: none !important; }
  .cta .btn { width: 100%; }
  .city-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
