/* CassaPay website — static, no cookies, no external requests. */

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f7f7fc;
  --bg-2: #eeeef9;
  --surface: #ffffff;
  --ink: #15142b;
  --ink-2: #4a4966;
  --mute: #6f6e8a;
  --line: #dcdcec;
  --brand: #4f46e5;
  --brand-ink: #3b33c9;
  --brand-soft: #e6e5fc;
  --ok: #1f9d55;
  --ok-soft: #dff5e7;
  --night: #0f0e24;
  --night-2: #1b1a3a;
  --shadow: 0 30px 60px -20px rgba(36, 30, 120, .28);
  --radius: 22px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0c1d;
    --bg-2: #141331;
    --surface: #1a1938;
    --ink: #f1f0ff;
    --ink-2: #c6c5e4;
    --mute: #9998bd;
    --line: #2c2b52;
    --brand: #7c75ff;
    --brand-ink: #a29dff;
    --brand-soft: #25235a;
    --ok: #4cd98a;
    --ok-soft: #133a26;
    --night: #070615;
    --night-2: #15143a;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 36em; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 14px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { background: var(--brand-ink); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0d0c1d; } .btn-primary:hover { background: #fff; } }
.btn-ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.top .btn { padding: 10px 16px; font-size: 15px; border-radius: 11px; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--brand); display: block; }
.hero .lead { margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--mute); }
.stage { position: relative; height: 640px; }
.stage .phone { position: absolute; left: 50%; top: 0; width: 300px; transform: translateX(-46%) rotate(-4deg); filter: drop-shadow(0 40px 50px rgba(20, 16, 80, .35)); }
.stage .ccard { position: absolute; right: max(0px, calc(50% - 270px)); top: 300px; width: 230px; aspect-ratio: 1.586; border-radius: 16px; padding: 18px 20px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #6d66ff 0%, #3b33c9 45%, #1a1650 100%); box-shadow: 0 30px 50px -18px rgba(20, 16, 80, .6);
  transform: rotate(14deg); display: flex; flex-direction: column; justify-content: space-between; animation: tap 3.2s ease-in-out infinite; }
.ccard .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f6dd9a, #c79b3b); }
.ccard .row { display: flex; justify-content: space-between; align-items: end; font: 500 15px/1 var(--mono); letter-spacing: .08em; }
.ccard svg { width: 26px; height: 26px; }
@keyframes tap { 0%, 100% { transform: translate(0, 0) rotate(14deg); } 45%, 60% { transform: translate(-60px, -50px) rotate(6deg); } }
.receipt { position: absolute; left: max(0px, calc(50% - 290px)); bottom: 10px; width: 236px; background: var(--surface); color: var(--ink); padding: 16px 18px 26px; box-shadow: var(--shadow); border-radius: 14px 14px 0 0;
  --z: 10px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%; }
.receipt .t { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.receipt .n { font: 600 22px/1.3 var(--mono); margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--ok-soft); color: var(--ok); margin-top: 10px; }
.badge svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .stage .ccard { animation: none; } }
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 560px; }
  .stage .phone { width: 260px; }
}
@media (max-width: 480px) {
  .stage { height: 500px; }
  .stage .phone { width: 230px; }
  .stage .ccard { width: 170px; right: 0; padding: 12px 14px; }
  .ccard .row { font-size: 12px; }
  .receipt { width: 196px; left: 0; bottom: 0; }
  .stage .ccard { top: 250px; }
}

/* Strip of "no more" items */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, auto); gap: 14px 28px; justify-content: center; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
@media (max-width: 1240px) { .strip ul { grid-template-columns: repeat(2, auto); gap: 14px 48px; } }
@media (max-width: 640px) { .strip ul { grid-template-columns: auto; } }
.strip li svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* Sections */
section.block { padding: 110px 0; }
.head { max-width: 760px; margin-bottom: 56px; }
.head h2 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; margin-top: 12px; }
.head .lead { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
@media (max-width: 600px) { section.block { padding: 72px 0; } .head { margin-bottom: 36px; } .lead { font-size: 18px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px 24px 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 16px; }
.step h3 { font-size: 23px; margin-top: 16px; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.step .pic { margin-top: auto; padding-top: 28px; height: 360px; overflow: hidden; }
.step img { width: 76%; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(20, 16, 80, .2)); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* The big advantage: night band */
.night { background: var(--night); color: #f1f0ff; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(124, 117, 255, .35), transparent); pointer-events: none; }
.night .eyebrow { color: #a29dff; }
.night .lead { color: #c6c5e4; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.col { border-radius: var(--radius); padding: 32px; }
.col h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.col ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.col li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.col li svg { width: 22px; height: 22px; margin-top: 2px; }
.col.before { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #b9b8d6; }
.col.before li svg { color: #77769a; }
.col.after { background: linear-gradient(160deg, #2a2580, #1b1a3a 70%); box-shadow: inset 0 0 0 1px rgba(162, 157, 255, .35), 0 30px 60px -30px rgba(80, 72, 229, .8); }
.col.after li svg { color: #6ee7a0; }
.col li b { color: #fff; font-weight: 600; }
.law { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 24px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); position: relative; }
.law .tag { font: 600 13px/1 var(--mono); padding: 8px 10px; border-radius: 8px; background: #a29dff; color: #0f0e24; white-space: nowrap; }
.law p { color: #d7d6ef; font-size: 16px; }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } .col { padding: 24px; } .law { grid-template-columns: 1fr; padding: 22px; } }

/* Split sections: text + phone */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .text { order: 2; }
.split .shot { display: flex; justify-content: center; position: relative; }
.split .shot img { width: 320px; filter: drop-shadow(0 40px 50px rgba(20, 16, 80, .25)); position: relative; }
.split .shot::before { content: ""; position: absolute; width: 420px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--brand-soft); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.split h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-top: 12px; }
.split .lead { margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.checks li svg { width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }
.checks b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.flip .text { order: 0; } .split .shot img { width: 260px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 20px; margin-top: 18px; letter-spacing: -0.015em; }
.feat p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Who */
.who { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.who span { padding: 12px 20px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 16px; }

/* Requirements */
.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.req { padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.req .k { font: 600 13px/1 var(--mono); color: var(--brand-ink); letter-spacing: .04em; }
.req h3 { font-size: 19px; margin-top: 12px; letter-spacing: -0.01em; }
.req p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
@media (max-width: 900px) { .reqs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reqs { grid-template-columns: 1fr; } }

/* Pricing note */
.price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--surface); border-radius: 28px; padding: 48px; box-shadow: inset 0 0 0 1px var(--line); }
.price h2 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; }
.price .lead { margin-top: 14px; font-size: 18px; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.price li svg { width: 22px; height: 22px; color: var(--ok); flex: none; }
@media (max-width: 800px) { .price { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--brand); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 16.5px; }

/* Final CTA */
.final { text-align: center; background: var(--brand); color: #fff; border-radius: 32px; padding: 72px 28px; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .final { background: #3b33c9; } }
.final h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.final p { margin: 16px auto 0; max-width: 34em; font-size: 19px; color: #e1e0ff; }
.final .btn { margin-top: 30px; background: #fff; color: #2c25a8; }
.final .mail { margin-top: 14px; font-size: 15px; color: #d4d2ff; user-select: all; }

/* Footer */
footer { padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .legal { font-size: 12.5px; line-height: 1.6; max-width: 70em; }
