/* ============================================================
   /for-restaurants — landing page styles
   Adapted from the Claude Design handoff bundle (chat 2026-05-11).
   - Recreated as vanilla CSS (the prototype was React/JSX).
   - Fonts mapped to our self-hosted stack: Outfit (display/body),
     JetBrains Mono (mono). No new font downloads.
   - All selectors scoped under .fr-page so nothing collides with app.css.
   - Cream section variants dropped (per the design chat); tweaks-panel
     dropped (design-tool artifact). Animations + reduced-motion kept.
   ============================================================ */

/* ---- Tokens (scoped) ---- */
.fr-page {
  --bg: #0B0D10;
  --bg-elev: #14181C;
  --bg-elev-2: #1A1F25;

  --line: #1F252B;
  --line-strong: #2A3138;

  --ink: #F5F1EA;
  --ink-2: #B8BDC4;
  --ink-mute: #7C828A;
  --ink-dim: #4B5159;
  --ink-dark-mute: #6B7079;

  --orange: #F97316;
  --orange-hi: #FB923C;
  --orange-soft: rgba(249, 115, 22, 0.12);
  --orange-line: rgba(249, 115, 22, 0.28);

  --green: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.14);
  --green-line: rgba(34, 197, 94, 0.32);

  --amber: #F59E0B;

  --display: 'Outfit', 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --body: 'Outfit', 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  color: var(--ink);
  font-family: var(--body);
}

body.fr-page {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

.fr-page * { box-sizing: border-box; }
.fr-page a { color: inherit; text-decoration: none; }
.fr-page button { font-family: inherit; cursor: pointer; }
.fr-page img { display: block; max-width: 100%; }

/* ---- Layout ---- */
.fr-page .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.fr-page .container-narrow {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px;
}
.fr-page section { position: relative; }
@media (max-width: 600px) {
  .fr-page .container, .fr-page .container-narrow { padding: 0 18px; }
}

/* ---- Type ---- */
.fr-page .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.fr-page .eyebrow.muted { color: var(--ink-mute); }

.fr-page h1, .fr-page h2, .fr-page h3, .fr-page h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.fr-page h1 { font-size: 64px; line-height: 1.0; letter-spacing: -0.035em; }
.fr-page h2 { font-size: 44px; line-height: 1.04; letter-spacing: -0.03em; }
.fr-page h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
.fr-page h4 { font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.fr-page h1 .accent { color: var(--orange); }

.fr-page .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 56ch;
}
@media (max-width: 880px) {
  .fr-page h1 { font-size: 42px; }
  .fr-page h2 { font-size: 32px; }
  .fr-page h3 { font-size: 22px; }
  .fr-page .lede { font-size: 17px; }
}

/* ---- Buttons ---- */
.fr-page .btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: 12px;
  border: 0;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.fr-page .btn-primary {
  background: var(--orange);
  color: #1A0A00;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -8px rgba(249,115,22,0.55);
}
.fr-page .btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.fr-page .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.fr-page .btn-ghost:hover { border-color: var(--ink-2); }
.fr-page .btn-lg { padding: 18px 28px; font-size: 17px; }
.fr-page .btn .arr { transition: transform .15s ease; }
.fr-page .btn:hover .arr { transform: translateX(3px); }

/* ---- Section-jump links injected into the shared .top-nav ----
   nav.js reads window.WBS_NAV_SECTIONS (set in the page <head>) and prepends
   these into .top-nav-links (desktop) + .top-nav-mobile-menu (mobile). They
   reuse app.css's .top-nav-link styling; here we just make them a touch more
   compact, add the divider before the global site links, and free up room. */
.fr-page .top-nav .top-nav-link.nav-section {
  font-size: 13px;
  padding: 8px 11px;
  white-space: nowrap;
}
.fr-page .top-nav .nav-section-divider {
  width: 1px;
  height: 18px;
  background: #333;
  margin: 0 8px 0 4px;
  flex-shrink: 0;
}
.fr-page .top-nav-mobile-menu .nav-section-mobile-sep {
  border-top: 1px solid #2e2e2e;
  margin: 6px 4px;
}
/* The wordmark is ~180px of brand width we don't need once the section links
   are in the bar — hide it (logo stays) on narrower desktops so the 7 links
   never crowd. The ≤768px hamburger breakpoint (app.css) handles small screens
   — at that point .top-nav-links (including .nav-section links) is hidden and
   the mobile menu carries them. */
@media (max-width: 1100px) {
  .fr-page .top-nav .top-nav-wordmark { display: none; }
}

/* The ambient aurora + floating-particle backdrop is the canonical shared
   implementation in app.css (.bg-aurora / .aurora-layer / .bg-particles /
   .particle, keyframes aurora-shift + float-up). This page just renders the
   markup (see for-restaurants.html, near the top of <body>). No page-scoped
   copy here anymore. */

/* ---- HERO ---- */
.fr-page .hero {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(249,115,22,0.10), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(249,115,22,0.06), transparent 60%),
    var(--bg);
}
.fr-page .hero > .container { position: relative; z-index: 2; }
.fr-page .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.fr-page .hero-eye { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.fr-page .hero-eye .dot {
  width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: fr-hero-dot 1.8s ease-in-out infinite;
}
.fr-page .hero-eye .eyebrow { display: inline-block; }
.fr-page .hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
}
.fr-page .hero-cta-row {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.fr-page .hero-meta {
  margin-top: 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--mono);
}
.fr-page .hero-meta .check { display: inline-flex; align-items: center; gap: 6px; }
.fr-page .hero-meta .check svg { color: var(--green); }
@media (max-width: 980px) {
  .fr-page .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .fr-page .hero { padding: 56px 0 56px; }
}

/* Hero visual stage (right column) */
.fr-page .hero-stage {
  position: relative;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(249,115,22,0.04), rgba(11,13,16,0) 40%),
    var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6);
}
.fr-page .faux-map {
  position: absolute; inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(34,197,94,0.18), transparent 2%),
    radial-gradient(circle at 80% 50%, rgba(249,115,22,0.22), transparent 2%),
    radial-gradient(circle at 50% 70%, rgba(34,197,94,0.16), transparent 2%),
    radial-gradient(circle at 30% 80%, rgba(249,115,22,0.16), transparent 2%),
    radial-gradient(circle at 65% 20%, rgba(34,197,94,0.16), transparent 2%);
  background-size: 100% 100%;
}
.fr-page .hero-stage .stage-mascot {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.fr-page .hero-stage .stage-mascot img {
  width: 62%; max-width: 320px; height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: fr-float-soft 5s ease-in-out infinite;
}
/* When a restaurant is picked from the hero search, the mascot illustration
   is swapped for that restaurant's thumbnail — render it as a framed photo,
   nudged up so it clears the float-card pinned at the bottom of the stage. */
.fr-page .hero-stage .stage-mascot.has-photo {
  align-items: flex-start;
  padding: 9% 0 0;
}
.fr-page .hero-stage .stage-mascot.has-photo img {
  width: 78%; max-width: 360px;
  aspect-ratio: 4 / 3; height: auto;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 56px -16px rgba(0, 0, 0, 0.65);
  filter: none;
}
.fr-page .hero-stage .stage-pin {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.fr-page .hero-stage .float-card {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(20,24,28,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.fr-page .hero-stage .float-card .fc-name {
  font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink);
}
.fr-page .hero-stage .float-card .fc-meta {
  font-size: 12px; color: var(--ink-mute); font-family: var(--mono);
}
.fr-page .hero-stage .float-card .fc-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  padding: 4px 8px; background: var(--green-soft); color: var(--green);
  border: 1px solid var(--green-line); border-radius: 4px; text-transform: uppercase;
  flex-shrink: 0;
}

/* ---- Search shell (wired to /api/v1/restaurants/lookup) ---- */
.fr-page .search-shell {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px 14px;
  margin-top: 30px;
  max-width: 560px;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.6);
}
.fr-page .search-shell-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px; gap: 4px 12px;
}
.fr-page .search-shell .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-2); text-transform: uppercase;
}
.fr-page .search-shell .label-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase; white-space: nowrap;
}
.fr-page .search-row {
  display: flex; gap: 6px; align-items: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 4px 4px 4px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fr-page .search-row:focus-within {
  border-color: var(--orange-line);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.fr-page .search-row .search-ico { color: var(--ink-mute); flex-shrink: 0; }
.fr-page .search-row input {
  flex: 1; background: transparent; border: 0; color: var(--ink); font-family: var(--body);
  font-size: 15px; padding: 12px 0; outline: none; min-width: 0;
}
.fr-page .search-row input::placeholder { color: var(--ink-mute); }
.fr-page .search-row .btn-primary { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.fr-page .search-hint {
  margin-top: 10px; font-size: 12px; color: var(--ink-mute);
  font-family: var(--mono); letter-spacing: 0.04em;
}
.fr-page .search-hint a { color: var(--orange); transition: color .15s ease; }
.fr-page .search-hint a:hover { color: var(--orange-hi); }

/* Search results dropdown + preview */
.fr-page .search-results {
  margin-top: 10px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  max-height: 320px; overflow-y: auto;
}
.fr-page .search-result {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer; color: var(--ink-2);
  font-family: inherit; transition: background .12s ease;
}
.fr-page .search-result:last-child { border-bottom: 0; }
.fr-page .search-result:hover { background: var(--orange-soft); }
.fr-page .search-result .sr-name { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-page .search-result .sr-addr { font-size: 12px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-page .search-result .sr-pick { font-size: 11px; color: var(--orange); flex-shrink: 0; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.fr-page .search-preview {
  margin-top: 10px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 12px;
  padding: 16px;
}
.fr-page .search-preview .sp-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.fr-page .search-preview .sp-addr { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.fr-page .search-preview .sp-body { font-size: 13px; color: var(--ink-2); margin: 12px 0 14px; }
.fr-page .search-preview .sp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fr-page .search-notfound {
  margin-top: 10px; padding: 14px 16px; font-size: 13px; color: var(--ink-mute);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 10px;
  text-align: center; font-family: var(--mono); letter-spacing: 0.02em;
}

/* ---- Stats strip ---- */
.fr-page .stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* slightly translucent so the aurora glow bleeds through faintly */
  background: rgba(20, 24, 28, 0.86);
}
.fr-page .stats-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.fr-page .stat-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.fr-page .stat-cell:last-child { border-right: 0; }
.fr-page .stat-cell .num {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.fr-page .stat-cell .num .unit { color: var(--orange); }
.fr-page .stat-cell .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
}
@media (max-width: 880px) {
  .fr-page .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .fr-page .stat-cell:nth-child(2) { border-right: 0; }
  .fr-page .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---- Section chrome ---- */
.fr-page .section { padding: 110px 0; }
.fr-page .section.elev {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(249,115,22,0.05), transparent 60%),
    rgba(14, 17, 21, 0.88);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fr-page .section-head { margin-bottom: 60px; max-width: 720px; }
.fr-page .section-head .eyebrow { margin-bottom: 16px; display: block; }
.fr-page .section-head h2 { margin-bottom: 16px; }
@media (max-width: 880px) {
  .fr-page .section { padding: 64px 0; }
  .fr-page .section-head { margin-bottom: 40px; }
}

/* ---- How it works ---- */
.fr-page .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fr-page .step {
  position: relative; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-elev);
  display: flex; flex-direction: column; min-height: 280px;
}
.fr-page .step .step-num { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.12em; }
.fr-page .step h3 { margin-top: 14px; font-size: 26px; }
.fr-page .step p { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.fr-page .step .step-art {
  margin-top: 22px; min-height: 56px; display: flex; align-items: center;
  border-top: 1px dashed var(--line); padding-top: 18px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
}
.fr-page .step .step-art .ok { color: var(--green); }
.fr-page .step .step-art .dot-o { color: var(--orange); }
@media (max-width: 880px) { .fr-page .steps { grid-template-columns: 1fr; } }

/* ---- Feature grid (free tier) ---- */
.fr-page .feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.fr-page .feat {
  background: var(--bg-elev); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px; min-height: 170px;
  transition: background .2s ease;
}
.fr-page .feat:hover { background: var(--bg-elev-2); }
.fr-page .feat .feat-icon {
  width: 36px; height: 36px; background: var(--orange-soft); color: var(--orange);
  border: 1px solid var(--orange-line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px;
}
.fr-page .feat h4 { font-size: 17px; color: var(--ink); margin-top: 4px; }
.fr-page .feat p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
@media (max-width: 880px) { .fr-page .feat-grid { grid-template-columns: 1fr; } }

/* ---- "Without doing anything / by claiming" contrast box (carried over) ---- */
.fr-page .claim-contrast {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.fr-page .claim-contrast .cc-col {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px;
}
.fr-page .claim-contrast .cc-col.cc-claim { border-color: var(--orange-line); background: var(--orange-soft); }
.fr-page .claim-contrast .cc-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}
.fr-page .claim-contrast .cc-col.cc-claim .cc-head { color: var(--orange); }
.fr-page .claim-contrast .cc-body { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 880px) { .fr-page .claim-contrast { grid-template-columns: 1fr; } }

/* ---- QR table tent ---- */
.fr-page .qr-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-elev); padding: 28px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
}
.fr-page .qr-card .feat-list-inline { margin-top: 24px; }
.fr-page .qr-tent {
  aspect-ratio: 1 / 1.25;
  background:
    radial-gradient(600px 200px at 50% -10%, rgba(249,115,22,0.18), transparent 60%),
    linear-gradient(180deg, #14181C 0%, #0B0D10 100%);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 60px -25px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.fr-page .qr-tent::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-hi) 50%, var(--orange) 100%);
}
.fr-page .qr-tent .tent-brand { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); }
.fr-page .qr-tent .tent-brand .o { color: var(--orange); }
.fr-page .qr-tent .tent-tagline {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 4px;
}
.fr-page .qr-tent h4 { font-size: 24px; color: var(--ink); line-height: 1.05; margin-top: 12px; max-width: 9ch; }
.fr-page .qr-tent .qr-img-wrap {
  background: #FFFFFF; padding: 10px; border-radius: 10px; align-self: center;
  width: 62%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5);
}
.fr-page .qr-tent .qr-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.fr-page .qr-tent .tent-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase;
}
.fr-page .qr-tent .tent-foot .verified { color: var(--green); }
@media (max-width: 880px) { .fr-page .qr-card { grid-template-columns: 1fr; } }

/* Inline feature lists (used in QR card + Featured extras) */
.fr-page .feat-list-inline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.fr-page .feat-list-inline li { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.fr-page .feat-list-inline li .tick { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 720px) { .fr-page .feat-list-inline { grid-template-columns: 1fr; } }

/* ---- Verified pin compare ---- */
.fr-page .pin-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fr-page .pin-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  background: var(--bg-elev);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 240px; gap: 16px;
}
.fr-page .pin-card.verified { border-color: var(--green-line); }
.fr-page .pin-card .pin-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}
.fr-page .pin-card.verified .pin-label { color: var(--green); }
.fr-page .pin-card .pin-note { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); text-align: center; line-height: 1.5; }
.fr-page .pin-card.verified .pin-note { color: var(--green); }
@media (max-width: 880px) { .fr-page .pin-compare { grid-template-columns: 1fr; } }

/* Map pin glyph (used in hero stage + pin compare + featured map demo) */
.fr-page .map-pin {
  width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink-dark-mute); border: 2px solid var(--ink-2);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.fr-page .map-pin.standard { background: #2A3138; border-color: #4B5159; }
.fr-page .map-pin.verified-pin { background: var(--green); border-color: #16A34A; animation: fr-pulse-ring 2.4s ease-out infinite; }
.fr-page .map-pin.featured-pin {
  background: var(--orange); border-color: var(--orange-hi);
  width: 68px; height: 68px;
  box-shadow: 0 0 0 6px rgba(249,115,22,0.18), 0 0 28px 4px rgba(249,115,22,0.5);
  animation: fr-flame-pulse 2.6s ease-in-out infinite;
}
.fr-page .map-pin .check { transform: rotate(45deg); color: #fff; font-family: var(--display); font-size: 22px; font-weight: 700; }
.fr-page .map-pin .flame { transform: rotate(45deg); font-size: 26px; }

/* ---- Featured / deal-feed compare ---- */
.fr-page .feed-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.fr-page .feed-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-elev);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.fr-page .feed-card.featured { border-color: var(--orange-line); }
.fr-page .feed-card .feed-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.fr-page .feed-card .feed-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; }
.fr-page .feed-card.featured .feed-title { color: var(--orange); }
.fr-page .feed-card .feed-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--ink-mute); white-space: nowrap;
}
.fr-page .feed-card.featured .feed-tag { background: var(--orange-soft); color: var(--orange); border-color: var(--orange-line); }
.fr-page .feed-count {
  text-align: center; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--orange);
  padding: 12px 14px; background: rgba(249,115,22,0.05); border-bottom: 1px solid var(--line);
}
.fr-page .feed-chips { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.fr-page .feed-chip {
  font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.fr-page .feed-chip .chev { color: var(--ink-mute); font-size: 10px; }
.fr-page .feed-list { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.fr-page .feed-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; align-items: stretch;
}
.fr-page .feed-item .thumb {
  width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.fr-page .feed-item .thumb svg { position: absolute; inset: 0; margin: auto; color: var(--ink-dim); opacity: 0.55; }
.fr-page .feed-item .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fr-page .feed-item .top-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fr-page .feed-item .name { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-page .feed-item .meta-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; font-family: var(--mono); color: var(--ink-mute); }
.fr-page .feed-item .stars { color: var(--orange); font-size: 11px; }
.fr-page .feed-item .stars .rating { color: var(--ink-2); margin-left: 2px; }
.fr-page .feed-item .dist { color: var(--ink-2); }
.fr-page .feed-item .ends {
  font-size: 10px; background: rgba(245,158,11,0.14); color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3); padding: 2px 6px; border-radius: 4px; letter-spacing: 0.04em;
}
.fr-page .feed-item .price { color: var(--ink-mute); }
.fr-page .feed-item .deal-row { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; min-width: 0; }
.fr-page .feed-item .deal-tag { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--orange); letter-spacing: -0.01em; }
.fr-page .feed-item .deal-name { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fr-page .feed-item .more { font-family: var(--mono); font-size: 10px; color: var(--orange); margin-top: 2px; letter-spacing: 0.04em; }
.fr-page .feed-item.you { background: var(--orange-soft); border-color: var(--orange-line); box-shadow: 0 0 0 1px var(--orange-line); }
.fr-page .feed-item.you .name { color: var(--orange); }
.fr-page .feed-item .badge {
  display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  padding: 2px 6px; background: var(--orange); color: #1A0A00; border-radius: 4px; flex-shrink: 0;
}
.fr-page .feed-card .feed-explain {
  margin: 0 14px 14px; padding: 12px 14px; background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line); border-radius: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink-mute); line-height: 1.5;
}
.fr-page .feed-card.featured .feed-explain { color: var(--orange); border-color: var(--orange-line); background: var(--orange-soft); }
.fr-page .feed-card.featured .feed-item.you { animation: fr-feed-rise 700ms cubic-bezier(.2,.8,.2,1) both; animation-delay: 200ms; }
@media (max-width: 880px) { .fr-page .feed-compare { grid-template-columns: 1fr; } }

/* ---- Featured extras + price block + fine print ---- */
.fr-page .featured-extras {
  margin-top: 52px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start;
}
.fr-page .featured-extras h3 { margin-top: 14px; margin-bottom: 14px; }
.fr-page .featured-extras p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 880px) { .fr-page .featured-extras { grid-template-columns: 1fr; gap: 28px; } }

.fr-page .price-block {
  margin-top: 44px;
  border: 1px solid var(--orange-line); border-radius: var(--r-lg);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(249,115,22,0.10), transparent 60%),
    var(--bg-elev);
  padding: 32px 36px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.fr-page .price-block .trial-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft); border: 1px solid var(--green-line);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.fr-page .price-block .price { font-family: var(--display); font-size: 52px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.fr-page .price-block .price .per { font-size: 18px; color: var(--ink-mute); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.fr-page .price-block .price-meta { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-mute); text-transform: uppercase; }
.fr-page .price-block .price-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.fr-page .price-block .price-cta .note { font-size: 12px; color: var(--ink-mute); text-align: center; }
@media (max-width: 880px) { .fr-page .price-block { grid-template-columns: 1fr; } }

.fr-page .fine-print {
  margin-top: 32px; padding: 20px 24px; background: var(--bg-elev);
  border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-mute); line-height: 1.6;
}
.fr-page .fine-print strong { color: var(--ink-2); font-family: var(--display); font-weight: 600; }

/* ---- Detailed Featured mechanics (carried over from old page) ---- */
.fr-page .mechanics-toggle {
  margin-top: 28px; width: 100%;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ink-2); font-family: var(--display); font-weight: 600; font-size: 14px; text-align: left;
  transition: border-color .15s ease;
}
.fr-page .mechanics-toggle:hover { border-color: var(--line-strong); }
.fr-page .mechanics-toggle .chev { transition: transform .2s ease; color: var(--ink-mute); }
.fr-page .mechanics-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.fr-page .mechanics-body { display: none; margin-top: 14px; }
.fr-page .mechanics-body.open { display: block; }
.fr-page .mechanics-body .mb-box {
  padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 12px;
}
.fr-page .mechanics-body .mb-box.accent { background: var(--orange-soft); border-color: var(--orange-line); }
.fr-page .mechanics-body .mb-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-mute); }
.fr-page .mechanics-body .mb-box.accent .mb-label { color: var(--orange); }
.fr-page .mechanics-body p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0 0 8px; }
.fr-page .mechanics-body p:last-child { margin-bottom: 0; }
.fr-page .mechanics-body .mb-eg { font-style: italic; color: var(--ink-mute); border-top: 1px solid var(--orange-line); padding-top: 8px; margin-top: 8px; }

/* ---- About ---- */
.fr-page .about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.fr-page .about-grid p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.fr-page .about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.fr-page .about-stat { background: var(--bg-elev); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.fr-page .about-stat .num { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.fr-page .about-stat .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 880px) { .fr-page .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Final CTA ---- */
.fr-page .final-cta {
  position: relative; overflow: hidden;
  padding: 110px 0; text-align: center;
  /* translucent base so the ambient aurora + floating particles show behind
     this section (it lost its own bespoke particle layer when we switched to
     the site-standard backdrop) */
  background:
    radial-gradient(800px 400px at 50% 100%, rgba(249,115,22,0.10), transparent 70%),
    rgba(11, 13, 16, 0.72);
  border-top: 1px solid var(--line);
}
.fr-page .final-cta > .container-narrow { position: relative; z-index: 2; }
.fr-page .final-cta .cta-mascot { display: flex; justify-content: center; margin-bottom: 22px; }
.fr-page .final-cta .cta-mascot img { width: 160px; height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.5)); animation: fr-bob 4s ease-in-out infinite; }
.fr-page .final-cta h2 { font-size: 56px; max-width: 18ch; margin: 0 auto 20px; }
.fr-page .final-cta .lede { margin: 0 auto 32px; }
.fr-page .final-cta .cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 880px) { .fr-page .final-cta { padding: 64px 0; } .fr-page .final-cta h2 { font-size: 38px; } }

/* ---- Footer ---- */
.fr-page .fr-footer {
  border-top: 1px solid var(--line); padding: 36px 0; font-size: 13px; color: var(--ink-mute); background: var(--bg);
}
.fr-page .fr-footer .fr-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.fr-page .fr-footer .fr-footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; }
.fr-page .fr-footer .fr-footer-brand .o { color: var(--orange); }
.fr-page .fr-footer .fr-footer-brand img { height: 22px; }
.fr-page .fr-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.fr-page .fr-footer .links a:hover { color: var(--ink); }
@media (max-width: 600px) { .fr-page .fr-footer .fr-footer-inner { padding: 0 18px; } }

/* ---- Changelog modal (carried over) ---- */
.fr-page .fr-changelog-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.fr-page .fr-changelog-modal.open { display: block; }
.fr-page .fr-changelog-box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 16px;
  max-width: 560px; width: 90%; max-height: 80vh; overflow: hidden; color: var(--ink-2);
  display: flex; flex-direction: column;
}
.fr-page .fr-changelog-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px 16px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.fr-page .fr-changelog-head .t { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); }
.fr-page .fr-changelog-head .s { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.1em; }
.fr-page .fr-changelog-head button { background: none; border: 0; color: var(--ink-mute); font-size: 22px; cursor: pointer; padding: 0; }
.fr-page .fr-changelog-content { overflow-y: auto; padding: 20px 28px 28px; font-size: 13px; color: var(--ink-2); }

/* ---- Hover lift utility + reveal ---- */
.fr-page .lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fr-page .lift:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.fr-page .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.fr-page .reveal.in { opacity: 1; transform: translateY(0); }
.fr-page .reveal.delay-1 { transition-delay: 80ms; }
.fr-page .reveal.delay-2 { transition-delay: 160ms; }
.fr-page .reveal.delay-3 { transition-delay: 240ms; }
.fr-page .reveal.delay-4 { transition-delay: 320ms; }

/* ---- Animations ---- */
@keyframes fr-float-soft { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes fr-pulse-ring {
  0%   { box-shadow: 0 0 0 0px rgba(34,197,94,0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0px rgba(34,197,94,0); }
}
@keyframes fr-flame-pulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(249,115,22,0.18), 0 0 28px 4px rgba(249,115,22,0.5); transform: rotate(-45deg) scale(1); }
  50%     { box-shadow: 0 0 0 12px rgba(249,115,22,0.10), 0 0 44px 10px rgba(249,115,22,0.65); transform: rotate(-45deg) scale(1.05); }
}
@keyframes fr-feed-rise { 0% { transform: translateY(80px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes fr-hero-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }
@keyframes fr-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fr-btn-glow {
  0%,100% { box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -8px rgba(249,115,22,0.55); }
  50%     { box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 32px -8px rgba(249,115,22,0.8); }
}
.fr-page .btn-primary.btn-lg { animation: fr-btn-glow 3s ease-in-out infinite; }

/* ---- Reduced motion ---- */
/* (.bg-aurora / .bg-particles are hidden by the canonical rule in app.css.) */
@media (prefers-reduced-motion: reduce) {
  .fr-page *, .fr-page *::before, .fr-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
