/* ============================================================
   En-Concept Landing — PV Compliance Tracker
   Editorial-technical aesthetic. No SaaS sparkle.
   ============================================================ */

:root {
  --navy-ink: #0E2841;
  --navy: #156082;
  --green: #4EA72E;
  --green-deep: #196B24;
  --orange: #E97132;
  --danger: #B5122D;
  --amber: #B7791F;
  --amber-bg: #FFF7E6;
  --gray: #565655;
  --gray-2: #8A8A89;
  --line: #E3E6E8;
  --line-soft: #EFF1F3;
  --mist: #EDF6EA;
  --fog: #EAF0F4;

  --f-sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --container: 1180px;
  --pad-section-y: clamp(64px, 8vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  color: var(--navy-ink);
  background: #fff;
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .15s ease;
}
a:hover { color: var(--green-deep); }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy-ink);
  color: #fff;
  padding: 32px 0 var(--pad-section-y);
  position: relative;
  overflow: hidden;
}

/* Subtle radial accent — gives the hero a touch of depth without gradient cliché */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(78,167,46,.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 96px;
  flex-wrap: wrap;
}

.brand {
  border-bottom: none;
  display: inline-flex;
  align-items: center;
}
.brand-text {
  font-family: var(--f-sans);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.brand-text sup {
  font-size: 11px;
  color: var(--green);
  vertical-align: super;
  margin-left: 2px;
  font-weight: 600;
}

.hero-pill {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--green);
  background: rgba(78,167,46,.15);
  padding: 8px 14px;
  border-radius: 2px;
  white-space: nowrap;
}

.hero-content { max-width: 980px; }

.hero-h {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-h .accent { color: var(--green); }

.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: #A4B5C7;
  line-height: 1.55;
  max-width: 820px;
  margin-bottom: 56px;
  font-weight: 400;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 48px;
}
.stat-n {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--orange);
  font-family: var(--f-sans);
}
.stat-l {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A4B5C7;
  margin-top: 14px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.005em;
  padding: 16px 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.btn-arrow { font-weight: 800; }
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy-ink);
  border-color: #fff;
}
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy-ink); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--pad-section-y) 0;
}
.section-light { background: #fff; }
.section-tint { background: var(--fog); }
.section-dark { background: var(--navy-ink); color: #fff; }
.section-cta { background: var(--navy-ink); color: #fff; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 20px;
}
.kicker-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--green);
}
.kicker-light { color: var(--green); }
.kicker-light .kicker-line { background: var(--green); }

.h-section {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-ink);
  margin-bottom: 24px;
  max-width: 920px;
}
.h-light { color: #fff; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--gray);
  max-width: 820px;
  margin-bottom: 56px;
}
.lead-light { color: #A4B5C7; }

/* ============================================================
   PROBLEM — Two-story grid
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.story-box {
  padding: 40px 44px 44px;
  border-left: 6px solid;
}
.story-danger {
  background: #FDF0F2;
  border-left-color: var(--danger);
}
.story-amber {
  background: var(--amber-bg);
  border-left-color: var(--amber);
}
.story-label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.story-danger .story-label { color: var(--danger); }
.story-amber .story-label { color: var(--amber); }

.story-big {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  color: var(--navy-ink);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.story-box p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy-ink);
  margin-bottom: 14px;
}
.story-box p:last-child { margin-bottom: 0; }
.story-meta {
  font-family: var(--f-mono);
  font-size: 13px !important;
  color: var(--gray) !important;
}

/* ============================================================
   SOLUTION — Five pillars
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: #fff;
  padding: 32px 28px;
  border-left: 4px solid var(--green);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.pillar-featured {
  border-left-color: var(--orange);
  background: #FFF6EE;
}
.pillar-n {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--green-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar-featured .pillar-n { color: var(--orange); }
.pillar-badge {
  font-size: 11px;
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: .12em;
}
.pillar h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy-ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.pillar p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray);
  margin: 0;
}

/* ============================================================
   TRUST LOOP — Flow + bullets
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.flow-card {
  background: var(--mist);
  border: 2px solid transparent;
  padding: 32px 24px;
  text-align: center;
  border-radius: 2px;
}
.flow-card-verify {
  background: var(--mist);
  border-color: var(--green);
}
.flow-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}
.flow-icon-doc { color: var(--green-deep); }
.flow-icon-qr { color: var(--navy); }
.flow-icon-ok { color: var(--green-deep); }
.flow-lbl {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-ink);
  margin-bottom: 8px;
}
.flow-lbl code {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 20px;
  background: rgba(0,0,0,.05);
  padding: 2px 8px;
  border-radius: 2px;
}
.flow-meta {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.4;
}
.flow-arrow {
  font-size: 28px;
  color: var(--gray-2);
  text-align: center;
  font-weight: 300;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 820px;
}
.bullet-list li {
  padding-left: 28px;
  position: relative;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy-ink);
}
.bullet-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.shot {
  background: #1a3553;
  padding: 16px;
  border-radius: 2px;
}
.shot img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
}
.shot figcaption {
  font-size: 15px;
  color: #A4B5C7;
  line-height: 1.5;
  margin-top: 20px;
}
.shot figcaption strong { color: #fff; font-weight: 700; }

/* ============================================================
   AUDIENCES — Six-card grid
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.aud {
  background: var(--fog);
  padding: 28px 28px 32px;
  border-top: 4px solid var(--navy);
}
.aud-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--navy);
  margin-bottom: 14px;
}
.aud h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-ink);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -.005em;
}
.aud p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.55;
}

/* ============================================================
   ARCHITECTURE — Definition-style rows
   ============================================================ */
.arch-grid {
  border-top: 1px solid var(--line);
}
.arch-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.arch-k {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-top: 4px;
}
.arch-v {
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-ink);
}
.arch-v code {
  font-family: var(--f-mono);
  font-size: 14px;
  background: var(--mist);
  color: var(--green-deep);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 500;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.contact-card {
  background: rgba(255,255,255,.04);
  border-left: 4px solid var(--green);
  padding: 32px 36px;
  margin: 48px 0 32px;
  max-width: 820px;
}
.contact-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: none; }
.contact-l {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.contact-r {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
}
.contact-r a {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.3);
}
.contact-r a:hover { color: var(--green); border-bottom-color: var(--green); }
.contact-name {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-role {
  font-size: 15px;
  color: #A4B5C7;
}

.cta-downloads {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #08182A;
  color: #A4B5C7;
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer a {
  color: #A4B5C7;
  border-bottom-color: rgba(255,255,255,.15);
}
.footer a:hover { color: #fff; border-bottom-color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {
  font-family: var(--f-sans);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.footer-brand sup {
  font-size: 11px;
  color: var(--green);
  vertical-align: super;
  margin-left: 2px;
}
.footer-tag {
  font-size: 14px;
  color: #6F8198;
  font-style: italic;
}
.footer-h {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.footer-col p { line-height: 1.65; }
.footer-mono { font-family: var(--f-mono); font-size: 13px; color: #6F8198; }
.footer-base {
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: #6F8198;
  letter-spacing: .04em;
}
.footer-disclaimer {
  padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #6F8198;
  font-style: italic;
  max-width: 980px;
}
.footer-disclaimer strong {
  color: #A4B5C7;
  font-style: normal;
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE — Mobile-first refinements
   ============================================================ */
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .arch-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 24px; }
  .hero { padding-top: 24px; }
  .hero-nav { margin-bottom: 64px; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-box { padding: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-l { font-size: 11px; }
  .hero-cta, .cta-downloads { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* Print — clean PDF version if anyone tries */
@media print {
  .hero { background: #fff; color: var(--navy-ink); }
  .hero-h, .hero-sub, .stat-l, .contact-r { color: var(--navy-ink) !important; }
  .stat-n { color: var(--navy-ink) !important; }
  .section-dark, .section-cta, .footer { background: #fff; color: var(--navy-ink); }
  .h-light, .lead-light { color: var(--navy-ink) !important; }
  .btn, .hero::before { display: none; }
}
