/* PIDA public marketing site — self-contained, no build step. */
:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --ink: #16202e;
  --muted: #5a6677;
  --line: #e2e8f1;
  --accent: #1f5aa6;
  --accent-dark: #17457f;
  --accent-soft: #e7effb;
  --radius: 12px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
p { margin: 0 0 1rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  padding: .72rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .06s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1rem; font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--accent-soft), #fff 70%); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.hero-art {
  aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 20%, #fff6, transparent 40%),
    linear-gradient(135deg, var(--accent), #3b82c4);
  display: grid; place-items: center; color: #fff; box-shadow: 0 20px 50px -20px rgba(31,90,166,.5);
}
.hero-art .truck { font-size: 5rem; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section .head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section .head p { color: var(--muted); }

.steps, .features { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .steps, .features { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card .ic {
  width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; margin-bottom: 14px;
}
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: 18px; padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e7eeff; max-width: 48ch; margin: 0 auto 1.4rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #eef3fb; color: var(--accent-dark); }

/* Content pages (page/faqs) */
.content { padding: 56px 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { margin-bottom: .6em; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .body { padding: 0 20px 18px; color: var(--muted); }

/* Forms */
.form-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .err { color: #b4232c; font-size: .85rem; margin-top: 4px; }
.alert-success { background: #e2f4e9; border: 1px solid #1d7a46; color: #155f36; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0f1824; color: #aeb9c7; padding: 48px 0 32px; margin-top: 24px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
.site-footer a { color: #aeb9c7; display: block; margin-bottom: 7px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .legal { border-top: 1px solid #22303f; margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #7f8da0; }
