/* ==========================================================================
   City Solution — Site styles
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-tint { background: var(--bg-subtle); }
.section-cream { background: var(--cs-cream); }
.section-dark { background: var(--cs-charcoal); color: var(--fg-inverse); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark .h1, .section-dark .h2, .section-dark .h3, .section-dark .h-display { color: var(--fg-inverse); }
.section-dark p { color: rgba(255,255,255,0.92); }
.section-dark .eyebrow { color: var(--cs-blue-400); }
.section-dark .lede { color: rgba(255,255,255,0.92); }
.section-dark .sec-head p { color: rgba(255,255,255,0.92); }
.section-dark .timeline-step p { color: rgba(255,255,255,0.88); }
.cta-banner .sec-head p { color: rgba(255,255,255,0.92); }
.embed .sec-head p { color: rgba(255,255,255,0.92); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-sm { padding: 56px 0; } }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--brand); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Headings */
.h-display { font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 24px; color: var(--fg); }
.h-display em { font-style: italic; font-weight: 500; color: var(--brand); }
.h1 { font-family: var(--font-display); font-size: clamp(36px, 4.8vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 20px; color: var(--fg); }
.h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--fg); }
.h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0 0 12px; color: var(--fg); }
.lede { font-size: 19px; line-height: 1.55; color: var(--fg-muted); max-width: 62ch; margin: 0 0 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: all .18s ease; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px -8px rgba(0,128,200,0.6); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-dark { background: var(--cs-charcoal-700); color: #fff; }
.btn-dark:hover { background: var(--cs-charcoal); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-subtle); color: var(--fg); }
.btn-light { background: #fff; color: var(--cs-charcoal); }
.btn-light:hover { background: var(--cs-charcoal-50); color: var(--cs-charcoal); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-link { background: transparent; color: var(--brand); padding: 0; border: 0; border-radius: 0; border-bottom: 1px solid currentColor; padding-bottom: 3px; gap: 6px; font-weight: 700; font-size: 14.5px; }
.btn-link:hover { color: var(--brand-hover); transform: none; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-subtle); }
.site-header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-name .a { color: var(--brand); }
.brand-name .b { color: var(--cs-charcoal); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav-toggle { display: none; padding: 8px; border-radius: 6px; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 32px 28px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); font-size: 16px; }
  .nav .btn { margin-top: 8px; }
  .nav-toggle { display: inline-flex; }
}

/* Footer */
.site-footer { background: var(--cs-charcoal); color: rgba(255,255,255,0.95); padding: 88px 0 32px; }
.site-footer .brand-logo { height: 46px; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-col h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-mono); font-weight: 600; margin: 0 0 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-brand .footer-tag { max-width: 36ch; line-height: 1.6; margin: 18px 0 24px; color: rgba(255,255,255,0.92); font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 13px; color: rgba(255,255,255,0.78); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col ul { gap: 2px; }
  .footer-col ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Comparison table scroll hint on small screens */
@media (max-width: 720px) {
  .compare-scroll { position: relative; }
  .compare-scroll::after { content: "Scroll \2192"; position: absolute; top: -28px; right: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 100px 0 120px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--cs-blue-50); color: var(--cs-blue-700); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cs-success); box-shadow: 0 0 0 4px rgba(31,143,78,0.15); }
.hero-pill .badge { background: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--cs-charcoal); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hero-meta { display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--fg); letter-spacing: -0.02em; }
.hero-meta .lbl { font-size: 13px; color: var(--fg-muted); }

/* Hero ambient grid background */
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.45; background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at top right, #000 30%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; background: var(--cs-blue-200); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: #FBF1DE; bottom: -120px; left: -80px; opacity: 0.7; }

/* Generic card */
.card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cs-blue-200); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--fg-muted); margin: 0; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: all .2s ease; position: relative; overflow: hidden; }
.svc-card:hover { border-color: var(--cs-blue-200); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc-card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cs-blue-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.svc-card h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.svc-card p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; margin: 0; flex: 1; }
.svc-card .more { color: var(--brand); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more .arr { transform: translateX(3px); }

/* Section header */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head .copy { max-width: 620px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 12px 0 0; color: var(--fg-muted); font-size: 17px; line-height: 1.55; }

/* Embed diagram */
.embed { position: relative; padding: 56px 40px; border-radius: 24px; background: var(--cs-charcoal); color: #fff; overflow: hidden; }
.embed .grid-bg { opacity: 0.08; mask-image: none; -webkit-mask-image: none; }
.embed-stage { position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 56px; align-items: center; min-height: 360px; }
@media (max-width: 900px) { .embed-stage { grid-template-columns: 1fr; gap: 24px; min-height: auto; } }
.embed-node { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px; backdrop-filter: blur(8px); }
.embed-node h4 { color: #fff; font-size: 14px; margin: 0 0 4px; font-family: var(--font-display); }
.embed-node p { color: rgba(255,255,255,0.9); font-size: 13px; margin: 0; line-height: 1.5; }
.embed-mid { display: flex; flex-direction: column; gap: 10px; }
.embed-flow { position: relative; height: 2px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; }
.embed-flow::after { content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--cs-blue-400), transparent); animation: flow 2.4s linear infinite; }
@keyframes flow { to { left: 100%; } }

/* Comparison table */
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; background: #fff; font-size: 14.5px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-subtle); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th { background: var(--bg-subtle); font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg); }
.compare .col-us { background: var(--cs-blue-50); color: var(--cs-blue-700); position: relative; }
.compare td.col-us { background: rgba(0,128,200,0.04); font-weight: 600; color: var(--cs-charcoal); }
.compare .row-label { font-weight: 700; color: var(--fg); }
.compare .y { color: var(--cs-success); font-weight: 700; }
.compare .n { color: var(--cs-charcoal-300); font-weight: 700; }
.compare .m { color: var(--cs-warn); font-weight: 700; }

/* Timeline */
.timeline { position: relative; }
.timeline-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline-track::before { content: ""; position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: var(--border); z-index: 0; }
.timeline-track::after { content: ""; position: absolute; left: 8%; top: 32px; height: 2px; background: var(--brand); z-index: 1; transition: width 1.2s ease; width: 0; }
.timeline.in-view .timeline-track::after { width: 84%; }
.timeline-step { position: relative; z-index: 2; padding-top: 80px; }
.timeline-step .dot { position: absolute; top: 20px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--fg-muted); transition: all .3s ease; }
.timeline.in-view .timeline-step .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.timeline-step .label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.timeline-step h4 { font-family: var(--font-display); font-size: 18px; margin: 0 0 8px; line-height: 1.25; }
.timeline-step p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .timeline-track { grid-template-columns: 1fr; gap: 16px; }
  .timeline-track::before, .timeline-track::after { left: 12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline.in-view .timeline-track::after { width: 2px; height: 84%; }
  .timeline-step { padding-top: 0; padding-left: 44px; }
  .timeline-step .dot { top: 0; left: 0; }
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--cs-charcoal); color: #fff; border-color: var(--cs-charcoal); position: relative; }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured p { color: rgba(255,255,255,0.92); }
.price-card.featured .price-li { color: rgba(255,255,255,0.95); }
.price-card.featured .badge-pop { position: absolute; top: -12px; right: 24px; background: var(--brand); color: #fff; padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; font-family: var(--font-mono); }
.price-card h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 700; color: var(--brand); }
.price-card .price-card-sub { font-size: 14px; color: var(--fg-muted); margin: 0 0 24px; min-height: 42px; }
.price-card.featured .price-card-sub { color: rgba(255,255,255,0.9); }
.price-card .price { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-card .price small { font-size: 14px; font-weight: 500; color: var(--fg-muted); margin-left: 6px; }
.price-card.featured .price small { color: rgba(255,255,255,0.85); }
.price-card .from { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px; }
.price-card.featured .from { color: rgba(255,255,255,0.85); }
.price-card ul.price-list { list-style: none; padding: 0; margin: 28px 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card .price-li { font-size: 14.5px; display: flex; align-items: flex-start; gap: 10px; color: var(--fg); }
.price-card .price-li::before { content: "✓"; color: var(--cs-success); font-weight: 800; margin-top: 1px; }
.price-card.featured .price-li::before { color: var(--cs-blue-400); }

/* Testimonial / quote */
.quote-card { background: var(--cs-cream); border-radius: 18px; padding: 56px; position: relative; }
.quote-card .quotemark { font-family: var(--font-display); font-size: 100px; color: var(--cs-blue-200); position: absolute; top: 24px; left: 32px; line-height: 1; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.3; color: var(--fg); position: relative; z-index: 1; max-width: 60ch; letter-spacing: -0.01em; }
.quote-card cite { display: block; margin-top: 24px; font-style: normal; font-size: 14px; color: var(--fg-muted); }

/* CTA banner */
.cta-banner { background: var(--cs-charcoal); color: #fff; border-radius: 24px; padding: 72px 56px; position: relative; overflow: hidden; }
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 50ch; }
.cta-banner .cta-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.cta-banner .grid-bg { opacity: 0.06; mask-image: none; -webkit-mask-image: none; }
@media (max-width: 720px) { .cta-banner { padding: 48px 28px; } }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0; opacity: 0.7; }
.logo-strip .ls-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.logo-strip .ls-item { font-family: var(--font-display); font-weight: 700; color: var(--fg-muted); font-size: 18px; letter-spacing: -0.01em; }

/* Global coverage band */
.global-band { padding: 96px 0; background: var(--bg-tint); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.global-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .global-grid { grid-template-columns: 1fr; gap: 36px; } .global-band { padding: 72px 0; } }
.global-copy .lede { font-size: 17px; margin-bottom: 0; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.country { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.country:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.country.home { background: var(--cs-charcoal); color: #fff; border-color: var(--cs-charcoal); grid-column: 1 / -1; }
.country.home .country-role { color: rgba(255,255,255,0.85); }
.country.home .country-name { color: #fff; }
.country-code { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--brand); min-width: 44px; line-height: 1; }
.country.home .country-code { color: var(--cs-blue-400); font-size: 32px; }
.country-meta { display: flex; flex-direction: column; min-width: 0; }
.country-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg); }
.country-role { font-size: 12px; color: var(--fg-muted); margin-top: 3px; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--brand); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 0 24px; color: var(--fg-muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }

/* Lead magnet block */
.magnet { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 24px; background: linear-gradient(135deg, var(--cs-blue-50) 0%, #fff 100%); border: 1px solid var(--cs-blue-200); }
@media (max-width: 900px) { .magnet { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; } }
.magnet-doc { aspect-ratio: 3 / 4; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; transform: rotate(-3deg); transition: transform .3s ease; max-width: 320px; margin: 0 auto; position: relative; }
.magnet-doc:hover { transform: rotate(-1deg) translateY(-4px); }
.magnet-doc::before { content: ""; position: absolute; inset: 12px 12px auto auto; width: 56px; height: 56px; background: var(--cs-blue-50); border-radius: 12px; opacity: 0.6; }
.magnet-doc .doc-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); font-weight: 700; position: relative; z-index: 1; }
.magnet-doc .doc-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; position: relative; z-index: 1; }
.magnet-doc .doc-lines { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.magnet-doc .doc-line { height: 6px; background: var(--cs-charcoal-100); border-radius: 999px; }
.magnet-doc .doc-line.s { width: 70%; }
.magnet-doc .doc-line.m { width: 90%; }
.magnet-doc .doc-line.brand { background: var(--cs-blue-200); width: 50%; }
.magnet-form { display: flex; flex-direction: column; gap: 12px; }
.magnet-form label { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
.magnet-form input { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff; }
.magnet-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,128,200,0.18); }
.magnet-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.magnet-form .row > div { min-width: 0; }
@media (max-width: 600px) { .magnet-form .row { grid-template-columns: 1fr; } }
.magnet-form .agree { font-size: 12px; color: var(--fg-muted); margin: 4px 0 0; }
.magnet-success { padding: 18px; background: var(--cs-success-bg); color: var(--cs-success); border-radius: 10px; font-weight: 600; font-size: 14.5px; display: none; }
.magnet-form.sent .magnet-fields { display: none; }
.magnet-form.sent .magnet-success { display: block; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: all .2s ease; text-decoration: none; color: inherit; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16 / 10; background: var(--bg-subtle); display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.post-thumb svg { width: 100%; height: 100%; }
.post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.post-meta .tag { color: var(--brand); font-weight: 700; }
.post-body h3 { font-size: 20px; font-family: var(--font-display); font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
.post-body p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; margin: 0; flex: 1; }
.post-body .read { color: var(--brand); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }

/* Article body */
.article { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.article h2 { font-size: 32px; margin: 56px 0 16px; }
.article h3 { font-size: 22px; margin: 36px 0 12px; }
.article p { font-size: 17.5px; line-height: 1.7; margin: 0 0 20px; color: var(--fg); }
.article ul, .article ol { font-size: 17.5px; line-height: 1.7; padding-left: 24px; margin: 0 0 24px; }
.article ul li, .article ol li { margin-bottom: 8px; }
.article blockquote { margin: 32px 0; padding: 24px 28px; border-left: 4px solid var(--brand); background: var(--bg-tint); border-radius: 8px; font-family: var(--font-display); font-size: 20px; line-height: 1.4; color: var(--fg); }
.article hr { border: 0; height: 1px; background: var(--border); margin: 56px 0; }
.article .callout { padding: 24px 28px; background: var(--cs-cream); border-radius: 12px; margin: 28px 0; }
.article .callout strong { color: var(--brand); }
.article .article-header { padding: 64px 0 32px; text-align: left; }
.article .article-header h1 { font-size: clamp(36px, 5vw, 56px); }

/* Service detail hero */
.svc-hero { padding: 80px 0 56px; background: linear-gradient(180deg, var(--cs-blue-50) 0%, transparent 100%); }
.svc-hero h1 { max-width: 22ch; }

/* Process / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; counter-increment: step; position: relative; }
.step::before { content: "0" counter(step); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--brand); font-weight: 700; }
.step h4 { margin: 12px 0 6px; font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.step p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* Stack info row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-row .stat { padding: 24px; border: 1px solid var(--border-subtle); border-radius: 14px; }
.stat-row .stat .n { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; color: var(--fg); }
.stat-row .stat .l { font-size: 13.5px; color: var(--fg-muted); margin-top: 6px; }

/* Inline tweaks chip */
.scroll-fade > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.scroll-fade.in-view > * { opacity: 1; transform: translateY(0); }
.scroll-fade.in-view > *:nth-child(2) { transition-delay: .08s; }
.scroll-fade.in-view > *:nth-child(3) { transition-delay: .16s; }
.scroll-fade.in-view > *:nth-child(4) { transition-delay: .24s; }
.scroll-fade.in-view > *:nth-child(5) { transition-delay: .32s; }
.scroll-fade.in-view > *:nth-child(6) { transition-delay: .4s; }

/* Hero variants */
[data-hero="tech"] .hero-visual { display: block; }
[data-hero="tech"] .hero-photo, [data-hero="tech"] .hero-edit { display: none; }
[data-hero="editorial"] .hero-edit { display: block; }
[data-hero="editorial"] .hero-visual, [data-hero="editorial"] .hero-photo { display: none; }
[data-hero="calm"] .hero-photo { display: block; }
[data-hero="calm"] .hero-visual, [data-hero="calm"] .hero-edit { display: none; }
[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; text-align: left; }
[data-hero="editorial"] .h-display { font-size: clamp(56px, 9vw, 132px); max-width: 16ch; }

/* Hero dashboard mockup (tech variant) */
.dash { background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-subtle); }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.dash-top .url { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.dash-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-kpi { padding: 18px; border: 1px solid var(--border-subtle); border-radius: 10px; }
.dash-kpi .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-muted); }
.dash-kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin-top: 4px; }
.dash-kpi .d { font-size: 12px; font-weight: 600; margin-top: 4px; }
.dash-kpi .d.up { color: var(--cs-success); }
.dash-kpi .d.down { color: var(--cs-danger); }
.dash-chart { grid-column: 1 / -1; padding: 18px; border: 1px solid var(--border-subtle); border-radius: 10px; }
.dash-rows { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.dash-row { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--bg-subtle); border-radius: 8px; font-size: 13px; }
.dash-row .pill { font-family: var(--font-mono); font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.dash-row .pill.paid { background: var(--cs-success-bg); color: var(--cs-success); }
.dash-row .pill.due { background: var(--cs-warn-bg); color: var(--cs-warn); }

/* Hero editorial */
.hero-edit-meta { display: flex; gap: 40px; margin-top: 40px; font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted); }
.hero-edit-meta strong { color: var(--fg); font-weight: 700; }

/* Hero calm photo placeholder */
.hero-photo-img { aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(135deg, var(--cs-blue-200), var(--cs-cream)); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-img::after { content: "Photo · founder + accountant reviewing the books"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: rgba(48,48,48,0.5); padding: 24px; text-align: center; }

/* Breadcrumbs */
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-muted); padding: 24px 0; }
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { margin: 0 8px; color: var(--border-strong); }

/* Two col layout */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .two-col.reverse > :first-child { order: 0; } }

/* Tag pills */
.tag-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--cs-blue-50); color: var(--cs-blue-700); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Util */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; }
