:root {
  --black: #0b0b0d;
  --white: #ffffff;
  --offwhite: #f2f2f2;
  --muted: #6b6f75;
  --red: #d4001a;
  --border: #1b1b1d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Consolas, Monaco, Menlo, 'Liberation Mono', 'Courier New', monospace;
  background: var(--offwhite);
  color: var(--black);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  background: var(--white);
  color: var(--black);
  width: 100%;
  max-width: 100vw;
  padding: 48px clamp(24px, 6vw, 80px) 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--black);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.logo-wrap img {
  max-width: 100%;
  max-height: 80px;
  height: auto;
  width: auto;
  display: block;
}

.eyebrow {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.lede {
  color: rgba(0, 0, 0, 0.75);
  max-width: 720px;
  margin-bottom: 20px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 10px 30px rgba(212, 0, 26, 0.35);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 0, 26, 0.45);
}

main {
  padding: 40px clamp(20px, 6vw, 80px) 80px;
  display: grid;
  gap: 24px;
  background: var(--offwhite);
  margin: 0 auto;
  max-width: 1200px;
}

.churchill-quote {
  max-width: 1200px;
  margin: 0 0 2rem 0;
  padding: 0 22px;
  text-align: right;
  font-family: Consolas, Monaco, Menlo, 'Liberation Mono', 'Courier New', monospace;
}

.churchill-quote p {
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: #333;
  margin: 0 0 0.5rem 0;
  line-height: 1.6;
}

.churchill-quote cite {
  font-size: 1rem;
  font-style: normal;
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .churchill-quote p {
    font-size: 1.25rem;
  }
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Consolas, Monaco, Menlo, 'Liberation Mono', 'Courier New', monospace;
  font-size: 20.28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 10.14px 20.28px;
  width: fit-content;
}

h2, h3 {
  letter-spacing: -0.01em;
}

h3 {
  font-size: 20px;
}

.desc {
  color: var(--muted);
  font-size: 20px;
}

ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

li a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 140ms ease;
}

li a:hover::after {
  transform: scaleX(1);
}

.note {
  color: var(--red);
  font-size: 20px;
  padding-left: 16px;
  border-left: 2px solid rgba(0, 0, 0, 0.08);
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 28px clamp(20px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
}

footer span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

footer a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 800px) {
  .logo-wrap img {
    max-height: 60px;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .logo-wrap {
    justify-self: start;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* GA consent banner (black & white) */
.ga-consent {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  width: min(720px, calc(100% - 32px));
  background: #000;
  color: #fff;
  padding: 16px 18px;
  border: 1px solid #111;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  z-index: 9999;
}
.ga-consent h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: .02em; }
.ga-consent p { margin: 0 0 10px; color: #e6e6e6; }
.ga-consent .ga-actions { display: flex; gap: 12px; justify-content: flex-end; }
.ga-consent button {
  background: #fff;
  color: #000;
  border: 0;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.ga-consent[hidden] { display: none !important; }

/* GA full-page overlay (used to block usage until consent) */
.ga-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--black);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 10000;
}
.ga-overlay[hidden] { display: none !important; }
.ga-overlay .ga-box {
  background: var(--white);
  color: var(--black);
  width: min(420px, 92vw);
  max-height: min(420px, 92vh);
  aspect-ratio: 1 / 1;
  padding: 22px 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow: auto;
}
.ga-overlay .ga-box h4 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0.01em; }
.ga-overlay .ga-box p { margin: 0 0 14px; color: #1f1f1f; }
.ga-overlay .ga-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.ga-overlay button {
  width: 100%;
  background: #e5e5e5;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.ga-overlay button.secondary {
  background: transparent;
  color: var(--black);
}
.ga-overlay button:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

/* Disable links while GA consent is pending */
body.ga-blocked a { pointer-events: none; }
body.ga-blocked #ga-consent { pointer-events: auto; }

.underline {
  text-decoration: underline;
}

.privacy-policy-container {
  max-width: 900px;
  margin: 1.3rem auto;
  padding: 1.1rem;
  background: #fff;
  line-height: 1.6;
}

.privacy-policy-container h1,
.privacy-section h2,
.privacy-section h3 {
  font-weight: 400;
  margin: 0 0 0.3rem;
}

.privacy-section {
  margin-bottom: 1.2em;
}

.privacy-section h2 {
  border: none;
  padding-bottom: 0;
}

.privacy-section h3 {
  margin-top: 0.3rem;
}

.privacy-section p {
  margin: 0;
}

.privacy-section ul {
  margin: 0.5em 0 0.5em 1.1rem;
}

.last-updated {
  margin-bottom: 1rem;
}

.privacy-policy-container,
.privacy-policy-container p,
.privacy-policy-container ul {
  text-align: left;
}

.privacy-policy-container ul {
  margin: 0.5em 0 0.5em 0;
  padding-left: 0;
}
