/* Send2PC public website and shop owner area. Loaded after app.css (tokens, buttons, forms, cards).
   The marketing pages follow the RelayPulse design: lime hero and header, green wordmark,
   black pill buttons, rounded mint bands, white five-column footer. */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.site { background: var(--bg); font-size: 15px; color: var(--text); }
body.site ::selection { background: var(--primary); color: #fff; }

/* Page gutters: sections sit in a 1280px column, the header and footer run full width. */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.edge { width: 100%; padding: 0 24px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } .edge { padding: 0 40px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } .edge { padding: 0 64px; } }
@media (min-width: 1280px) { .edge { padding: 0 80px; } }

/* ---------- Pill buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.25; padding: 10px 24px; border-radius: 999px; border: 1px solid var(--ink); cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, background-color 0.15s ease; }
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(0.98); }
.pill-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.pill-dark:hover { background: #000; }
.pill-line { background: transparent; color: var(--ink); }
.pill-line:hover { background: rgba(0, 0, 0, 0.05); }
.pill-lg { font-size: 16px; padding: 14px 28px; }
.pill-lg.pill-dark:hover { transform: scale(1.02); }
.pill .arrow { font-size: 18px; line-height: 1; }

/* Forms and popups on the website use the same black pills. */
body.site .btn { border-radius: 999px; }
body.site .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
body.site .btn-primary:hover { background: #000; border-color: #000; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.05); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #e5e7eb; font-size: 13.5px; }
.announce .edge { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; position: relative; text-align: center; flex-wrap: wrap; }
.announce-tag { background: var(--lime); color: var(--ink); font-weight: 700; font-size: 11.5px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.announce a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.announce a .icon { width: 14px; height: 14px; }
.announce-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: #9ca3af; cursor: pointer; padding: 6px; border-radius: 6px; display: grid; }
.announce-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.announce-close .icon { width: 16px; height: 16px; }

/* ---------- Header: 64px on phones, 80px from tablets up; lime on the landing page ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); transition: background-color 0.15s ease, box-shadow 0.2s ease; }
body.home .site-nav { background: var(--lime); border-bottom-color: transparent; backdrop-filter: none; }
.site-nav.scrolled { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
.site-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 640px) { .site-bar { height: 80px; } }
.site-left { display: flex; align-items: center; gap: 40px; min-width: 0; }

.wordmark { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: var(--brand); line-height: 1; }
.wordmark:hover { text-decoration: none; }
@media (min-width: 640px) { .wordmark { font-size: 28px; } }

.site-links { display: none; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink); }
@media (min-width: 1024px) { .site-links { display: flex; } }
.site-links > a, .menu-trigger { color: var(--ink); background: none; border: none; font: inherit; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.site-links > a:hover, .menu-trigger:hover { color: #000; text-decoration: none; }
.site-links > a.active { color: var(--brand); }
.menu-trigger svg { width: 14px; height: 14px; margin-top: 2px; opacity: 0.7; transition: transform 0.15s ease; }
.menu { position: relative; }
.menu:hover .menu-trigger svg, .menu:focus-within .menu-trigger svg { opacity: 1; transform: rotate(180deg); }
.menu-panel { position: absolute; left: 0; top: 100%; width: 256px; background: #fff; border: 1px solid #f1f5f9; border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); padding: 8px; display: none; z-index: 50; }
.menu:hover .menu-panel, .menu:focus-within .menu-panel { display: block; }
.menu-panel a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; color: #334155; border-radius: 12px; }
.menu-panel a:hover { background: var(--primary-soft); color: var(--brand); text-decoration: none; }

.site-actions { display: none; align-items: center; gap: 20px; }
@media (min-width: 768px) { .site-actions { display: flex; } }
.site-actions form { margin: 0; }
.login-link { font-size: 15px; font-weight: 500; color: var(--ink); padding: 0 6px; }
.nav-user { color: rgba(28, 28, 28, 0.75); font-size: 14px; font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle { display: grid; place-items: center; border: none; background: transparent; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle:hover { background: rgba(0, 0, 0, 0.05); }
.nav-toggle .icon { width: 26px; height: 26px; stroke-width: 2.2; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Phone menu: slide-in panel over a dimmed page */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); opacity: 0; transition: opacity 0.25s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 40px rgba(15, 23, 42, 0.18); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); border-radius: 24px 0 0 24px; }
html.menu-open { overflow: hidden; }
html.menu-open .drawer { visibility: visible; pointer-events: auto; }
html.menu-open .drawer-backdrop { opacity: 1; }
html.menu-open .drawer-panel { transform: none; }
@media (min-width: 1024px) { .drawer { display: none; } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid #f1f5f9; }
.drawer-head .wordmark { font-size: 26px; }
.drawer-close { display: grid; place-items: center; width: 44px; height: 44px; border: none; border-radius: 12px; background: #f1f5f9; color: var(--ink); cursor: pointer; }
.drawer-close:hover { background: #e2e8f0; }
.drawer-close .icon { width: 22px; height: 22px; stroke-width: 2.2; }

.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 16px; }
.drawer-label { padding: 18px 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ink); }
.drawer-link:hover, .drawer-link:active { background: #f8fafc; text-decoration: none; }
.drawer-link.active { background: var(--mint); }
.drawer-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.drawer-link.active .drawer-icon { background: var(--lime); color: var(--ink); }
.drawer-icon .icon { width: 20px; height: 20px; }
.drawer-text { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.drawer-text small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.drawer-chevron { width: 16px; height: 16px; color: var(--subtle); }
.drawer-link.active .drawer-chevron { color: var(--brand); }

.drawer-account { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; padding: 12px; border-radius: 16px; background: var(--mint); color: var(--ink); }
.drawer-account:hover { text-decoration: none; }
.drawer-avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 17px; }
.drawer-account span:last-child { min-width: 0; }
.drawer-account strong, .drawer-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-account small { color: var(--muted); font-size: 12.5px; }

.drawer-actions { display: grid; gap: 10px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #f1f5f9; background: #fff; border-radius: 0 0 0 24px; }
.drawer-actions .pill { width: 100%; padding: 13px 20px; font-size: 15px; }
.drawer-note { margin: 2px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { background: var(--lime); border-radius: 0 0 32px 32px; padding: 16px 0 40px; overflow: hidden; }
@media (min-width: 640px) { .hero { border-radius: 0 0 40px 40px; padding: 24px 0 64px; } }
@media (min-width: 1024px) { .hero { border-radius: 0 0 48px 48px; padding-bottom: 80px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.hero-copy { padding-top: 8px; }
.hero-copy > * + * { margin-top: 20px; }
.hero h1 { font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
@media (min-width: 640px) { .hero h1 { font-size: 48px; line-height: 1.06; } }
@media (min-width: 1024px) { .hero h1 { font-size: 56px; } }
.hero p.lead { font-size: 14px; line-height: 1.625; color: rgba(28, 28, 28, 0.85); max-width: 36rem; }
@media (min-width: 640px) { .hero p.lead { font-size: 16px; } }
@media (min-width: 1024px) { .hero p.lead { font-size: 17px; } }
.hero-cta { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }
.hero-proof { padding-top: 12px; }
.hero-proof p { font-size: 13px; color: rgba(28, 28, 28, 0.8); margin: 0 0 8px; }
.proof-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.proof-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(28, 28, 28, 0.35); background: rgba(255, 255, 255, 0.2); font-size: 12px; font-weight: 700; color: var(--ink); }
.proof-chip .icon { width: 14px; height: 14px; }

/* Product illustration: a phone sending files to the shop PC */
.hero-visual { position: relative; display: flex; justify-content: center; min-width: 0; margin-top: 16px; }
@media (min-width: 1024px) { .hero-visual { justify-content: flex-end; margin-top: 0; } }
.demo { position: relative; display: flex; align-items: flex-end; min-height: 380px; width: 100%; max-width: 560px; }
.demo-pc { flex: 1; background: var(--surface); border: 1px solid rgba(28, 28, 28, 0.08); border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 77, 64, 0.35); overflow: hidden; margin-left: 72px; }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; }
.demo-bar i:nth-child(1) { background: #fca5a5; } .demo-bar i:nth-child(2) { background: #fcd34d; } .demo-bar i:nth-child(3) { background: #86efac; }
.demo-bar span { margin-left: 8px; }
/* Left padding keeps the list clear of the phone that overlaps the window. */
.demo-body { padding: 18px 18px 18px 122px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 700; font-size: 14px; }
.demo-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #eef0f3; font-size: 13px; }
.demo-file { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; background: var(--primary-soft); color: var(--primary); }
.demo-row div { flex: 1; min-width: 0; }
.demo-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-row small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-phone { position: absolute; left: 0; bottom: -20px; width: 172px; background: var(--ink); border-radius: 28px; padding: 8px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45); }
.demo-screen { background: var(--surface); border-radius: 21px; padding: 16px 12px 12px; text-align: center; }
.demo-screen .shop { font-weight: 800; font-size: 13px; }
.demo-screen .sub { color: var(--muted); font-size: 11px; margin-bottom: 10px; }
.demo-drop { border: 1.5px dashed #86d9b9; background: var(--primary-soft); color: var(--brand); border-radius: 10px; padding: 14px 6px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.demo-chip { background: #f1f5f9; border-radius: 7px; padding: 6px 8px; font-size: 10.5px; font-weight: 600; text-align: left; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-send { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px; font-size: 12px; font-weight: 700; margin-top: 8px; }
.demo-toast { position: absolute; right: -8px; top: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12); }
.demo-toast .stat-icon { width: 32px; height: 32px; border-radius: 9px; }
.demo-toast strong { display: block; }
.demo-toast span { color: var(--muted); }

/* ---------- Numbers strip ---------- */
.stats { background: #fff; border-top: 1px solid rgba(226, 232, 240, 0.8); border-bottom: 1px solid rgba(226, 232, 240, 0.8); padding: 32px 0; }
@media (min-width: 640px) { .stats { padding: 48px 0; } }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.stats-grid strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #0f172a; }
@media (min-width: 640px) { .stats-grid strong { font-size: 36px; } }
@media (min-width: 1024px) { .stats-grid strong { font-size: 48px; } }
.stats-grid div:nth-child(odd) strong { color: var(--primary); }
.stats-grid span { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: #334155; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; background: var(--bg); }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section.white { background: #fff; }
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 64px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: #0f172a; }
@media (min-width: 640px) { .section-head h2 { font-size: 36px; } }
.section-head p { color: #475569; font-size: 16px; margin: 16px 0 0; }

/* Cards (features, steps, audience) */
.features, .steps { display: grid; gap: 32px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature, .step, .audience div, .compare-card { background: #fff; padding: 32px; border-radius: 16px; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.feature:hover, .step:hover, .audience div:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); border-color: rgba(11, 153, 110, 0.4); }
.feature .stat-icon, .step .stat-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 24px; background: var(--primary-soft); color: var(--primary); }
.feature .stat-icon .icon, .step .stat-icon .icon { width: 24px; height: 24px; }
.feature h3, .step h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.feature p, .step p { font-size: 14px; line-height: 1.625; color: #475569; margin: 0; }
.step-top { display: flex; align-items: flex-start; justify-content: space-between; }
.step-num { font-size: 44px; font-weight: 800; color: #e2e8f0; line-height: 1; letter-spacing: -0.03em; }

.audience { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.audience div { padding: 24px; }
.audience .icon { width: 26px; height: 26px; color: var(--primary); margin-bottom: 14px; }
.audience h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; color: #0f172a; }
.audience p { color: #475569; margin: 0; font-size: 14px; }

/* Old way vs Send2PC */
.compare { display: grid; gap: 24px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card.good { background: var(--mint); border-color: #cdebc4; }
.compare-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; color: #0f172a; }
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(15, 23, 42, 0.08); color: #334155; font-size: 14.5px; }
.compare-card li:first-child { border-top: none; }
.mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.mark .icon { width: 13px; height: 13px; }
.mark.no { background: var(--danger-soft); color: var(--danger); }
.mark.yes { background: var(--ink); color: #fff; }

/* ---------- Rounded bands (soft mint, then the lime call to action) ---------- */
.bands { margin: 40px 0; }
.bands > * + * { margin-top: 24px; }
.band { border-radius: 40px; padding: 48px 24px; text-align: center; }
@media (min-width: 640px) { .band { border-radius: 48px; padding: 64px 24px; } }
.band-mint { background: var(--mint); }
.band-lime { background: var(--lime-strong); }
.band h2 { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; color: #0f172a; margin-bottom: 12px; }
@media (min-width: 640px) { .band h2 { font-size: 30px; } }
@media (min-width: 1024px) { .band h2 { font-size: 36px; } }
.band > p { font-size: 15px; color: #334155; max-width: 42rem; margin: 0 auto 36px; }
.band-lime > p { margin-bottom: 32px; color: #1e293b; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.band-note { margin: 12px auto 0 !important; font-size: 12px !important; color: rgba(28, 28, 28, 0.75) !important; }
.formats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 28px; }
.format { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #00172e; letter-spacing: -0.01em; }
.format .icon { width: 22px; height: 22px; }
.band-link { font-size: 14px; font-weight: 700; color: #0f172a; }

/* Security inside a mint band */
.secure-list { display: grid; gap: 20px; text-align: left; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .secure-list { grid-template-columns: repeat(3, 1fr); } }
.secure-item { background: #fff; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 16px; padding: 24px; }
.secure-item .stat-icon { background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.secure-item strong { display: block; font-size: 16px; color: #0f172a; margin-bottom: 4px; }
.secure-item span { color: #475569; font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 16px; padding: 32px; position: relative; }
.price.popular { border: 2px solid var(--primary); box-shadow: 0 20px 25px -5px rgba(11, 153, 110, 0.15); }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price h3 { font-size: 18px; font-weight: 700; color: #0f172a; }
.price .amount { font-size: 44px; font-weight: 800; margin: 12px 0 2px; letter-spacing: -0.03em; line-height: 1.1; color: #0f172a; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .for { color: #475569; margin: 0 0 22px; font-size: 14px; }
.price ul { list-style: none; padding: 20px 0 0; margin: 0 0 26px; border-top: 1px solid var(--border); flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; }
.price li .icon { color: var(--primary); margin-top: 4px; width: 16px; height: 16px; }
.price .pill, .price .btn { width: 100%; }
.pricing-note { text-align: center; color: #475569; margin: 30px 0 0; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 16px; padding: 18px 22px; }
.faq details[open] { border-color: rgba(11, 153, 110, 0.4); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #0f172a; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: #475569; margin: 12px 0 0; font-size: 14.5px; }

/* ---------- Footer: white, wordmark, five link columns, policy row ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); color: var(--ink); width: 100%; }
.site-footer .edge { padding-top: 48px; padding-bottom: 40px; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
@media (min-width: 640px) { .footer-top { flex-direction: row; align-items: center; } }
.site-footer .wordmark { font-size: 30px; }
@media (min-width: 640px) { .site-footer .wordmark { font-size: 32px; } }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.footer-contact:hover { color: var(--brand); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 24px 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); gap: 40px; } }
.site-footer h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 13px; }
.site-footer li a, .footer-bottom a { color: var(--ink); }
.site-footer li a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid #cbd5e1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-policies { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* ---------- Content pages (contact, privacy, terms) ---------- */
.page-hero { background: var(--lime); border-radius: 0 0 32px 32px; padding: 48px 0 44px; }
@media (min-width: 1024px) { .page-hero { border-radius: 0 0 48px 48px; padding: 64px 0 56px; } }
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
@media (min-width: 640px) { .page-hero h1 { font-size: 48px; } }
.page-hero p { color: rgba(28, 28, 28, 0.85); font-size: 17px; margin: 12px 0 0; max-width: 40em; }
.prose { max-width: 780px; padding: 48px 0 84px; color: #374151; line-height: 1.7; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.notice { background: var(--warning-soft); border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 14px 16px; margin-bottom: 28px; font-size: 14.5px; }
.page-hero .kicker { background: var(--ink); color: var(--lime); }

/* Header: the link of the page being viewed */
.menu-trigger.active { color: var(--brand); }
body.home .menu-trigger.active { color: var(--ink); }
.menu-panel a.active { background: var(--primary-soft); color: var(--brand); }

/* Buttons under a section that lead to its full page */
.section-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 44px 0 0; }

/* Two numbered lists side by side (setup guide, what happens to a file) */
.guide-grid { display: grid; gap: 24px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
.guide-card { background: var(--bg); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 24px; padding: 32px; }
.guide-card h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 22px; }

.audience-wide { grid-template-columns: 1fr; }
@media (min-width: 768px) { .audience-wide { grid-template-columns: repeat(2, 1fr); } }
.audience-wide div { padding: 32px; }
.audience-wide h3 { font-size: 20px; }
.audience-wide p { font-size: 15px; }
.secure-list-page .secure-item { border-color: rgba(226, 232, 240, 0.8); border-radius: 24px; padding: 32px; }

/* Contact page: support hours, big call and WhatsApp buttons, and step-by-step fixes */
.support-hours { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px !important; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); font-size: 14.5px !important; }
.support-hours .icon { width: 16px; height: 16px; }
.quick-help { display: grid; gap: 14px; padding-top: 32px; }
@media (min-width: 720px) { .quick-help { grid-template-columns: 1fr 1fr; } }
.quick-btn { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; color: #fff; transition: translate 0.15s ease, box-shadow 0.15s ease; }
.quick-btn:hover { text-decoration: none; translate: 0 -2px; box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15); }
.quick-call { background: var(--ink); }
.quick-whatsapp { background: #128c4b; }
.quick-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, 0.15); }
.quick-icon .icon { width: 24px; height: 24px; }
.quick-btn strong { display: block; font-size: 18px; }
.quick-btn small { display: block; font-size: 14px; opacity: 0.85; }
.fix-list ol { margin: 0; padding: 4px 22px 18px 40px; color: #475569; line-height: 1.7; }
.fix-list li + li { margin-top: 6px; }
.contact-sent p + p { margin-top: 0; }

/* Contact page: the form on the left, other ways to reach us on the right */
.contact-layout { display: grid; gap: 24px; padding: 48px 0 84px; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px; }
.contact-form h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.contact-form > p { margin: 4px 0 22px; }
.contact-form label { font-size: 14px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form textarea { padding: 12px 14px; font-size: 16px; }
.contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; outline: none; resize: vertical; }
.contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 153, 110, 0.18); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { margin: 0; cursor: pointer; }
.topic-chip input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chip span { display: block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border-strong); font-size: 14px; font-weight: 600; color: var(--text); background: #fff; transition: background-color 0.15s ease, border-color 0.15s ease; }
.topic-chip:hover span { border-color: var(--ink); }
.topic-chip input:checked + span { background: var(--lime); border-color: var(--ink); }
.topic-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11, 153, 110, 0.3); }
.contact-sent { text-align: center; padding: 48px 32px; }
.contact-sent .stat-icon { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 50%; }
.contact-sent p { color: #334155; font-size: 16px; margin: 8px 0 24px; }
.contact-ways { display: grid; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px; }
.contact-card .stat-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); margin: 0 0 14px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Shop owner area (uses the app shell from app.css) ---------- */
.topbar-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-title span.shop { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .btn { padding: 7px 12px; }

.setup { border: 1px solid #cdebc4; background: var(--mint); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.setup h2 { font-size: 18px; margin-bottom: 4px; }
.setup > p { color: var(--muted); margin: 0 0 18px; }
.setup ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.setup li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; counter-increment: step; }
.setup li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.setup li strong { display: block; margin-bottom: 4px; }
.setup li span { color: var(--muted); font-size: 13.5px; }
.setup li .btn, .setup li .badge { margin-top: 12px; }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.quick a:hover { text-decoration: none; border-color: rgba(11, 153, 110, 0.4); box-shadow: var(--shadow); }
.quick strong { display: block; }
.quick span span { color: var(--muted); font-size: 13px; }

.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; font-size: 12.5px; background: var(--bg); min-width: 0; }
.device-card { padding: 20px; }
.device-card + .device-card { border-top: 1px solid var(--border); }
.device-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.device-top h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.device-meta { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.file-names { color: var(--muted); font-size: 12.5px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 26px; align-items: center; }
.qr-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; line-height: 0; box-shadow: var(--shadow); }
.qr-box svg { width: 220px; height: 220px; display: block; }
.qr-info h2 { font-size: 22px; }
.qr-info .muted { margin: 2px 0 16px; }
.qr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.plan-now { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; background: var(--lime); color: var(--ink); border: none; }
.plan-now h2 { font-size: 26px; }
.plan-now p { margin: 4px 0 0; color: rgba(28, 28, 28, 0.8); }
.usage { margin-top: 14px; }
.usage-bar { height: 8px; border-radius: 6px; background: #e5e7eb; overflow: hidden; margin-top: 6px; }
.usage-bar i { display: block; height: 100%; background: var(--primary); border-radius: 6px; }
.plan-compare .price { padding: 24px; }
.plan-compare .price .amount { font-size: 32px; }
.price.current { border: 2px solid var(--primary); }
.price.current .tag { background: var(--primary); }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.locked { display: flex; align-items: center; gap: 8px; }
.locked .icon { width: 15px; height: 15px; color: var(--subtle); }
input[readonly] { background: #f3f4f6; color: var(--muted); }

.guide { counter-reset: guide; list-style: none; margin: 0; padding: 0; }
.guide li { counter-increment: guide; position: relative; padding: 0 0 22px 46px; }
.guide li::before { content: counter(guide); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-weight: 800; display: grid; place-items: center; }
.guide li:last-child { padding-bottom: 0; }
.guide strong { display: block; }
.guide span { color: var(--muted); }


/* =====================================================================
   Popups, toast and the phone sign-up bar
   ===================================================================== */

/* Popups (native <dialog>: focus stays inside, Esc closes) */
dialog.modal { border: none; padding: 0; border-radius: 24px; color: var(--text); background: var(--surface); box-shadow: 0 40px 100px rgba(15, 23, 42, 0.35); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto; }
dialog.modal::backdrop { background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modal-in 0.22s ease-out; }
dialog.modal[open]::backdrop { animation: fade-in 0.22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.modal[open], dialog.modal[open]::backdrop { animation: none; } }

.modal-close { position: absolute; top: 14px; right: 14px; border: none; background: #f3f4f6; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal-close:hover { background: #e5e7eb; color: var(--text); }
.modal-close .icon { width: 16px; height: 16px; }

/* Sign-up / sign-in popup */
.auth-modal { width: 880px; overflow: hidden; }
.auth-modal[open] { display: grid; grid-template-columns: 300px 1fr; grid-template-rows: minmax(0, 1fr); }
.modal-side { background: var(--lime); color: var(--ink); padding: 30px 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.modal-side::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); right: -120px; bottom: -110px; }
.modal-side .brand { color: var(--brand); padding: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.modal-side .brand-mark { display: none; }
.modal-side h3 { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 26px 0 20px; }
.modal-side .auth-points li { font-size: 14.5px; }
.modal-side-foot { margin: auto 0 0; padding-top: 24px; color: rgba(28, 28, 28, 0.7); font-size: 13px; position: relative; z-index: 1; }
.modal-main { position: relative; padding: 24px 36px 24px; min-width: 0; overflow-y: auto; max-height: calc(100vh - 32px); }
.modal-main .modal-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.modal-sub { color: var(--muted); margin: 2px 0 14px; font-size: 14px; }
.modal-main .field { margin-bottom: 10px; }
.modal-main label { margin-bottom: 4px; }
.modal-main input { padding: 9px 12px; }
.modal-main .hint { margin-top: 3px; font-size: 12px; }
.modal-main .btn-block { margin-top: 6px; }
.modal-legal { color: var(--muted); font-size: 12px; text-align: center; margin: 10px 0 0; }
.modal-main .auth-switch { margin-top: 10px; }

.tabs { display: inline-flex; background: #f3f4f6; border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.tabs button { border: none; background: transparent; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--muted); padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1); }

.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--subtle); cursor: pointer; padding: 6px; border-radius: 6px; display: grid; }
.password-toggle:hover, .password-toggle.on { color: var(--primary); }

/* One-time invitation popup */
.offer-modal { width: 460px; text-align: center; padding: 40px 36px 28px !important; }
.offer-modal[open] { display: block; }
.offer-art { display: grid; place-items: center; margin-bottom: 18px; }
.offer-qr { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: var(--ink); background: var(--lime); box-shadow: 0 16px 34px rgba(11, 153, 110, 0.25); }
.offer-qr .icon { width: 38px; height: 38px; }
.offer-modal .modal-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.offer-modal p { color: var(--muted); margin: 10px 0 22px; }
.offer-form { display: flex; gap: 8px; }
.offer-form input { flex: 1; min-width: 0; padding: 12px 14px; }
.offer-form .btn { padding: 12px 18px; }
.offer-note { font-size: 13px; margin: 12px 0 14px !important; }
.offer-skip { border: none; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; padding: 4px; }
.offer-skip:hover { color: var(--text); }

/* Toast */
.toast { position: fixed; left: 50%; top: 96px; transform: translateX(-50%); z-index: 40; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3); transition: opacity 0.4s ease, transform 0.4s ease; max-width: calc(100vw - 32px); }
.toast.hide { opacity: 0; transform: translate(-50%, -12px); pointer-events: none; }

/* Sticky sign-up button on phones */
.mobile-cta { display: none; }

@media (max-width: 760px) {
  .auth-modal[open] { grid-template-columns: 1fr; }
  .modal-side { display: none; }
  .modal-main { padding: 26px 22px; }
  .offer-modal { padding: 36px 22px 24px !important; }
  .offer-form { flex-direction: column; }
  .announce .edge > span:not(.announce-tag) { display: none; }
  .demo-pc { margin-left: 44px; }
  .demo-body { padding-left: 108px; }
  .demo-phone { width: 140px; }
  .demo-toast { display: none; }
  .qr-card { grid-template-columns: 1fr; justify-items: start; }
  .setup ol, .quick, .profile-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }

  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform 0.25s ease; }
  .mobile-cta.visible { transform: none; }
  .mobile-cta .pill { width: 100%; }
  body.site .site-footer { padding-bottom: 76px; }
}
@media (max-width: 1000px) {
  .setup ol, .quick { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Motion and decoration on the landing page.
   Everything here is switched off for people who ask for reduced motion.
   ===================================================================== */

/* ---------- Loading screen ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--lime); display: grid; place-items: center; transition: opacity 0.45s ease, visibility 0.45s ease; animation: loader-auto-hide 0.45s ease 3.5s forwards; }
.loader.done { opacity: 0; visibility: hidden; }
/* If scripts never run, the loader still gets out of the way. */
@keyframes loader-auto-hide { to { opacity: 0; visibility: hidden; } }
.loader-box { display: grid; justify-items: center; gap: 18px; }
.loader .wordmark { font-size: 40px; }
.loader-qr { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; }
.loader-qr i { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); animation: loader-pulse 1.1s ease-in-out infinite; }
.loader-qr i:nth-child(2), .loader-qr i:nth-child(4) { animation-delay: 0.12s; }
.loader-qr i:nth-child(3), .loader-qr i:nth-child(5), .loader-qr i:nth-child(7) { animation-delay: 0.24s; }
.loader-qr i:nth-child(6), .loader-qr i:nth-child(8) { animation-delay: 0.36s; }
.loader-qr i:nth-child(9) { animation-delay: 0.48s; }
@keyframes loader-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.45); opacity: 0.35; } }
.loader-bar { width: 160px; height: 4px; border-radius: 999px; background: rgba(28, 28, 28, 0.15); overflow: hidden; }
.loader-bar i { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--ink); animation: loader-slide 1s ease-in-out infinite; }
@keyframes loader-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(270%); } }

/* ---------- Reveal on scroll (only when scripts are running) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.2s ease;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s, 0s;
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero decoration ---------- */
.hero { position: relative; }
.spark { position: absolute; color: var(--ink); pointer-events: none; animation: spin-slow 14s linear infinite; }
.spark .icon { width: 100%; height: 100%; display: block; }
.spark-1 { width: 34px; height: 34px; top: 38px; left: 46%; }
.spark-2 { width: 20px; height: 20px; bottom: 70px; left: 4%; animation-duration: 9s; animation-direction: reverse; color: var(--brand); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Hand-drawn underline that draws itself under "in Seconds" */
.underlined { position: relative; display: inline-block; white-space: nowrap; }
.underlined svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; }
.underlined path { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 0.9s ease-out 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* The phone and the PC window bob gently; files fly from one to the other */
.demo-phone { animation: bob 5s ease-in-out infinite; }
.demo-toast { animation: bob 6s ease-in-out -2s infinite, pop-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 1.2s backwards; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pop-in { from { opacity: 0; scale: 0.7; } }
.fly { position: absolute; left: 132px; bottom: 150px; z-index: 3; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--lime); font-size: 11px; font-weight: 800; opacity: 0; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); animation: fly 3.6s ease-in-out infinite; }
.fly-2 { animation-delay: 1.8s; bottom: 110px; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0) scale(0.7) rotate(-8deg); }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(210px, -96px) scale(0.85) rotate(6deg); }
}
/* The newest row in the PC window flashes as if it had just arrived */
.demo-row-new { animation: row-flash 3.6s ease-in-out infinite; border-radius: 10px; }
@keyframes row-flash { 0%, 55%, 100% { background: transparent; } 68% { background: var(--mint); } }

/* ---------- Moving strip under the hero ---------- */
.ticker-wrap { overflow: hidden; padding: 26px 0 30px; margin-top: -8px; }
.ticker { background: var(--ink); color: var(--lime); transform: rotate(-1.4deg); width: 106%; margin-left: -3%; padding: 13px 0; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18); }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-size: 17px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ticker .icon { width: 16px; height: 16px; color: #fff; }
/* The words are printed twice, so sliding by half the track loops seamlessly. */
@keyframes ticker { to { transform: translateX(-50%); } }

.stats { border-top: none; }
.stats-grid strong { transition: transform 0.2s ease; }
.stats-grid div:hover strong { transform: scale(1.08); }

/* ---------- Bento feature grid ---------- */
.bento { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile-wide { grid-column: span 2; } }
.tile { position: relative; overflow: hidden; background: #fff; padding: 32px; border-radius: 24px; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover { translate: 0 -6px; box-shadow: 0 22px 40px -18px rgba(0, 77, 64, 0.35); border-color: rgba(11, 153, 110, 0.4); }
.tile .stat-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 24px; background: var(--primary-soft); color: var(--primary); transition: transform 0.3s ease; }
.tile:hover .stat-icon { transform: rotate(-8deg) scale(1.08); }
.tile .stat-icon .icon { width: 24px; height: 24px; }
.tile h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.tile p { font-size: 14px; line-height: 1.625; color: #475569; margin: 0; max-width: 34em; }
.tile-ink { background: var(--ink); border-color: var(--ink); }
.tile-ink h3 { color: #fff; font-size: 26px; letter-spacing: -0.02em; }
.tile-ink p { color: #cbd5e1; font-size: 15px; }
.tile-ink .stat-icon { background: var(--lime); color: var(--ink); }
.tile-ink::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: radial-gradient(circle, rgba(192, 255, 165, 0.28), transparent 68%); }
.tile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; position: relative; z-index: 1; }
.tile-chips span { padding: 6px 14px; border-radius: 999px; background: rgba(192, 255, 165, 0.14); border: 1px solid rgba(192, 255, 165, 0.45); color: var(--lime); font-size: 13px; font-weight: 700; }
.tile-lime { background: var(--lime); border-color: var(--lime); padding-right: 190px; }
.tile-lime h3 { font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.tile-lime p { color: rgba(28, 28, 28, 0.82); font-size: 15px; }
.tile-lime .stat-icon { background: var(--ink); color: var(--lime); }
.tile-qr { position: absolute; right: 28px; top: 50%; translate: 0 -50%; rotate: 6deg; background: #fff; padding: 8px; border-radius: 16px; line-height: 0; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.35); transition: rotate 0.3s ease; }
.tile-lime:hover .tile-qr { rotate: -3deg; }
.tile-qr svg { width: 120px; height: 120px; display: block; }

/* ---------- Steps with a connecting line ---------- */
.steps { position: relative; }
.step { text-align: left; border-radius: 24px; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 24px; font-weight: 800; margin-bottom: 22px; box-shadow: 0 0 0 8px rgba(192, 255, 165, 0.35); transition: transform 0.25s ease; }
.step:hover .step-num { transform: scale(1.1) rotate(-6deg); }
@media (min-width: 768px) {
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 60px; border-top: 2px dashed #cbd5e1; z-index: 0; }
  .step { position: relative; z-index: 1; }
}

.audience div { border-radius: 24px; transition: background-color 0.2s ease, translate 0.2s ease, border-color 0.2s ease, opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.audience div:hover { background: var(--lime); border-color: var(--lime); translate: 0 -4px; }
.audience div:hover .icon { color: var(--ink); }
.audience div:hover p { color: rgba(28, 28, 28, 0.8); }
.compare-card { border-radius: 24px; }

/* ---------- Dark security band ---------- */
.band-ink { background: var(--ink); color: #e5e7eb; position: relative; overflow: hidden; margin: 8px 0; }
.band-ink::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -260px; background: radial-gradient(circle, rgba(192, 255, 165, 0.22), transparent 66%); }
.band-ink > * { position: relative; }
.band-ink .kicker { background: rgba(192, 255, 165, 0.14); color: var(--lime); }
.band-ink h2 { color: #fff; }
.band-ink > p { color: #cbd5e1; }
.band-ink .secure-item { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); transition: translate 0.2s ease, border-color 0.2s ease; }
.band-ink .secure-item:hover { translate: 0 -4px; border-color: rgba(192, 255, 165, 0.5); }
.band-ink .secure-item .stat-icon { background: var(--lime); color: var(--ink); }
.band-ink .secure-item strong { color: #fff; }
.band-ink .secure-item span { color: #cbd5e1; }

.price { border-radius: 24px; transition: translate 0.25s ease, box-shadow 0.25s ease; }
.price:hover { translate: 0 -6px; box-shadow: 0 22px 40px -18px rgba(0, 77, 64, 0.3); }

/* ---------- Closing hero above the footer ---------- */
.finale-wrap { margin: 24px 0 48px; }
.finale { position: relative; overflow: hidden; background: var(--lime); border-radius: 40px; padding: 48px 24px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 640px) { .finale { border-radius: 48px; padding: 64px 48px; } }
@media (min-width: 1024px) { .finale { grid-template-columns: 1.15fr 1fr; padding: 80px 72px; } }
.finale::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); right: -180px; bottom: -300px; }
.finale > * { position: relative; }
.finale .kicker { background: var(--ink); color: var(--lime); }
.finale h2 { font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
@media (min-width: 640px) { .finale h2 { font-size: 44px; } }
@media (min-width: 1024px) { .finale h2 { font-size: 52px; } }
.finale-copy > p { font-size: 17px; color: rgba(28, 28, 28, 0.85); margin: 18px 0 22px; max-width: 34em; }
.finale-formats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.finale-formats span { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, 0.35); transition: background-color 0.15s ease, color 0.15s ease, translate 0.15s ease; }
.finale-formats span:hover { background: var(--ink); color: var(--lime); translate: 0 -3px; }
.finale .band-actions { justify-content: flex-start; }
.finale-note { margin: 16px 0 0; font-size: 12.5px; color: rgba(28, 28, 28, 0.75); }
.spark-3 { width: 30px; height: 30px; top: 34px; right: 44%; position: absolute; }

.finale-visual { display: grid; place-items: center; min-height: 340px; }
.counter-card { width: 270px; background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 22px 20px 18px; text-align: center; rotate: 5deg; box-shadow: 14px 14px 0 var(--ink); transition: rotate 0.35s ease, translate 0.35s ease; }
.finale:hover .counter-card { rotate: 1deg; translate: 0 -6px; }
.counter-brand { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; color: var(--brand); }
.counter-card strong { display: block; font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.counter-card small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--ink); margin: 6px 0 10px; }
.counter-qr { position: relative; overflow: hidden; border: 2px solid #e2e8f0; border-radius: 16px; padding: 6px; line-height: 0; }
.counter-qr svg { width: 100%; height: auto; display: block; }
.scanline { position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 3px; background: var(--primary); box-shadow: 0 0 14px 3px rgba(11, 153, 110, 0.55); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.counter-foot { display: block; margin-top: 10px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.float-chip { position: absolute; z-index: 2; padding: 8px 13px; border-radius: 12px; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 800; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22); animation: bob 4.5s ease-in-out infinite; }
.chip-a { left: 6%; top: 12%; rotate: -10deg; }
.chip-b { right: 4%; top: 30%; rotate: 8deg; animation-delay: -1.5s; background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.chip-c { left: 12%; bottom: 10%; rotate: 6deg; animation-delay: -3s; }

/* Buttons get a little lift */
.pill-dark { transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.pill-dark:hover { box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.5); }
.pill .arrow { transition: translate 0.15s ease; }
.pill:hover .arrow { translate: 4px 0; }

@media (max-width: 760px) {
  .tile-lime { padding-right: 32px; }
  .tile-qr { position: static; translate: none; display: inline-block; margin-top: 20px; }
  .fly { left: 104px; }
  .ticker span { font-size: 14px; }
}

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 24px; padding: 26px; transition: translate 0.2s ease, box-shadow 0.2s ease; }
.post-card:hover { translate: 0 -4px; box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08); }
.post-card h2, .post-card h3 { font-size: 19px; line-height: 1.4; font-weight: 800; color: var(--ink); }
.post-card h2 a, .post-card h3 a { color: inherit; }
.post-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; flex: 1; }
.post-meta { font-size: 12.5px; font-weight: 700; color: var(--primary); }
.post-more { font-weight: 700; color: var(--ink); }

.post-hero h1 { max-width: 22em; line-height: 1.3; }
.post-byline { font-size: 14px !important; color: rgba(28, 28, 28, 0.75) !important; }
.crumbs { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: rgba(28, 28, 28, 0.6); }
.crumbs a { color: rgba(28, 28, 28, 0.75); }

.post-body { max-width: 760px; margin: 0 auto; padding: 44px 0 72px; color: #1f2937; font-size: 17.5px; line-height: 1.85; }
/* One rhythm for everything in an article: no default margins, then a fixed gap between blocks. */
.post-body > * { margin: 0; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 2em; font-size: 26px; line-height: 1.35; font-weight: 800; color: var(--ink); scroll-margin-top: 100px; }
.post-body h3 { margin-top: 1.6em; font-size: 20px; line-height: 1.4; font-weight: 800; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: 0.45em; }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body code { font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; font-size: 0.85em; background: #f1f5f9; border-radius: 6px; padding: 2px 6px; }
.post-body pre { background: var(--ink); color: #e2e8f0; border-radius: 16px; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body blockquote { margin: 1.4em 0 0; padding: 16px 20px; border-radius: 16px; background: var(--mint); border-left: 4px solid var(--primary); }
.post-body blockquote p { margin: 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
@media (min-width: 761px) { .post-body table { display: table; } }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; white-space: normal; }
.post-body th { background: #f8fafc; font-weight: 800; }
.post-body .heading-permalink { margin-left: 8px; color: var(--subtle); text-decoration: none; opacity: 0; transition: opacity 0.15s ease; }
.post-body h2:hover .heading-permalink, .post-body .heading-permalink:focus { opacity: 1; }
.post-body .toc { list-style: none; padding: 18px 22px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--border); font-size: 16px; }
.post-body .toc::before { content: "In this guide"; display: block; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.post-body .toc a { text-decoration: none; color: #334155; }
.post-body .toc a:hover { color: var(--brand); text-decoration: underline; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 1.6em !important; padding: 22px 24px; border-radius: 22px; background: var(--lime); }
.post-cta div { flex: 1 1 260px; }
.post-cta strong { display: block; font-size: 18px; line-height: 1.4; }
.post-cta span { display: block; font-size: 15px; line-height: 1.6; color: rgba(28, 28, 28, 0.85); margin-top: 4px; }
.post-cta .pill { text-decoration: none; color: #fff; }
.post-cta .pill span { display: inline; color: inherit; margin: 0; font-size: inherit; }
@media (max-width: 640px) {
  .post-body { font-size: 16.5px; padding: 32px 0 56px; }
  .post-body h2 { font-size: 22px; }
  .post-cta .pill { width: 100%; }
}

/* Phones: 16px text in form fields stops iPhones zooming in when a field is tapped */
@media (max-width: 760px) {
  .site input[type="text"], .site input[type="email"], .site input[type="password"], .site input[type="tel"], .site select, .site textarea { font-size: 16px; }
}

/* Phones: a smaller phone in the hero demo, so it does not cover the PC window's text */
@media (max-width: 520px) {
  .demo { min-height: 0; padding-bottom: 12px; }
  .demo-pc { margin-left: 30px; border-radius: 16px; }
  .demo-bar { padding: 9px 12px; font-size: 11px; }
  .demo-bar span { margin-left: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo-body { padding: 12px 12px 12px 98px; }
  .demo-head { font-size: 13px; }
  .demo-head .badge { display: none; }
  .demo-row { gap: 8px; padding: 9px 0; font-size: 12px; }
  .demo-row .badge { display: none; }
  .demo-file { width: 28px; height: 28px; }
  .demo-phone { width: 118px; border-radius: 22px; padding: 6px; bottom: -6px; }
  .demo-screen { border-radius: 17px; padding: 12px 8px 8px; }
  .demo-screen .shop { font-size: 11.5px; }
  .demo-screen .sub { font-size: 9.5px; margin-bottom: 8px; }
  .demo-drop { padding: 10px 4px; font-size: 10px; }
  .demo-chip { font-size: 9.5px; padding: 5px 6px; }
  .demo-send { font-size: 11px; padding: 6px; }
  .fly { left: 92px; }
  .spark-1 { left: auto; right: 18px; top: 18px; width: 24px; height: 24px; }
  .counter-card { width: 240px; box-shadow: 10px 10px 0 var(--ink); }
  .spark-3 { display: none; } /* would sit on top of the heading on a narrow screen */
}

@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer-backdrop { transition: none !important; }
  .loader, .loader-qr i, .loader-bar i, .spark, .demo-phone, .demo-toast, .fly, .demo-row-new, .ticker-track, .scanline, .float-chip { animation: none !important; }
  .loader { display: none; }
  .fly { display: none; }
  .underlined path { animation: none; stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Devanagari joins letters into shapes; tightened letter spacing breaks them apart. */
[lang|="hi"] h1, [lang|="hi"] h2, [lang|="hi"] h3, [lang|="hi"] .post-cta strong { letter-spacing: normal; }
