/* ============================================================
   style.css — brand palettes + components
   AmpliFLY Entertainment / Ignite Music v1 preview build

   PLACEHOLDER: Brand color hex values are defined here in
   :root (AmpliFLY) and [data-brand="ignite"] (Ignite Music).
   Tune individual values without touching component styles.
   ============================================================ */

/* ---------- AMPLIFLY PALETTE (default) ---------- */
:root {
  --color-brand: #e0301f;          /* red-orange primary */
  --color-brand-2: #f37820;        /* orange gradient pair */
  --color-primary: #e0301f;        /* link/accent */
  --color-primary-hover: #c0271a;
  --color-on-brand: #ffffff;

  --color-bg: #fafaf7;             /* warm off-white */
  --color-surface: #ffffff;
  --color-surface-2: #f4f2ed;
  --color-text: #1a1a1a;
  --color-heading: #404040;        /* wordmark gray */
  --color-text-muted: #6b6b6b;
  --color-border: #e7e5e0;

  --gradient-brand: linear-gradient(135deg, #e0301f 0%, #f37820 100%);

  /* dark hero surface for AmpliFLY (warm near-black) */
  --color-hero-dark: #1c1714;
  --color-hero-dark-text: #fafaf7;

  --shadow-sm: 0 1px 2px rgba(40, 25, 20, 0.06);
  --shadow-md: 0 6px 20px rgba(40, 25, 20, 0.08);
  --shadow-lg: 0 18px 44px rgba(40, 25, 20, 0.13);
}

/* ---------- IGNITE MUSIC PALETTE ---------- */
[data-brand='ignite'] {
  --color-brand: #1546c8;          /* deep blue primary */
  --color-brand-2: #00d4e8;        /* cyan accent */
  --color-primary: #1546c8;
  --color-primary-hover: #0f37a3;
  --color-on-brand: #ffffff;

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-2: #eef2fb;
  --color-text: #0f1a3a;
  --color-heading: #0a1b5c;
  --color-text-muted: #5b6478;
  --color-border: #dce3f0;

  --gradient-brand: linear-gradient(135deg, #00d4e8 0%, #1546c8 60%, #0a1b5c 100%);

  --color-hero-dark: #0a1428;
  --color-hero-dark-text: #f8fafc;

  --shadow-sm: 0 1px 2px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 27, 92, 0.1);
  --shadow-lg: 0 18px 44px rgba(10, 27, 92, 0.16);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container-narrow {
  max-width: var(--content-narrow);
}

.section {
  padding-block: clamp(3rem, 8vw, 8rem);
}

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.section-title {
  font-size: var(--text-2xl);
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.site-header.is-scrolled {
  background: color-mix(in oklab, var(--color-bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 4.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-brand img {
  height: 40px;
  width: auto;
}

/* Dual-logo nav lockup: AmpliFLY mark + thin divider + Ignite horizontal lockup */
.nav-brands {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-brands .nav-brand {
  text-decoration: none;
}
.nav-brands .nav-brand img {
  display: block;
  height: 40px;
  width: auto;
}
.nav-brands .nav-brand--ignite img {
  height: 28px; /* shorter because the lockup is much wider than the AmpliFLY mark */
}
.nav-brands .nav-divider {
  width: 1px;
  height: 28px;
  background: var(--color-border);
  flex: none;
}
@media (max-width: 640px) {
  .nav-brands { gap: var(--space-2); }
  .nav-brands .nav-brand img { height: 32px; }
  .nav-brands .nav-brand--ignite img { height: 22px; }
  .nav-brands .nav-divider { height: 22px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2vw, var(--space-8));
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-2);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-interactive);
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--color-brand);
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-6) clamp(1.25rem, 5vw, 3rem) var(--space-8);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: var(--text-base);
    width: 100%;
  }
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-on-brand);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-brand);
  background: var(--color-surface);
  transform: translateY(-2px);
}

.btn-on-dark {
  background: var(--color-surface);
  color: var(--color-heading);
}
.btn-on-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-brand);
  text-decoration: none;
}

.text-link .arrow {
  transition: transform var(--transition-interactive);
}

.text-link:hover {
  color: var(--color-primary-hover);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 8rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 0%, color-mix(in oklab, var(--color-brand-2) 16%, transparent), transparent 70%),
    radial-gradient(50% 70% at 5% 100%, color-mix(in oklab, var(--color-brand) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero-eyebrow {
  margin-bottom: var(--space-5);
}

.hero h1 {
  font-size: var(--text-hero);
  color: var(--color-heading);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero .hero-sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-logo {
  height: clamp(96px, 14vw, 150px);
  width: auto;
  margin-bottom: var(--space-6);
}

/* Dark hero variant (Ignite landing) */
.hero-dark {
  background: var(--color-hero-dark);
}
.hero-dark::before {
  background:
    radial-gradient(55% 75% at 80% 10%, color-mix(in oklab, var(--color-brand-2) 30%, transparent), transparent 70%),
    radial-gradient(60% 80% at 10% 100%, color-mix(in oklab, var(--color-brand) 36%, transparent), transparent 72%);
}
.hero-dark h1,
.hero-dark .hero-sub {
  color: var(--color-hero-dark-text);
}
.hero-dark .hero-sub {
  color: color-mix(in oklab, var(--color-hero-dark-text) 78%, transparent);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.card h3 {
  font-size: var(--text-lg);
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-text-muted);
}

a.card,
.card-interactive {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

a.card:hover,
.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--color-brand) 40%, var(--color-border));
}

.card-footer {
  margin-top: auto;
  padding-top: var(--space-5);
}

/* brand split cards (home) */
.brand-card {
  align-items: flex-start;
  text-align: left;
  gap: var(--space-2);
  padding: clamp(2rem, 4vw, 3rem);
}
.brand-card .brand-card-logo {
  display: flex;
  align-items: center;
  min-height: 92px;
  margin-bottom: var(--space-4);
}
.brand-card .brand-card-logo img.amplifly-mark {
  height: 110px;
}

/* ============================================================
   PLACEHOLDER SLOTS — embeds & images
   ============================================================ */
/* Generic content-block placeholder (e.g. pricing copy not yet provided) */
.placeholder-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: clamp(2rem, 5vw, 3.5rem) var(--space-5);
  border: 2px dashed color-mix(in oklab, var(--color-text-muted) 55%, transparent);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(45deg,
      color-mix(in oklab, var(--color-text-muted) 6%, var(--color-surface-2)) 0 10px,
      var(--color-surface-2) 10px 20px);
  color: var(--color-text-muted);
}
.placeholder-block .placeholder-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--text-sm);
  color: var(--color-brand);
}
.placeholder-block p {
  margin: 0;
  font-size: var(--text-sm);
  max-width: 48ch;
}

/* Responsive YouTube/Vimeo/TikTok iframe wrapper (replaces .embed-slot once a real embed is in place) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-slot {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5);
  border: 2px dashed color-mix(in oklab, var(--color-text-muted) 55%, transparent);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(45deg,
      color-mix(in oklab, var(--color-text-muted) 6%, var(--color-surface-2)) 0 10px,
      var(--color-surface-2) 10px 20px);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.embed-slot-portrait {
  aspect-ratio: 9 / 16;
}

/* Wrapper for third-party social embeds (TikTok blockquotes, Instagram blockquotes).
   These platforms inject their own iframes via async script, so we just
   provide a centered flex container that respects the embed's own min/max widths. */
.social-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 560px;
}
.social-embed > blockquote {
  margin: 0 !important;
  width: 100%;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  min-height: 220px;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-brand) 10%, var(--color-surface-2));
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Service-hub image (used inside the two service cards on the Ignite Music landing). */
.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
/* Variant for screenshots/dashboards — contain (no crop) on a near-black stage
   that matches the dashboard's own background, so the letterbox blends in. */
.service-image--contain {
  object-fit: contain;
  background: #030416;
}

/* Headshot photo (real image, sized to match the legacy circular frame) */
.headshot {
  width: 168px;
  height: 168px;
  flex: none;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center 18%;
  display: block;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  border: 4px solid var(--color-surface);
}
@media (max-width: 560px) {
  .headshot { width: 140px; height: 140px; }
}

/* Legacy placeholder frame (kept for any future use) */
.headshot-placeholder {
  width: 132px;
  height: 132px;
  flex: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3);
  background: color-mix(in oklab, var(--color-brand) 12%, var(--color-surface-2));
  border: 2px dashed color-mix(in oklab, var(--color-text-muted) 45%, transparent);
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   IGNITE MUSIC LOGO LOCKUPS (full PNG lockups)
   ============================================================ */
/* Stacked lockup used in the Ignite landing hero — taller, icon over wordmark */
.ignite-hero-logo {
  display: block;
  height: clamp(140px, 22vw, 240px);
  width: auto;
}
/* Horizontal lockup used in the Ignite-page footers */
.ignite-footer-logo {
  display: block;
  height: 44px;
  width: auto;
}

/* Legacy ignite-lockup classes (icon + typeset wordmark) — retained for
   backwards compatibility; not currently used now that full PNG lockups exist. */
.ignite-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.ignite-lockup img {
  height: 40px;
  width: auto;
}
.ignite-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: 1.35rem;
  color: var(--color-heading);
}
.ignite-lockup-hero img {
  height: clamp(72px, 11vw, 120px);
}
.ignite-lockup-hero .ignite-wordmark {
  font-size: clamp(1.75rem, 4vw, 3rem);
}
.hero-dark .ignite-wordmark {
  color: var(--color-hero-dark-text);
}
.ignite-lockup-footer img {
  height: 30px;
}
.ignite-lockup-footer .ignite-wordmark {
  font-size: 1.05rem;
}

/* ============================================================
   FEATURE / PROCESS LISTS
   ============================================================ */
.feature-card .feature-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.report-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .report-list { grid-template-columns: 1fr; }
}
.report-list li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: none;
}
.report-list li strong {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}
.report-list li span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.check-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}
.check-list li {
  position: relative;
  padding-left: 2.25rem;
  color: var(--color-text);
  max-width: 64ch;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-heading);
  line-height: 1;
}
.pricing-card .price small {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
}
.price-tbd {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-card.featured {
  border-color: color-mix(in oklab, var(--color-brand) 45%, var(--color-border));
  box-shadow: var(--shadow-md);
}

/* Info callout banner — light brand-tinted background with leading icon.
   Used for non-critical advisory notes (e.g. cadence recommendation). */
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-7);
  background: color-mix(in oklab, var(--color-brand) 10%, var(--color-surface));
  border: 1px solid color-mix(in oklab, var(--color-brand) 25%, var(--color-border));
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.info-callout svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-brand);
}
.tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-brand);
  background: var(--gradient-brand);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: var(--color-on-brand);
}
.cta-band h2 {
  color: var(--color-on-brand);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: color-mix(in oklab, #ffffff 88%, transparent);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
@media (max-width: 560px) {
  .team-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
.team-card h3 {
  margin-bottom: 0;
}
.team-card .role {
  color: var(--color-brand);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.team-card .bio p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-brand);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: var(--space-2);
}
.social-link:hover {
  color: var(--color-primary-hover);
}
.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   FORM
   ============================================================ */
.form {
  display: grid;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
}
.field label .req {
  color: var(--color-brand);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand) 18%, transparent);
}
.form-success {
  display: none;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-brand) 10%, var(--color-surface));
  border: 1px solid color-mix(in oklab, var(--color-brand) 35%, var(--color-border));
  color: var(--color-heading);
  font-weight: 500;
}
.form-success.is-visible {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-12);
  background: var(--color-surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.footer-inner img {
  height: 36px;
  width: auto;
}
/* Ignite-page footers use the horizontal lockup at a slightly larger size */
[data-brand="ignite"] .footer-inner img.ignite-footer-logo {
  height: 44px;
}
.footer-copy {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}
.footer-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--color-primary-hover);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.stack > * + * {
  margin-top: var(--space-5);
}
.center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mt-12 {
  margin-top: var(--space-12);
}
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  gap: var(--space-4);
}
.divider-line {
  height: 4px;
  width: 64px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
}

/* =========================================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions)
   ========================================================= */
.legal-page {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.legal-page .container-narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}
.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.legal-header h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.legal-meta {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #6b7280);
  margin: 0.25rem 0;
}
.legal-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}
.legal-body h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-body h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}
.legal-body p {
  margin: 0 0 1rem;
}
.legal-body ul,
.legal-body ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}
.legal-body li {
  margin-bottom: 0.45rem;
}
.legal-body a {
  color: var(--color-link, #2563eb);
  text-decoration: underline;
}
.legal-body strong {
  font-weight: 600;
}
.legal-body .legal-allcaps {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.legal-body .legal-intro {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

/* Footer legal links */
.footer-legal {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.875rem;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity var(--transition-interactive, 180ms ease);
}
.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-legal .sep {
  opacity: 0.4;
}
@media (max-width: 640px) {
  .footer-inner {
    flex-wrap: wrap;
  }
}
