/* PeaTrue: one hero over the brand's pixel-sky banner, plus two plain legal pages. Colours from Pea herself: hard-hat yellow,
   vest orange, sky blue. */
:root {
  --yellow: #ffc83d;
  --orange: #f26b1d;
  --sky: #3d8be8;
  --ink: #14233a;
  --paper: #fffaf2;
  --muted: #5b6b80;
  --round: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--text); color: var(--ink); background: var(--sky); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* ── the hero ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: url("/assets/hero.jpg") 58% 40% / cover no-repeat;
}
.hero::before { /* keeps the words readable over the bright sky, lets Pea and the houses show */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 38, 84, 0.62) 0%, rgba(14, 38, 84, 0.28) 46%, rgba(14, 38, 84, 0) 70%),
              linear-gradient(to top, rgba(10, 24, 48, 0.55) 0%, rgba(10, 24, 48, 0) 28%);
}
.hero-main { position: relative; flex: 1; display: flex; align-items: center; padding: 48px clamp(20px, 6vw, 96px); }
.panel { max-width: 560px; color: #fff; }
.logo {
  width: 104px; height: 104px; border-radius: 50%; border: 5px solid #fff; display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(255, 200, 61, 0.55);
}
.wordmark {
  font-family: var(--round); font-weight: 700; font-size: clamp(56px, 9vw, 96px); line-height: 1; margin: 26px 0 10px;
  letter-spacing: -1px; text-shadow: 4px 4px 0 var(--orange), 8px 8px 0 rgba(0, 0, 0, 0.18);
}
.tagline { font-family: var(--round); font-weight: 600; font-size: clamp(22px, 3vw, 30px); margin: 0 0 14px; }
.lede { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; margin: 0 0 30px; color: rgba(255, 255, 255, 0.92); max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--round); font-weight: 600; font-size: 18px;
  text-decoration: none; border-radius: 999px; padding: 14px 26px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #d79a12, 0 12px 24px rgba(0, 0, 0, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #d79a12, 0 16px 28px rgba(0, 0, 0, 0.28); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #d79a12, 0 6px 14px rgba(0, 0, 0, 0.25); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  font-size: 14px; font-weight: 700; text-decoration: none; color: #fff; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px);
}
.social:hover { background: rgba(255, 255, 255, 0.28); }
.hero-foot {
  position: relative; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 16px 20px 20px;
  font-size: 13px; color: rgba(255, 255, 255, 0.85);
}
.hero-foot a { text-decoration: none; }
.hero-foot a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(to top, rgba(10, 24, 48, 0.82) 0%, rgba(10, 24, 48, 0.4) 55%, rgba(10, 24, 48, 0.1) 100%); }
  .hero-main { align-items: flex-end; }
}

/* ── the legal pages ── */
.doc { background: var(--paper); min-height: 100vh; }
.doc-head { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: 28px 24px 0; text-decoration: none; }
.doc-head img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--yellow); }
.doc-head span { font-family: var(--round); font-weight: 700; font-size: 24px; }
.doc main { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; line-height: 1.65; }
.doc h1 { font-family: var(--round); font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 24px 0 6px; }
.doc h2 { font-family: var(--round); font-size: 22px; margin: 34px 0 8px; }
.doc h3 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { color: #2b3a4f; }
.doc .updated { color: var(--muted); margin: 0 0 8px; }
.doc a { color: #1f6fd1; }
.doc footer { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; font-size: 14px; color: var(--muted); }
