/* Receipts: Chat Analyzer · pullreceipts.tech */
:root {
  --bg: #0d0914;
  --bg-2: #130e1c;
  --card: #1c1726;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.4);
  --lime: #c7ff3d;
  --pink: #ff4d8c;
  --sky: #6bb8ff;
  --orange: #ffa500;
  --radius: 24px;
  --max: 1160px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: #000; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
}
h1, h2, h3 { font-weight: 900; line-height: 1.02; letter-spacing: -0.025em; }
h1 { font-size: clamp(46px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5.4vw, 64px); }
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.lime { color: var(--lime); }
.pink { color: var(--pink); }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); font-weight: 700; max-width: 40ch; }
.muted { color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 9, 20, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--stroke);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-family: var(--mono); font-weight: 800; letter-spacing: 0.2em; font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 16px 28px;
  font-weight: 900; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: #000 !important; box-shadow: 0 10px 40px rgba(199, 255, 61, 0.25); }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--text) !important; border: 1px solid var(--stroke); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }
.soon { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; opacity: .7; }

/* ---------- Glows ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { margin: 26px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.phones { position: relative; height: 640px; }
.phones img { position: absolute; width: 300px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.phones .p1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phones .p2 { left: 2%; top: 70px; transform: rotate(-9deg) scale(.86); z-index: 2; opacity: .92; }
.phones .p3 { right: 2%; top: 70px; transform: rotate(9deg) scale(.86); z-index: 2; opacity: .92; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .phones { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phones img { width: 250px; }
}
@media (max-width: 520px) {
  .phones { height: 470px; }
  .phones img { width: 210px; }
  .phones .p2 { left: -8%; }
  .phones .p3 { right: -8%; }
}

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: scroll 42s linear infinite; }
.ticker span { font-family: var(--mono); font-weight: 800; font-size: 14px; letter-spacing: .06em; white-space: nowrap; color: var(--muted); }
.ticker span b { color: var(--lime); font-weight: 800; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { margin: 18px 0 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .section { padding: 84px 0; } .section-head { margin-bottom: 44px; } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 34px; border: 1px solid var(--stroke); background: var(--card); }
.compare-col.us { background: linear-gradient(160deg, rgba(199,255,61,.14), rgba(199,255,61,.02) 55%), var(--card); border-color: rgba(199,255,61,.35); }
.compare-col h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.compare-col li i { font-style: normal; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; margin-top: 2px; }
.us li i { background: var(--lime); color: #000; }
.them li i { background: rgba(255,255,255,.1); color: var(--faint); }
.them li { color: var(--muted); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare-col { padding: 26px; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--stroke); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media img { width: 330px; position: relative; z-index: 1; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.feature-media .glow { width: 380px; height: 380px; opacity: .35; top: 15%; }
.feature h3 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0 18px; }
.feature p { color: var(--muted); font-size: 19px; max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 44px 0; }
  .feature.flip .feature-media { order: 0; }
  .feature p { margin: 0 auto; }
  .chips { justify-content: center; }
  .feature-media img { width: 270px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 30px; }
.step-num { width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: #000; font-weight: 900; font-size: 20px; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Privacy grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--stroke); border-radius: 22px; padding: 26px; }
.tile .emoji { font-size: 30px; margin-bottom: 14px; }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--pink); background: linear-gradient(170deg, rgba(255,77,140,.16), transparent 60%), var(--card); position: relative; }
.plan .badge { position: absolute; top: -14px; right: 24px; background: var(--lime); color: #000; font-weight: 900; font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.price { font-size: 46px; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 2px; }
.price small { font-size: 17px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: 16px; }
.plan li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 10px; }
.plan .fine { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--faint); }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--stroke); border-radius: 18px; padding: 0 24px; }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p, details ol, details ul { color: var(--muted); padding-bottom: 22px; font-size: 16px; }
details ol, details ul { padding-left: 22px; }
details li { margin: 4px 0; }

/* ---------- CTA ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 36px; padding: 80px 40px; text-align: center; background: linear-gradient(135deg, #2b1036, #150d1e 60%); border: 1px solid var(--stroke); }
.cta-card h2 { position: relative; z-index: 1; }
.cta-card p, .cta-card .hero-cta { position: relative; z-index: 1; }
.cta-card .hero-cta { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--stroke); padding: 48px 0 60px; margin-top: 40px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.legal-line { color: var(--faint); font-size: 13px; margin-top: 10px; }

/* ---------- Document pages (privacy / terms / support) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 80px 24px 40px; }
.doc h1 { font-size: clamp(42px, 6vw, 64px); margin: 16px 0 12px; }
.doc .updated { color: var(--faint); font-size: 15px; margin-bottom: 44px; }
.doc h2 { font-size: 26px; letter-spacing: -0.01em; margin: 46px 0 12px; }
.doc p, .doc li { color: rgba(255,255,255,.8); font-size: 17px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc a { color: var(--lime); }
.summary-box { background: linear-gradient(160deg, rgba(199,255,61,.12), transparent 70%), var(--card); border: 1px solid rgba(199,255,61,.3); border-radius: 22px; padding: 26px 28px; }
.summary-box p { color: var(--text); }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--card); border: 1px solid var(--stroke); border-radius: 22px; padding: 26px 28px; margin: 28px 0 10px; }
.contact-card .big { font-size: 22px; font-weight: 900; }
.doc .faq { margin-top: 18px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }

/* focus */
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 12px; }

/* ---------- Mobile polish ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body, section, header { overflow-x: clip; } }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { margin-right: 0; flex: none; }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  #features { padding-top: 8px !important; }
  .feature { padding: 36px 0; gap: 28px; }
  .section-head { margin-bottom: 36px; }
  .feature-media .glow { width: 260px; height: 260px; }
  .hero { padding-top: 48px; }
  .hero .lead { margin: 20px auto 28px; }
  .hero-cta .btn { width: 100%; max-width: 340px; }
  .cta-card { padding: 56px 22px; border-radius: 28px; }
  .compare-col h3 { font-size: 22px; }
  footer { margin-top: 0; }
}
@media (max-width: 960px) {
  .pricing .plan.pro { order: -1; }
}
