/* ==========================================================================
   9×12 Community Flyers — advertiser landing + sign-up funnel
   (hosted at impressions.co/flyers, /flyersignupportland, /flyersignupsandiego)

   Sells the shared 9×12 community-flyer advertising program and captures
   advertiser sign-ups. Built on the shared brand tokens (tokens.css) and the
   main-site chrome (site.css) + form components (quote.css), with impulse-style
   reveal-on-scroll motion, gradient text, and soft process-ink glows on top.

   City is fixed by URL (a city page shows only its city; bare /flyers shows a
   city chooser). Visibility is driven by <html class="city-locked|city-choose">.
   ========================================================================== */

/* AA-safe cyan shades: brand --cyan (#00ADEF) fails text contrast on white,
   so accented numbers/emphasis use darkened cyan — mirrors /impulse's
   --primary. Centralized here so a palette shift updates every use. */
.flyers-page { --fl-cyan-ink: #0a7fb0; --fl-cyan-deep: #0a6e94; }

/* ── City-gate visibility (no flash: <html> class set before paint) ──── */
html.city-choose .only-locked { display: none !important; }
html.city-locked .only-choose { display: none !important; }

/* ── Motion utilities (mirrors /impulse) ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Gradient headline accent — cyan → magenta on the light brand surface. */
.grad-text {
  background: linear-gradient(110deg, var(--cyan) 0%, var(--magenta) 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-2 { color: var(--fl-cyan-ink); }

/* Soft ink glows behind the hero. */
.fl-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.fl-glow-magenta { width: 520px; height: 520px; background: radial-gradient(circle, rgba(237,0,140,.14), transparent 70%); top: -180px; right: -120px; }
.fl-glow-cyan { width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,173,239,.12), transparent 70%); bottom: -200px; left: -140px; }

/* Shared section rhythm */
.fl-section { padding: 88px 0; background: var(--paper); position: relative; }
.fl-section-alt { background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fl-section .section-head { max-width: 760px; margin-bottom: 44px; }
.fl-section .section-head h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 12px 0 0; color: var(--ink); }
.fl-sub { color: var(--slate); font-size: 16px; line-height: 1.6; margin: 14px 0 0; max-width: 62ch; }

/* ── HEADER: 9×12 Flyers city dropdown ───────────────────────────────── */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--slate); text-decoration: none;
}
.nav-dd-btn:hover, .nav-dd.is-open .nav-dd-btn { color: var(--magenta); }
.nav-dd-caret { transition: transform .18s ease; }
.nav-dd.is-open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 190px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
/* Invisible hover-bridge across the button→menu gap, so moving the cursor
   down to a city link doesn't cross a dead zone and close the menu. */
.nav-dd-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.is-open .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--bone); color: var(--magenta); outline: none; }

/* ── HERO ────────────────────────────────────────────────────────────── */
.fl-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(0,173,239,.07) 0%, transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(237,0,140,.06) 0%, transparent 46%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.fl-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; padding: 76px 24px 84px; }
.fl-hero .eyebrow { display: block; margin-bottom: 16px; color: var(--magenta); }
.fl-hero h1 { font-weight: 900; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 20px; color: var(--ink); }
.fl-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--slate); max-width: 560px; margin: 0; }
.fl-lede strong { color: var(--ink); font-weight: 700; }

.fl-hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 30px 0 0; }
.fl-cta-note { font: 500 13px/1.3 var(--font-mono); letter-spacing: .02em; color: var(--slate); }

.fl-hero-stats { display: flex; flex-wrap: wrap; gap: 30px 40px; margin-top: 40px; }
.fl-hero-stats > div { max-width: 172px; font-size: 13px; color: var(--slate); line-height: 1.35; }
.fl-stat-num { display: block; font-size: 38px; font-weight: 900; letter-spacing: -1px; line-height: 1; color: var(--ink); }
.fl-hero-stats > div:nth-child(1) .fl-stat-num { color: var(--magenta); }
.fl-hero-stats > div:nth-child(2) .fl-stat-num { color: var(--fl-cyan-ink); }
.fl-hero-stats > div:nth-child(3) .fl-stat-num { color: #B07A00; }
.fl-stat-cap { display: block; margin-top: 7px; }

/* ── City picker (hero on bare /flyers + coverage/CTA prompts) ───────── */
.fl-city-pick { margin: 28px 0 0; }
.fl-city-pick-label { margin: 0 0 12px; font: 700 14px/1 var(--font-sans); color: var(--ink); }
.fl-city-cards { display: flex; gap: 14px; flex-wrap: wrap; }
.fl-city-cards-center { justify-content: center; }
.fl-city-card {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; min-width: 190px; box-shadow: var(--shadow);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.fl-city-card:hover { transform: translateY(-3px); border-color: var(--magenta); box-shadow: 0 16px 36px -14px rgba(237,0,140,.28); }
.fl-city-card-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.fl-city-card-sub { font: 600 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--magenta); text-transform: uppercase; }
.fl-city-card-lg { padding: 26px 34px; min-width: 240px; }
.fl-city-card-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.fl-city-card-dark .fl-city-card-name { color: #fff; }
.fl-city-card-dark .fl-city-card-sub { color: var(--yellow); }
.fl-city-card-dark:hover { border-color: var(--yellow); box-shadow: none; }

/* ── Flyer mockup visual ─────────────────────────────────────────────── */
.fl-hero-visual { position: relative; }
.flyer-mock {
  position: relative; aspect-ratio: 12 / 9; width: 100%; max-width: 520px; margin: 0 auto;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -18px rgba(1,1,1,.28); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; transform: rotate(-1.4deg); transition: transform .3s ease;
}
.flyer-mock:hover { transform: rotate(0deg) translateY(-4px); }
.flyer-mock-head { display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.flyer-mock-head .fm-title { color: var(--magenta); }
.fm-cmyk { display: inline-flex; gap: 3px; margin-right: 4px; }
.fm-cmyk i { width: 7px; height: 7px; border-radius: 50%; }
.fm-cmyk i:nth-child(1) { background: var(--cyan); }
.fm-cmyk i:nth-child(2) { background: var(--magenta); }
.fm-cmyk i:nth-child(3) { background: var(--yellow); }
.fm-cmyk i:nth-child(4) { background: var(--ink); }
.flyer-mock-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; }
.fm-ad {
  border-radius: 6px; background: var(--bone); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; padding: 4px; overflow: hidden;
}
.fm-ad-biz { font: 700 10px/1.1 var(--font-sans); color: var(--slate); }
.fm-ad-cat { font: 600 8px/1 var(--font-mono); letter-spacing: .03em; color: var(--slate-light); text-transform: uppercase; }
.fm-ad-you { background: rgba(237,0,140,.06); border: 1.5px dashed var(--magenta); }
.fm-you-badge { font: 800 10px/1.1 var(--font-sans); letter-spacing: 0.02em; color: var(--magenta); }
.fm-you-sub { font: 500 8px/1.1 var(--font-mono); color: var(--slate); }
.flyer-mock-foot { display: flex; align-items: center; justify-content: space-between; font: 500 11px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--slate); border-top: 1px dashed var(--line); padding-top: 10px; }
.fm-stamp { background: var(--ink); color: var(--yellow); padding: 4px 8px; border-radius: 4px; letter-spacing: 0.06em; }

/* ── ECONOMICS: savings calculator ───────────────────────────────────── */
.calc {
  display: grid; grid-template-columns: 1.06fr 0.94fr; margin: 0 0 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.calc-inputs { padding: 30px 32px; }
.calc-label { margin: 0 0 4px; font: 700 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.calc-help { margin: 0 0 22px; font-size: 13.5px; color: var(--slate); line-height: 1.5; }
.calc-sliders { display: flex; flex-direction: column; gap: 22px; }
.calc-slider { display: block; }
.calc-slider-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.calc-slider-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.calc-slider-val { font: 700 16px/1 var(--font-mono); color: var(--magenta); }
.calc-unit { font-size: 12px; font-weight: 500; color: var(--slate); }
/* Range input — brand magenta, cross-browser */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--bone-2); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--magenta); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(237,0,140,.4); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--magenta); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(237,0,140,.4); cursor: pointer; }
.range:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.calc-diy { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; padding-top: 18px; border-top: 1px dashed #d8d3c4; }
.calc-diy > span:first-child { font-size: 14px; font-weight: 700; color: var(--ink); }
.calc-diy-amt { font: 900 30px/1 var(--font-sans); letter-spacing: -1px; color: var(--ink); }
.calc-diy-note { margin: 8px 0 0; font-size: 12.5px; color: var(--slate); }
/* Result side — dark ink panel so the savings pop */
.calc-result { background: var(--ink); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; gap: 20px; }
.calc-result-label { margin: 0 0 4px; font: 700 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.calc-result-price { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.calc-result-price .calc-unit { color: rgba(255,255,255,.65); }
.calc-or { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); margin: 0 4px; }
.calc-result-price .accent-2 { color: #5ED2FF; }
.calc-save { border-top: 1px dashed rgba(255,255,255,.18); padding-top: 18px; }
.calc-save-amt { margin: 0; font: 900 clamp(40px, 6vw, 56px)/1 var(--font-sans); letter-spacing: -2px; color: var(--yellow); }
.calc-save-sub { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.calc-breakdown { border-top: 1px dashed rgba(255,255,255,.18); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.calc-breakdown div { display: flex; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.75); }
.calc-breakdown div span:last-child { font-family: var(--font-mono); font-weight: 600; color: #fff; }
.calc-breakdown .accent-2 { color: #5ED2FF; }

/* ── ECONOMICS: comparison table ─────────────────────────────────────── */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); background: var(--bone); vertical-align: bottom; }
.compare .compare-rowhead { color: var(--ink); }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--slate); }
.compare .compare-ours { color: var(--magenta); }
.compare .compare-ours-cell { background: rgba(237,0,140,.04); color: var(--ink); font-weight: 600; }
.compare .compare-total th, .compare .compare-total td { border-top: 2px solid var(--line); font-size: 15px; }
.compare .mono { font-family: var(--font-mono); }
.compare .accent { color: var(--magenta); font-weight: 800; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.fl-save-line { margin: 26px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 800px; }
.fl-save-line .accent { color: var(--magenta); font-weight: 800; }
.fl-save-line strong { font-weight: 800; }

/* ── HOW IT WORKS ────────────────────────────────────────────────────── */
.fl-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fl-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; }
.fl-step:hover { transform: translateY(-3px); border-color: var(--slate-light); }
.fl-step-n { position: absolute; top: 18px; right: 18px; font: 800 13px/1 var(--font-mono); background: var(--ink); color: #fff; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; }
.fl-step:nth-child(1) .fl-step-n { background: var(--cyan); color: var(--ink); }
.fl-step:nth-child(2) .fl-step-n { background: var(--magenta); }
.fl-step:nth-child(3) .fl-step-n { background: var(--yellow); color: var(--ink); }
.fl-step:nth-child(4) .fl-step-n { background: var(--ink); }
.fl-step-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--bone-2); margin-bottom: 16px; }
.fl-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.fl-step p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }

/* Differentiator chips under the steps */
.fl-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fl-diff { background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.fl-diff-kicker { margin: 0 0 6px; font: 700 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); }
.fl-diff p:last-child { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate); }

/* ── WHY (card grid) ─────────────────────────────────────────────────── */
.fl-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.fl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -14px rgba(1,1,1,.16); }
.fl-card-ic { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.fl-card-ic.ic-magenta { background: rgba(237,0,140,.10); }
.fl-card-ic.ic-cyan { background: rgba(0,173,239,.12); }
.fl-card-ic.ic-yellow { background: rgba(252,186,0,.18); }
.fl-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.fl-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }

/* ── WE DESIGN IT (dark band) ────────────────────────────────────────── */
.fl-design { background: var(--ink); color: #fff; border: 0; }
.fl-design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fl-design .eyebrow { display: block; margin-bottom: 14px; }
.fl-design-h { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 18px; color: #fff; }
.accent-y { color: var(--yellow); }
.fl-design-p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.78); margin: 0 0 16px; max-width: 52ch; }
.fl-design-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.fl-design-list li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px 22px; }
.fl-design-list b { display: block; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.fl-design-list span { display: block; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); }

/* ── COVERAGE (neighborhood chips, display only) ─────────────────────── */
.hood-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hood-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }
.hood-chips li::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--magenta); display: inline-block; flex-shrink: 0; }
.hood-note { margin: 22px 0 0; font-size: 14px; color: var(--slate); }
.hood-note a { color: var(--magenta); font-weight: 700; text-decoration: none; }
.hood-note a:hover { text-decoration: underline; }

/* ── LIVE AVAILABILITY + CART ────────────────────────────────────────── */
.av-wrap { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 24px; align-items: start; }
.av-main { min-width: 0; }
.av-controls { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-bottom: 20px; }
.av-field { min-width: 0; }
.av-label { display: block; font: 700 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.av-hoods, .av-months { display: flex; flex-wrap: wrap; gap: 8px; }
.av-chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 13px/1 var(--font-sans); color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.av-chip:hover { border-color: var(--magenta); }
.av-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.av-months .av-chip.is-active { background: var(--magenta); border-color: var(--magenta); }
.av-chip-open { font: 700 11px/1 var(--font-mono); color: var(--slate); margin-left: 6px; }
.av-chip.is-active .av-chip-open { color: rgba(255, 255, 255, .75); }
.av-chip.is-full { opacity: .5; }
.av-chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.av-flyer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.av-flyer-head { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.av-flyer-title { color: var(--ink); }
.av-open-badge { margin-left: auto; background: rgba(31, 138, 91, .12); color: #1f8a5b; border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.av-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .av-grid { grid-template-columns: repeat(2, 1fr); } }
.av-slot { aspect-ratio: 3 / 4; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; padding: 8px; font: 700 12px/1.2 var(--font-sans); cursor: pointer; border: 1.5px dashed var(--slate-light); background: var(--bone); color: var(--slate); transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.av-slot-ic { font-size: 18px; line-height: 1; }
.av-slot-num { font: 700 9px/1 var(--font-mono); opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
.av-slot.is-open { border-color: var(--magenta); color: var(--magenta); background: rgba(237, 0, 140, .05); }
.av-slot.is-open:hover { transform: translateY(-2px); background: rgba(237, 0, 140, .1); }
.av-slot.is-selected { border-style: solid; border-color: var(--magenta); background: var(--magenta); color: #fff; }
.av-slot.is-taken { border-style: solid; border-color: var(--line); background: var(--bone-2); color: var(--slate-light); cursor: not-allowed; }
.av-slot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.av-flyer-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; font: 500 11px/1 var(--font-mono); color: var(--slate); }
.av-status { margin: 12px 0 0; font-size: 13px; color: var(--slate); min-height: 18px; }

.av-cart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 88px; }
.av-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.av-cart-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.av-timer { font: 700 12px/1 var(--font-mono); color: var(--magenta); background: rgba(237, 0, 140, .08); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.av-cart-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.av-cart-item { display: flex; align-items: center; gap: 8px; background: var(--bone); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ci-text { flex: 1; min-width: 0; line-height: 1.3; }
.ci-text b { display: block; color: var(--ink); font-weight: 700; font-size: 13px; }
.ci-text span { color: var(--slate); font: 500 11px/1.2 var(--font-mono); }
.ci-remove { border: 0; background: transparent; color: var(--slate); font-size: 17px; cursor: pointer; padding: 2px 4px; line-height: 1; }
.ci-remove:hover { color: var(--magenta); }
.av-cart-empty { margin: 0 0 12px; font-size: 13px; color: var(--slate); line-height: 1.5; }

.av-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 14px; }
.av-plan-opt { position: relative; cursor: pointer; }
.av-plan-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.av-plan-opt > span { display: flex; flex-direction: column; gap: 2px; border: 1.5px solid #e5e2d8; border-radius: 10px; padding: 8px 10px; }
.av-plan-opt b { font-size: 13px; font-weight: 800; color: var(--ink); }
.av-plan-opt small { font: 500 10.5px/1.2 var(--font-mono); color: var(--slate); }
.av-plan-opt.is-active > span { border-color: var(--magenta); background: rgba(237, 0, 140, .05); }
.av-plan-opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.av-totals { border-top: 1px dashed #d8d3c4; padding-top: 12px; }
.av-total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: 13.5px; color: var(--slate); }
.av-total-row > span:last-child { font-weight: 700; color: var(--ink); font-family: var(--font-mono); }
.av-total-grand { border-top: 1px dashed #d8d3c4; margin-top: 6px; padding-top: 10px; }
.av-total-grand > span:first-child { font-weight: 700; color: var(--ink); }
.av-total-grand > span:last-child { font-size: 22px; font-weight: 900; color: var(--magenta); letter-spacing: -.5px; font-family: var(--font-sans); }
.av-total-grand > span:last-child small { font-size: 12px; font-weight: 600; color: var(--slate); }
.av-save { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: #1f8a5b; }
.av-reserve { width: 100%; margin: 14px 0 0; }
.av-reserve .btn-pixel__face { width: 100%; justify-content: center; }
.av-reserve:disabled { opacity: .5; pointer-events: none; }
.av-fine { margin: 10px 0 0; font-size: 11.5px; color: var(--slate); line-height: 1.4; text-align: center; }

/* ── Online booking — "coming soon" placeholder ──────────────────────────
   The self-serve availability grid + cart isn't live yet (guest checkout on
   the 9×12 app is still pending). This teaser stands in for it: a dimmed,
   non-interactive preview of the flyer grid under a "Coming soon" badge, next
   to a panel that routes the visitor to the sign-up form. Restore the
   interactive #availability markup once online checkout ships. */
.av-soon { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 24px; align-items: center; }
.av-soon-preview { position: relative; }
.av-soon-preview .av-flyer { pointer-events: none; }
.av-soon-preview .av-grid { opacity: .5; filter: saturate(.85); }
.av-soon-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px;
  font: 800 15px/1 var(--font-sans); letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 16px 34px -12px rgba(1, 1, 1, .5);
}
.av-soon-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 209, 0, .25); }
.av-soon-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.av-soon-panel h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.av-soon-lede { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.av-soon-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.av-soon-list li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.av-soon-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--magenta); font-weight: 800; }
.av-soon-cta { width: 100%; }
.av-soon-cta .btn-pixel__face { width: 100%; justify-content: center; }
.av-soon-fine { margin: 12px 0 0; font-size: 12px; color: var(--slate); line-height: 1.5; text-align: center; }
.av-soon-fine a { color: var(--magenta); font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .av-wrap { grid-template-columns: 1fr; }
  .av-soon { grid-template-columns: 1fr; }
  .av-cart { position: static; }
}

/* ── PRICING ─────────────────────────────────────────────────────────── */
.fl-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 780px; }
.fl-price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); }
.fl-price-featured { border-color: var(--magenta); box-shadow: 0 20px 50px -18px rgba(237,0,140,.35); }
.fl-price-flag { position: absolute; top: -13px; left: 28px; background: var(--magenta); color: #fff; font: 800 12px/1 var(--font-sans); padding: 6px 14px; border-radius: 999px; letter-spacing: 0.01em; }
.fl-price h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.fl-price-amt { font-size: 42px; font-weight: 900; letter-spacing: -1.5px; margin: 8px 0 4px; color: var(--ink); }
.fl-price-amt span { font-size: 15px; font-weight: 600; color: var(--slate); letter-spacing: 0; margin-left: 4px; }
.fl-price-door { margin: 0 0 6px; font: 600 13px/1.4 var(--font-mono); color: var(--slate); }
.fl-price-door strong { color: var(--magenta); }
.fl-price ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fl-price li { font-size: 14.5px; color: var(--slate); padding-left: 26px; position: relative; line-height: 1.45; }
.fl-price li strong { color: var(--ink); }
.fl-price li::before { content: "✓"; position: absolute; left: 0; color: var(--magenta); font-weight: 800; }
.fl-price-fine { margin: 26px 0 0; font-size: 14px; color: var(--slate); line-height: 1.6; max-width: 640px; }
.fl-price-fine strong { color: var(--ink); }

/* ── RECURRING band ──────────────────────────────────────────────────── */
.fl-recurring { background: var(--paper); padding: 72px 0; text-align: center; border-top: 1px solid var(--line); }
.fl-recurring .eyebrow { display: block; margin-bottom: 14px; }
.fl-recurring-line { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 auto 14px; max-width: 18ch; color: var(--ink); }
.fl-recurring-line .accent { color: var(--magenta); }
.fl-recurring .fl-sub { text-align: center; }

/* ── SIGN-UP FUNNEL ──────────────────────────────────────────────────── */
.fl-formwrap { background: var(--bone); padding: 80px 0 96px; border-top: 1px solid var(--line); }
.fl-formwrap .wrap { max-width: 860px; }
.fl-form { max-width: 860px; margin: 0 auto; }
/* Re-theme the reused quote form head from cyan → magenta to match the hero. */
.fl-form .formcard .head, .fl-form.formcard .head { background: var(--magenta); }
.fl-form .head p strong, .fl-form .head p span { color: #fff; }

/* Neighborhood multi-select chips */
.nb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 720px) { .nb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .nb-grid { grid-template-columns: 1fr; } }
.nb-chip { position: relative; display: block; cursor: pointer; }
.nb-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.nb-chip-face { display: flex; align-items: center; gap: 9px; border: 1.5px solid #e5e2d8; border-radius: 10px; background: #fff; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.nb-chip-face::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--slate-light); background: #fff; transition: background .15s ease, border-color .15s ease; }
.nb-chip:hover .nb-chip-face { border-color: var(--magenta); }
.nb-chip input:checked + .nb-chip-face { border-color: var(--magenta); background: rgba(237,0,140,.05); box-shadow: 0 0 0 3px rgba(237,0,140,.10); }
.nb-chip input:checked + .nb-chip-face::before { background: var(--magenta); border-color: var(--magenta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.nb-chip input:focus-visible + .nb-chip-face { outline: 2px solid var(--cyan); outline-offset: 2px; }
.nb-suggest { margin-top: 12px; }
.nb-chip-suggest { display: inline-block; }
.nb-chip-suggest .nb-chip-face { display: inline-flex; }
.nb-suggest-input { width: 100%; margin-top: 10px; padding: 12px 14px; font: 500 15px/1.4 var(--font-sans); border: 1.5px solid #e5e2d8; border-radius: 10px; background: #fff; color: var(--ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.nb-suggest-input:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(237,0,140,.12); }

/* Plan + artwork radio cards */
.plan-toggle, .art-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .plan-toggle, .art-choice { grid-template-columns: 1fr; } }
.plan-opt, .art-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input, .art-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-face, .art-face { display: flex; flex-direction: column; gap: 3px; border: 1.5px solid #e5e2d8; border-radius: 12px; background: #fff; padding: 14px 16px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.plan-face b, .art-face b { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.plan-face small, .art-face small { font-size: 12.5px; color: var(--slate); }
.plan-opt:hover .plan-face, .art-opt:hover .art-face { border-color: var(--magenta); }
.plan-opt.is-active .plan-face, .art-opt.is-active .art-face { border-color: var(--magenta); background: rgba(237,0,140,.05); box-shadow: 0 0 0 3px rgba(237,0,140,.10); }
.plan-opt input:focus-visible + .plan-face, .art-opt input:focus-visible + .art-face { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Live price summary */
.price-summary { margin-top: 18px; background: var(--bone); border: 1px dashed #d8d3c4; border-radius: 12px; padding: 18px 20px; }
.ps-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; }
.ps-label { font-size: 13.5px; color: var(--slate); }
.ps-value { font: 700 15px/1 var(--font-sans); color: var(--ink); }
.ps-total { border-top: 1px dashed #d8d3c4; margin-top: 6px; padding-top: 12px; }
.ps-total .ps-label { font-weight: 700; color: var(--ink); font-size: 14px; }
.ps-total .ps-value { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; color: var(--magenta); }
.ps-total .ps-value small { font-size: 13px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.ps-save { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #1f8a5b; }

/* Deadline banner */
.deadline-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; background: rgba(0,173,239,.07); border: 1px solid rgba(0,173,239,.28); border-radius: 12px; padding: 14px 18px; }
.dn-ic { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.deadline-note p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.deadline-note b { color: var(--fl-cyan-deep); }

/* Dimensions & upload tips button */
.tips-btn { border: 0; background: transparent; cursor: pointer; color: var(--magenta); font: 600 12px/1 var(--font-sans); text-decoration: underline; padding: 0; }
.tips-btn:hover { color: var(--magenta-deep); }
#upload-field.is-hidden { display: none; }

/* ── ARTWORK TIPS MODAL ──────────────────────────────────────────────── */
.tips-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.tips-modal[hidden] { display: none; }
.tips-backdrop { position: absolute; inset: 0; background: rgba(1,1,1,.55); backdrop-filter: blur(2px); }
.tips-panel { position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: var(--paper); border-radius: 16px; box-shadow: 0 40px 80px -20px rgba(1,1,1,.5); padding: 32px 32px 28px; animation: tipsIn .22s ease; }
@keyframes tipsIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tips-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--slate); cursor: pointer; padding: 4px 8px; }
.tips-close:hover { color: var(--ink); }
.tips-panel h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); padding-right: 30px; }
.tips-intro { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.tips-intro strong { color: var(--ink); }
.tips-spec { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.tips-spec-head { background: var(--bone); padding: 12px 16px; font: 700 13px/1 var(--font-sans); color: var(--ink); border-bottom: 1px solid var(--line); }
.tips-spec-head span { font-weight: 500; color: var(--slate); }
.tips-spec table { width: 100%; border-collapse: collapse; }
.tips-spec th, .tips-spec td { text-align: left; padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.tips-spec tr:last-child th, .tips-spec tr:last-child td { border-bottom: 0; }
.tips-spec th { color: var(--slate); font-weight: 600; width: 48%; }
.tips-spec td { color: var(--ink); font-weight: 700; font-family: var(--font-mono); font-size: 13.5px; }
.tips-panel h4 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
.tips-list { margin: 0 0 22px; padding-left: 20px; }
.tips-list li { font-size: 14px; line-height: 1.6; color: var(--slate); margin-bottom: 7px; }
.tips-list strong { color: var(--ink); }
.tips-note { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.tips-foot { display: flex; justify-content: flex-end; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fl-hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 52px 24px 60px; }
  .fl-hero-visual { max-width: 460px; }
  .calc { grid-template-columns: 1fr; }
  .fl-steps { grid-template-columns: repeat(2, 1fr); }
  .fl-why-grid { grid-template-columns: repeat(2, 1fr); }
  .fl-diff-grid { grid-template-columns: 1fr; }
  .fl-design-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .fl-section { padding: 60px 0; }
  .fl-why-grid { grid-template-columns: 1fr; }
  .fl-price-grid { grid-template-columns: 1fr; }
  .fl-hero-stats { gap: 22px 30px; }
  .calc-inputs, .calc-result { padding: 24px 22px; }
  .fl-city-cards { flex-direction: column; }
  .fl-city-card { min-width: 0; }
}
@media (max-width: 480px) { .fl-steps { grid-template-columns: 1fr; } }

/* Header dropdown on mobile: the nav collapses (site.css), so show the two
   city links inline instead of a floating menu. */
@media (max-width: 980px) {
  .nav-dd { display: block; }
  .nav-dd-btn { display: none; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a { padding: 14px 24px; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flyer-mock, .fl-step, .fl-card, .fl-city-card, .nav-dd-caret, .nav-dd-menu { transition: none; }
  .flyer-mock:hover { transform: rotate(-1.4deg); }
  .tips-panel { animation: none; }
}
