/* ==========================================================================
   Garood marketing site — single stylesheet
   Brand: purple #5459A7, navy #282561, light/airy, restrained accents.
   ========================================================================== */

:root {
  --purple: #5459a7;
  --navy: #282561;
  --ink: #1d1c33;           /* body text — softer than pure black */
  --muted: #5b5a72;         /* secondary text */
  --line: #e7e7ef;          /* hairline rules / card borders */
  --bg: #ffffff;
  --bg-soft: #f7f7fb;       /* alternating section wash */
  --bg-band: #f3f2f9;       /* tinted band */
  --white: #ffffff;

  --maxw: 1080px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 37, 97, .04), 0 10px 30px rgba(40, 37, 97, .06);
  --shadow-sm: 0 1px 2px rgba(40, 37, 97, .05), 0 4px 14px rgba(40, 37, 97, .05);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* visually hidden, still read by screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .85rem 1.5rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand .wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a.navlink {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
}
.nav a.navlink:hover { color: var(--purple); text-decoration: none; }

.nav-cta { display: inline-flex; align-items: center; gap: 1.75rem; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: .75rem;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(70% 60% at 50% 0%, #f4f3fb 0%, rgba(255, 255, 255, 0) 70%);
}
.hero-logo {
  width: min(360px, 70vw);
  height: auto;
  margin: 0 auto 1.75rem;
}
.tagline {
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple);
  font-size: clamp(.8rem, 2.4vw, 1rem);
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-lede strong { color: var(--navy); }

/* ---------- capability cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9d8ec; }
.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #eeeefa;
  color: var(--purple);
  margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .aside { display: block; margin-top: .6rem; font-size: .85rem; color: #6e6d86; }

/* ---------- who it's for ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.audience .block {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--white);
}
.audience h3 { color: var(--purple); }
.audience p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- predict / prevent / protect band ---------- */
.ppp { background: var(--bg-band); }
.ppp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.ppp-step { text-align: center; padding: 0 .5rem; }
.ppp-step .step-word {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: .35rem;
}
.ppp-step .step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 1rem;
}
.ppp-step p { color: var(--muted); margin: 0; }

/* ---------- form ---------- */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fcfcff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(84, 89, 167, .15);
}
.field textarea { resize: vertical; min-height: 96px; }

.form-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.form-status {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .95rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #eaf7ee; color: #1e6b38; border: 1px solid #c7e8d1; }
.form-status.err { background: #fdeeee; color: #9a2a2a; border: 1px solid #f3cccc; }

.fallback {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .98rem;
  color: var(--muted);
}
.fallback a { font-weight: 600; }

/* ---------- about / founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eeeefa, #f7f7fb);
}
/* graceful text-only fallback when no photo is supplied */
.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px dashed #c9c8e0;
  background: linear-gradient(135deg, #eeeefa, #f7f7fb);
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: .02em;
}
.founder-name { margin-bottom: .15rem; }
.founder-role { color: var(--purple); font-weight: 600; margin-bottom: 1.25rem; }
.prose p { font-size: 1.06rem; color: #38374f; }
.prose blockquote {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--line);
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.mv-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
}
.mv-card h3 { color: var(--purple); }
.mv-card p { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9c8e0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}
.site-footer a { color: #d9d8ec; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .wordmark {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-brand .footer-tagline {
  margin: .35rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9c8e0;           /* brighter than the descriptor — it's the brand line */
}
.footer-brand .footer-desc {
  margin: .5rem 0 0;
  font-size: .9rem;
  color: #a8a7c4;           /* the existing muted footer text colour */
  max-width: 260px;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #a8a7c4;
  margin: 0 0 .75rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; font-size: .95rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
  color: #a8a7c4;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-130%);
    transition: transform .25s ease;
    margin-left: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a.navlink { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    margin-top: 1rem;
  }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; }

  .founder { grid-template-columns: 1fr; }
  .founder-photo, .founder-photo-placeholder { max-width: 220px; }
}

/* ---------- long-form / legal prose ---------- */
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; color: #38374f; }
.prose a { word-break: break-word; }
.legal-meta { font-size: .95rem; color: var(--muted); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
