/* Heron Pipeline AI - style.css
   Colours: ink #12263A, heron blue #1F5F7A, mist #EEF3F5, amber #E8A33D */

:root {
  --ink: #12263A;
  --heron: #1F5F7A;
  --mist: #EEF3F5;
  --amber: #E8A33D;
  --white: #FFFFFF;
  --muted: #4A5D6E;
  --line: #D5DEE5;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--heron); }
a:hover { color: var(--ink); }

a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: 2.1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.7rem; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--heron);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--heron);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-small { padding: 9px 16px; font-size: 0.95rem; }
.btn-light { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand img { width: 170px; height: auto; }
.nav { display: none; }

/* Hero */
.hero { padding: 56px 0 48px; background: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heron);
  background: var(--mist);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0;
}
.cta-row.center { justify-content: center; margin-bottom: 0; }
.trust {
  border-left: 4px solid var(--amber);
  padding: 4px 0 4px 14px;
  max-width: 620px;
  color: var(--ink);
  margin: 0;
}

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--mist); }
.section-intro { color: var(--muted); max-width: 680px; font-size: 1.08rem; }
.small-head {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 28px;
}

.grid-2,
.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card,
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0;
}
.section.alt .card { border-color: transparent; }
.card h3 + .checks { margin-top: 0; }
.card h3:not(:first-child) { margin-top: 18px; }
.tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--mist);
  color: var(--heron);
  padding: 3px 10px;
  border-radius: 999px;
}

.stat-num { font-size: 2.3rem; font-weight: 800; color: var(--heron); margin: 0 0 4px; line-height: 1.1; }
.stat figcaption { font-size: 0.85rem; color: var(--muted); }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
}
.steps p { margin: 0; }

.rules {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.rules p { color: #C9D6DF; }
.rules .checks li::before { color: var(--amber); }

.checks { list-style: none; padding: 0; margin: 0 0 8px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--heron);
}

/* About */
.about { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.founder {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  border: 4px solid var(--mist);
}

/* FAQ */
details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  list-style-position: outside;
}
details p { margin: 12px 0 0; color: var(--muted); }

/* Final CTA */
.final-cta { background: var(--ink); color: var(--white); padding: 60px 0; }
.final-cta p { color: #C9D6DF; max-width: 600px; margin: 0 auto 26px; }

/* Footer */
.site-footer { background: var(--mist); padding: 36px 0 20px; font-size: 0.95rem; }
.footer-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
.footer-logo { width: 170px; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.copy { color: var(--muted); font-size: 0.85rem; margin: 20px 0 0; }

/* Simple pages (privacy, 404) */
.page { padding: 48px 0 64px; }
.page h1 { font-size: 1.9rem; }
.page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.note {
  background: #FFF6E6;
  border-left: 4px solid var(--amber);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}

/* Tablet and up */
@media (min-width: 720px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2rem; }
  .brand img { width: 216px; }
  .hero { padding: 88px 0 72px; }
  .section { padding: 80px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .rules .checks { columns: 2; column-gap: 32px; }
  .rules .checks li { break-inside: avoid; }
  .about { grid-template-columns: 340px 1fr; gap: 48px; }
  .footer-row { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 960px) {
  .nav { display: flex; gap: 24px; }
  .nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
  .nav a:hover { color: var(--heron); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
