/* Veritax IQ — marketing site
   Brand tokens mirror the app (docs/adr/0006): navy-dominant, gold accent, teal secondary,
   Fraunces headings + Poppins body. */
:root {
  --navy: #1b2a4a;
  --navy-strong: #142038;
  --navy-soft: #2b3e63;
  --teal: #68ccd1;
  --teal-dark: #3aa6ad;
  --teal-darker: #2c8e95;
  --gold: #c79a3a;
  --gold-strong: #b07f1f;
  --gold-soft: #f0e2bf;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f8fafb;
  --surface-3: #eef2f5;
  --ink: #283041;
  --muted: #6b7280;
  --line: #e4e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 32, 56, 0.10);
  --shadow-sm: 0 2px 10px rgba(20, 32, 56, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; margin: 0 0 1.4rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-darker); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1120px, 92%); margin: 0 auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; padding: .6rem 1.1rem;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-gold { background: var(--gold); color: var(--navy-strong); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-strong); color: #fff; }
.btn-outline { border-color: var(--navy-soft); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
/* On the dark hero the outline button needs light colours for contrast. */
.hero .btn-outline { border-color: rgba(255,255,255,.55); color: #eaf1f8; }
.hero .btn-outline:hover { background: #fff; color: var(--navy-strong); border-color: #fff; }
.btn-ghost { color: #eaf1f8; border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-strong) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.28rem;
  color: #fff; text-decoration: none; letter-spacing: .01em;
}
.wordmark em { color: var(--gold); font-style: normal; }
.wordmark .mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
  color: var(--navy-strong); font-weight: 700; font-family: 'Fraunces', serif;
}
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav > a:not(.btn) { color: #cdd8e8; font-size: .95rem; font-weight: 500; }
.nav > a:not(.btn):hover { color: #fff; text-decoration: none; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(104,204,209,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-strong) 0%, var(--navy) 55%, #223458 100%);
  color: #eaf1f8; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; }
.grad {
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600;
  color: var(--teal); margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: #cfdaea; max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem;
  padding: 0; margin: 0; font-size: .92rem; color: #b8c6db;
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface-3); }
.kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600;
  color: var(--gold-strong); margin: 0 0 .5rem;
}

/* Grid + cards */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { font-size: 1.6rem; margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; }
.card.app h3 { color: var(--navy); }
.app-tag {
  display: inline-block; font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--teal-darker); margin: 0 0 .7rem !important;
}

/* Security */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.security .lede { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-strong);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.checks strong { color: var(--navy); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdaea; margin-bottom: 1.6rem; }

/* Footer */
.site-footer { background: var(--navy-strong); color: #b8c6db; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: #8fa0b8; font-size: .92rem; }
.wordmark.small { font-size: 1.05rem; }
.wordmark.small .mark { width: 26px; height: 26px; font-size: .9rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .6rem; }
.site-footer nav a { color: #cdd8e8; font-size: .95rem; }
.copyright {
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem; color: #7f90a8;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; gap: 1.6rem; }
  .nav > a:not(.btn), .nav .btn-ghost { display: none; }
}
