/* PayerPass public site (payerpass.app). Petrol/slate, same font as the app. No scripts, no outside requests. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --brand: #136a86;
  --brand-2: #1a87a8;
  --brand-soft: #e3f2f6;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 40px -12px rgba(15, 23, 42, .18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f5f9;
    --ink-2: #cbd5e1;
    --muted: #94a3b8;
    --line: #1e293b;
    --bg: #0b1220;
    --bg-alt: #0f1a2b;
    --card: #111c2e;
    --brand-soft: rgba(26, 135, 168, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px; }
.sub { font-size: 19px; color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(19, 106, 134, .8); }
.btn.primary:hover { background: #0f5a72; box-shadow: 0 10px 28px -8px rgba(19, 106, 134, .9); }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--bg-alt); }
.btn.light { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn.light:hover { background: rgba(255, 255, 255, .18); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.links { display: flex; gap: 4px; margin-right: auto; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-cta { display: flex; gap: 6px; }
@media (max-width: 900px) { .links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 420px) { .nav-cta .ghost { display: none; } .brand span { font-size: 17px; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(26, 135, 168, .45), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(19, 106, 134, .35), transparent 60%),
    linear-gradient(160deg, #0b1220 0%, #0f172a 45%, #12324a 100%);
}
.hero::after { /* faint grid */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 88px 0 110px; }
.hero .eyebrow { color: #7dd3e8; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { background: linear-gradient(90deg, #7dd3e8, #b9f0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; margin-top: 22px; max-width: 560px; }
.lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; font-size: 15px; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(125, 211, 232, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-art { position: relative; }
.hero-art .window { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.hero-art .float { position: absolute; width: 52%; right: -4%; bottom: -14%; transform: none; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 64px 0 96px; }
  .hero-art .window { transform: none; }
  .hero-art .float { right: -2%; bottom: -12%; width: 50%; }
}

/* Browser-style frames around the pictures */
.window { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -20px rgba(2, 6, 23, .55), 0 0 0 1px rgba(15, 23, 42, .08); }
.window .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef2f6; border-bottom: 1px solid #e2e8f0; }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.window .bar i:nth-child(2) { background: #fbbf24; }
.window .bar i:nth-child(3) { background: #34d399; }
.window .bar span { margin-left: 10px; font-size: 12px; color: #64748b; font-weight: 600; }
.window.small .bar { height: 24px; }
.window.small .bar i { width: 8px; height: 8px; }
.window.small .bar span { font-size: 11px; }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); }
.band { padding: 88px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.four, .grid.three { grid-template-columns: minmax(0, 1fr); } .section { padding: 72px 0; } .band { padding: 64px 0; } }

.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fdecec; stroke: #dc2626; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.pain p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-soft) 15%, var(--brand-soft) 85%, transparent); }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps .num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: #fff; font-weight: 800; font-size: 22px; box-shadow: 0 12px 30px -10px rgba(19, 106, 134, .9); margin-bottom: 20px; position: relative; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; } .steps::before { display: none; } }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 960px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split.rev .window { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136a86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { color: var(--ink); }

.window.wide { margin-top: 48px; }
.features article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.features h3::before { content: ''; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--brand-2); margin-bottom: 14px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Security (dark) */
.section.dark { color: #cbd5e1; background: radial-gradient(800px 400px at 50% 0%, rgba(26, 135, 168, .35), transparent 70%), #0b1220; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #7dd3e8; }
.section.dark .sub { color: #94a3b8; }
.sec article { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.sec article::before { content: ''; display: block; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; background: rgba(125, 211, 232, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.sec p { margin-top: 8px; color: #94a3b8; font-size: 15.5px; }
.note { margin-top: 40px; font-size: 15px; color: #94a3b8; }

/* FAQ */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Final call to action */
.cta { padding: 0 0 104px; }
.cta-in { text-align: center; color: #cbd5e1; border-radius: 28px; padding: 72px 28px; background: radial-gradient(600px 300px at 80% 0%, rgba(125, 211, 232, .35), transparent 70%), linear-gradient(135deg, #0f172a, #136a86); }
.cta-in h2 { color: #fff; }
.cta-in p { margin-top: 12px; font-size: 19px; }
.center-row { justify-content: center; }
@media (max-width: 640px) { .cta { padding-bottom: 72px; } .cta-in { padding: 56px 20px; border-radius: 22px; } .btn.lg { width: 100%; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-right: auto; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--brand-2); }
