/* tapmi.pl — marketing site. Charcoal + amber on a warm canvas, Inter.
   Phone-first; desktop from 1024px. All motion is transform/opacity and
   switches off under prefers-reduced-motion. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #0f172a; --body: #374151; --muted: #6b7280;
  --canvas: #f7f6f3; --line: #ebe8e2; --field-line: #d6d3cc;
  --charcoal: #111827; --amber: #f59e0b; --amber-hi: #fbbf24; --amber-ink: #b45309; --amber-soft: #fef3c7;
  --dark-bg: linear-gradient(150deg, #0b0f19 0%, #111827 55%, #1f2937 100%);
  --on-dark: #d1d5db; --on-dark-muted: #9ca3af;
  --ok: #15803d; --ok-soft: #ecfdf5; --bad: #b91c1c;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 4px 16px rgba(17, 24, 39, 0.06);
  --lift: 0 24px 60px -20px rgba(17, 24, 39, 0.35);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glide: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s; --t-mid: 0.45s; --t-slow: 0.8s; --loop: 12s;
  --r-ctl: 12px; --r-card: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--body); background: var(--canvas);
  -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; max-width: 15ch; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--charcoal); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { flex: none; }
.eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-ink); margin-bottom: 10px; }
.dark .eyebrow { color: var(--amber-hi); }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 46ch; margin-top: 16px; }
.dark .lead { color: var(--on-dark); }
.lead.dark-ink { color: var(--body); margin-left: auto; margin-right: auto; }
.body { margin-top: 14px; max-width: 46ch; font-size: 1.05rem; }
.small { margin-top: 16px; font-size: 0.85rem; color: var(--muted); max-width: 52ch; }
.dark .small { color: var(--on-dark-muted); }
@media (max-width: 639px) { .hide-sm { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transform: translate(var(--mx-btn, 0), var(--my-btn, 0));
  transition: transform var(--t-mid) var(--spring), background-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.btn:focus-visible, .lang:focus-visible, .menu-btn:focus-visible, summary:focus-visible, .more-btn:focus-visible, .story-toggle:focus-visible, .cards:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45); }
.btn:active { transform: translate(var(--mx-btn, 0), var(--my-btn, 0)) scale(0.97); transition-duration: var(--t-fast); }
.btn .arrow { display: inline-grid; transition: transform var(--t-mid) var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #1f2937; box-shadow: 0 10px 24px -8px rgba(17, 24, 39, 0.5); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light:hover { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45); }
.btn-light .ic { color: var(--amber-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 243, 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background-color var(--t-mid) ease, box-shadow var(--t-mid) ease, border-color var(--t-mid) ease; }
.top.scrolled { background: rgba(247, 246, 243, 0.94); border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(17, 24, 39, 0.25); }
.top-row { height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--ink); transition: transform var(--t-mid) var(--glide); transform-origin: left center; }
.top.scrolled .logo { transform: scale(0.94); }
.logo img { border-radius: 7px; }
.logo span { color: var(--amber); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; display: none; }
.nav { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang { font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--body); padding: 8px 10px; border-radius: 8px; }
.lang:hover { background: #ece9e3; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border: none; background: none; color: var(--ink); border-radius: 10px; cursor: pointer; }
.top .btn-sm { display: none; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; padding: 8px 20px 20px; background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); animation: sheet var(--t-mid) var(--glide); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } }
.nav.open a { padding: 14px 4px; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 420px) { .top .btn-sm { display: inline-flex; } }
@media (min-width: 1024px) {
  .wrap { padding: 0 32px; }
  .menu-btn { display: none; }
  .nav { display: flex; gap: 22px; margin-left: 28px; }
  .nav a { position: relative; font-size: 0.94rem; color: var(--body); text-decoration: none; font-weight: 500; padding: 4px 0; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--glide); }
  .nav a:hover::after { transform: scaleX(1); }
  .nav .nav-login { margin-left: 8px; }
}

/* ---------- Sections ---------- */
.sec { padding: 64px 0; position: relative; }
.light { background: var(--canvas); }
.white { background: #fff; }
.dark { background: var(--dark-bg); color: var(--on-dark); overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.sec-head { margin-bottom: 32px; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } .sec-head { margin-bottom: 52px; } }
.glow { position: absolute; width: 640px; height: 640px; right: -200px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.26), transparent 62%); }
.glow-low { top: auto; bottom: -280px; left: -220px; right: auto; }
.split { display: grid; gap: 36px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; position: relative; }
.hero-grid { display: grid; gap: 24px; position: relative; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-note { margin: 12px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: var(--on-dark); }
.chips .ic { color: var(--amber-hi); }
@media (max-width: 639px) { .hero .eyebrow { display: none; } }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
@media (min-width: 1024px) { .hero { padding: 88px 0 120px; } .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; } }

/* The product story in the hero (shared 12s clock) */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
@media (min-width: 1024px) { .hero-visual { padding-bottom: 72px; } }
.story { position: relative; }
.phone { width: 250px; height: 500px; background: #0b0f19; border-radius: 42px; padding: 10px; position: relative; box-shadow: var(--lift), 0 0 0 1px rgba(255, 255, 255, 0.07); }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; background: #0b0f19; border-radius: 12px; z-index: 2; }
.screen { position: relative; height: 100%; background: #fff; border-radius: 32px; padding: 58px 20px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #1a1a1a; overflow: hidden; }
.g-logo { width: 50px; height: 50px; border-radius: 14px; background: #1f3a2e; color: #f5e6c8; display: grid; place-items: center; font-weight: 800; letter-spacing: 0.02em; }
.g-venue { margin-top: 10px; font-size: 0.78rem; color: #6b7280; font-weight: 600; }
.g-q { margin-top: 12px; font-size: 1.05rem; font-weight: 750; color: #111827; line-height: 1.25; }
.g-stars { display: flex; gap: 6px; margin-top: 16px; position: relative; }
.g-stars svg { width: 32px; height: 32px; fill: #e5e7eb; }
.g-note { margin-top: 14px; font-size: 0.72rem; color: #6b7280; }
.g-btn { margin-top: auto; width: 100%; height: 42px; border-radius: 12px; background: #111827; color: #fff; font-size: 0.8rem; font-weight: 650; display: flex; align-items: center; justify-content: center; gap: 8px; }
.g-g { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; font-size: 0.75rem; }
.g-powered { margin-top: 10px; font-size: 0.62rem; color: #9ca3af; }
.nfc { position: absolute; left: -34px; bottom: 54px; width: 116px; height: 72px; border-radius: 12px; padding: 10px 12px; background: linear-gradient(135deg, #1f2937, #111827);
  border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--lift); transform: rotate(-8deg); }
.nfc span { font-weight: 800; font-size: 0.85rem; letter-spacing: -0.02em; }
.nfc b { color: var(--amber); }
.nfc svg { align-self: flex-end; color: var(--amber-hi); }
.tap { position: absolute; left: 4px; bottom: 74px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); opacity: 0; pointer-events: none; }
.tap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); opacity: 0; }
.notif { position: absolute; left: 50%; top: 210px; transform: translateX(-56%); width: 262px; background: #fff; border: 1px solid #fde68a; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--lift); color: var(--body); font-size: 0.8rem; text-align: left; }
.notif-head { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.notif-head img { border-radius: 5px; }
.notif-head span { font-weight: 500; }
.notif-title { margin-top: 6px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.notif-body { margin-top: 2px; }
.done { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(21, 128, 61, 0.4); opacity: 0; }
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.chip.s2 { background: #ffedd5; color: #c2410c; }
.dash-card { display: none; }
.ring { position: relative; width: 72px; height: 72px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: #f3f4f6; stroke-width: 8; }
.ring-fill { fill: none; stroke: var(--amber); stroke-width: 8; stroke-linecap: round; stroke-dashoffset: var(--dash); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: #84cc16; letter-spacing: -0.03em; }
.dc-label { font-size: 0.78rem; font-weight: 650; color: var(--ink); }
.dc-sub { font-size: 0.72rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 8px; }
.bars i { width: 10px; border-radius: 3px; background: #1f2937; transform-origin: bottom; }
.bars i.today { background: var(--amber); }
.story-toggle { position: absolute; right: 4px; bottom: 4px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; }
.story-toggle svg:last-child { display: none; }
.story-toggle[aria-pressed="true"] svg:first-child { display: none; }
.story-toggle[aria-pressed="true"] svg:last-child { display: block; }
@media (min-width: 1024px) {
  .phone { width: 290px; height: 590px; }
  .notif { left: auto; right: -70px; top: 250px; transform: none; }
  .dash-card { position: absolute; left: -84px; bottom: -64px; width: 248px; background: #fff; border-radius: var(--r-card); padding: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--lift); }
  .nfc { left: -96px; bottom: 170px; }
  .tap { left: -56px; bottom: 192px; }
}

/* ---------- How it works: compact timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 22px; position: relative; }
.steps-line { position: absolute; left: 23px; top: 20px; bottom: 20px; width: 2px; background: #e5e1d8; overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--glide); }
.steps.go .steps-line::after { transform: scaleY(1); }
.step { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.step .num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: #fff; font-weight: 800; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--canvas); transition: background-color var(--t-mid) ease, color var(--t-mid) ease, transform var(--t-mid) var(--spring); }
.steps.go .step .num { background: var(--amber); color: var(--charcoal); transform: scale(1.06); }
.steps.go .step:nth-of-type(2) .num { transition-delay: 0.45s; }
.steps.go .step:nth-of-type(3) .num { transition-delay: 0.9s; }
.step h3 { margin-top: 8px; }
.step p { margin-top: 4px; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; }
  .steps-line { left: 20px; right: 20%; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps-line::after { transform: scaleX(0); transform-origin: left; }
  .steps.go .steps-line::after { transform: scaleX(1); }
  .step { flex-direction: column; gap: 12px; }
}

/* ---------- Owner alerts (dark) ---------- */
.stack { display: grid; gap: 14px; max-width: 420px; }
.alert-card { background: #fff; border: 1px solid #fde68a; border-radius: 16px; padding: 14px 16px; color: var(--body); box-shadow: var(--lift); }
.ac-top { display: flex; align-items: center; gap: 8px; }
.ac-top b { color: var(--ink); }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e0f2fe; color: #075985; font-size: 0.72rem; font-weight: 700; }
.ac-time { margin-left: auto; font-size: 0.78rem; color: var(--muted); }
.ac-comment { margin-top: 8px; padding-left: 10px; border-left: 3px solid rgba(245, 158, 11, 0.55); color: var(--ink); }
.ac-tip { margin-top: 10px; font-size: 0.85rem; background: #f8fafc; border-radius: 10px; padding: 8px 12px; }
.resolved-card { display: flex; align-items: center; gap: 12px; background: var(--ok-soft); color: var(--ok); border-radius: 14px; padding: 14px 16px; margin-left: 24px; }
.resolved-card b { display: block; color: #14532d; }
.resolved-card span { font-size: 0.88rem; color: #166534; }

/* ---------- Google-safe ---------- */
.shield { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ok-soft); color: var(--ok); margin-bottom: 14px; }
.same { margin: 28px auto 0; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--shadow); }
.same-row { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; }
.same-stars { color: #374151; letter-spacing: 2px; font-size: 0.95rem; width: 88px; text-align: left; }
.same-stars i { font-style: normal; color: #e5e7eb; }
.same-arrow { color: #d1d5db; }
.same-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--charcoal); color: #fff; font-size: 0.82rem; font-weight: 650; }
.same-btn .g-g { width: 16px; height: 16px; font-size: 0.62rem; }
.same-cap { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--ok); }

/* ---------- Features: swipe carousel on phones, grid from 640px ---------- */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  margin: 0 -20px; padding: 4px 20px 16px; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cards::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; overflow: hidden;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--t-mid) var(--glide), box-shadow var(--t-mid) ease; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-mid) ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 158, 11, 0.09), transparent 60%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow), 0 16px 34px -12px rgba(17, 24, 39, 0.18); }
.card:active { transform: scale(0.985); }
.card-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f3f4f6; color: var(--charcoal); margin-bottom: 14px; transition: transform var(--t-mid) var(--spring), background-color var(--t-mid) ease; }
.card:hover .card-ic { transform: translateY(-2px) scale(1.06); background: var(--amber-soft); }
.card p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: #d6d3cc; transition: width var(--t-mid) var(--glide), background-color var(--t-mid) ease; }
.dots span.on { width: 22px; background: var(--charcoal); }
.swipe-hint { text-align: center; margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 640px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .dots, .swipe-hint { display: none; }
}
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Groups ---------- */
.weekly { display: flex; gap: 14px; margin-top: 24px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.weekly .ic { color: var(--amber-ink); margin-top: 2px; }
.weekly b { color: var(--ink); }
.weekly p { margin-top: 2px; font-size: 0.92rem; color: var(--muted); }
.venues { display: grid; gap: 12px; }
.venue { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); transition: transform var(--t-mid) var(--glide); }
.venue:hover { transform: translateY(-3px); }
.venue.has-alert { border-color: #fcd34d; box-shadow: inset 4px 0 0 var(--amber), var(--shadow); }
.v-top { display: flex; align-items: center; gap: 10px; }
.v-top b { color: var(--ink); font-weight: 650; }
.v-ini { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f3f4f6; font-weight: 800; color: var(--ink); }
.v-alert { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--amber-soft); color: #92400e; font-size: 0.78rem; font-weight: 650; }
.v-stats { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.v-avg { font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.v-avg em { font-style: normal; color: var(--amber); font-size: 1rem; margin-left: 2px; }
.spark { margin-left: auto; width: 80px; height: 24px; }
.spark polyline { fill: none; stroke: #9ca3af; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.has-alert .spark polyline { stroke: var(--amber); }
@media (max-width: 639px) { .venue:nth-child(3) { display: none; } }
@media (min-width: 640px) { .venues { grid-template-columns: 1fr 1fr; } .venue:first-child { grid-column: 1 / -1; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 1.04rem; font-weight: 650; color: var(--ink); border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f3f4f6; color: var(--ink); flex: none; transition: transform var(--t-mid) var(--spring), background-color var(--t-fast) ease; }
.faq summary:hover .plus { background: var(--amber-soft); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--charcoal); color: #fff; }
.answer p { padding: 0 0 18px; color: var(--muted); max-width: 62ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s var(--glide), content-visibility 0.35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Demo ---------- */
.call-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.call-or { margin-top: 12px; font-size: 0.9rem; color: var(--on-dark-muted); }
.call-or a { color: #fff; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.form-card { background: #fff; border-radius: var(--r-card); padding: 22px; color: var(--body); box-shadow: var(--lift); position: relative; }
#demoForm { display: grid; gap: 12px; }
#demoForm label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--body); transition: color var(--t-fast) ease; }
#demoForm label:focus-within { color: var(--amber-ink); }
#demoForm input, #demoForm textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: var(--r-ctl); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color var(--t-fast) ease, box-shadow var(--t-mid) var(--glide); }
#demoForm textarea { height: auto; padding: 12px 14px; resize: vertical; }
#demoForm input:focus, #demoForm textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
#demoForm .invalid { border-color: #fecaca; }
.more-btn { justify-self: start; background: none; border: none; padding: 4px 0; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--amber-ink); cursor: pointer; border-radius: 6px; }
.more { display: grid; gap: 12px; }
.err { color: var(--bad); font-size: 0.8rem; font-weight: 500; }
.form-note { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.form-note a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: 2px; }
.form-error { color: var(--bad); font-size: 0.88rem; font-weight: 600; }
.form-ok { display: flex; gap: 14px; align-items: flex-start; background: var(--ok-soft); color: var(--ok); border-radius: 14px; padding: 20px; }
.form-ok b { display: block; color: #14532d; font-size: 1.1rem; }
.form-ok p { margin-top: 4px; color: #166534; }
@media (min-width: 1024px) { .form-card { padding: 32px; } }

/* ---------- Footer ---------- */
.foot { background: #0b0f19; color: #9ca3af; padding: 52px 0 28px; font-size: 0.9rem; }
.foot .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.foot-grid > div:first-child { grid-column: 1 / -1; }
.foot-grid p { margin-top: 10px; }
.foot h4 { margin: 0 0 10px; color: #e5e7eb; font-size: 0.85rem; font-weight: 650; }
.foot-grid a:not(.logo) { display: block; text-decoration: none; padding: 3px 0; transition: color var(--t-fast) ease, transform var(--t-mid) var(--spring); }
.foot-grid a:not(.logo):hover { color: #fff; transform: translateX(3px); }
.foot-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid #1f2937; font-size: 0.8rem; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }

/* Privacy page */
.legal h1 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); max-width: none; margin: 8px 0 24px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { max-width: 68ch; }
.back { font-weight: 600; text-decoration-color: var(--amber); text-underline-offset: 3px; }

/* =========================== Motion =========================== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero copy arrives line by line on load */
  .load { animation: rise 0.7s var(--glide) backwards; animation-delay: calc(var(--d) * 80ms + 100ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }

  /* Scroll reveals in four directions */
  .js [data-r] { opacity: 0; transition: opacity var(--t-slow) var(--glide), transform var(--t-slow) var(--glide); transition-delay: var(--stagger, 0ms); }
  .js [data-r="up"] { transform: translateY(18px); }
  .js [data-r="left"] { transform: translateX(-26px); }
  .js [data-r="right"] { transform: translateX(26px); }
  .js [data-r="scale"] { transform: translateY(14px) scale(0.96); }
  .js [data-r].in { opacity: 1; transform: none; }
  .js .card[data-r].in { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

  /* Hero glow drifts slowly */
  .hero .glow { animation: drift 18s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(-40px, 30px) scale(1.06); } }

  /* ---- The 12s product story: tap → page opens → rating → alert → resolved ---- */
  .story .tap { animation: tap var(--loop) var(--glide) infinite; }
  .story .tap::after { animation: ripple var(--loop) ease-out infinite; }
  @keyframes tap { 0% { opacity: 0; transform: scale(0.6); } 2% { opacity: 1; transform: scale(1); } 6% { opacity: 1; transform: scale(0.85); } 9%, 100% { opacity: 0; transform: scale(0.85); } }
  @keyframes ripple { 0%, 1% { opacity: 0.6; transform: scale(0.4); } 6% { opacity: 0; transform: scale(2.6); } 100% { opacity: 0; } }
  .story .nfc { animation: nfc var(--loop) var(--spring) infinite; }
  @keyframes nfc { 0% { transform: rotate(-8deg); } 3% { transform: rotate(-8deg) translateY(3px) scale(0.98); } 7%, 100% { transform: rotate(-8deg); } }
  .story .s-in { animation: screen-in var(--loop) var(--glide) infinite; animation-delay: calc(var(--i) * 60ms); }
  @keyframes screen-in { 0%, 7% { opacity: 0; transform: translateY(10px); } 13%, 86% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
  .story .g-btn, .story .g-powered { animation: screen-fade var(--loop) linear infinite; }
  @keyframes screen-fade { 0%, 9% { opacity: 0; } 14%, 86% { opacity: 1; } 93%, 100% { opacity: 0; } }
  /* One neutral tap on the star row: every star reacts the same, none fills */
  .story .g-stars svg { animation: stars var(--loop) var(--spring) infinite; }
  @keyframes stars { 0%, 20% { transform: scale(1); } 22% { transform: scale(1.12); } 25%, 100% { transform: scale(1); } }
  .story .g-stars::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: rgba(17, 24, 39, 0.18); opacity: 0;
    animation: star-tap var(--loop) var(--glide) infinite; }
  @keyframes star-tap { 0%, 19% { opacity: 0; transform: scale(0.5); } 21% { opacity: 1; transform: scale(1); } 25%, 100% { opacity: 0; transform: scale(1.8); } }
  .story .notif { animation: notif var(--loop) var(--spring) infinite; }
  @keyframes notif { 0%, 29% { opacity: 0; translate: 28px 0; } 34%, 86% { opacity: 1; translate: 0 0; } 92%, 100% { opacity: 0; translate: 0 -8px; } }
  .story .done { animation: done var(--loop) var(--spring) infinite; }
  @keyframes done { 0%, 57% { opacity: 0; transform: scale(0.4); } 61%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1); } }
  .story .dash-card { animation: card-in var(--loop) var(--glide) infinite; }
  @keyframes card-in { 0%, 36% { opacity: 0; translate: 0 16px; } 41%, 86% { opacity: 1; translate: 0 0; } 93%, 100% { opacity: 0; translate: 0 0; } }
  .story .ring-fill { animation: ring var(--loop) var(--glide) infinite; }
  @keyframes ring { 0%, 39% { stroke-dashoffset: 213.6; } 49%, 100% { stroke-dashoffset: var(--dash); } }
  .story .bars i { animation: bars var(--loop) var(--glide) infinite; animation-delay: calc(var(--i) * 40ms); }
  @keyframes bars { 0%, 39% { transform: scaleY(0); } 47%, 100% { transform: scaleY(1); } }
  .hero-visual.paused .story, .hero-visual.paused .story *, .hero-visual.paused .story *::after { animation-play-state: paused !important; }

  /* Google section: the same highlight sweeps every row */
  .same.in .same-row { animation: sweep 0.7s ease both; animation-delay: calc(var(--i) * 0.22s + 0.3s); }
  @keyframes sweep { 0%, 100% { background: transparent; } 40% { background: var(--amber-soft); } }

  /* FAQ answer, extra form fields, form feedback */
  .faq details[open] .answer { animation: answer 0.4s var(--glide); }
  @keyframes answer { from { opacity: 0; transform: translateY(-6px); } }
  .more { animation: answer 0.35s var(--glide); }
  #demoForm .invalid { animation: shake 0.25s ease; }
  @keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
  .form-ok { animation: pop 0.45s var(--spring); }
  .ok-check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.4s ease 0.2s forwards; }
  @keyframes pop { from { opacity: 0; transform: scale(0.96); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  /* Gentle parallax + reading progress where scroll-driven animation exists */
  @supports (animation-timeline: view()) {
    .para { animation: para linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes para { from { translate: 0 24px; } to { translate: 0 -24px; } }
    .progress { display: block; animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { to { transform: scaleX(1); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tap, .story-toggle { display: none; }
  .done { opacity: 1; }
}
