/* Sleetpay landing — Polar.sh-inspired monochrome system */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #181818;
  --border: #232323;
  --border-2: #2c2c2c;
  --fg: #ffffff;
  --fg-2: #a3a3a3;
  --fg-3: #6f6f6f;
  --fg-4: #4a4a4a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scrollbar-color: #333 transparent; }
body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  height: 68px; display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--fg-3); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav-right .signin { color: var(--fg); }
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fg); color: var(--bg);
  border-radius: 999px; padding: 9px 20px;
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em;
  transition: opacity 0.15s;
}
.btn-pill:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-2); color: var(--fg);
  border-radius: 999px; padding: 9px 20px; font-size: 14.5px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--fg-4); background: var(--surface); }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 96px 0 0; }
.hero-kicker { color: var(--fg-2); font-size: 42px; font-weight: 550; letter-spacing: -0.035em; line-height: 1.12; }
@media (min-width: 900px) { .hero-kicker { font-size: 56px; } }
.hero-head { color: var(--fg); font-size: 42px; font-weight: 550; letter-spacing: -0.035em; line-height: 1.12; margin-top: 6px; }
@media (min-width: 900px) { .hero-head { font-size: 56px; } }
.hero-sub { margin-top: 22px; max-width: 560px; color: var(--fg-3); font-size: 17px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-pill { padding: 12px 24px; font-size: 15px; }

.hero-banner {
  margin-top: 72px; position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 20px;
  padding: 48px clamp(16px, 3vw, 40px) 0;
  background:
    radial-gradient(90% 70% at 50% 0%, #202020 0%, #121212 45%, #0d0d0d 100%);
}
.dash {
  position: relative; border: 1px solid var(--border-2); border-radius: 14px;
  background: var(--surface-2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  overflow: hidden; margin: 0 auto; max-width: 860px;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.dash-brand { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: 14px; }
.dash-brand svg { width: 18px; height: 18px; }
.dash-cycle { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.dash-body { display: grid; grid-template-columns: 220px 1fr; }
@media (max-width: 720px) { .dash-body { grid-template-columns: 1fr; } }
.dash-left { border-right: 1px solid var(--border); padding: 18px 22px; }
@media (max-width: 720px) { .dash-left { border-right: 0; border-bottom: 1px solid var(--border); } }
.dash-org { color: var(--fg); font-weight: 600; font-size: 15px; }
.dash-email { font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.dash-usage { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.dash-label { font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.dash-usage-num { font-family: var(--mono); color: var(--fg); font-size: 20px; margin-top: 6px; }
.dash-charge { margin-top: 18px; }
.dash-charge-num { font-family: var(--mono); color: var(--fg); font-size: 20px; margin-top: 4px; }
.dash-card { font-size: 12px; color: var(--fg-3); margin-top: 8px; font-family: var(--mono); }
.dash-right { padding: 18px 22px 22px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .dash-metrics { grid-template-columns: 1fr 1fr; } }
.metric-label { font-size: 11.5px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.metric-num { font-family: var(--mono); color: var(--fg); font-size: 22px; margin-top: 4px; }
.metric-num.dim { color: var(--fg-2); }
.dash-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-3); }
.tick { color: #d9f99d; font-family: var(--mono); }

/* ---------- section headers ---------- */
.section { padding: 110px 0 0; }
.sec-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-4); display: flex; align-items: center; gap: 14px;
}
.sec-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--border-2); }
.big { margin-top: 22px; color: var(--fg); font-size: clamp(30px, 4.6vw, 46px); font-weight: 550; letter-spacing: -0.03em; line-height: 1.15; }
.big .sub { color: var(--fg-3); }
.lede { margin-top: 18px; max-width: 640px; font-size: 17px; color: var(--fg-3); }

/* ---------- feature grid ---------- */
.fgrid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.fcard {
  position: relative; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); padding: 22px 20px 20px; min-height: 170px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.fcard:hover { border-color: var(--border-2); }
.fcard .idx { font-family: var(--mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.08em; }
.fcard h3 { margin-top: auto; color: var(--fg); font-size: 16px; font-weight: 550; letter-spacing: -0.01em; }
.fcard p { margin-top: 6px; font-size: 13.5px; color: var(--fg-3); line-height: 1.55; }

/* ---------- numbered chapters ---------- */
.chapter { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: 36px; } }
.chapter.flip .ch-copy { order: 2; }
@media (max-width: 900px) { .chapter.flip .ch-copy { order: 0; } }
.ch-num {
  font-family: var(--mono); font-size: 13px; color: var(--fg-4); letter-spacing: 0.12em;
  text-transform: uppercase; display: flex; align-items: center; gap: 12px;
}
.ch-num::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ch-copy h3 { margin-top: 18px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 550; letter-spacing: -0.025em; color: var(--fg); line-height: 1.2; }
.ch-copy h3 .sub { color: var(--fg-3); }
.ch-copy p { margin-top: 14px; color: var(--fg-3); font-size: 15.5px; max-width: 460px; }
.ch-copy .mini-steps { margin-top: 26px; display: grid; gap: 18px; }
.mini-step { display: flex; gap: 14px; }
.mini-step .n { font-family: var(--mono); font-size: 12px; color: var(--fg-3); border: 1px solid var(--border-2); border-radius: 999px; width: 26px; height: 26px; display: grid; place-items: center; flex: none; margin-top: 2px; }
.mini-step b { color: var(--fg); font-weight: 550; font-size: 14.5px; display: block; }
.mini-step span { font-size: 13.5px; color: var(--fg-3); }

.panel {
  border: 1px solid var(--border-2); border-radius: 14px; background: var(--surface-2);
  padding: 24px; position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 10px);
}
.row { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); position: relative; }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--fg-3); font-size: 13.5px; }
.row .v { font-family: var(--mono); color: var(--fg); font-size: 14px; }
.row .v.dim { color: var(--fg-3); }
.row .v.hl { color: #d9f99d; }
.panel-tag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10.5px; color: var(--fg-4); letter-spacing: 0.1em; text-transform: uppercase; }
.pt { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-4); font-family: var(--mono); }

/* ---------- quotes ---------- */
.quotes { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.quote p { color: var(--fg-2); font-size: 14.5px; line-height: 1.65; }
.quote footer { margin-top: auto; color: var(--fg-3); font-size: 13px; }
.quote footer b { color: var(--fg); font-weight: 550; display: block; }

/* ---------- pricing ---------- */
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--fg-4); }
.plan h4 { color: var(--fg); font-size: 16px; font-weight: 550; }
.plan .for { color: var(--fg-3); font-size: 13px; margin-top: 4px; }
.plan .price { margin-top: 22px; color: var(--fg); font-size: 30px; font-weight: 550; letter-spacing: -0.02em; }
.plan .price small { font-size: 13px; color: var(--fg-3); font-weight: 400; }
.plan .fee { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
.plan .fee b { color: #d9f99d; font-weight: 500; }
.plan ul { margin-top: 22px; list-style: none; display: grid; gap: 10px; font-size: 13.5px; color: var(--fg-3); }
.plan ul li::before { content: "—"; margin-right: 10px; color: var(--fg-4); }
.plan .btn-ghost { margin-top: 26px; justify-content: center; }
.plan.featured .btn-pill { margin-top: 26px; justify-content: center; }

/* ---------- CTA ---------- */
.cta { margin: 120px 0 0; border: 1px solid var(--border); border-radius: 20px; background: radial-gradient(80% 120% at 50% 0%, #1c1c1c, #101010); padding: 72px 24px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 9px); pointer-events: none; }
.cta h2 { color: var(--fg); font-size: clamp(28px, 4.4vw, 44px); font-weight: 550; letter-spacing: -0.03em; }
.cta h2 .sub { color: var(--fg-3); }
.cta .actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .fine { margin-top: 18px; font-size: 12.5px; color: var(--fg-4); }

/* ---------- footer ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--border); padding: 56px 0 40px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 17px; }
.foot-brand svg { width: 22px; height: 22px; }
.foot-note { margin-top: 14px; color: var(--fg-4); font-size: 12.5px; max-width: 260px; }
.foot-col h5 { color: var(--fg-3); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--fg-2); padding: 4px 0; transition: color 0.15s; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-4); font-size: 12.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
