/* ─────────────────────────────────
   Shared tokens — matched to the main site (website/index.html)
   so the blog reads as the same brand, not a bolted-on subdomain.
─────────────────────────────────── */
:root {
  --bg:       #EFE7D6;
  --bg-2:     #E6DCC4;
  --ink:      #0B0A10;
  --navy:     #001C3F;
  --blue:     #014396;
  --blue-d:   #013475;
  --blue-pale:#E3ECF7;
  --white:    #FFFFFF;
  --muted:    #6D6B73;
  --border:   rgba(11,10,16,0.07);
  --border-s: rgba(11,10,16,0.13);
  --nav-h:    60px;
  --r-card:   22px;
  --r-pill:   100px;
  --ff-head:  'Unbounded', sans-serif;
  --ff-body:  'DM Sans', sans-serif;
  --ease:     cubic-bezier(0.22, 1, 0.3, 1);
  --shadow:   0 8px 32px -8px rgba(11,10,16,0.10);
  --shadow-l: 0 20px 56px -14px rgba(11,10,16,0.14);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { background:var(--bg); color:var(--ink); font-family:var(--ff-body); -webkit-font-smoothing:antialiased; scroll-behavior:smooth; }
body { overflow-x:hidden; }
img  { display:block; max-width:100%; }
a { text-decoration:none; }

.t-headline {
  font-family:var(--ff-head); font-weight:900;
  letter-spacing:-0.04em; line-height:1; text-transform:uppercase;
  font-size:clamp(1.9rem, 5vw, 3.6rem);
}
.t-label { font-size:0.64rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); }
.c-blue  { color:var(--blue); }

.btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.78rem 1.55rem; border-radius:var(--r-pill);
  font-family:var(--ff-body); font-weight:600; font-size:0.82rem;
  letter-spacing:0.01em; border:none; white-space:nowrap;
  transition:all 0.22s var(--ease);
}
.btn-ink { background:var(--white); color:var(--blue); border:1.5px solid var(--blue); }
.btn-ink:hover { background:var(--blue); color:var(--white); border-color:var(--blue); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--ink); border:1.5px solid var(--border-s); }
.btn-ghost:hover { background:var(--ink); color:var(--white); border-color:var(--ink); transform:translateY(-2px); }

.pill-link {
  display:inline-flex; align-items:center; gap:0.4rem;
  padding:0.38rem 0.75rem 0.38rem 0.85rem;
  border-radius:var(--r-pill); border:1.5px solid var(--blue);
  font-family:var(--ff-body); font-size:0.72rem; font-weight:700;
  letter-spacing:0.03em; color:var(--white);
  background:var(--blue);
  transition:all 0.2s; white-space:nowrap;
}
.pill-link:hover { background:var(--blue-d); border-color:var(--blue-d); }

/* ── NAV ── */
#nav {
  position:fixed; inset:0 0 auto; z-index:200;
  height:var(--nav-h); padding:0 5vw;
  display:flex; align-items:center;
  background:color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid var(--border);
}
.nav-inner { width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.nav-brand { display:flex; align-items:center; gap:0.6rem; }
.nav-brand img { width:30px; height:30px; border-radius:9px; flex-shrink:0; }
.nav-brand span { font-family:var(--ff-head); font-weight:700; font-size:0.86rem; letter-spacing:-0.01em; color:var(--ink); }
.nav-links { display:none; }
@media (min-width:768px) {
  .nav-links { display:flex; align-items:center; gap:2rem; }
  .nav-links a { font-size:0.75rem; font-weight:500; color:var(--muted); transition:color 0.2s; }
  .nav-links a:hover { color:var(--ink); }
}
.nav-actions { display:flex; align-items:center; gap:0.32rem; }
@media (max-width:480px) {
  .pill-link { padding:0.3rem 0.6rem 0.3rem 0.68rem; font-size:0.66rem; }
  .nav-brand span { display:none; }
}

/* ── BLOG LAYOUT ── */
main { padding-top:var(--nav-h); }

.blog-hero { padding:4.5rem 6vw 2.5rem; max-width:860px; }
@media (min-width:768px) { .blog-hero { padding:6rem 7vw 3rem; } }
.blog-hero p { margin-top:1rem; font-size:1.1rem; line-height:1.75; color:var(--muted); max-width:56ch; }

/* ── CITY SELECTOR ── */
.city-filter {
  display:flex; flex-wrap:wrap; gap:0.6rem;
  padding:0 6vw 2.6rem; max-width:1200px;
}
@media (min-width:700px) { .city-filter { padding:0 7vw 3rem; } }

.city-pill {
  display:inline-flex; align-items:center; gap:0.4rem;
  padding:0.55rem 1.1rem; border-radius:var(--r-pill);
  border:1.5px solid var(--border-s); background:var(--white);
  font-family:var(--ff-body); font-size:0.82rem; font-weight:600;
  color:var(--muted); cursor:pointer; transition:all 0.2s var(--ease);
  -webkit-tap-highlight-color:transparent;
}
.city-pill:hover { border-color:var(--blue); color:var(--ink); }
.city-pill.active { background:var(--navy); border-color:var(--navy); color:var(--white); }
.city-pill.soon { opacity:0.45; cursor:default; }
.city-pill.soon:hover { border-color:var(--border-s); color:var(--muted); }
.city-pill .soon-tag { font-size:0.6rem; font-weight:800; letter-spacing:0.05em; text-transform:uppercase; color:var(--muted); }

.blog-grid {
  display:grid; grid-template-columns:1fr; gap:1.5rem;
  padding:0 6vw 6rem; max-width:1100px;
}
@media (min-width:700px) { .blog-grid { grid-template-columns:1fr 1fr; padding:0 7vw 7rem; } }
.post-card.is-hidden { display:none; }

.post-card {
  display:flex; flex-direction:column; gap:0.9rem;
  border-radius:var(--r-card); padding:2rem;
  border:1px solid var(--border-s); background:var(--white);
  box-shadow:var(--shadow); transition:all 0.3s var(--ease);
}
.post-card:hover { border-color:var(--blue); transform:translateY(-4px); box-shadow:var(--shadow-l); }
.post-tag { display:inline-flex; align-self:flex-start; padding:0.24rem 0.62rem; border-radius:var(--r-pill); font-size:0.61rem; font-weight:800; letter-spacing:0.07em; text-transform:uppercase; background:var(--blue-pale); color:var(--blue); }
.post-card h2 { font-family:var(--ff-head); font-size:1.25rem; font-weight:800; letter-spacing:-0.02em; line-height:1.2; color:var(--ink); }
.post-card p { font-size:1.02rem; line-height:1.7; color:var(--muted); }
.post-card .read-more { font-size:0.85rem; font-weight:700; color:var(--blue); margin-top:auto; }

/* ── ARTICLE ── */
.article {
  max-width:900px; margin:0 auto; padding:4.5rem 5vw 5rem;
}
@media (min-width:768px) { .article { padding:6rem 6vw 6rem; } }
.article .post-tag { display:inline-flex; padding:0.24rem 0.62rem; border-radius:var(--r-pill); font-size:0.61rem; font-weight:800; letter-spacing:0.07em; text-transform:uppercase; background:var(--blue-pale); color:var(--blue); margin-bottom:1.2rem; }
.article h1 {
  font-family:var(--ff-head); font-weight:900; letter-spacing:-0.035em; line-height:1.05;
  text-transform:uppercase; font-size:clamp(1.9rem,4.5vw,3rem); color:var(--ink); margin-bottom:0.9rem;
}
.article .article-meta { font-size:0.82rem; color:var(--muted); margin-bottom:2.2rem; }
.article .lede { font-size:1.2rem; line-height:1.8; color:var(--ink); margin-bottom:1.8rem; font-weight:500; }
.article h2 {
  font-family:var(--ff-head); font-weight:800; letter-spacing:-0.02em; font-size:1.4rem;
  text-transform:none; color:var(--ink); margin:2.4rem 0 0.9rem;
}
.article p { font-size:1.08rem; line-height:1.85; color:var(--muted); margin-bottom:1.1rem; }
.article ul, .article ol { margin:0 0 1.3rem 1.2rem; }
.article li { font-size:1.08rem; line-height:1.8; color:var(--muted); margin-bottom:0.5rem; }
.article strong { color:var(--ink); font-weight:700; }
.article a.inline-link { color:var(--blue); font-weight:600; border-bottom:1px solid var(--blue-pale); }
.article a.inline-link:hover { border-bottom-color:var(--blue); }

.callout {
  background:var(--blue-pale); border-radius:var(--r-card); padding:1.6rem 1.8rem;
  margin:2rem 0; border:1px solid rgba(1,67,150,0.12);
}
.callout p { color:var(--navy); margin-bottom:0; font-size:1.02rem; }
.callout strong { color:var(--blue); }

.app-cta {
  margin-top:3rem; padding:2.2rem; border-radius:var(--r-card);
  background:var(--navy); text-align:center;
}
.app-cta p { color:rgba(255,255,255,0.55); margin-bottom:1.2rem; font-size:1.02rem; }
.app-cta .cta-btns { display:flex; gap:0.6rem; justify-content:center; flex-wrap:wrap; }
.btn-lime,
.btn-ghost-w    { background:var(--white); color:var(--blue); border:1.5px solid var(--blue); }
.btn-lime:hover,
.btn-ghost-w:hover { background:var(--blue); color:var(--white); border-color:var(--blue); transform:translateY(-2px); }

.sources {
  margin-top:3rem; padding-top:1.8rem; border-top:1px solid var(--border);
}
.sources h3 { font-size:0.7rem; font-weight:800; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:0.8rem; }
.sources ul { margin-left:1.1rem; }
.sources li { font-size:0.88rem; color:var(--muted); margin-bottom:0.4rem; }
.sources a { color:var(--blue); }

.back-link { display:inline-block; margin-bottom:2rem; font-size:0.85rem; font-weight:600; color:var(--muted); }
.back-link:hover { color:var(--blue); }

/* ── FOOTER ── */
footer { background:var(--navy); padding:3rem 5vw 2rem; margin-top:2rem; }
.ft-brand { display:inline-flex; align-items:center; gap:0.5rem; margin-bottom:0.6rem; }
.ft-brand img { width:22px; height:22px; border-radius:6px; }
.ft-brand span { font-family:var(--ff-head); font-weight:700; font-size:0.74rem; color:var(--white); }
.ft-bottom { font-size:0.7rem; color:rgba(255,255,255,0.3); margin-top:1.5rem; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,0.08); }
.ft-bottom a { color:rgba(255,255,255,0.5); }
