/* PonPilot website */
:root {
  --navy: #0b1220;
  --navy-2: #121b2e;
  --navy-3: #1b2740;
  --gold: #c9a227;
  --gold-2: #e2bf4a;
  --cream: #f8f6f1;
  --ink: #0b1220;
  --muted: #5b6475;
  --line: #e6e1d6;
  --ok: #2f9e6b;
  --bad: #c2453b;
  --radius: 14px;
  --max: 1160px;
  --head: "Exo 2", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,18,32,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #1f2a42; }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.brand svg { width: 34px; height: 34px; }
.brand b { color: var(--gold); font-weight: 800; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #cfd6e4; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.on { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid #33405e; color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
  font-family: var(--body); font-size: 1rem; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: #3a4766; color: #fff; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-dark { background: var(--navy); color: #fff; }
.nav .btn { padding: 9px 16px; font-size: .9rem; color: var(--navy); }

/* hero */
.hero { background: radial-gradient(1100px 500px at 75% -10%, #22305a 0%, transparent 60%), var(--navy); color: #fff; padding: 80px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: #c8d0df; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero .ticks { display: flex; gap: 18px; flex-wrap: wrap; color: #aab4c7; font-size: .92rem; padding: 0; margin: 0; list-style: none; }
.hero .ticks li::before { content: "✓ "; color: var(--gold); font-weight: 800; }
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero p { color: #c8d0df; font-size: 1.12rem; max-width: 720px; }

/* mock app window */
.app {
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  overflow: hidden; font-size: .82rem; border: 1px solid #2a3654;
}
.app-bar { background: var(--navy-2); color: #fff; display: flex; align-items: center; gap: 8px; padding: 9px 12px; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4766; display: inline-block; }
.app-bar span { margin-left: 8px; color: #9fb0cf; font-size: .78rem; }
.app-body { padding: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--cream); border-radius: 9px; padding: 8px 10px; }
.kpi b { display: block; font-family: var(--head); font-size: 1.25rem; }
.kpi small { color: var(--muted); }
.kpi.ok b { color: var(--ok); } .kpi.bad b { color: var(--bad); } .kpi.gold b { color: #a8861a; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 700; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 7px 6px; border-bottom: 1px solid #f0ece3; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--ok); }
.dot.pf { background: #e0a020; } .dot.los { background: var(--bad); }
.chip { display: inline-block; padding: 2px 8px; border-radius: 20px; background: #eef3ea; color: #2c6e4d; font-weight: 700; font-size: .7rem; }
.chip.gold { background: #f6edcf; color: #8a6c0f; }

/* sections */
section { padding: 84px 0; }
section.alt { background: #fff; }
section.dark { background: var(--navy); color: #fff; }
section.dark .muted { color: #aab4c7; }
.head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; }
section.dark .head p { color: #aab4c7; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .card { background: var(--cream); }
.card .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 4px 0; }

/* speed table */
.speed { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.speed th, .speed td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.speed thead th { background: var(--navy); color: #fff; font-family: var(--head); font-size: .95rem; }
.speed thead th.us { color: var(--gold); }
.speed td.us { font-weight: 800; color: #1e7a52; }
.speed td.them { color: var(--muted); }
.speed tr:last-child td { border-bottom: 0; }
.speed small { display: block; color: var(--muted); font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* bars */
.bars { display: grid; gap: 18px; }
.bar-row b { font-family: var(--head); }
.bar { height: 12px; border-radius: 6px; background: #2a3654; margin-top: 6px; position: relative; overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; border-radius: 6px; }
.bar .u { background: var(--gold); }
.bar .t { background: #5c6a8a; }
.bar-label { display: flex; justify-content: space-between; font-size: .88rem; color: #aab4c7; margin-top: 4px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 54px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--head); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.step p { color: var(--muted); }
section.dark .step p { color: #aab4c7; }
pre.code { background: #0a0f1b; color: #d8e1f0; border-radius: 10px; padding: 16px; overflow-x: auto; font-size: .82rem; line-height: 1.5; border: 1px solid #24304d; }
pre.code .c { color: #6f7c99; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #efeadf; padding: 1px 5px; border-radius: 4px; }
pre code { background: none; padding: 0; }

/* pricing */
.price-card { max-width: 560px; margin: 0 auto; background: #fff; border: 2px solid var(--gold); border-radius: 20px; padding: 38px; text-align: center; }
.price-card .amount { font-family: var(--head); font-size: 3rem; font-weight: 800; }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 24px 0; }
.price-card li { padding: 8px 0; border-bottom: 1px solid #f0ece3; }
.price-card li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details summary { font-weight: 700; cursor: pointer; font-family: var(--head); font-size: 1.05rem; }
details p { margin: 10px 0 0; color: var(--muted); }

/* article */
.article { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { font-size: 1.05rem; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.note { background: #fff8e1; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; margin: 20px 0; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s; }
.post:hover { border-color: var(--gold); }
.post p { color: var(--muted); margin: 0; }

/* cta band */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #1c2a4d 100%); color: #fff; border-radius: 22px; padding: 48px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta p { color: #c8d0df; margin: 0; }

/* logos row */
.vendors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.vendors span { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-weight: 700; font-size: .92rem; }

/* footer */
footer { background: var(--navy); color: #aab4c7; padding: 56px 0 30px; font-size: .93rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
footer a { color: #aab4c7; text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--gold); }
footer .legal { border-top: 1px solid #1f2a42; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 16px 20px 22px; gap: 14px; border-bottom: 1px solid #1f2a42; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .grid3, .grid2, .steps, .posts { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 54px 0 64px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 32px 24px; }
  footer .cols { grid-template-columns: 1fr; }
  .app .hide-sm { display: none; }
}

/* keep wide content inside the viewport */
html, body { overflow-x: hidden; }
.hero .wrap > *, .grid2 > *, .grid3 > *, .steps > * { min-width: 0; }
.app-body { overflow-x: auto; }
.hero .ticks li { white-space: nowrap; }
