/* PCL Builder marketing landing page.

   Copied from the pclbuilder.com front-end so the app's public front page and
   the parent marketing site stay visually identical.  Self-contained: this
   sheet owns its own reset and design tokens and is loaded *instead of* the
   app chrome (tokens/base/layout/components), never alongside it.
*/
:root {
  --navy: #0B1F35;
  --navy-08: rgba(11, 31, 53, 0.08);
  --gold: #C9922A;
  --gold-deep: #A97A20;
  --gold-soft: #E4C075;
  --gold-glow: rgba(201, 146, 42, 0.14);
  --cream: #F7F1EA;
  --cream-deep: #EDE4D5;
  --white: #FFFFFF;
  --tier-action: #F4D782;
  --tier-agency: #E6EFDE;
  --tier-state:  #D9D9D9;
  --tier-federal:#D9E9F9;
  --text: var(--navy);
  --text-secondary: #3E4B60;
  --text-muted: #6A7280;
  --border: rgba(11, 31, 53, 0.08);
  --border-strong: rgba(11, 31, 53, 0.16);
  --border-gold: rgba(201, 146, 42, 0.35);
  --shadow-sm: 0 1px 2px rgba(11, 31, 53, 0.04);
  --shadow-md: 0 6px 20px rgba(11, 31, 53, 0.06), 0 2px 6px rgba(11, 31, 53, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(11, 31, 53, 0.14), 0 4px 12px rgba(11, 31, 53, 0.06);
  --shadow-gold: 0 12px 32px -8px rgba(201, 146, 42, 0.30);
  --font-display: "ebony", "Barlow Condensed", "Fira Sans", "Impact", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --container-narrow: 900px;
  --radius: 6px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color 0.15s var(--ease-out); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 3rem; } }
.container-narrow { max-width: var(--container-narrow); }

section { padding: 3rem 0; }
@media (min-width: 768px) { section { padding: 4rem 0; } }
@media (min-width: 1024px) { section { padding: 5rem 0; } }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.display-1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  color: var(--navy);
  letter-spacing: -0.025em;
}
.display-2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.accent { color: var(--gold-deep); }
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 62ch;
  margin-top: 1.5rem;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.18s var(--ease-out);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow {
  transition: transform 0.2s var(--ease-out);
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -8px rgba(201, 146, 42, 0.40);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.8125rem; }

.btn-gold-outline {
  background: transparent;
  color: var(--gold-deep);
  border: 2px solid var(--gold);
}
.btn-gold-outline:hover, .btn-gold-outline:focus {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 234, 0.90);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  transition: opacity 0.15s var(--ease-out);
}
.brand-lockup:hover { opacity: 0.85; }
.brand-lockup img { height: 46px; width: auto; display: block; }
.site-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}
.site-nav a:hover { color: var(--gold-deep); }
.site-nav .btn { color: var(--navy); padding-left: 1.6rem; padding-right: 1.6rem; }
.site-nav .btn:hover { color: var(--cream); }
/* Sign Out has to be a POST form, so its button borrows the nav link styling. */
.site-nav .nav-signout { display: flex; }
.site-nav .nav-signout button {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-nav .nav-signout button:hover { color: var(--gold-deep); }
@media (min-width: 1024px) { .site-nav { display: flex; } }

/* Mobile nav */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: transparent; color: var(--navy); cursor: pointer;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: rgba(247, 241, 234, 0.98); }
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.open { display: none; } }
.mobile-nav .container { display: block; padding-top: 0.5rem; padding-bottom: 1.25rem; }
.mobile-nav a { display: block; padding: 1rem 0; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--gold-deep); }
.mobile-nav a.btn { display: flex; width: 100%; margin-top: 1rem; border-bottom: none; color: var(--navy); }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 88% 8%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 92%, rgba(228, 192, 117, 0.08) 0%, transparent 60%);
}
@media (min-width: 768px) { .hero { padding: 4rem 0 4.5rem; } }
@media (min-width: 1024px) { .hero { padding: 5rem 0 5.5rem; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}
.hero-headline .accent { color: var(--gold-deep); }
.hero-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero-top-actions .btn { padding: 1.1rem 2.25rem; font-size: 1rem; }
.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 0;
}
.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero-trust strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  padding: 1rem;
}
.pcl-cover {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  box-shadow:
    0 30px 60px -20px rgba(11, 31, 53, 0.25),
    0 12px 24px -8px rgba(11, 31, 53, 0.15),
    0 0 0 1px rgba(11, 31, 53, 0.06);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  display: block;
  background: var(--white);
  z-index: 1;
}
.pcl-cover:hover {
  transform: rotate(-1deg) translateY(-6px);
  box-shadow:
    0 40px 70px -18px rgba(11, 31, 53, 0.30),
    0 14px 28px -8px rgba(11, 31, 53, 0.18),
    0 0 0 1px rgba(11, 31, 53, 0.06);
}
.pcl-cover-shadow {
  position: absolute;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 800 / 1227;
  background: var(--cream-deep);
  border-radius: var(--radius);
  transform: rotate(5deg) translate(24px, 12px);
  opacity: 0.55;
  z-index: 0;
  box-shadow: 0 12px 24px -8px rgba(11, 31, 53, 0.10);
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

/* Why It Works, four-tier showcase */
.why { background: var(--cream); }
.tier-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .tier-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tier-showcase { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.tier-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tier-chip-lg {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  color: var(--navy);
}
.tier-chip-action { background: var(--tier-action); }
.tier-chip-agency { background: var(--tier-agency); }
.tier-chip-state  { background: var(--tier-state); }
.tier-chip-federal{ background: var(--tier-federal); }
.tier-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tier-card:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tier-card figcaption h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.tier-card figcaption p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.why-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--navy);
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gold);
  line-height: 1.35;
}
.why-kicker .accent { color: var(--gold-deep); }

/* Partner band */
.partner-band {
  background:
    linear-gradient(135deg, rgba(201, 146, 42, 0.09), rgba(201, 146, 42, 0.02) 60%),
    var(--cream);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 3rem 0;
}
@media (min-width: 768px) { .partner-band { padding: 4.5rem 0; } }
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .partner-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}
.partner-copy .eyebrow { margin-bottom: 1rem; }
.partner-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.partner-headline .accent { color: var(--gold-deep); }
.partner-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.partner-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .partner-steps { padding: 2.25rem; } }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--cream);
  border: 2px solid var(--gold);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}
.step-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Method grids (Living Standard + Foundation) */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .method-grid.two-up { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.method-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease-out);
}
.method-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.method-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.method-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.method-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.method-card p strong { color: var(--gold-deep); font-weight: 800; font-size: 1.06em; letter-spacing: 0.005em; }
.source-cite {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
.industry-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.22s var(--ease-out);
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.industry-card.live {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow-gold);
}
.industry-card.live::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.industry-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold-deep);
}
.industry-card.coming .icon-wrap { color: var(--text-muted); }
.industry-card .icon { width: 26px; height: 26px; }
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.industry-card .subhead {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.industry-card .desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.industry-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  align-self: flex-start;
  transition: all 0.18s var(--ease-out);
  cursor: pointer;
}
.industry-card .cta .arrow { transition: transform 0.18s var(--ease-out); }
.industry-card .cta:hover .arrow { transform: translateX(3px); }
.industry-card .cta.live {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.industry-card .cta.live:hover, .industry-card .cta.live:focus {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
}
.status {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
}
.status.live { background: var(--gold); color: var(--navy); }
.status.soon { background: var(--cream-deep); color: var(--navy); }
.status.wait { background: var(--navy-08); color: var(--text-secondary); }

/* Final CTA + lead form */
.final-cta {
  background:
    radial-gradient(ellipse at 50% 100%, var(--gold-glow) 0%, transparent 55%),
    var(--cream);
  text-align: center;
}
.final-cta .section-head { margin: 0 auto 2.5rem; text-align: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta .lead { margin-left: auto; margin-right: auto; }
.lead-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  text-align: left;
}
@media (min-width: 768px) { .lead-form { padding: 2.5rem; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.lead-form .btn { width: 100%; }
.turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  text-align: center;
}
.form-status { margin-top: 1rem; font-size: 0.9375rem; font-weight: 600; text-align: center; }
.form-status.ok { color: #3f6b3a; }
.form-status.err { color: var(--gold-deep); }
.form-success {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-secondary); }
.tagline-echo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 4rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; }
}
.footer-brand .lockup { width: 200px; height: auto; margin-bottom: 1rem; }
.footer-brand .tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(247, 241, 234, 0.65);
  max-width: 32ch;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(247, 241, 234, 0.75); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 234, 0.25);
  color: rgba(247, 241, 234, 0.75);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: rgba(247, 241, 234, 0.45);
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer-legal a { color: rgba(247, 241, 234, 0.6); }
.footer-legal a:hover { color: var(--gold); }
/* Build number: present for support to ask about, quiet enough to ignore. */
.footer-version {
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Cookie consent */
.cookie-banner {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid rgba(201, 146, 42, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
}
.cookie-banner.show { display: block; }
.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(247, 241, 234, 0.85);
  margin: 0 0 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-banner .btn { flex: 1 1 auto; min-width: 8rem; }
.cookie-banner .btn-decline {
  background: transparent;
  color: rgba(247, 241, 234, 0.85);
  border-color: rgba(247, 241, 234, 0.35);
}
.cookie-banner .btn-decline:hover, .cookie-banner .btn-decline:focus {
  background: rgba(247, 241, 234, 0.1);
  border-color: rgba(247, 241, 234, 0.6);
  color: var(--cream);
}
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
