/* PKIMap front page (www.pkimap.com). Colours from the logo: navy, then amber through orange to red. */
:root {
  --navy: #0f2747; --navy-2: #163a66; --ink: #14171c; --ink-2: #4a4f57; --muted: #6b7079;
  --bg: #ffffff; --bg-alt: #f5f4f1; --line: #e5e3de;
  --amber: #f29a0e; --orange: #e0461b; --red: #c4161c; --blue: #2a78d6;
  --grad: linear-gradient(90deg, var(--amber), var(--orange) 60%, var(--red));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }   /* menu links land below the sticky header */
body { margin: 0; font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.3px; }
h3 { font-size: 19px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 13.5px; color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.big { padding: 14px 24px; font-size: 17px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(224, 70, 27, .25); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { display: block; width: 190px; }
.top-nav { display: flex; gap: 22px; flex: 1; justify-content: center; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.top-nav a:hover { color: var(--navy); }
.top-cta { display: flex; gap: 10px; }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1000px 420px at 85% 10%, rgba(242,154,14,.12), transparent 60%),
  radial-gradient(800px 400px at 10% 0%, rgba(42,120,214,.10), transparent 60%); }
.hero-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--orange); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 36em; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-stack { display: grid; gap: 12px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 40px; position: relative;
  box-shadow: 0 10px 30px rgba(15,39,71,.08); }
.mini-card b { display: block; color: var(--ink); font-size: 15.5px; }
.mini-card small { color: var(--muted); font-size: 13.5px; }
.mini-card .dot { position: absolute; left: 16px; top: 20px; width: 11px; height: 11px; border-radius: 50%; }
.mini-card.urgent .dot { background: var(--red); }
.mini-card.soon .dot { background: var(--amber); }
.mini-card.ok .dot { background: #1f9a4a; }
.mini-card:nth-child(2) { margin-left: 24px; }
.mini-card:nth-child(3) { margin-left: 8px; }
.mini-card:nth-child(4) { margin-left: 32px; }

/* Bands */
.band { padding: 80px 0; }
.band.alt { background: var(--bg-alt); }
.sub { font-size: 18px; color: var(--ink-2); max-width: 46em; margin: 0 0 36px; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.feat, .mod, .plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.band.alt .feat, .band.alt .plan { background: #fff; }
.feat p, .mod p { color: var(--ink-2); margin: 0; }
.feat h3::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 14px; }
.cats { margin-top: 48px; }
.cats ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.cats li { color: var(--ink-2); padding-left: 18px; position: relative; }
.cats li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.cats b { color: var(--navy); margin-right: 6px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 16px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--navy); }
.steps p { color: var(--ink-2); margin: 0; }

/* Modules */
.mod { display: flex; flex-direction: column; gap: 10px; }
.mod a { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--orange); }
.mod a:hover { text-decoration: underline; }
.ent-head { margin: 36px 0 14px; }
.mod.ent { border-color: var(--navy); }

/* Plans */
.plan { display: flex; flex-direction: column; position: relative; }
.plan .for { color: var(--muted); margin: 0 0 14px; min-height: 3em; }
.plan .price { margin: 0 0 16px; }
.plan .price b { font-size: 30px; color: var(--navy); }
.plan .price small { display: block; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.plan li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 15px; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: #1f9a4a; font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }
.plan.featured { border: 2px solid var(--orange); box-shadow: 0 16px 40px rgba(224,70,27,.14); }
.plan .tag { position: absolute; top: -12px; right: 18px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

/* Final call to action and footer */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot { background: #0b1d36; color: rgba(255,255,255,.8); padding: 32px 0; }
.foot-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex: 1; }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .fine { color: rgba(255,255,255,.6); margin: 0; }

/* Narrow screens */
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero-row, .grid.three, .steps { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .cats ul { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
@media (max-width: 560px) {
  .grid.four { grid-template-columns: 1fr; }
  .brand img { width: 150px; }
  .top-cta .ghost { display: none; }
  .band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
